Commit Graph

761 Commits

Author SHA1 Message Date
Andrea Cavalli
6f28ad36af Merge commit '60edadab90d7aeb8d7a44764344b8848abf5b8bb'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-11-07 23:10:26 +01:00
levlam
431b0bddbc Fix GCC warning. 2020-11-06 18:27:33 +03:00
levlam
7e82a54417 Fix std::is_trivially_copyable usage. 2020-11-06 18:27:19 +03:00
Andrea Cavalli
1f7c4e2508 Remove death_handler 2020-11-06 14:27:05 +01:00
Andrea Cavalli
d71e2c54a8 Merge branch 'master' of ssh.git.ignuranza.net:tdlight-team/tdlight 2020-11-06 12:18:00 +01:00
Andrea Cavalli
8c8b10541d Typo 2020-11-06 12:17:44 +01:00
Andrea Cavalli
e022963e1e Merge commit 'ff0c727ee2129b66a2908e46edc3bc9f7774e834' 2020-11-06 11:48:24 +01:00
levlam
ff0c727ee2 Fix code formatting. 2020-11-06 02:13:12 +03:00
Andrea Cavalli
423d05f18e Remove death handler if using musl 2020-11-05 21:58:40 +01:00
Andrea Cavalli
16f41643ed Merge commit '821398fa211b6a3c53733ccf271ee7a783d9bc75'
Conflicts:
	.gitignore
	td/generate/scheme/td_api.tlo
	td/telegram/ContactsManager.h
2020-11-04 20:05:50 +01:00
Andrea Cavalli
2e31ced59b Update to tdlib 1.6.10 2020-11-04 20:03:14 +01:00
levlam
c1de6a7d8d Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
2020-11-02 00:43:57 +03:00
levlam
36763888d4 Improve Usage output in OptionParser.
GitOrigin-RevId: 8955f6ce0643fbf871b3f3781bd36568d490eb6c
2020-11-01 01:28:58 +03:00
levlam
da6d1d8d74 Add rpad.
GitOrigin-RevId: 5dbc3667ef3e4ffd35cce4a358b3b986ec9bd8f4
2020-10-30 16:21:13 +03:00
Andrea Cavalli
134d20b7ec Merge commit 'bf945e05be9a9f696bdd866cc3427ac1bc7a4825' 2020-10-26 21:55:16 +01:00
levlam
989491466d Add lpad function.
GitOrigin-RevId: d23ef15d200e2b199294de0d10a10e92d7389339
2020-10-22 12:22:35 +03:00
levlam
1ad0b068cd Improve oneline.
GitOrigin-RevId: 6cec8e407f0f5eedb367aea25864033a69e1d1e5
2020-10-22 12:09:32 +03:00
Andrea Cavalli
17230da76a Merge commit 'cecdae448e88603c98d7d079855c992be6df739f' 2020-10-20 23:20:56 +02:00
levlam
fa91220f88 Remove superflous "struct " specifiers.
GitOrigin-RevId: 317d66fad270e99c4c4e6bc14b172f4c2eec3d6d
2020-10-18 18:29:51 +03:00
levlam
fc5bf9ef06 Suppress SIGPIPE signals on write.
GitOrigin-RevId: 19ff2a079a4dc69535e34282bfb2c2f381856def
2020-10-18 18:12:32 +03:00
Andrea Cavalli
85bf271fb8 Update Client.cpp, Log.cpp, and 4 more files... 2020-10-12 19:50:17 +02:00
levlam
a8355f1749 Fix compilation error.
GitOrigin-RevId: a23376048dbd9ed09320ec857ae4153048d259ea
2020-10-12 18:44:35 +03:00
Andrea Cavalli
54938a07d6 Fix Levlam's cmake bug 2020-10-12 16:20:54 +02:00
Andrea Cavalli
fc5b0e9d06 Merge commit '6b1f6b829d0d71f5d50662b1ff58b7869c1e1d7f'
Conflicts:
	td/telegram/Client.cpp
	td/telegram/cli.cpp
2020-10-12 16:15:14 +02:00
Andrea Cavalli
0da9b62eda Merge commit '7207d76a809598d019e17fb04b2edc46789c6e22'
Conflicts:
	td/telegram/Client.cpp
2020-10-12 16:12:59 +02:00
Andrea Cavalli
f423fc0d81 Merge commit '35a9a93fc9adfbced4d5f59baf0c72a2f807f28a'
Conflicts:
	td/telegram/Client.cpp
	td/telegram/StickersManager.cpp
	td/telegram/WebPagesManager.cpp
2020-10-12 16:10:48 +02:00
Andrea Cavalli
ef9e05a805 Merge commit '1cfa7545c938212b8976eafe3055fe161b8fd7c4'
Conflicts:
	td/telegram/Client.cpp
