Commit Graph

9595 Commits

Author SHA1 Message Date
levlam
ee4ecbc0be Avoid the use of low-numbered file descriptors. 2023-02-13 14:40:36 +03:00
levlam
b9f7cc4150 Add tests for erase_batch. 2023-02-12 03:36:52 +03:00
levlam
2543d00314 Add erase_batch to key-values. 2023-02-12 03:29:19 +03:00
levlam
af27ba7c32 Return 0 from erase_batch for empty event list. 2023-02-12 03:18:22 +03:00
levlam
896de65c3e Improve field name. 2023-02-11 22:37:43 +03:00
Arseny Smirnov
ebe93d7e4f Binlog::erase_batch, TQueue:pop_batch 2023-02-10 15:14:14 +01:00
levlam
1c9efb4283 Binlog: avoid sync on Binlog creation. 2023-02-10 15:21:43 +03:00
levlam
852a1640b0 Fix FileFd::sync_barrier. 2023-02-10 15:17:07 +03:00
Arseny Smirnov
8df048c0d2 Use FileFd::sync_barrier in Binlog 2023-02-10 12:17:56 +01:00
Arseny Smirnov
a0dd1e1a07 FileFd::sync_barrier uses F_BARRIERFSYNC on darwin 2023-02-10 12:17:56 +01:00
levlam
80fc0346e8 Fix tdactor benchmark. 2023-02-10 13:56:14 +03:00
Arseny Smirnov
f2ca22745a Avoid std::move to itself in BinlogEventsProcessor 2023-02-09 22:53:04 +01:00
Arseny Smirnov
cde74133a6 Store std::string instead of BufferSlice in BinlogEvent 2023-02-09 22:53:02 +01:00
Arseny Smirnov
fb854c93a8 Fix benchmark/bench_db.cpp 2023-02-09 22:52:59 +01:00
levlam
6ba394fc41 Add class StickerMaskPosition. 2023-02-09 20:15:21 +03:00
levlam
5a39bb4952 Use error code returned by get_input_file_id. 2023-02-09 18:31:02 +03:00
levlam
7b759a06bc Add StickersManager::get_sticker_input_document. 2023-02-09 17:26:50 +03:00
levlam
ed9df60e1e Update needs_repainting documentation. 2023-02-09 13:29:39 +03:00
levlam
58c4a12ca6 Fix getPremiumStickers. 2023-02-08 18:36:54 +03:00
levlam
7eee3f469a Update clang-format to 16.0.0. 2023-02-08 15:28:36 +03:00
levlam
a08b1f9107 Use __is_trivially_copyable if possible. 2023-02-07 13:13:56 +03:00
levlam
694378f9ab Support percent-encoding for Content-Disposition parameter values as per RFC7578. 2023-02-06 22:44:01 +03:00
levlam
1e6c3ef93d Don't try to reload data mutiple times without network. 2023-02-06 20:31:17 +03:00
levlam
d4833b7844 Reload autosave settings periodically. 2023-02-06 20:10:27 +03:00
levlam
2260944afe Save autosave settings to database. 2023-02-06 19:53:21 +03:00
levlam
3d0140b3ef Fix SQLite key-value usage. 2023-02-06 15:41:22 +03:00
levlam
5ed1d22d08 Fix watchOS compilation error. 2023-02-06 15:20:09 +03:00
levlam
43e5f2aded Support updateAutosaveSettings in getCurrentState. 2023-02-05 10:04:19 +03:00
levlam
f6616f6ba3 Fix creator in ForumTopicInfo. 2023-02-04 17:59:17 +03:00
levlam
e9aa2fd64b Don't try to check password without checkAuthenticationPassword/recoverAuthenticationPassword query. 2023-02-04 13:36:01 +03:00
levlam
1724002c60 Add Vala example. 2023-02-04 12:51:20 +03:00
AYMENJD
7f8c3e8402 Fix checkAuthenticationEmailCode in Python example. 2023-02-04 12:46:34 +03:00
AYMEN Mohammed
b07f99117d
Add update version script. (#2288) 2023-02-04 12:44:54 +03:00
levlam
218baffeca Fix OpenSSL version check. 2023-02-04 11:00:04 +03:00
levlam
9bf492dbc0 Fix warnings. 2023-02-04 09:55:11 +03:00
levlam
2f46132aa2 Send updateAutosaveSettings. 2023-02-04 03:32:16 +03:00
levlam
6dc48f30da Add td_api::updateAutosaveSettings. 2023-02-03 20:59:32 +03:00
levlam
810b58d55a Check and fix max_video_file_size. 2023-02-03 16:49:17 +03:00
levlam
7556ef4b18 Support telegram_api::updateAutoSaveSettings. 2023-02-03 16:08:44 +03:00
levlam
39f4091ac5 Add td_api::setAutosaveSettings. 2023-02-03 15:58:15 +03:00
levlam
498f507646 Improve class names. 2023-02-03 13:45:51 +03:00
levlam
255d887bce Add td_api::clearAutosaveSettingsExceptions. 2023-02-03 13:07:43 +03:00
levlam
c5c9707837 Add td_api::getAutosaveSettings. 2023-02-03 12:39:23 +03:00
levlam
216b6e1acf Add AutosaveManager. 2023-02-03 10:41:31 +03:00
levlam
5ed796cd57 Improve CRC spelling. 2023-02-03 08:27:26 +03:00
levlam
ddab8d5dbc Improve translateText documentation. 2023-02-03 00:01:03 +03:00
levlam
4cb164f444 Initialize all BinlogEvent fields. 2023-02-02 21:13:52 +03:00
levlam
3179d35694 Update version to 1.8.11. 2023-02-02 19:19:34 +03:00
levlam
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
d6b7770561 Always initialize BinlogEvent.offset_. 2023-02-02 15:45:20 +03:00