Andrea Cavalli
4cd31ceb93
Merge remote-tracking branch 'td/master'
2022-05-04 17:49:23 +02:00
levlam
6a87f0c6ef
Avoid updating chat photo minithumbnail to 40x40 full minithumbnail.
2022-04-29 10:50:10 +03:00
levlam
58ff3d5e5d
Ignore photo size for fake dialog photo.
2022-04-28 22:29:10 +03:00
levlam
f421cff7f3
Add and use is_same_dialog_photo.
2022-04-28 21:02:44 +03:00
levlam
b6f711044f
Add as_dialog_photo.
2022-04-28 20:33:24 +03:00
Andrea Cavalli
d84305048e
Merge remote-tracking branch 'td/master'
2022-04-22 15:35:30 +02:00
levlam
9c3675d61b
Minor fixes.
2022-04-16 06:01:05 +03:00
levlam
88b9f35b91
Add PhotoSize.h.
2022-04-10 01:15:49 +03:00
Andrea Cavalli
39856bc56f
Merge remote-tracking branch 'td/master'
2022-02-05 01:12:29 +01:00
levlam
d6bb83dc0e
Support WEBM stickers.
2022-01-25 14:58:04 +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
48e3660d2c
Merge remote-tracking branch 'td/master'
2021-11-14 22:46:37 +01:00
levlam
e52508bdc1
Add source to PhotoSizeSource::get_type.
2021-11-14 10:47:02 +03:00
Andrea Cavalli
9c9772868b
Merge remote-tracking branch 'td/master'
2021-11-05 16:11:03 +01:00
levlam
0c1e268706
Don't generate MASK for parsed True fields.
2021-11-01 21:53:23 +03:00
levlam
6f34c5c6a1
Make PhotoSizeSource constructors named.
2021-10-27 16:52:22 +03: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
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
fe8f46bfe3
Disable leftover minithumbnails if the option is set
2021-08-03 19:55:27 +02: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
c41ec7df43
Merge remote-tracking branch 'td/master'
2021-06-30 13:31:50 +02:00
levlam
9664181d48
Improve log messages.
2021-06-27 04:36:06 +03:00
levlam
7e61f9c95c
Improve error message.
2021-05-31 20:06:08 +03:00
Andrea Cavalli
2c77e82300
Merge remote-tracking branch 'td/master' into dev
2021-05-27 00:50:41 +02:00
levlam
a6a4eb6616
Don't include SliceBuilder.h in logging.h.
2021-05-17 15:21:11 +03:00
Andrea Cavalli
40048f12ca
Merge
2021-05-04 22:17:39 +02:00
levlam
3786033316
Add minithumbnails to userProfilePhoto and chatPhotoInfo.
2021-04-09 17:01:58 +03:00
Andrea Cavalli
4a8d8a3ffb
Bugfix
2021-04-03 14:52:16 +02:00
Andrea Cavalli
9c67d7a6b7
Fix disable_minithumbnails
2021-04-03 13:10:25 +02:00
levlam
26dc0ad930
Update layer to 127.
2021-03-26 18:15:21 +03:00
Andrea Cavalli
78291a96d4
Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d'
2021-03-21 01:04:45 +01:00
levlam
0339921102
Improve some spelling.
2021-03-15 03:32:14 +03:00
Andrea Cavalli
1ea79d2739
Merge latest commits
2021-03-11 18:25:39 +01:00
levlam
8430ba6d19
Remove expect_jpeg_minithumbnail parameter from get_photo_size.
2021-03-01 23:29:55 +03:00
levlam
0cdb0388ee
Improve TTL spelling.
2021-02-02 02:33:48 +03:00
levlam
4bb76a7b6f
Update layer to 128. Remove photo volume_id/local_id.
2021-04-16 17:43:51 +03:00
Andrea Cavalli
cf3cc7b1d3
Log minithumbnail errors only if minithumbnails are enabled
2021-01-03 14:43:52 +01:00
Andrea Cavalli
85fb357a19
Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-02 12:57:08 +01: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
6e20aaa428
Add source to get_dimensions.
2021-01-23 22:04:35 +03:00
Andrea Cavalli
204757e075
Merge
2020-12-25 18:58:35 +01:00
levlam
d22dabfdaf
Update layer to 121.
2020-11-09 23:41:23 +03:00
Andrea Cavalli
134d20b7ec
Merge commit 'bf945e05be9a9f696bdd866cc3427ac1bc7a4825'
2020-10-26 21:55:16 +01:00
levlam
f59a11706c
Use unique location for outgoing photos.
...
GitOrigin-RevId: ac3a0eed1847ee7b96d463758ee33b85c6797ac5
2020-10-22 02:11:32 +03:00