Commit Graph

46 Commits

Author SHA1 Message Date
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
f1311610e5 Remove unneeded TdParameters.h includes. 2023-03-13 20:10:18 +03:00
levlam
cac5c4467a Replace value of "use_storage_optimizer" option with value of the corresponding TDLib parameter. 2023-03-13 19:10:26 +03:00
levlam
aee858338d Avoid unneeded FileStats copying in main thread. 2023-03-02 18:54:09 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
163e739302 Add set_promises/fail_promises helper functions. 2022-04-13 17:40:12 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
5801d6c695 Improve FileGcParameters field names. 2021-12-11 23:03:11 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
f925aca76e Add more chat list loading logging. 2021-10-10 21:17:34 +03:00
levlam
328c5b57d2 Add Global::request_aborted_error. 2021-10-07 16:36:21 +03:00
levlam
c5a2e9a870 Load only chats with known info in MessagesManager::load_dialogs. 2021-09-26 19:38:27 +03:00
levlam
d882e222a7 Make FileStats fields private. 2021-09-26 12:44:18 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
9cecc116f3 Prefer US spelling of "canceled". 2021-05-31 21:51:48 +03:00
levlam
82f0386e73 Move some functions from misc.h to algorithm.h. 2021-01-01 16:01:03 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
8872fbf6ac Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
2020-06-26 02:24:13 +03:00
Arseny Smirnov
fd6423dedf update tdutils from another project
GitOrigin-RevId: 79b8eb2ba229d733f82dbb17b8bd7f27471c9472
2020-06-24 14:47:36 +03:00
levlam
9334243a5d Unify conversion function names.
GitOrigin-RevId: 10def5544dfd6a94ff89b15441006d102b512439
2020-06-22 04:28:03 +03:00
levlam
62863e9280 Minor fixes.
GitOrigin-RevId: e7b9ea9cb76d5c65c00a5ca86c85c6c8984e1d3c
2020-03-16 22:00:44 +03:00
levlam
a1e93ebba5 Add optimizeStorage.return_deleted_file_statistics.
GitOrigin-RevId: f7533781027891624017c605b1d3ac3e91da5086
2020-03-02 11:59:47 +03:00
levlam
751dae9e64 Remove now unneded dummy parameters.
GitOrigin-RevId: 4ffd517ab80431c0d52b2c0a1b01b0216383aefd
2020-03-02 02:15:12 +03:00
levlam
9862652e14 Use the exact file size instead of the real file size in fast storage statistics on Windows, because the real file size is smaller then expected before the file is synced.
GitOrigin-RevId: 451231c899c1b6c6b80b46e2cb42bd3b94def0a5
2020-02-19 17:57:30 +03:00
levlam
c8bf8fa5f7 Use real allocated file size in storage statistics.
GitOrigin-RevId: 6e5232700d8e97ba3ce0838c3bf7764541b6fd2a
2020-01-03 04:08:22 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
0167d9c3a6 Remove StorageManager::gc_parameters_ local variable.
GitOrigin-RevId: 7cb3e4595a7afe9681c0a6dc05249965b3243d4c
2019-10-03 19:30:31 +03:00
levlam
84695437d3 Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
2019-08-14 03:13:34 +03:00
Arseny Smirnov
ec28b6c48b StorageManager: new query cancels older queries
GitOrigin-RevId: 42d33f212554dce388f7be3b0a69efd756e7b547
2019-08-02 16:05:01 +03:00
levlam
54296a1ed8 Fix stopping FileGC when closing.
GitOrigin-RevId: c265738cf08aecf35766ad986f7e90f39c7503e3
2019-06-05 04:53:43 +03:00
Arseny Smirnov
30e1697157 FileGcWorker and FileStatsWorker cancellation
GitOrigin-RevId: 6332bd0800b32a6ca3089223be3995fd06a3118b
2019-05-01 16:15:54 +02:00
levlam
2898c8909b Add language_pack_database_size to storageStatisticsFast.
GitOrigin-RevId: 6c11b5b88edd470da8abe2a0459a9067c3cb6d21
2019-04-26 01:47:25 +03:00
levlam
c62ff7039e Minor fixes.
GitOrigin-RevId: f0ba3402adf4a26d8220d9b5545e9ea18f094e65
2019-04-22 03:46:51 +03:00
levlam
e77bbc7ffc Add separate field for log size in fast storage statistics.
GitOrigin-RevId: 6e76c7ac995db6599a927d54e8d85aed95f020c0
2019-04-21 19:22:58 +03:00
Arseny Smirnov
c1d94fc821 experimental td_api::getDatabaseStatistics
GitOrigin-RevId: ed4e39caef210a14e1c72f0660690ffd7e974aff
2019-04-17 12:17:51 +03:00
levlam
5bf92283b6 Add LogInterface::get_file_paths method.
GitOrigin-RevId: 5cb749915b181b33250f56eb5d441d0c22c35800
2019-01-18 01:17:20 +03:00
levlam
d375ff0f29 Fix file statistics after forwarding files to secret chat.
GitOrigin-RevId: 9ae1f492fe003da011622effadc143e9aad517e9
2019-01-11 20:54:27 +03:00
levlam
5ea6fda925 Better on_new_file.
GitOrigin-RevId: 0f102cc0c166bbde4b99e7c6735bd79b45f5748a
2019-01-11 05:45:03 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
levlam
a3571b676e Allow to call deleteAccount before authorization. ConfirmPhone support.
GitOrigin-RevId: 36829ee37780ee82b1eb25cea594a673aa490dda
2018-06-27 21:26:52 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00