Commit Graph

116 Commits

Author SHA1 Message Date
levlam
4254614e97 Move option-related methods to OptionManager. 2021-12-16 01:45:43 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
4f1e5db8cd Simplify message deletion. 2021-11-09 10:19:04 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
328c5b57d2 Add Global::request_aborted_error. 2021-10-07 16:36:21 +03:00
levlam
a160241db7 Improve NetQueryCreator constructor. 2021-10-06 18:47:32 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
d9a0168bfa Improve logging in G_impl. 2021-09-14 11:54:54 +03:00
levlam
088c3169d4 Minor. 2021-09-10 18:23:23 +03:00
levlam
ae6b79d57b Add SponsoredMessageManager. 2021-09-07 15:49:34 +03:00
levlam
d395c2496e Add empty GameManager. 2021-09-07 10:02:44 +03:00
levlam
83e55b6b56 Add td_api::getChatThemes. 2021-08-27 15:51:50 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
62db52a23e Move LoginUrl-related methods to LinkManager. 2021-05-25 02:39:29 +03:00
levlam
2e943a6c85 Fix misprint. 2021-02-19 16:37:44 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
cc47f9b63f Support updateGroupCall. 2020-11-25 17:04:32 +03:00
levlam
187ebc603c Make function name unique.
GitOrigin-RevId: 2d8e805b36376e2c5f2a5630794ed9797254496c
2020-10-02 13:22:06 +03:00
levlam
c055ec15f9 Various improvements.
GitOrigin-RevId: 4eb8b7e43d10f1b5657f40aa2b7eef1c93429ca7
2020-07-30 22:59:23 +03:00
Arseny Smirnov
cacabaf6d1 NetQueryStats
GitOrigin-RevId: 5a04b322e12e2838b1d7f812fcf06bff4eefbace
2020-07-30 17:28:56 +03:00
levlam
c7bc1d1908 Fix strange clang CE.
GitOrigin-RevId: 82960c49e63d6d48d181bdf42e009930c60783de
2020-06-13 04:43:07 +03:00
levlam
4cfb7c56d2 Add Global::is_expected_error.
GitOrigin-RevId: afa4741a772ad99844195a583ee40d3fc50fef4f
2020-03-31 00:22:52 +03:00
levlam
c5f3b2223c Add more logging in to_unix_time.
GitOrigin-RevId: 1e191c31e4be4a29584844f27b098a21811daffd
2020-02-22 19:31:08 +03:00
levlam
c41640df44 Workaround MSVC 19.4 Internal Compiler Error.
GitOrigin-RevId: 8fcb018f353bbf1d68d2e0253d4472656d196845
2020-02-01 07:43:54 +03:00
levlam
eecb70d006 Minor fixes.
GitOrigin-RevId: b8276b548fca9ede4bd2caf27bd45ccc54c93dda
2020-01-07 18:16:57 +03:00
Arseny Smirnov
890855a4f0 Validate and drop invalid main authorization key
GitOrigin-RevId: 5f5a0baf4fc55b629b6e0534c475f6236cc72506
2020-01-07 15:42:04 +03:00
levlam
81cb9da887 Make dh_config_mutex_ private.
GitOrigin-RevId: c2f44bef27d294ec992d35030a36a76855056f44
2020-01-07 03:55:51 +03:00
levlam
f7caca6023 Remove unused wait_binlog_replay_finish.
GitOrigin-RevId: 3b48057703b70f8b4d9ec8b17b14ea75418bda4c
2020-01-07 03:38:10 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
a1b67327b1 Safe conversion to unix time.
GitOrigin-RevId: cd851e5196ea43269e7e3ec52ac0df8093966c9a
2019-12-25 18:35:36 +03:00
levlam
bd559bf13a Fixes for system_time_saved_at_.
GitOrigin-RevId: 1effe236b00a00facfec0d6492bd60fe52faa737
2019-12-25 18:03:08 +03:00
levlam
935161c20e Rename save_system_time to save_server_time.
GitOrigin-RevId: 9ffc8414c74872c7807faa85071818a0993aca87
2019-12-25 16:57:18 +03:00
Arseny Smirnov
22514eeeec Global: update server_time_difference and system time together
GitOrigin-RevId: 496f41aeee4783f537348028e3b8ff1052c7d6e2
2019-12-25 14:44:44 +04:00
Arseny Smirnov
8045132040 Fix system time it it goes backwards
GitOrigin-RevId: 3992a79df98fb164f5a410e756aa9e87ea853c38
2019-12-24 19:51:41 +04:00
levlam
cb69109ccb Add G() debug.
GitOrigin-RevId: 0ccc0d43c93186add1119fa2d72e8c669cfa6dd3
2019-09-08 03:10:09 +03:00
Arseny Smirnov
e07b03dea3 tdweb: experiments with storing incoming files into indexeddb
GitOrigin-RevId: 7ab38676faaf5eb4e8b4c43b05c268d0ea2784de
2019-07-24 15:07:55 +03:00
levlam
116f0028a2 Make G() safe.
GitOrigin-RevId: d417008f94ce6f8c587561af352d696ef55895b3
2019-08-01 22:12:04 +03:00
Arseny Smirnov
a695b0823c Better logic for time difference in tls obfuscation
GitOrigin-RevId: bbd69762a4700571ed7c67b4afbf30950b79b638
2019-07-04 18:21:07 +02:00
levlam
85dd77b02c Initial background support.
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
2019-05-07 05:51:56 +03:00
levlam
e47f1d6947 Add ignore_background_updates option.
GitOrigin-RevId: cefa2fd658d1e0426bd319db2f033b0506e0f8de
2019-04-21 21:17:11 +03:00
levlam
f8a807ba4f Add td_db() debug.
GitOrigin-RevId: 7eaa8b1a09a97ea935b46144cf5f6ef48f04712b
2019-04-08 01:09:54 +03:00
levlam
eb9ead582f Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
2019-02-12 23:48:16 +03:00
levlam
2edc069583 Explicitly init some std::atomic.
GitOrigin-RevId: bfbe95bd1aaed9c3ade31d9a7222b223bfece347
2019-01-24 06:18:14 +03:00
levlam
cc5eaa6b7e Fix addind/removing file source for messages.
GitOrigin-RevId: 726e2671dee6368bce20bac207b8d3929b1a34f6
2019-01-03 18:26:44 +03:00
Arseny Smirnov
a75726d77a FileManager: file references draft
GitOrigin-RevId: 8d37ee4b5520497df08f49e598ae91825e74e1ea
2018-12-05 12:32:31 +03:00
levlam
f633d754c7 Fix initialization order.
GitOrigin-RevId: d27f3c18063093345436c55e3d4959297b7c234f
2019-01-17 23:12:31 +03:00
levlam
e987178e1c WallpaperManager.
GitOrigin-RevId: fcaf2ef58122484f7a9ee86cb0b9af8ecb39b047
2019-01-15 17:11:00 +03:00
levlam
aaae105785 Safer ConfigShared.
GitOrigin-RevId: 505e66d4341c29bbc0b8801073997fafd8ddf820
2019-01-07 01:20:38 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
0ca9b6493d Send to NotificationManager notifications about new/edited messages.
GitOrigin-RevId: 79647054a22e1376c8a69da180ba293300468ed6
2018-11-11 15:58:52 +03:00
levlam
51eec319b8 Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
8d5c17036a Use Location access hashes.
GitOrigin-RevId: 1f018d5e42e1c657492f2e1da74700632825c8f9
2018-08-14 02:11:49 +03:00
levlam
f25bcd8d70 Remove unnecessary semicolons after namespace end.
GitOrigin-RevId: bf290001b072fd390fe2cada06722a3b90309cca
2018-07-18 04:30:29 +03:00
levlam
46ebd1b240 Include SqliteKeyValue only in cpp.
GitOrigin-RevId: b89c988f6da1d480f68ecb71ef5390e9376faac1
2018-07-18 04:11:48 +03:00
levlam
e819a0ed56 Support for language pack updatimg. td_api::updateLanguagePack.
GitOrigin-RevId: edc3bf65914b73d168d33eea38ff05cc2efd80ec
2018-07-17 05:58:34 +03:00
levlam
46535703e0 Fix some includes.
GitOrigin-RevId: 901d167d7197e4c0222656e9fc1f9fc0e216e44b
2018-06-26 02:43:11 +03:00
levlam
aa13a57a3c Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
2018-06-26 00:10:53 +03:00
levlam
67c00e02ea Complete pending preauthentication requests.
GitOrigin-RevId: 8e9b2ec7f8ba8e298f8d95ad7135f7607d440c2f
2018-05-16 22:35:27 +03:00
levlam
c65b998cd6 All updatePromotedChat.
GitOrigin-RevId: 4a3c6283026ba15836cb7fa011c4b3ad21a64baa
2018-05-08 23:02:15 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00