Commit Graph

3501 Commits

Author SHA1 Message Date
levlam
20099b730e Improve logging.
GitOrigin-RevId: 0740f7fc674e80a6be76f8cc8c847a22a0b6be90
2020-06-17 23:57:23 +03:00
levlam
4f8fd1781d Prettify OptionParser usage printing.
GitOrigin-RevId: f0b7c833e91d9eea49483bb93124babc190fa670
2020-06-17 06:09:53 +03:00
levlam
ce137620f5 Improve logging to PLAIN.
GitOrigin-RevId: 5fd64a3599e599a7ae27eecc284f0cd898db8aca
2020-06-17 05:51:36 +03:00
levlam
a7fa10718f tg_cli: use OptionParser.
GitOrigin-RevId: c2d73fcc79028d1dce9b951ad02ae880c114c1e0
2020-06-17 05:30:14 +03:00
levlam
c1688ca081 Use proper bit function.
GitOrigin-RevId: c0254cc33fce40682b8609f5fb73b23a4ab1927b
2020-06-17 04:16:59 +03:00
levlam
c46910d75f Add portable option parser.
GitOrigin-RevId: 0d4f7e2f5bec4826e1c12e3aa1aee642fcf6da07
2020-06-17 03:04:36 +03:00
levlam
96b18f3ad8 Fix loading empty list of pinned chats from binlog.
GitOrigin-RevId: 21f90fe3f9f869fe4b4fdab228a5bae1975728ae
2020-06-16 15:21:37 +03:00
levlam
3442a88413 Unify constant names style.
GitOrigin-RevId: 6e4475366b94cea6ab0331d57f254311490bdee2
2020-06-16 05:10:16 +03:00
levlam
44cd25afae Force data loading on MESSAGE_MUTED.
GitOrigin-RevId: 1911c676b7c25fe4334c2ef1f1dc2395e39b27f9
2020-06-16 00:25:12 +03:00
levlam
a5b0f205d1 Remove Promise debug.
GitOrigin-RevId: b248c369954ae5ddd81437e4a2fdde245544d267
2020-06-15 04:59:08 +03:00
levlam
0cf4fea1ff Remove enum usages for static constants creation.
GitOrigin-RevId: 2a88fd2cd961398a09403fe35a15ae56372a44f8
2020-06-15 04:52:56 +03:00
levlam
ea4841a37c Unify enum constant name style.
GitOrigin-RevId: 2e36eef9b54c23da0d1bc9beb7e07af8835f702d
2020-06-15 04:23:47 +03:00
levlam
480f826d16 Do not use C-style casts.
GitOrigin-RevId: 6187bc8f4837fd40aba7ef613e09ecb93e3cf951
2020-06-14 05:27:49 +03:00
levlam
18b8e87e74 Support cpu_stat on Windows.
GitOrigin-RevId: df9a2fa6d53fb1c19cd30f2da3354bc23b2f3aee
2020-06-14 04:01:02 +03:00
levlam
6b1c2f797d Add mem_stat support on Windows.
GitOrigin-RevId: cf63e7fe53a00f2fa116472ed12f73492ad8bf29
2020-06-14 02:31:57 +03:00
levlam
2ed9cb3b75 Minor fixes.
GitOrigin-RevId: ce9058c2075281697cc41de2ab970dd11e189f77
2020-06-13 05:13:11 +03:00
levlam
c7bc1d1908 Fix strange clang CE.
GitOrigin-RevId: 82960c49e63d6d48d181bdf42e009930c60783de
2020-06-13 04:43:07 +03:00
Arseny Smirnov
541f15bd68 files: better debug message in 'Cycle in database' error
GitOrigin-RevId: 8817236d9a4a628468663c68f48f8990a2317f96
2020-06-09 17:04:47 +03:00
levlam
8a118ec305 Add PingProxy actor name.
GitOrigin-RevId: b539817bad2d706df3391619cd2c81324b8dc686
2020-06-10 20:34:45 +03:00
levlam
44689f81ff Minor improvements.
GitOrigin-RevId: 835275f0146586e4de5e18e9f01be29bb72ddf31
2020-06-10 03:42:00 +03:00
levlam
c921bcc5ed Improve NetQuery public field names.
GitOrigin-RevId: cfa0dbd98c1b03e4e86d62fc6486fcf90e72ef25
2020-06-10 02:44:54 +03:00
levlam
1e6bdbb7a5 Improve NetQueryDebug field names.
GitOrigin-RevId: 56c8c1804e9962caceda0105591cfd16446cd56c
2020-06-10 02:03:09 +03:00
levlam
fcb7a51eb0 Remove global net_query_list_.
GitOrigin-RevId: 345564fa64a1a6abe6e936713ab05c5c16e4a723
2020-06-10 01:47:17 +03:00
levlam
2d22f4d13e Minor improvements.
GitOrigin-RevId: e86b66d0cd5b78a02ce401c40a2c2fffc1bb5a3c
2020-06-10 01:38:00 +03:00
Arseny Smirnov
99fa220ae5 NetQuery: thread safe dump_pending_network_queries
GitOrigin-RevId: 43650ab11c3ca881ae7ee1f768353ce90f094da7
2019-08-16 14:57:41 +03:00
levlam
cd451b7c45 Add List::init_from.
GitOrigin-RevId: 17a6f374ff0b568c6e2d056053539fb2947f22d3
2020-06-09 17:18:59 +03:00
Arseny Smirnov
e8dba312fe secret: fix infinity loop for non-rewritable queries during flood control errors
GitOrigin-RevId: 8f0e3d0a402426c22760074b0bbdf144401f353f
2020-06-09 14:34:48 +03:00
levlam
ab854dac52 Update supergroup.member_count documentation.
GitOrigin-RevId: 138edda0f73f2fa4101cb5faa4357b5ad9560e10
2020-06-09 02:04:06 +03:00
levlam
6ed1a04cf1 Remove remained TON integration methods.
GitOrigin-RevId: 5d2045602cc31fb24225b604b11dacee88a1b65e
2020-06-08 02:12:57 +03:00
levlam
71ec8cc655 Send updateChatFilters for empty list of chat filters after logging in.
GitOrigin-RevId: 18176b0c9bd08a1552189bb35eb46a982a33732d
2020-06-08 01:22:59 +03:00
levlam
eb9efdcba1 Fix edit_dialog_filter.
GitOrigin-RevId: 43043c6b0e054341d6c7c69e9c0dff7440224801
2020-06-07 23:59:16 +03:00
levlam
41d3a4dc33 Add disable_get_dialog_filter_ and more checks that bots doesn't use filters.
GitOrigin-RevId: a9806876ab714ea145dc0ddfd37270ca24e474ac
2020-06-07 23:45:11 +03:00
levlam
0b46b93bc8 Add MessagesManager::do_update_list_last_dialog_date.
GitOrigin-RevId: 337bcc66893ef8c47224d77d5ab54d841936c836
2020-06-07 23:22:33 +03:00
levlam
135be34b0f Add MessagesManager::do_update_list_last_pinned_dialog_date.
GitOrigin-RevId: 9059bce326b65d2b7d5b260fdb7fcb52918ba072
2020-06-07 23:07:46 +03:00
levlam
1e53b71532 Better createChatFilter/editChatFilter return type.
GitOrigin-RevId: 7c9d51add4bc3e2e7bfd92483b2daad83209503b
2020-06-07 22:16:30 +03:00
levlam
deb006416b Add DialogFilter::get_chat_filter_info_object.
GitOrigin-RevId: e61ce8a03c53ee052283abf272edf11a9aaa6564
2020-06-07 21:51:21 +03:00
levlam
415e234f3c Fix include.
GitOrigin-RevId: 8ccca04a6d304cbbafc7e2da2be60b37306b6aba
2020-06-07 20:13:33 +03:00
levlam
b1419f9de5 Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
2020-06-07 18:14:52 +03:00
levlam
275150b67f Load pinned dialogs if needed in getChats.
GitOrigin-RevId: 753be1d7a3b1009935bb17187e8ee971a327606c
2020-06-07 00:41:18 +03:00
levlam
b7a403f8c5 Immediately reload dialog filters after restart if ignore background updates.
GitOrigin-RevId: 254584dcd936425006b37753ae796503d0342957
2020-06-06 23:29:08 +03:00
levlam
89ca6f6c51 Do not save pinned dialogs to binlog if there is no message database.
GitOrigin-RevId: 2d3de7cc40f471338bd95a5f72ce4f6b8750c61b
2020-06-06 23:22:12 +03:00
levlam
a87b1b4b75 Return parallel first chat list loading.
GitOrigin-RevId: 236bbe8ed898f8ef1dae2add8998a78e4ec1b5f7
2020-06-06 23:20:04 +03:00
levlam
de6d5359ed Use #pragma managed(push, off) around unmanaged includes in managed code.
GitOrigin-RevId: 1b8944dfa23e38f675aec0f25d78644baa27ab84
2020-06-06 22:51:45 +03:00
levlam
b5b1c4c3a6 Fix loading of pinned dialogs.
GitOrigin-RevId: 1ee93b98a10d5f24899d0793e5c9ce1bf3807a85
2020-06-06 22:41:03 +03:00
levlam
2433e68d38 Improve logging.
GitOrigin-RevId: 39c10ac2041467967de93aa94fc5ab8315720cf6
2020-06-06 22:38:47 +03:00
levlam
c67816454f Fix requestQrCodeAuthentication documentation.
GitOrigin-RevId: 788bd942672d94baf6937f4b1d039e687b8a98b7
2020-06-06 17:48:42 +03:00
levlam
760005df5b Change minimum chunk size of poll voters to 10.
GitOrigin-RevId: a1789ac229021d183c9d800fbfebf16c521be11c
2020-06-06 02:30:06 +03:00
levlam
e046e2ced4 Improve need_dialog_in_filter behavior.
GitOrigin-RevId: 56ccaa30c748e1ac4c5850185f0682c61556b17e
2020-06-06 00:53:13 +03:00
levlam
23df5601fe Fix tdweb CE.
GitOrigin-RevId: 06d34855850e771c6aa6bca756dc8d1f4c700d09
2020-06-05 16:43:36 +03:00
levlam
88f6e483fe Fix warning.
GitOrigin-RevId: 601d5141c123ee4928ea309b1846511fcf6d6b62
2020-06-05 08:16:38 +03:00