Andrea Cavalli
d84305048e
Merge remote-tracking branch 'td/master'
2022-04-22 15:35:30 +02:00
levlam
3378131467
Add fileTypeNotificationSound.
2022-04-12 22:50:20 +03:00
levlam
88b9f35b91
Add PhotoSize.h.
2022-04-10 01:15:49 +03:00
levlam
05c0833525
Add PhotoFormat.h.
2022-04-09 23:21:07 +03:00
Andrea Cavalli
e047add8a2
Update tdlib
2022-03-15 11:36:21 +01: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
9c9772868b
Merge remote-tracking branch 'td/master'
2021-11-05 16:11:03 +01:00
levlam
00a349656d
Unify td/telegram/include order.
2021-10-27 17:32:09 +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
a20e8b6db3
Merge remote-tracking branch 'td/master'
2021-09-04 16:03:33 +02:00
levlam
aaff89a6c3
Make get_document_object methods const.
2021-08-28 14:16:29 +03:00
levlam
cf7c14fb59
Remove unneeded document.is_changed.
2021-08-26 18:50:28 +03:00
Andrea Cavalli
4286622a5a
Merge remote-tracking branch 'td/master'
2021-08-02 10:47:33 +02:00
levlam
1223c72741
Add class EncryptedFile.
2021-08-01 06:17:51 +03: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
Andrea Cavalli
017073e0a2
Add memory optimize and memory stats methods
2020-10-25 03:20:24 +02:00
205fa52f8d
Merge commit '44689f81ff8b9bc4583c1c889d8034c47f0c5270'
...
Conflicts:
td/telegram/DialogDb.cpp
td/telegram/MessagesManager.cpp
td/telegram/StickersManager.cpp
td/telegram/TdDb.cpp
td/telegram/WebPagesManager.cpp
2020-06-11 17:44:52 +02: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
8d0fa5ce77
Add td_api::thumbnail.
...
GitOrigin-RevId: b74fa62e415816ce63d3bd4415bd2bb8d6aa3f8b
2020-05-31 22:22:15 +03:00
levlam
85dd77b02c
Initial background support.
...
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
2019-05-07 05:51:56 +03:00
levlam
43483e743d
Update layer to 92: minithumbnails support.
...
GitOrigin-RevId: a2e3bba42504cdaf91db1e0113bc98c450ba78c9
2019-03-01 22:51:33 +03:00
levlam
dc79cdc0b1
Add Document class.
...
GitOrigin-RevId: e1a5a8235f341cf0955ee37086a99a17e7b123de
2019-04-09 18:38:57 +03:00
levlam
4d5fb2902c
Unify names of ParserT/StorerT classes.
...
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
eaebfad034
Update copyright year.
...
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
091d7143e3
Fix includes.
...
GitOrigin-RevId: 68b59141c12d6e24ddaf0fa48008bf58935bd818
2018-09-29 04:41:15 +03:00
levlam
f948956bf7
Use td::unique_ptr instead of std::unique_ptr whenever possible.
...
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
d80148afae
Explicitly specify enum underlying type.
...
GitOrigin-RevId: 65a7cc4df6b07fe095e898c06ad53deb5e188df3
2018-04-19 16:08:30 +03:00
levlam
d64280c890
Update layer #76 .
...
GitOrigin-RevId: d865abc2c8fb9b3b1350fcd689ef086de38aab3e
2018-03-04 00:33:26 +03:00
levlam
536def0382
Fix has_input_media.
...
GitOrigin-RevId: f10ffc8116028849b3a0afc4ebf7169d707dd794
2018-01-31 12:18:40 +03:00
levlam
d7ecc96113
Update layer to 75. Support entities in captions.
...
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +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