Commit Graph

24 Commits

Author SHA1 Message Date
Andrea Cavalli
10bd3f0afc Fix merge 2022-08-29 00:58:09 +02:00
Andrea Cavalli
70ad9c53c5 Merge remote-tracking branch 'td/master' 2022-08-13 22:56:08 +02:00
levlam
8ec29b019a Use get_document if possible. 2022-08-03 23:23:32 +03:00
Andrea Cavalli
d84305048e Merge remote-tracking branch 'td/master' 2022-04-22 15:35:30 +02:00
levlam
88b9f35b91 Add PhotoSize.h. 2022-04-10 01:15:49 +03: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
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
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
9dc0b2808c Minithumbnails option for all media types 2020-08-05 11:23: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
11c0fcc6ec Do not create documents without file_id.
GitOrigin-RevId: c208baf37b108ffb256c3a39dee0459fc081f017
2019-08-01 03:58:49 +03:00
levlam
acc17b8d9d Minor fixes.
GitOrigin-RevId: 3861e74381386cff82d688a445de3e8f72494974
2019-05-14 17:26:13 +03:00
levlam
43483e743d Update layer to 92: minithumbnails support.
GitOrigin-RevId: a2e3bba42504cdaf91db1e0113bc98c450ba78c9
2019-03-01 22:51:33 +03:00
levlam
4d5fb2902c Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
eb9ead582f Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
2019-02-12 23:48:16 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
fc3906299c Better replace document flags.
GitOrigin-RevId: 1b0e6575bd63b8125e5e96faeac1832b088b1cea
2018-11-06 14:37:07 +03:00
levlam
deecdb66bc Fix some td/actor/ includes.
GitOrigin-RevId: f9cf960b96018c4eb6169d2ec6cb5d3fbc16c0ec
2018-07-03 22:29:04 +03:00
levlam
b314311c4d Fix documents store.
GitOrigin-RevId: 30b2ee3f1df1a49f4ad4f7715e549da885776ddf
2018-03-08 22:43:12 +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