Commit Graph

8799 Commits

Author SHA1 Message Date
levlam
a7a17b34b3 Update version to 1.8.7. 2022-10-07 01:49:49 +03:00
levlam
68d6c43f02 Add Dockerfile for Android example. 2022-10-07 01:47:03 +03:00
levlam
d4bf6f9239 Send updateMessageSendFailed about being sent messages on closing if there is no message database. 2022-10-07 01:38:39 +03:00
levlam
b1f2e553cb Explicitly fail some promises stored in MessagesManager. 2022-10-07 01:28:18 +03:00
levlam
7115f19332 Suppress expected warnings. 2022-10-06 18:31:01 +03:00
levlam
09cffa693a Improve source for telegram_api::updates. 2022-10-06 18:21:25 +03:00
levlam
0a42eda1ff Remove legacy "default_reaction" options. 2022-10-06 18:11:02 +03:00
levlam
b83c04be60 Don't send fake optionValueEmpty while logging out. 2022-10-06 17:59:19 +03:00
levlam
c91e8d6ce2 Improve logging. 2022-10-06 16:29:35 +03:00
levlam
b03f869ee9 Fix duplicate file source creation for web pages. 2022-10-06 15:32:50 +03:00
levlam
78314b2da9 Immediately ignore duplicate and invalid file sources loaded from database. 2022-10-06 15:15:45 +03:00
levlam
a235628428 Avoid creation of multiple FileSourceId for the same URL. 2022-10-06 15:09:00 +03:00
levlam
94a8cd0046 Fix checks for *Full initialization to avoid file resaving. 2022-10-06 14:10:33 +03:00
levlam
1e6a6c28af Synchronously load file in FileManager::add_file_source to avoid resaving it to the database. 2022-10-06 13:48:52 +03:00
levlam
6176272d60 SQLite: fix handling of SQLITE_DEFAULT_SYNCHRONOUS macros. 2022-10-06 01:47:45 +03:00
levlam
4af5c4f5dd Add logging for slow logging to file. 2022-10-05 23:55:50 +03:00
levlam
7ff1ec04b1 Improve log and error messages. 2022-10-05 21:29:05 +03:00
levlam
c6c8fdcb10 Improve SQLite logging. 2022-10-05 18:24:19 +03:00
levlam
59acbf6d15 Add warnings about big file nodes. 2022-10-05 16:32:16 +03:00
levlam
7c2fae669a Fix warning. 2022-10-05 16:23:08 +03:00
levlam
ff91aa0192 Build and install only OpenSSL libraries in iOS example. Fixes #2152. Update OpenSSL to 1.0.2u. 2022-10-05 14:31:02 +03:00
levlam
7aa6f2bf91 Add ConcurrentScheduler::get_thread_id. 2022-10-04 23:12:50 +03:00
levlam
67aa7082d6 Add thread.get_id() test. 2022-10-04 23:00:02 +03:00
levlam
e984706622 Add td:🧵:get_id(). 2022-10-04 22:48:55 +03:00
levlam
f0b4824924 Allow to start OptionManager on any scheduler. 2022-10-04 21:08:07 +03:00
levlam
b9c5518c91 ClientActor: create Td on desired thread. 2022-10-04 19:02:31 +03:00
levlam
8d1ee490ad Update response of getChatAvailableMessageSenders. 2022-10-04 17:53:56 +03:00
levlam
bbd97ec59e Make TdApi default constructor private. 2022-10-04 15:19:46 +03:00
levlam
af5ddbfa15 Use WaitFreeHashMap for resolved_usernames. 2022-10-04 14:53:46 +03:00
levlam
91ba17c47b Fix read_date usage. 2022-10-04 14:18:57 +03:00
levlam
882b08f935 Support empty filter in getChatMessagePosition. 2022-10-03 20:55:15 +03:00
levlam
ab3f7856a9 Explicitly ignore READ_REACTION notifications. 2022-10-03 17:22:20 +03:00
levlam
628b8901bc Optimize logging to NULL on Windows. Fixes #2112.
It is possible to do only about 100 writes to NULL per second, which is about 8-80 times less than even performance of writes to a console app.
2022-10-03 15:11:23 +03:00
levlam
10680fe353 Minor improvements. 2022-10-03 14:39:20 +03:00
levlam
aa6ed42734 Add class CustomEmojiId. 2022-10-03 01:26:32 +03:00
levlam
197d1de31b Resave file after clearing local location to keep file sources. 2022-10-02 23:42:33 +03:00
levlam
f88993e45f Improve getFile response. 2022-10-02 23:19:41 +03:00
levlam
df3df17c6f Fix FileManager::clear_from_pmc. 2022-10-02 23:06:37 +03:00
levlam
e6b7624811 Fix scanning of temporary directories. 2022-10-02 22:26:03 +03:00
levlam
d29c86bb14 Ensure that all network requests are sent and all their responses are processed asynchronously. 2022-10-02 01:53:56 +03:00
levlam
08ce44a194 Avoid message type checks in treap_insert/treap_find. 2022-10-02 00:36:11 +03:00
levlam
49e840aae5 Minor improvements. 2022-10-01 23:48:03 +03:00
levlam
d4d365d31f Remove template ActorOwn::reset. 2022-10-01 16:29:56 +03:00
levlam
be87e4179f Inline ActorOwn::hangup. 2022-10-01 15:58:27 +03:00
levlam
39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +03:00
levlam
fd8c7534a4 Inline yield_scheduler. 2022-10-01 01:30:39 +03:00
levlam
da886281f4 Improve logging. 2022-10-01 01:28:54 +03:00
levlam
1f7258f697 Add getChatMessagePosition. 2022-09-30 20:04:21 +03:00
levlam
481a69676d Update comment. 2022-09-30 16:52:27 +03:00
levlam
8f0ffd0a65 Reduce MAX_STORAGE_SIZE for wait free hash tables to reduce split_storage time. 2022-09-30 16:38:11 +03:00