Commit Graph

717 Commits

Author SHA1 Message Date
Andrea Cavalli
3817c4f634 Merge remote-tracking branch 'td/master' 2020-12-25 20:29:10 +01:00
levlam
c1a1fc881c Fix BufferedStdinImpl destruction. 2020-12-24 20:49:08 +03:00
levlam
47e413e0b8 Fix BufferedStdinImpl reference counter. 2020-12-24 19:17:06 +03:00
levlam
b582eb346a Undo move_as_native_fd changes. 2020-12-24 18:43:26 +03:00
levlam
1b92e2d57a Return back ScopeExit usage. 2020-12-24 17:16:56 +03:00
levlam
c1a16acd53 Don't check that Stdin/Stdout/Stderr are unlocked on exit. 2020-12-24 17:12:50 +03:00
levlam
0787c642ce Fix dlog_print usage on Tizen. 2020-12-23 19:38:58 +03:00
levlam
d628f9fa02 FromApp method fixes. 2020-12-23 18:08:34 +03:00
Fela Ameghino
7c14b3b881
Use *FromApp methods when available (#1303) 2020-12-23 11:25:27 +03:00
levlam
7d1e5bca55 Reimplement HMAC for OpenSSL 3.0.0. 2020-12-22 19:32:57 +03:00
levlam
abdc727a0f Improve OpenSSL 3.0 compatibility. 2020-12-22 17:46:56 +03:00
Andrea Cavalli
3c59d917be Merge remote-tracking branch 'td/master' 2020-11-23 17:27:14 +01:00
levlam
a093d36b3f Better fix for ThreadIdGuard destroy after exit. 2020-11-23 00:57:52 +03:00
levlam
4b687582c1 Do not try to use ThreadIdManager after exit. 2020-11-23 00:38:16 +03:00
Andrea Cavalli
cba9f74cba Merge remote-tracking branch 'td/master' 2020-11-22 01:11:21 +01:00
levlam
77de5110f5 Ensure that Time::now never returns negative time. 2020-11-21 20:33:15 +03:00
levlam
6ae33a5c27 Fix OptionParser test on Windows. 2020-11-20 03:33:09 +03:00
levlam
57de0c4967 Fix some warnings. 2020-11-20 03:11:27 +03:00
levlam
34cf869c02 Don't use EVP_aes_256_ctr before OpenSSL 1.1.0. 2020-11-20 02:18:12 +03:00
Andrea Cavalli
e4bcc81ec7 Merge commit '00abe2f4019717c6479e30c588059a3cfd3be58e'
Conflicts:
	td/generate/scheme/td_api.tlo
2020-11-14 11:11:47 +01:00
levlam
15b1543e20 Implement OS detection in Emscripten. 2020-11-13 18:04:16 +03:00
Andrea Cavalli
f81d11a0b3 Merge commit '6a2dba9e8c1a896ba5a14b1205a3784c057c86fd' 2020-11-11 19:54:04 +01:00
levlam
6a2dba9e8c Disable IPV6_V6ONLY on IPv6 server sockets on Windows. 2020-11-10 23:08:54 +03:00
Andrea Cavalli
cbe8d94183 Merge commit '1fa87babb32ea85ff5a97ab93525ae13f66a0eef' 2020-11-10 12:42:50 +01:00
levlam
7febd4f9af Support binding of ServerSocket to IPv6 address. 2020-11-10 00:50:05 +03:00
Andrea Cavalli
604df72790 Merge commit '1d75237893c8a08d73ba95a7e76b8da517b8c1dc' 2020-11-08 23:49:01 +01:00
levlam
f9a600c401 Minor fixes. 2020-11-08 14:00:36 +03:00
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
8c8b10541d Typo 2020-11-06 12:17:44 +01: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
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