levlam
|
39d826937e
|
Add logging on Client creation/closing.
|
2024-05-14 13:05:01 +03:00 |
|
levlam
|
d963044eb9
|
Update copyright year.
|
2024-01-01 03:07:21 +03:00 |
|
levlam
|
c0911577f7
|
Use empty name for unused move constructor/assignment parameter.
|
2023-05-05 13:51:19 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
levlam
|
1ac2dfef30
|
Replace ConcurrentScheduler::init with constructor.
|
2022-09-14 15:06:52 +03:00 |
|
levlam
|
70e3586626
|
Allow to specify affinity mask for concurrent scheduler threads.
|
2022-09-14 14:49:48 +03:00 |
|
levlam
|
e8b0983d7b
|
Use std::move to restore ActorContext.
|
2022-07-20 10:28:31 +03:00 |
|
levlam
|
782aa6a2ec
|
Minor fixes.
|
2022-06-14 16:11:38 +03:00 |
|
levlam
|
cfe5c4a43b
|
Ensure that strings passed to TDLib's log message callback are UTF-8 encoded.
|
2022-06-04 14:57:29 +03:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
43b1c6365d
|
Reduce maximum concurrency to 4 client threads on OpenBSD, to reserve enough file descriptors.
|
2021-12-26 12:33:18 +03:00 |
|
levlam
|
f7588582cd
|
Use at most 7 client threads on OpenBSD to stay within default limit of 128 file descriptors.
|
2021-12-24 14:11:36 +03:00 |
|
levlam
|
fc15780e57
|
Improve fatal error message.
|
2021-12-22 14:20:13 +03:00 |
|
levlam
|
e6c4bc6ca4
|
Fix ClientManager without EventFd.
|
2021-10-25 08:03:18 +03:00 |
|
levlam
|
81b38d5607
|
Mark move constructors/assignment operators noexcept.
|
2021-10-18 14:36:15 +03:00 |
|
levlam
|
f86a1e09fe
|
Fix maximal number of used threads on Windows.
|
2021-07-10 02:08:03 +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
|
8db4febd4c
|
Minor improvements.
|
2021-06-02 15:43:56 +03:00 |
|
levlam
|
d34680b83f
|
Remove set_log_fatal_error_callback. Add td_set_log_message_callback, deprecate td_set_log_fatal_error_callback.
|
2021-05-18 04:41:09 +03:00 |
|
levlam
|
4df03c8491
|
Clamp float numbers before conversion to integers.
|
2021-03-28 22:33:22 +03: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
|
6571a99b45
|
Include ConcurrentScheduler separately.
|
2020-11-23 03:24:36 +03:00 |
|
levlam
|
52653d6bf1
|
Do not try to attach to JVM after exit.
|
2020-11-23 00:18:01 +03:00 |
|
levlam
|
155c12edea
|
Improve ConcurrentScheduler closing on exit.
|
2020-11-22 23:30:40 +03:00 |
|
levlam
|
6044ee83fb
|
Fix Client_SimpleMulti test on macOS.
|
2020-11-22 16:26:00 +03:00 |
|
levlam
|
d5da47510d
|
Minor fixes.
|
2020-11-20 01:32:58 +03:00 |
|
levlam
|
5eea5b7501
|
Rename create_client to create_client_id.
|
2020-11-15 01:13:11 +03:00 |
|
levlam
|
6a9cd72636
|
Don't create client through ClientManager until first request is sent to it.
|
2020-11-12 14:45:18 +03:00 |
|
levlam
|
597c0d2983
|
Add checks that client ID doesn't overflow.
|
2020-11-12 01:19:30 +03:00 |
|
Arseny Smirnov
|
add7211707
|
tdweb: 1.6.9
GitOrigin-RevId: e1124a86c021c43c42ad00dc18dc9db0cbcacad1
|
2020-10-20 22:23:52 +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
|
714f037f15
|
Move ClientManager singleton creation to ClientManager::get_manager_singleton.
GitOrigin-RevId: 071b947ff072186c70387cbd00f1c6b1c17d0e6b
|
2020-10-11 11:08:56 +03:00 |
|
levlam
|
09f906f192
|
Protect access to some static variables using ExitGuard.
GitOrigin-RevId: 65c7510c60d585b90e90d09067c7dfdaf79c4cd3
|
2020-10-11 01:59:27 +03:00 |
|
levlam
|
c484cc4773
|
Postpone td_api::authorizationStateClosed until the client is fully closed.
GitOrigin-RevId: 064696a00110c1f567b6da6afbee58d868ff4938
|
2020-10-10 22:08:41 +03:00 |
|
levlam
|
2850e596d3
|
Fix ConcurrentScheduler guard usage.
GitOrigin-RevId: 6f4dd470a690cdbe98870c89433634b31136f832
|
2020-10-10 22:05:20 +03:00 |
|
levlam
|
38f72b353a
|
Clear ClientManager when the last Client is closed.
GitOrigin-RevId: d2d5194f7ffc59dc8db1196401c80689a8645dac
|
2020-10-09 15:39:30 +03:00 |
|
levlam
|
b491964a81
|
Store TdReceiver by value.
GitOrigin-RevId: 51dbcaf815c5ba1a42539242b1e57b456f188d38
|
2020-10-09 14:25:06 +03:00 |
|
levlam
|
35a9a93fc9
|
Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
|
2020-10-08 23:04:40 +03:00 |
|
Arseny Smirnov
|
cee68e5a48
|
Client: bugfix
GitOrigin-RevId: 0267cb2475fecae85d85f03abc96215762dc46e0
|
2020-10-08 16:14:01 +03:00 |
|
levlam
|
6bbb7cde8d
|
Remove unneeded explicit td:: usages.
GitOrigin-RevId: a6d2bf8a1e13f35dd07b9ce43f4320e93cf36040
|
2020-10-08 15:20:22 +03:00 |
|
levlam
|
be374f38ac
|
Improve error message for requests to closed client.
GitOrigin-RevId: 4870c3614ea52ecd0fd1124dfc517471b6d30b55
|
2020-10-08 13:59:03 +03:00 |
|
levlam
|
5ac5acd1cb
|
Fix ClientManager closing.
GitOrigin-RevId: eb588d9991ea6c8c2b4a339d1396d58179c84f43
|
2020-10-08 01:28:24 +03:00 |
|
levlam
|
74987bf8f0
|
Do not build MultiTd without threads.
GitOrigin-RevId: 7707b2922937604b31eff50e67d7ba921c279f48
|
2020-10-06 20:47:22 +03:00 |
|
levlam
|
d875581772
|
Simplify Client closing.
GitOrigin-RevId: 9a35d7ef66cea495d376a98df81a568478b0bb35
|
2020-10-06 20:46:54 +03:00 |
|
levlam
|
f7393d2717
|
Fix handling of requests to unexisting Client.
GitOrigin-RevId: 5de9709abe73ae73dc52c9ca04c480a60efbf437
|
2020-10-05 23:05:16 +03:00 |
|