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
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
Andrea Cavalli
f11254bdcb
Merge remote-tracking branch 'td/master'
2021-10-21 17:09:27 +02:00
levlam
9f44816a62
Minor improvements.
2021-10-21 12:51:16 +03:00
Andrea Cavalli
982b994332
Merge remote-tracking branch 'td/master'
2021-10-16 18:25:57 +02:00
levlam
f70498898b
Add fileSourceAppConfig.
2021-10-08 13:41:22 +03:00
levlam
3b794126d8
Avoid G usage in lambda promises.
2021-10-07 15:28:52 +03:00
levlam
c85f993de8
Improve captured actor_id names.
2021-10-07 13:38:49 +03:00
levlam
2f4524a949
Return WebPageId through promise.
2021-10-07 12:49:46 +03:00
Andrea Cavalli
4e70729edb
Merge remote-tracking branch 'td/master'
2021-10-07 00:51:58 +02:00
levlam
9217e9090a
Remove useless PSLICE/PSTRING.
2021-10-06 13:48:29 +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
3dde04b17f
Merge remote-tracking branch 'td/master'
2021-07-17 11:15:40 +02:00
levlam
0dc4b5a469
Add source to get_messages_from_server.
2021-07-08 17:09:16 +03:00
Andrea Cavalli
c41ec7df43
Merge remote-tracking branch 'td/master'
2021-06-30 13:31:50 +02: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
levlam
4bb76a7b6f
Update layer to 128. Remove photo volume_id/local_id.
2021-04-16 17:43:51 +03:00
Andrea Cavalli
08bd345987
Change default values of experimental options
2021-01-07 19:18:45 +01:00
Andrea Cavalli
934c13ca79
Optimize_memory code cleanup, add more error messages in MessagesManager
2021-01-05 02:37:34 +01:00
Andrea Cavalli
5686d574f8
Add experimental options
2021-01-04 12:00:33 +01:00
andrew (from workstation)
c66972354a
get all elements without offset
2021-01-03 12:07:48 +01:00
andrew (from workstation)
0eedaeea3a
fix index
2021-01-02 19:15:12 +01:00
andrew (from workstation)
eb41d4bb20
fix iterator
2021-01-02 15:09:55 +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
andrew (from workstation)
d3fc12ff42
fix FileReferenceManager::get_current_file_source_id
2021-01-01 12:51:45 +01: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
22192cda3c
FileReferenceManager existance check
2020-08-02 00:25:55 +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
53d694a01c
Fix get_actor_unsafe usages.
...
GitOrigin-RevId: f39aa2d0a2083842698337bb34457826c1951be6
2020-07-04 12:00:14 +03:00
levlam
8e22bdb887
Fix non-main file reference repair.
...
GitOrigin-RevId: b80ec1cbdc3027a9d6ab7577e9d7492315b50867
2020-06-28 17:42:19 +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
1e018da7b8
Various fixes.
...
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
2019-10-22 20:01:15 +03:00
levlam
408a456589
Add strongly typed StickerSetId.
...
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
2019-09-18 06:55:43 +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
c91efe472b
Add force to another overload of get_input_media.
...
GitOrigin-RevId: fc64a9f6ee08e5432c6475f8b1493bcd2524ae4f
2019-10-09 02:59:25 +03:00
levlam
2fd851dfe2
Repair sticker set thumbnail if changed.
...
GitOrigin-RevId: 1b0e2e997338d85249e6eee877ab0483d9826342
2019-07-30 18:43:29 +03:00
Arseny Smirnov
089d73953c
FileManager: reload photo on FILE_ID_INVALID
...
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
2019-07-30 17:42:36 +03:00
levlam
88febd4aa0
File reference support for backgrounds.
...
GitOrigin-RevId: e4c7f0ee8e6be2341e51f7ef86edfcd264089e3c
2019-05-09 04:07:21 +03:00
levlam
85dd77b02c
Initial background support.
...
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
2019-05-07 05:51:56 +03:00