Commit Graph

9803 Commits

Author SHA1 Message Date
levlam
3fef62a396 Reuse default_result. 2023-02-17 16:06:38 +03:00
levlam
6cf6f32418 Add Global::ignore_result_if_closing. 2023-02-16 13:35:27 +03:00
levlam
337bdc5f5e Use request promise in getWebPagePreview. 2023-02-15 15:05:37 +03:00
levlam
d9a4e5572f Don't pass default is_optional value to get_json_object_string_field. 2023-02-14 15:21:10 +03:00
levlam
abbeffe964 Improve thumbnail variable names. 2023-02-14 15:10:27 +03:00
levlam
e9cbb07dee Update .gitignore. 2023-02-13 15:51:04 +03:00
levlam
9db7834077 Remove now unused CI yml. 2023-02-13 15:48:05 +03:00
levlam
1f3de5bd99 Update src.sh/src.ps1. 2023-02-13 15:43:55 +03:00
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