Commit Graph

7039 Commits

Author SHA1 Message Date
levlam
ad2cc6e534 Use ClientManager instead of Client in ClientDotNet. 2021-09-27 21:43:14 +03:00
levlam
0208b7058b Don't catch ActorContext by MutiPromiseActor and SleepActor. 2021-11-03 18:05:53 +03:00
levlam
4266841b64 Simplify logging in tdactor. 2021-11-03 16:53:14 +03:00
levlam
94172ee9ae Fix logging on actor creation/destroying. 2021-11-03 16:46:01 +03:00
levlam
6a5b0506e5 Split Actor.is_lite to need_context and need_start_up. 2021-11-03 15:10:43 +03:00
levlam
ffa48e523a Add Actor life cycle benchmark. 2021-11-03 14:18:16 +03:00
levlam
f964067da6 Store name of lite actors. 2021-11-03 00:57:20 +03:00
levlam
f96d61dd4d Use InvokeAfter for ToggleDialogIsBlocked queries. 2021-11-02 01:06:43 +03:00
levlam
5642947198 Simplify send_update_recent_stickers usage. 2021-11-01 01:35:39 +03:00
levlam
c66cf3dec6 Use range-based for on arrays/strings if possible. 2021-11-01 01:24:51 +03:00
levlam
7cd7e5afd3 Improve slow_mode_delay documentation. 2021-10-31 23:05:31 +03:00
levlam
b4324ee88c Fix handle_errors_ check. 2021-10-30 21:57:43 +03:00
levlam
d8e3fd2ee6 Improve limit documentation. 2021-10-30 21:50:25 +03:00
levlam
f4d20e20ac Improve parameter names. 2021-10-29 15:38:39 +03:00
levlam
b5060687cc Add enable_if guards for forwarding constructors. 2021-10-29 15:05:28 +03:00
levlam
05b59cc63b Improve DialogParticipant field names. 2021-10-29 14:39:07 +03:00
levlam
318b782c25 Fix may_reload_photo. 2021-10-28 12:57:26 +03:00
levlam
377bd18909 Pass BufferedFd to HttpConnection. 2021-10-27 20:29:01 +03:00
levlam
a68d8e77ef Improve bench_queue. 2021-10-27 00:23:30 +03:00
levlam
7226c09d31 Explicitly mention that libc++ needs to be installed when clang is used. 2021-10-26 14:21:01 +03:00
levlam
51cf4baee6 Fix tests compilation without threads. 2021-10-25 10:37:38 +03:00
levlam
c5a2f1570d Remove superflous endif comments. 2021-10-25 10:05:15 +03:00
levlam
f518f94b20 Fix actors_simple test without threads/EventFd. 2021-10-25 09:44:57 +03:00
levlam
071d50414d Move Scheduler::ServiceActor::set_queue to cpp. 2021-10-25 08:33:14 +03:00
levlam
e6c4bc6ca4 Fix ClientManager without EventFd. 2021-10-25 08:03:18 +03:00
levlam
d9607b4a46 Use send_closure for Td::close()/destroy() to ensure the correct call order. 2021-10-25 06:47:20 +03:00
levlam
f7d073baa4 Fix building with TD_EVENTFD_UNSUPPORTED. 2021-10-25 01:46:39 +03:00
levlam
2431afc722 Add more logging for CHECK. 2021-10-24 13:23:47 +03:00
levlam
c0fb888c42 Fix GCC 4.9 compilation errors. 2021-10-24 02:09:36 +03:00
levlam
d06aa6535d Make DialogParticipantsFilter fields private. 2021-10-23 23:41:13 +03:00
levlam
393598314a Simplify search_private_chat_participants. 2021-10-23 23:37:23 +03:00
levlam
ed45735de4 Add DialogParticipant::private_member. 2021-10-23 23:22:54 +03:00
levlam
7d4442347d Add DialogParticipantsFilter::is_dialog_participant_suitable. 2021-10-23 22:32:11 +03:00
levlam
1c59f37ca9 Move some methods inside DialogParticipantsFilter class. 2021-10-23 22:23:59 +03:00
levlam
47d4c08de2 Improve field names style. 2021-10-23 21:56:37 +03:00
levlam
c24501f2d9 Reduce "this" usages. 2021-10-23 21:17:00 +03:00
levlam
0c1469f7c6 Fix TransparentProxy::Callback. 2021-10-22 19:59:15 +03:00
levlam
03c6d53951 Log number of pending requests when Session is closed. 2021-10-22 18:36:35 +03:00
levlam
b25df7a808 Create all nested objects before td_api::message. 2021-10-22 17:00:18 +03:00
levlam
495082b628 Simplify updateChatLastMessage creation. 2021-10-22 16:41:31 +03:00
levlam
1394a2bedf Fix documentation misprints found by t.me/Mammad900. 2021-10-22 00:13:51 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
1ebf835ac5 Fix process_check_code_result. 2021-10-20 10:46:01 +03:00
levlam
64bc1ad7f0 Don't store all created message random IDs. 2021-10-20 01:50:58 +03:00
levlam
1915dec1ae Add MessagesManager::generate_new_random_id. 2021-10-20 01:36:00 +03:00
levlam
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
levlam
d225bdf073 Improve tdtl C++03 compatibility. 2021-10-20 01:01:22 +03:00
levlam
41cc287d66 Improve checks. 2021-10-20 00:54:49 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +03:00