Commit Graph

742 Commits

Author SHA1 Message Date
Andrea Cavalli
1ce823b0e6 Merge commit '1bbcc01091c8ca92f79821790b8857edb5a1b6b4' 2021-04-03 12:53:29 +02:00
levlam
40740597f7 Add ChainBufferReader::advance debug. 2021-04-02 16:30:10 +03:00
Arseny Smirnov
a51b63afdd more checks for watch os version 2021-03-29 16:26:11 +03:00
levlam
4df03c8491 Clamp float numbers before conversion to integers. 2021-03-28 22:33:22 +03:00
Andrea Cavalli
0c653e2526 Merge commit 'fbc7e5a7f845d6c8df12b11f5b9a5c9ffc6eea0e' 2021-03-28 12:57:26 +02:00
Arseny Smirnov
5c7b7d4c85 TD_EXPERIMENTAL_WATCH_OS cmake option 2021-03-26 18:04:25 +03:00
Andrea Cavalli
78291a96d4 Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d' 2021-03-21 01:04:45 +01:00
levlam
1c92315439 Fix lpad0 signature. 2021-03-15 18:39:02 +03:00
Andrea Cavalli
4a1b295baa Undo breaking database modifications, add tl-parser 2021-03-12 12:31:51 +01:00
Andrea Cavalli
1ea79d2739 Merge latest commits 2021-03-11 18:25:39 +01:00
Arseny Smirnov
0c90ca3784 some cryptography draft 2021-02-10 23:25:28 +03:00
levlam
e031a2c6c1 Improve Slice::truncate usage. 2021-02-04 15:54:12 +03:00
levlam
9e37c85af3 Minor improvements. 2021-01-27 02:57:59 +03:00
Andrea Cavalli
a79f835de0 Add memory_cleanup on tear_down, and add more memory_cleanup. 2021-01-12 01:37:17 +01:00
Andrea Cavalli
2e5d5a81bc Merge commit '62c18729f1cf8c5f1b7dc6f0d37edbffd2bb78b5' 2021-01-07 19:38:10 +01:00
levlam
62c18729f1 Fix td::unique. 2021-01-07 04:03:38 +03:00
Andrea Cavalli
85fb357a19 Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
Conflicts:
	td/telegram/MessagesManager.cpp
2021-01-02 12:57:08 +01:00
levlam
82f0386e73 Move some functions from misc.h to algorithm.h. 2021-01-01 16:01:03 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
677f4f6103 Add missing license. 2021-01-01 01:33:43 +03:00
levlam
192fd4862f Use td::unique. 2020-12-30 18:50:57 +03:00
levlam
18be33a18c Add td::unique helper method. 2020-12-30 18:17:22 +03:00
levlam
fc2941763b Fix LibreSSL 3+ support. 2021-01-24 21:59:03 +03:00
Andrea Cavalli
17e7e44f6e Merge commit '8139e0d560b25cd2827fb0473e5726319998c10f'
Conflicts:
	td/generate/scheme/td_api.tlo
	td/telegram/GroupCallManager.cpp
	td/telegram/MessagesManager.cpp
2020-12-28 19:09:04 +01:00
levlam
3c5c23aeec Improve error message. 2020-12-26 20:25:59 +03:00
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