levlam
|
3b794126d8
|
Avoid G usage in lambda promises.
|
2021-10-07 15:28:52 +03:00 |
|
levlam
|
bbae7be409
|
Respect timeout in run_events.
|
2021-10-06 17:16:23 +03:00 |
|
levlam
|
86de43a048
|
Remove useless #include comments.
|
2021-09-03 23:21:44 +03:00 |
|
levlam
|
43d9ba81ac
|
Prefer std::unordered_map to std::map.
|
2021-08-21 21:42:07 +03:00 |
|
levlam
|
5349e63c2b
|
Add Timeout::get_timeout.
|
2021-08-15 11:15:14 +03:00 |
|
levlam
|
370d443a9d
|
Explicitly specify inheritance mode.
|
2021-07-04 18:22:20 +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
|
9cecc116f3
|
Prefer US spelling of "canceled".
|
2021-05-31 21:51:48 +03:00 |
|
levlam
|
4df03c8491
|
Clamp float numbers before conversion to integers.
|
2021-03-28 22:33:22 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
c80b566c49
|
Fix tdweb build.
|
2020-12-23 19:25:01 +03:00 |
|
levlam
|
3589676550
|
Minor fixes.
|
2020-12-22 15:51:57 +03:00 |
|
levlam
|
86573be3ad
|
Minor fixes.
|
2020-11-26 23:17:45 +03:00 |
|
Arseny Smirnov
|
ab3e695f94
|
Revert "Revert "New test for tdlib. New Promise/Future features (ported from other project)""
This reverts commit 56866524aa .
|
2020-11-26 18:49:51 +04:00 |
|
Arseny Smirnov
|
56866524aa
|
Revert "New test for tdlib. New Promise/Future features (ported from other project)"
This reverts commit 0c2b15f2b8 .
|
2020-11-24 15:50:44 +04:00 |
|
Arseny Smirnov
|
0c2b15f2b8
|
New test for tdlib. New Promise/Future features (ported from other project)
|
2020-11-24 15:25:10 +04:00 |
|
levlam
|
6571a99b45
|
Include ConcurrentScheduler separately.
|
2020-11-23 03:24:36 +03:00 |
|
levlam
|
45c3e28ea3
|
Remove unneeded checks.
|
2020-11-23 02:40:46 +03:00 |
|
levlam
|
155c12edea
|
Improve ConcurrentScheduler closing on exit.
|
2020-11-22 23:30:40 +03:00 |
|
levlam
|
39f30f42be
|
Fix ConcurrentScheduler destructor.
|
2020-11-22 20:40:47 +03:00 |
|
levlam
|
9856b0e46e
|
Add some workariunds for crashes on exit without closing all clients.
GitOrigin-RevId: 5c74e9fe6951b6a8eb65d6c1e5ddf7bf8e0c8163
|
2020-10-11 21:21:38 +03:00 |
|
levlam
|
fdc3920572
|
Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
|
2020-10-08 18:30:36 +03:00 |
|
levlam
|
d2d0cb5cc0
|
Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
|
2020-10-05 18:07:23 +03:00 |
|
levlam
|
90ee4bd63c
|
Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
|
2020-09-24 19:15:42 +03:00 |
|
levlam
|
517387cecc
|
Add actor context change logging.
GitOrigin-RevId: a440d115f0d30ec54a73cb8e6cf06c1435764191
|
2020-09-02 23:37:53 +03:00 |
|
levlam
|
2009d58f6a
|
Deprecate ActorShared with 0 token.
GitOrigin-RevId: 15dc5e63afa4c0d08f911101eaa78513df6aebc5
|
2020-08-27 01:27:34 +03:00 |
|
Arseny Smirnov
|
94b78114e0
|
tdactor: safe inheritance of tag_ in contexts
GitOrigin-RevId: db55e11f150be00560906a3f66510dbcfa6b347c
|
2020-08-17 14:50:47 +03:00 |
|
Arseny Smirnov
|
ce80dd77f0
|
Actors: safer tag_ in context
GitOrigin-RevId: 9f9ef2a024e0bcfb0e5aed76a23174f1faad3b5a
|
2020-08-17 13:57:05 +03:00 |
|
levlam
|
f266aa3912
|
Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
|
2020-08-14 22:51:10 +03:00 |
|
Arseny Smirnov
|
45bfb1b384
|
TdDb: create sqlite db during SqliteDb::change_key
GitOrigin-RevId: bc0bff23a50f17d9111edac6ba4194fbdffaa1b4
|
2020-08-14 17:11:58 +03:00 |
|
levlam
|
983119ada3
|
Unify begin/end usages.
GitOrigin-RevId: 422dd5dbfdab7240818bbc35a7c554effa097378
|
2020-08-09 04:01:30 +03:00 |
|
levlam
|
c5059bcac3
|
Minor fixes.
GitOrigin-RevId: 28f8cabca2f70ba692f8713ec68866495061b31a
|
2020-08-05 20:36:13 +03:00 |
|
Arseny Smirnov
|
cacabaf6d1
|
NetQueryStats
GitOrigin-RevId: 5a04b322e12e2838b1d7f812fcf06bff4eefbace
|
2020-07-30 17:28:56 +03:00 |
|
levlam
|
b45f8ba3a0
|
Minor fixes.
GitOrigin-RevId: b7985efd4257bc9bb2b2672f94c5f5671e19dd0f
|
2020-07-26 14:24:30 +03:00 |
|
levlam
|
b970cc4e5e
|
Remove debug logging.
GitOrigin-RevId: 56ca1c7950609f13dabf6c12262432ecfa14b523
|
2020-07-23 01:44:08 +03:00 |
|
Arseny Smirnov
|
9ea1bc824f
|
ByteFlow: backpressure draft
GitOrigin-RevId: 09adce82dd88fcf84f41e525e45b07da03acc0f6
|
2020-07-22 21:52:00 +03:00 |
|
levlam
|
c328bcac62
|
Do not use actor context after actor destroy.
GitOrigin-RevId: 5f1ddbd5007ce178c60bf1647f9b01844f8d91cb
|
2020-07-19 21:02:10 +03:00 |
|
levlam
|
2311809493
|
Inline Scheduler::do_custom_event.
GitOrigin-RevId: 3bd169ee05552c173e32276891dc659614a836cf
|
2020-07-19 20:46:58 +03:00 |
|
levlam
|
340c98772d
|
Improve Event logging.
GitOrigin-RevId: 67a3e5f82f972b4d6b40e07215a28b6edea005c3
|
2020-07-19 20:15:06 +03:00 |
|
levlam
|
3442a88413
|
Unify constant names style.
GitOrigin-RevId: 6e4475366b94cea6ab0331d57f254311490bdee2
|
2020-06-16 05:10:16 +03:00 |
|
levlam
|
a5b0f205d1
|
Remove Promise debug.
GitOrigin-RevId: b248c369954ae5ddd81437e4a2fdde245544d267
|
2020-06-15 04:59:08 +03:00 |
|
levlam
|
b1419f9de5
|
Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
|
2020-06-07 18:14:52 +03:00 |
|
levlam
|
909dc02b22
|
Fix stopping of MultiPromiseActor only after and not before it is used again after setting result.
GitOrigin-RevId: 9c7895906911d75b3a8d6077eba113814070df23
|
2020-06-05 06:52:55 +03:00 |
|
levlam
|
1f1307ab42
|
Log tries to send requests before authorization.
GitOrigin-RevId: 73d4efdaccf4564fa8558140380a845e2cc89c4b
|
2020-06-04 00:22:21 +03:00 |
|
levlam
|
a12de1b5b0
|
Do not allow wait_generation to became zero to avoid false positives.
GitOrigin-RevId: 8407cb694003ce92a359c769c934c75726c96b9a
|
2020-04-11 22:30:23 +03:00 |
|
levlam
|
b3594169b5
|
Fix MessagesManager::update_sent_message_contents.
GitOrigin-RevId: 5265e6d357109065790d6b6e85ddee09d25b025d
|
2020-04-10 02:38:56 +03:00 |
|
Arseny Smirnov
|
36cc950820
|
RequestActor: add checks
GitOrigin-RevId: 16b850d775030948afcaea79695e5961d9652c70
|
2020-03-27 14:37:33 +03:00 |
|
levlam
|
92df8f9827
|
Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
|
2020-02-26 18:15:19 +03:00 |
|
levlam
|
728d8d79f6
|
More enum class usages.
GitOrigin-RevId: 6680ce2276ced5b015a1f508f0b7b5f28b5f4a9b
|
2020-01-19 03:02:56 +03:00 |
|
levlam
|
992e1144ca
|
Remove unused Condition class.
GitOrigin-RevId: d82bd14425f46cd8b3ddde8ca50db15ed07ff9c9
|
2020-01-07 03:39:44 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
9f60d0bae1
|
Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
|
2019-12-17 19:17:57 +03:00 |
|
levlam
|
0b6c1d226f
|
Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
|
2019-09-28 05:14:21 +03:00 |
|
levlam
|
f29c4a9ed1
|
Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
|
2019-09-15 06:19:46 +03:00 |
|
levlam
|
2a717e7cea
|
Improve logging in MultiTimeout.
GitOrigin-RevId: b068febf5f9acf620ae9f69c4a4a708ea32dc4e1
|
2019-09-04 19:41:30 +03:00 |
|
levlam
|
116f0028a2
|
Make G() safe.
GitOrigin-RevId: d417008f94ce6f8c587561af352d696ef55895b3
|
2019-08-01 22:12:04 +03:00 |
|
Arseny Smirnov
|
06efc32de9
|
Actors: destroy events in mailbox in context of actor
GitOrigin-RevId: f3b47e7b80889a65ead6a30e918513409df4c667
|
2019-07-30 16:22:43 +03:00 |
|
levlam
|
853c0986d9
|
Use static_cast to cast to bool.
GitOrigin-RevId: b62a74880cee8984ddf9607141b350f979000b4b
|
2019-06-18 03:21:55 +03:00 |
|
levlam
|
34fcde6827
|
Minor fixes.
GitOrigin-RevId: a5d8a4b0b9b9c4e858d7a9a7403bef0de7e009e0
|
2019-05-22 21:17:24 +03:00 |
|
Arseny Smirnov
|
e3e54b7a53
|
simple CancellationToken
GitOrigin-RevId: 081b63eac0ac1e45153f2df4a2eea9fa825c9924
|
2019-05-01 15:13:48 +02:00 |
|
levlam
|
21dee3b1d9
|
Fix g++9 warnings.
GitOrigin-RevId: 5f0565bfaefff9bf41f372f2f249489650985fae
|
2019-05-01 20:03:27 +03:00 |
|
levlam
|
eb24c3baa4
|
Return back formatting.
GitOrigin-RevId: bf312eacf255e8bae70a60d31d5a4f62063814af
|
2019-04-29 22:26:03 +03:00 |
|
Arseny Smirnov
|
f471746973
|
Actors: add debug
GitOrigin-RevId: 5278695863219b3645cab477914a690430123c1b
|
2019-04-29 21:00:36 +03:00 |
|
levlam
|
84e6e73abb
|
Add vote percentage tests.
GitOrigin-RevId: 421aa975080be0f1397357cba8abe088791474ff
|
2019-04-23 17:06:53 +03:00 |
|
Arseny Smirnov
|
482e4d7af6
|
ConcurrentScheduler: do not create extra scheduler
GitOrigin-RevId: edfc73084f7417913b58e338f4e0f21e28014215
|
2019-04-23 15:07:36 +03:00 |
|
Arseny Smirnov
|
eaf48c36a1
|
Client: set unique tag for each Td actor
GitOrigin-RevId: 7ee500c44703a395aae9151969b6bb8e3aee5ebd
|
2019-04-23 11:56:32 +03:00 |
|
levlam
|
93494cf048
|
Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
|
2019-02-21 18:58:20 +03:00 |
|
levlam
|
8c3eb953ae
|
Fix some g++4.9 CE.
GitOrigin-RevId: 0d4ed1e684fd623a7ab5849e4f0f7ec2fd182694
|
2019-02-13 02:29:52 +03:00 |
|
levlam
|
dd398c5968
|
Fix formatting.
GitOrigin-RevId: 144f91ea1ad0a1f9a8e5e08c4c10f238b066be47
|
2019-02-13 00:28:47 +03:00 |
|
levlam
|
9b42166c68
|
Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
|
2019-02-13 00:26:36 +03:00 |
|
levlam
|
eb9ead582f
|
Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
|
2019-02-12 23:48:16 +03:00 |
|
Arseny Smirnov
|
20bfcaa979
|
Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
|
2019-02-12 19:17:20 +03:00 |
|
levlam
|
0075f91e2e
|
Unify spelling of "expires_".
GitOrigin-RevId: 46aaff38317dd490f9d5a1250e426d94cb8aba75
|
2019-02-10 03:45:15 +03:00 |
|
levlam
|
429d709ea1
|
Fix getPushReceiverId for encrypted pushes.
GitOrigin-RevId: f440b656a617a018995ac6e59e4675b6668ca786
|
2019-01-29 15:14:53 +03:00 |
|
levlam
|
3e8277d65c
|
Fix some possible use after move.
GitOrigin-RevId: 37e17c445c9a9df56d85452c964603c08334045d
|
2019-01-25 18:44:23 +03:00 |
|
levlam
|
2edc069583
|
Explicitly init some std::atomic.
GitOrigin-RevId: bfbe95bd1aaed9c3ade31d9a7222b223bfece347
|
2019-01-24 06:18:14 +03:00 |
|
levlam
|
eaebfad034
|
Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
|
2019-01-01 01:02:34 +03:00 |
|
levlam
|
39c7df8000
|
Add additional event.type CHECK.
GitOrigin-RevId: c5524a811b96a3b06585607ca041455e786bedcc
|
2018-12-14 20:00:19 +03:00 |
|
levlam
|
cc4877d0da
|
Fix names of MultiPromiseActor.
GitOrigin-RevId: 2efcb2dab1578b0b6deb08f70a7db096daadb4aa
|
2018-12-12 20:02:50 +03:00 |
|
levlam
|
7627dc27a7
|
Give different names to MultiPromise actors.
GitOrigin-RevId: 4277553637ca342bc80af07ddcdf013eec506221
|
2018-12-12 02:48:56 +03:00 |
|
levlam
|
3e89fac991
|
Support for updating maximum notification group count and size.
GitOrigin-RevId: d7e3c8af8941763c07f8afa7dbc37790b7ebde8f
|
2018-11-27 04:10:52 +03:00 |
|
levlam
|
28bfa4c4a6
|
Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
|
2018-10-26 17:11:20 +03:00 |
|
levlam
|
b3bae546ec
|
Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
|
2018-09-27 16:37:15 +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
|
79d8c5a97a
|
Fix CE.
GitOrigin-RevId: 96ac1ebeb782a349833d9d4b16e1a8019e6fc199
|
2018-09-26 15:48:10 +03:00 |
|
Arseny Smirnov
|
8fd13291d0
|
Allow std::move ActorId in send_closure
GitOrigin-RevId: 452924630a41d336006d49b63880e244a6be280f
|
2018-09-26 12:01:50 +03:00 |
|
Arseny Smirnov
|
2766e7d16b
|
emscripten: td_get_timeout
GitOrigin-RevId: 920dac2d11ed999019e7faafe47cadf96d06900f
|
2018-09-18 16:43:16 +03:00 |
|
levlam
|
4df6f95818
|
Move Iocp to separate files.
GitOrigin-RevId: 8b60ea4ab775d264b70987316aac8141719d3a6b
|
2018-09-11 17:43:43 +03:00 |
|
levlam
|
9971b52b81
|
Make subscribe a static method of Scheduler.
GitOrigin-RevId: e80024cfa63a37fb9b64f514ac3407d4e97c7302
|
2018-09-11 01:20:41 +03:00 |
|
levlam
|
fc0cbae579
|
Fix some includes.
GitOrigin-RevId: 9b36a638202fb8b34e13494efd6b4a48ff7f4845
|
2018-09-10 04:08:15 +03:00 |
|
levlam
|
fd90bf435e
|
A lot of fixes.
GitOrigin-RevId: c7c16991da51e09a685537a444385852e8e93af4
|
2018-09-07 03:41:21 +03:00 |
|
Arseny Smirnov
|
180de003a6
|
IOCP: pass tests under windows
GitOrigin-RevId: bbb13f722c911609e7cf120e7a06e02eb13c616f
|
2018-08-17 12:19:21 +03:00 |
|
Arseny Smirnov
|
9d1a1a1155
|
tdactors: IOCP draft
GitOrigin-RevId: eec85d677d808db336340d2667dca298493dd4a8
|
2018-08-16 17:29:13 +03:00 |
|
Arseny Smirnov
|
44be8d2ea3
|
Scheduler: send from other thread
GitOrigin-RevId: 3448a047001c257bcfb4792135d2e332410c85e8
|
2018-08-16 16:56:16 +03:00 |
|
Arseny Smirnov
|
8a28e4b461
|
Almost compiles
GitOrigin-RevId: aad536022caddba0446a761e7ab1f3b4ac64f53b
|
2018-08-14 10:42:40 +03:00 |
|
levlam
|
1c4285efbe
|
Fix some includes.
GitOrigin-RevId: c8e348ad89e90ba52f9cedd8783c803e69cd2b5c
|
2018-08-02 13:22:05 +03:00 |
|
levlam
|
b00a0b4ebb
|
Add required actor name to MultiTimeout.
GitOrigin-RevId: 918ad6358dd5c0056452df5da694e8b94c63a47a
|
2018-08-01 20:31:20 +03:00 |
|
Arseny Smirnov
|
5999b98fa7
|
tdactor: remove actor2
GitOrigin-RevId: bcf3e8687088353cb83b32bfcddc6f2a4acf14d8
|
2018-07-17 13:02:22 +03:00 |
|
levlam
|
f9726a5e19
|
Remove global restriction on thread count.
GitOrigin-RevId: 48a3a6dce014fa640a5bb750eacc27304cb550d1
|
2018-07-17 02:46:44 +03:00 |
|