levlam
|
3303c659bf
|
Use JsonOnject::extract_ if possible.
|
2023-07-31 18:27:10 +03:00 |
|
levlam
|
7a80136478
|
Use JsonObject::has_field.
|
2023-07-31 17:53:17 +03:00 |
|
levlam
|
58f15df705
|
Use JsonObject::get_.*_field if possible.
|
2023-07-31 17:17:52 +03:00 |
|
levlam
|
a5a408290e
|
Add field getters to JsonObject class.
|
2023-07-31 16:30:39 +03:00 |
|
levlam
|
44d4fcfa07
|
Add test for get_json_object_*_field.
|
2023-07-31 15:54:36 +03:00 |
|
levlam
|
6d05e8af6e
|
Make object const in get_json_object_*_field.
|
2023-07-31 15:37:54 +03:00 |
|
levlam
|
88f169b714
|
Use get_json_object_field_force to extract @extra.
|
2023-07-31 14:12:01 +03:00 |
|
levlam
|
43941c1e69
|
Add JsonObject::field_count.
|
2023-07-31 13:33:35 +03:00 |
|
levlam
|
59044294a8
|
Make JsonObject class.
|
2023-07-31 13:31:48 +03:00 |
|
Vincent Neo
|
6a6cd8af76
|
update example to build openssl 3.1.1
|
2023-07-31 00:57:28 +03:00 |
|
levlam
|
5b06e003fd
|
Remove support of outdated Darwin architectures.
|
2023-07-30 01:34:50 +03:00 |
|
levlam
|
a78ba042dc
|
Fix clang warning.
|
2023-07-30 00:56:08 +03:00 |
|
levlam
|
86ecb3db18
|
Fix compilation error.
|
2023-07-29 17:55:05 +03:00 |
|
levlam
|
0298f53081
|
Disable maybe-uninitialized warnings also for old GCC versions.
|
2023-07-29 17:12:58 +03:00 |
|
levlam
|
564cbc0345
|
Don't log updates with slightly old PTS short after updates with very old PTS.
|
2023-07-29 15:37:15 +03:00 |
|
levlam
|
75b0f28d45
|
Fix GCC compilation error.
|
2023-07-29 02:41:29 +03:00 |
|
levlam
|
5ba7e14be0
|
Improve logging for PTS gaps.
|
2023-07-28 18:10:24 +03:00 |
|
levlam
|
ff3a8e446e
|
Add MessagesManager::load_last_dialog_message instead of get_history_from_the_end.
|
2023-07-28 14:33:54 +03:00 |
|
levlam
|
58a1ae8e8d
|
Directly call get_history_impl if appropriate.
|
2023-07-28 14:19:43 +03:00 |
|
levlam
|
f5a066f7ed
|
Support loading of history from the end in get_history_impl.
|
2023-07-28 14:12:22 +03:00 |
|
levlam
|
73d5b2dcbb
|
Simplify calls to load_messages.
|
2023-07-28 13:50:02 +03:00 |
|
levlam
|
c071678be1
|
Add source to MessagesManager::get_history_impl.
|
2023-07-28 13:32:07 +03:00 |
|
levlam
|
2dba29669f
|
Delete unused MessagesManager::get_history.
|
2023-07-28 13:22:52 +03:00 |
|
levlam
|
16183df0aa
|
Adjust offset and limit in get_history_impl.
|
2023-07-28 13:22:07 +03:00 |
|
levlam
|
bd0ca2d6fc
|
Combine all getChatHistory queries.
|
2023-07-28 03:36:21 +03:00 |
|
levlam
|
9618d58732
|
Combine get_history_from_the_end queries.
|
2023-07-27 20:40:56 +03:00 |
|
levlam
|
070399c89a
|
Add combine_hashes function.
|
2023-07-27 19:05:15 +03:00 |
|
levlam
|
5c8b12b105
|
Simplify limit initialization in get_history_from_the_end_impl.
|
2023-07-27 18:19:10 +03:00 |
|
levlam
|
b914b28bf0
|
Use FlatHashMap instead of unordered_map in ChainScheduler.
|
2023-07-27 14:18:39 +03:00 |
|
levlam
|
d8116aa796
|
Use FlatHashMap for limited_tasks_ in ChainScheduler.
|
2023-07-27 14:03:39 +03:00 |
|
levlam
|
0a7c87eb8b
|
Use FlatHashMap in SeqKeyValue.
|
2023-07-27 13:58:20 +03:00 |
|
levlam
|
1fbbecca9b
|
Don't register message users/channels for bots.
|
2023-07-27 13:16:48 +03:00 |
|
levlam
|
be64ce7049
|
Don't generate unused define FAIL.
|
2023-07-27 13:02:49 +03:00 |
|
levlam
|
32043df840
|
Parse updates in another thread.
|
2023-07-27 12:52:29 +03:00 |
|
levlam
|
56adf14116
|
Improve PTS gap repair.
|
2023-07-26 22:04:57 +03:00 |
|
levlam
|
e6cd1989bf
|
Fix Global initialization.
|
2023-07-26 21:37:54 +03:00 |
|
levlam
|
aa59e4cbd7
|
Avoid big memory consumption in ConcurrentHashMap benchmark with n = 1 << 27 when the benchmark ends very fast.
|
2023-07-26 20:45:52 +03:00 |
|
levlam
|
cfe47b6cc2
|
Disable MpmcSleepyWaiter_stress_one_one test.
|
2023-07-26 19:45:10 +03:00 |
|
levlam
|
35df6e3dfd
|
Optimize FileManager::get_file_object by moving implementation of getters to FileNode.
|
2023-07-26 18:07:33 +03:00 |
|
levlam
|
e12d66af4c
|
Cache remote_location.
|
2023-07-26 17:34:26 +03:00 |
|
levlam
|
bb1d0d244a
|
Optimize FileView const methods.
|
2023-07-26 17:09:08 +03:00 |
|
levlam
|
2cf1722b5b
|
Move get_persistent_file_id/get_unique_file_id to FileNode to speed up.
|
2023-07-26 16:57:32 +03:00 |
|
levlam
|
899197448e
|
Load unknown viewed stories.
|
2023-07-26 15:35:38 +03:00 |
|
levlam
|
f33dbfb97f
|
Optimize on_get_user.
|
2023-07-26 15:32:35 +03:00 |
|
levlam
|
65710fcec6
|
Inline zero_encode implementation to speed up it 25% more.
|
2023-07-26 15:07:15 +03:00 |
|
levlam
|
c50afa3820
|
Optimize zero_encode.
|
2023-07-26 14:58:08 +03:00 |
|
levlam
|
38fe2d7cb2
|
Support NetQueryCreator without Scheduler.
|
2023-07-26 14:46:31 +03:00 |
|
levlam
|
69c2315c10
|
Add zero_encode benchamrk.
|
2023-07-26 14:40:36 +03:00 |
|
levlam
|
4c2859b85c
|
Add test for zero_encode.
|
2023-07-26 14:21:27 +03:00 |
|
levlam
|
5bc2634d12
|
Use FlatHashMap for random_id_to_message_id.
|
2023-07-26 13:38:10 +03:00 |
|