2020-10-12 16:05:01 +02:00
Andrea Cavalli
2b69eef4a5 Merge commit 'd87558177241862f7db1b934f8a211b94180f28b'
Conflicts:
	td/telegram/Client.cpp
2020-10-12 15:59:54 +02:00
Andrea Cavalli
ccaec7e042 Merge commit '3fc140b4a260c606e5c6d79ef148d4beeb37048a'
Conflicts:
	td/telegram/Client.cpp
	td/telegram/Client.h
2020-10-12 15:41:34 +02:00
levlam
a4b71466e0 Minor improvements.
GitOrigin-RevId: 4f0c8840ee69c7a690cb12c5e36231cf9da6d91c
2020-10-12 10:24:30 +03:00
levlam
8b40856d6e Always link OpenSSL with Crypt32 on Windows.
GitOrigin-RevId: 56dd9e21c8175f291222c8d42153dcd50cf57ed9
2020-10-11 23:48:17 +03:00
levlam
22be9b95bf Do not include set in broadly used format.h.
GitOrigin-RevId: 81c2113ef5bfe48868a3a2968efd6cadb1cfccf3
2020-10-11 21:31:01 +03:00
levlam
10a7edfbea Disable logging after program exit.
GitOrigin-RevId: 8ca24e1999fe95f171e18477baa2e56912a2e895
2020-10-11 14:45:22 +03:00
Andrea Cavalli
be83b71452 Add needed library for windows (crypt32) 2020-10-11 02:37:45 +02:00
levlam
09f906f192 Protect access to some static variables using ExitGuard.
GitOrigin-RevId: 65c7510c60d585b90e90d09067c7dfdaf79c4cd3
2020-10-11 01:59:27 +03:00
levlam
7207d76a80 Add ExitGuard.
GitOrigin-RevId: f8f04daacbee00386e326eb3ca1ec3dfec19cbb0
2020-10-10 22:37:36 +03:00
levlam
35a9a93fc9 Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
2020-10-08 23:04:40 +03:00
Arseny Smirnov
44e3c6fb58 Revert "Closure.h: use static_assert instead of LOG(FATAL)"
This reverts commit a17ebc84d49ce763ffa64c8db0f85638bb5ace63.

GitOrigin-RevId: deae227b726bdcaead7d7b49f2171a438f58e2c7
2020-10-09 19:56:05 +03:00
Arseny Smirnov
8fcf7740d2 RangeSet (will be used instead of BitMask in files) implementation with tests
GitOrigin-RevId: 977f0776d0b7ef96a31364d2a68cfe980f2845c8
2020-10-09 17:35:53 +03:00
Arseny Smirnov
5926e00320 tdweb works with newest emsdk
GitOrigin-RevId: b52ab5d9e182e1a689933d7a44d3306f0c9151e5
2020-10-08 14:02:53 +03:00
levlam
582206d641 Use Random::fast_bool.
GitOrigin-RevId: 42da8a237c6dfbb6e72bc5b21482891b6c9d58b5
2020-10-08 12:56:08 +03:00
levlam
291a9ff43b Add Random::fast_bool.
GitOrigin-RevId: 1f7ec3d4a04dcadbdffde18994e7a29f3d22aedc
2020-10-08 12:47:03 +03:00
levlam
d2d0cb5cc0 Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
2020-10-05 18:07:23 +03:00
levlam
b53a28c43e Add fb2 MIME type extension support.
GitOrigin-RevId: c77d8be1d4b5d84610c8acdbc4b6ce34ca8b6c2f
2020-10-05 01:10:42 +03:00
Andrea Cavalli
6a3a55f244 Merge commit '99163ff431a23938a6060d7c8268a5a1e8571310'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-10-02 17:34:08 +02:00
levlam
e1954304ea Remove 'using namespace td' from a test.
GitOrigin-RevId: 77374ec20c363e09e497744c3bed67a71b8e2b20
2020-10-02 01:34:32 +03:00
levlam
13cb7c6a13 Fix test.
GitOrigin-RevId: 7416bb7aa65805038267767213634ec0950b3885
2020-10-02 01:24:35 +03:00
Andrea Cavalli
41e5ce21ac Merge commit '3d2067475e0764d4765b41aa372e5c3c10a5af5d'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-10-01 14:53:43 +02:00
Andrea Cavalli
c83fc13a60 Merge commit '1d9989cbd700492ffe636385d5578946f62139d9'
Conflicts:
	td/telegram/ContactsManager.cpp
	td/telegram/ContactsManager.h
	td/telegram/MessagesDb.cpp
	td/telegram/MessagesManager.cpp
2020-10-01 13:22:37 +02:00
Andrea Cavalli
24ee424c91 Merge commit '3aee3527511ce43ae670081f3f65a71e7c92ee2c'
Conflicts:
	td/telegram/MessagesDb.cpp
2020-10-01 11:42:54 +02:00