Andrea Cavalli
70ad9c53c5
Merge remote-tracking branch 'td/master'
2022-08-13 22:56:08 +02:00
levlam
9a469eef31
Minor fixes.
2022-08-12 18:39:36 +03:00
levlam
e7fa6741aa
Support file reference repair for files of attachment menu bots.
2022-08-10 21:12:05 +03:00
levlam
2865be8dd7
Store link to parent in FileReferenceManager.
2022-08-09 17:00:36 +03:00
levlam
44e96081c6
Support file reference repair for bot description photo and animation.
2022-08-06 13:42:35 +03:00
levlam
779090f4dd
Add more WaitFree* classes usages.
2022-08-04 14:48:10 +03:00
Andrea Cavalli
cd4a07a7c7
Merge remote-tracking branch 'td/master'
2022-07-22 13:09:22 +02:00
levlam
0f87447ffc
Asynchronously destroy some big data storages.
2022-07-20 13:40:14 +03:00
Andrea Cavalli
377050ced3
Merge remote-tracking branch 'td/master'
2022-06-29 23:33:12 +02:00
levlam
32bac7bd24
Move Promise to tdutils.
2022-06-27 13:30:18 +03:00
Andrea Cavalli
d84305048e
Merge remote-tracking branch 'td/master'
2022-04-22 15:35:30 +02:00
levlam
77532d67f8
Support file reference repair for notification sounds.
2022-04-15 16:27:30 +03:00
Andrea Cavalli
e047add8a2
Update tdlib
2022-03-15 11:36:21 +01:00
levlam
4d7afaedbb
Improve DownloadManager initialization.
2022-03-01 23:09:40 +03:00
levlam
a3cef00551
DownloadManager fixes and improvements.
2022-02-27 18:23:06 +03:00
levlam
4524ba0380
Add FileReferenceManager::get_file_info.
2022-02-26 21:52:14 +03:00
levlam
bcc2adeb47
Fix includes and formatting.
2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972
td: replace most of std::unordered_map usages to td::FlatHashMap
2022-02-07 21:21:31 +01:00
Andrea Cavalli
09b98f6b30
Merge remote-tracking branch 'td/master'
2022-01-04 00:04:21 +01:00
levlam
8085779cdc
Update copyright year.
2022-01-01 03:35:39 +03:00
Andrea Cavalli
9a71c1f0ca
Merge remote-tracking branch 'td/master'
2021-12-03 00:40:25 +01:00
levlam
4f8cfce082
Fix g++4.9 compilation errors.
2021-12-01 20:54:56 +03:00
Andrea Cavalli
48e3660d2c
Merge remote-tracking branch 'td/master'
2021-11-14 22:46:37 +01:00
levlam
b731414d42
Init some fields just in case.
2021-11-11 17:39:09 +03:00
Andrea Cavalli
9c9772868b
Merge remote-tracking branch 'td/master'
2021-11-05 16:11:03 +01:00
Andrea Cavalli
98244d1346
Merge remote-tracking branch 'td/master'
2021-10-20 02:21:14 +02:00
levlam
db7aa28bdf
A lot more minor improvements.
2021-10-19 18:11:16 +03:00
levlam
f70498898b
Add fileSourceAppConfig.
2021-10-08 13:41:22 +03:00
Andrea Cavalli
45e855f89d
Remove most memory related features
...
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli
897d4af16c
Merge remote-tracking branch 'td/master'
2021-09-25 19:24:57 +02:00
levlam
db18baa503
Unify include order.
2021-09-19 00:47:05 +03:00
Andrea Cavalli
3dde04b17f
Merge remote-tracking branch 'td/master'
2021-07-17 11:15:40 +02:00
levlam
40c5d47717
Make inherited classes final if possible.
2021-07-04 05:58:54 +03:00
andrew (from workstation)
49c2bbd9b5
fix get_all_file_sources declaration
2021-01-03 12:11:35 +01:00
andrew (from workstation)
c66972354a
get all elements without offset
2021-01-03 12:07:48 +01:00
Andrea Cavalli
85fb357a19
Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-02 12:57:08 +01:00
levlam
52c1da0a70
Update copyright year.
2021-01-01 15:57:46 +03:00
andrew (from workstation)
e0d8a39ce4
remove unused file sources
2021-01-01 12:21:33 +01:00
Andrea Cavalli
7ef40eea0c
Group call patches
...
Add disable_group_calls boolean option
Add memory_cleanup and memory_stats to FileReferenceManager
Add memory_cleanup and memory_stats to GroupCallManager
2020-12-28 16:10:05 +01:00
5c4e8bc0bd
More fixes
2020-08-03 18:13:38 +02:00
cc087aeacd
Merge commit 'ab5d35371b1fdcfb30dfa981ede54ec83db214a9'
...
Conflicts:
sqlite/CMakeLists.txt
td/telegram/ContactsManager.cpp
td/telegram/Photo.cpp
td/telegram/Td.cpp
td/telegram/WebPagesManager.cpp
td/telegram/files/FileManager.h
2020-07-29 16:39:33 +02:00
levlam
a7bd0c3932
Add photo to *FullInfo.
...
GitOrigin-RevId: 21346a0880239abe428799fa58b9132abded6f13
2020-07-06 15:26:29 +03:00
levlam
2ad13e414e
Remove file reference tracing for chat photos.
...
GitOrigin-RevId: 1cb90efec24192b5a712cabde325c8768e1af572
2020-06-27 17:05:45 +03:00
e3bf0f63f0
Patches
2020-05-23 21:27:24 +02:00
levlam
80c35676a2
Update copyright year.
...
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
0618005a95
Add FullMessageId.h.
...
GitOrigin-RevId: 758133149ff3317b3d9d3f86b1a841e8f34ca35a
2019-11-26 19:53:10 +03:00
levlam
6b001fedd9
Add basic protectiong from cyclic successful file reference repair.
...
GitOrigin-RevId: f0d3ef24dc95ed1f5ed06801abc435ee40c80f01
2019-10-18 04:30:49 +03:00
levlam
84695437d3
Various fixes.
...
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
2019-08-14 03:13:34 +03:00
Arseny Smirnov
089d73953c
FileManager: reload photo on FILE_ID_INVALID
...
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
2019-07-30 17:42:36 +03:00
levlam
8d132d9505
Fix CE.
...
GitOrigin-RevId: 925d3fbd4a7414caffe7269b7283246bdc03d0a2
2019-07-25 00:00:21 +03:00