Commit Graph

724 Commits

Author SHA1 Message Date
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
Andrea Cavalli
be83b71452 Add needed library for windows (crypt32) 2020-10-11 02:37:45 +02: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
levlam
16615d75e8 Fix integer conversion.
GitOrigin-RevId: 7ba9a274f6bff6733818596a676c5169bda24acf
2020-09-30 22:04:57 +03:00
levlam
0c1e5816d4 Fix CE.
GitOrigin-RevId: 642a7ef5ef39d8513acffb1d812546c2e7bd066d
2020-09-30 22:02:39 +03:00
levlam
013db25897 Improve AES CTR test.
GitOrigin-RevId: a65b34e408f972e737489222d9f3e0604582fa3d
2020-09-27 22:07:42 +03:00
levlam
6278121549 Improve AES IGE test.
GitOrigin-RevId: b0b0ac715b062b339f7d64c4695b0fb99b78b409
2020-09-27 22:03:00 +03:00
levlam
705102cba0 Optimize AES CBC.
GitOrigin-RevId: f514011f11ebbea7b6198b9c905a61a990d4e4fe
2020-09-27 21:51:42 +03:00
levlam
657ebfae0c Improve AES CBC test.
GitOrigin-RevId: 03d3cb464c49d9fed9db2104ed1ace3d72579140
2020-09-27 21:03:05 +03:00
levlam
9322bf68cd Move test functions implementation to cpp.
GitOrigin-RevId: eec1d208f410a3f546dfe230d1780ecdac02d3b4
2020-09-27 20:38:23 +03:00
levlam
a9a3acf135 Delete unused AesCtrCounterPack and XorBytes classes.
GitOrigin-RevId: 95906d3d54c16928a1250a511e1e66aa8e59c5c6
2020-09-27 15:47:22 +03:00
levlam
4d67801710 Use EVP_aes_256_ctr for AES CTR implementation.
GitOrigin-RevId: e9218b6eec8f5e4a11eea24324f6c8478f6f1293
2020-09-27 15:46:11 +03:00
levlam
2e50410dcc Allow to disable stderr redirect when logging to file.
GitOrigin-RevId: 7b91d362695cd73a640a9ed2a5d107b804536a16
2020-09-27 14:37:35 +03:00
levlam
90ee4bd63c Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
2020-09-24 19:15:42 +03:00
levlam
4357a24a1c Fix aes_ige_encrypt/aes_ige_decrypt.
GitOrigin-RevId: 7f4a7f86e1fbabe5bfe020fe95586a6030765977
2020-09-22 18:05:58 +03:00
levlam
21969e4d02 Fix print_int.
GitOrigin-RevId: caff5ca11c300aef7658a029028d252253c4176c
2020-09-20 22:51:03 +03:00
levlam
72b63e2533 Support Unicode command line arguments on Windows.
GitOrigin-RevId: c4e20183cac0e98964850fb6a78c020996489bc1
2020-09-14 23:32:13 +03:00
levlam
98adef1145 Move url_decode to tdutils.
GitOrigin-RevId: bd9ef4caa56996a96626b16998b423ab304b9ee6
2020-09-14 18:58:39 +03:00
levlam
16bd7bd98e Add checks that delete is not called for incomplete type.
GitOrigin-RevId: 19755ebbee56eb874e84fd8544899fd70a78df7f
2020-09-14 18:11:34 +03:00
levlam
0ad6ff0599 Add usage in OptionParser.
GitOrigin-RevId: 0a15b69eda345c0fbc503afc26c6787f5fbcaa8e
2020-09-14 17:04:45 +03:00
levlam
bc000b5a53 Add OptionParser::parse_string helper.
GitOrigin-RevId: 506b1d9c1b6cfb6029bb87e32a98f08b0d16b2d4
2020-09-14 14:51:52 +03:00
levlam
91942f29d3 Add OptionParser::parse_integer helper function.
GitOrigin-RevId: d202848b64c27bb260e189783722508684b633c5
2020-09-14 14:45:22 +03:00
levlam
b8e0201694 Align long options in OptionParser usage.
GitOrigin-RevId: 496c90e876c02ba923e3d7dac7e04a57b4e9766c
2020-09-14 14:33:42 +03:00
levlam
96835d417b Improve OptionParser error messages.
GitOrigin-RevId: 97795e0a64122986e78d01a34205317fc5bef835
2020-09-14 14:22:43 +03:00
Andrea Cavalli
f592ba6969 Fix program counter name in aarch64 2020-09-05 16:32:52 +02:00
Andrea Cavalli
8fb0a0673e Fix windows support 2020-09-05 15:36:26 +02:00
Andrea Cavalli
4f2230d1d6 Update logging.cpp 2020-09-02 01:44:17 +02:00
Andrea Cavalli
2ee1930f65 Replaced checks abort() with death handlers 2020-09-02 01:11:38 +02:00
Andrea Cavalli
510aec55de Merge commit '83c9f5180bf9738df2667841ed0c4df9ebeaec40'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-08-31 11:51:02 +02:00
Andrea Cavalli
9a9f80f36f Fixed memory signals in mac osx 2020-08-23 21:29:15 +02:00
Andrea Cavalli
7e39029811 Fixed memory mapping incompatibility 2020-08-23 21:17:32 +02:00
levlam
2c4953386a Optimize logging of const strings.
GitOrigin-RevId: af8de902d07c4862a77e0d8050db47ee1ccacbf6
2020-08-20 22:28:00 +03:00
Andrea Cavalli
1ccc7c6c65 Merge commit '3282a873cb24b0c975b6929aeb71a00fc6a18b7c'
Conflicts:
	sqlite/sqlite/sqlite3.c
	sqlite/sqlite/sqlite3.h
	sqlite/sqlite/sqlite3ext.h
	sqlite/sqlite/sqlite3session.h
	tddb/td/db/SqliteDb.cpp
2020-08-18 13:55:47 +02:00
levlam
f266aa3912 Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
2020-08-14 22:51:10 +03:00
Arseny Smirnov
9c40e37288 Clocks: use CLOCK_[BOOTTIME,MONOTONIC_RAW] for Clocks::monotonic
GitOrigin-RevId: 729311e1a7a36a9245ecdb5921b81c4834ec1dc6
2020-08-14 20:41:00 +03:00
Arseny Smirnov
775ef44ed8 Clocks: use CLOCK_[UPTIME|UPTIME_RAW|BOOTIME] when possible for Clocks::monotonic
GitOrigin-RevId: d0aeb9d98d54b298093cba3b2ca97c6ab16eba28
2020-08-14 19:51:45 +03:00
levlam
b6c915c2f8 Fix BufferSlice self-move.
GitOrigin-RevId: 904ea326cc860dd92c49d319fc5fabde22a35223
2020-08-11 07:23:25 +03:00
levlam
14014e3f3d Do nothing for 0 BufferSlice size change.
GitOrigin-RevId: 2a57325e4f8b7be83db671f561bce9a98de92622
2020-08-11 05:52:56 +03:00
levlam
fe5bf41980 Minor improvements.
GitOrigin-RevId: 45477784ae1840f217b9394e3d0cc56e1241f9ce
2020-08-07 22:14:42 +03:00