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
c41ec7df43
Merge remote-tracking branch 'td/master'
2021-06-30 13:31:50 +02:00
levlam
a36266a764
Add BinlogKeyValue logging.
2021-06-16 05:23:22 +03:00
levlam
8db4febd4c
Minor improvements.
2021-06-02 15:43:56 +03:00
Andrea Cavalli
2c77e82300
Merge remote-tracking branch 'td/master' into dev
2021-05-27 00:50:41 +02:00
levlam
7edffa1bc7
Move TsLog out of logging.h.
2021-05-18 17:41:33 +03:00
levlam
674a112bfa
Add NullLog.h.
2021-05-18 17:13:26 +03:00
Andrea Cavalli
e0bcdab68f
Add experiment_old_postponed_pts_updates_behavior option
2021-01-07 13:08:07 +01:00
Andrea Cavalli
8b7c89db03
postponed_pts_update log tag
2021-01-05 14:40:44 +01:00
Andrea Cavalli
af4693eac7
Add "messages" log tag
2021-01-05 12:27:29 +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
10a7edfbea
Disable logging after program exit.
...
GitOrigin-RevId: 8ca24e1999fe95f171e18477baa2e56912a2e895
2020-10-11 14:45:22 +03:00
levlam
8a607933a7
Rename "files" log tag to "file_loader".
...
GitOrigin-RevId: 24fca707a99eeb32adabcca46131123d584f2c1d
2020-10-05 22:08:24 +03:00
levlam
d2d0cb5cc0
Move log tags definitions out of logging.cpp.
...
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
2020-10-05 18:07:23 +03:00
levlam
2e50410dcc
Allow to disable stderr redirect when logging to file.
...
GitOrigin-RevId: 7b91d362695cd73a640a9ed2a5d107b804536a16
2020-09-27 14:37:35 +03:00
levlam
4c80155092
Improve spelling.
...
GitOrigin-RevId: 73edc0a7a57f40c404b4b5c8d00e9b20127f9abc
2020-05-18 22:54:18 +03:00
levlam
7ec4c26514
Improve error messages.
...
GitOrigin-RevId: 336ef2751e51381c4dd7905ef5b050b691b91e08
2020-03-02 12:52:13 +03:00
levlam
80c35676a2
Update copyright year.
...
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
c62ff7039e
Minor fixes.
...
GitOrigin-RevId: f0ba3402adf4a26d8220d9b5545e9ea18f094e65
2019-04-22 03:46:51 +03:00
levlam
801dbc8f6f
Add td_api::addLogMessage.
...
GitOrigin-RevId: 7ad16cacd59eef90bcd5f55729847d4699bbff64
2019-04-13 21:40:31 +03:00
levlam
3fe5103651
Add release barrier before trying to use FileLog.
...
GitOrigin-RevId: 9fa0a30924c0cb09d4e4ffbcbb4bcdeb1e0ffa91
2019-03-27 21:48:21 +03:00
levlam
498765fa8d
Remove unused buffer log tag.
...
GitOrigin-RevId: 0e0e831c2c555388d72dbe0554cd6185f56d78a6
2019-03-26 16:24:29 +03:00
levlam
8851b9d066
Implement FileSource.
...
GitOrigin-RevId: 2cbeab03d2ea1fa56d9f746c5c6c6a41e28d2795
2019-01-14 21:46:04 +03:00
levlam
0b7def8733
Add dns_resolver log tag.
...
GitOrigin-RevId: 17fed9f8350bb49e18b875ed21290c7805875df6
2019-02-04 17:02:21 +03:00
levlam
eaebfad034
Update copyright year.
...
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
b1a1b332c7
Add config_recoverer log tag.
...
GitOrigin-RevId: f0d757f9bc5079a47c5896322c4b7512a9451492
2018-12-26 23:58:18 +03:00
levlam
6445cf645b
A lot of various fixes.
...
GitOrigin-RevId: 64963bfb55e5ffe8b099c1953143158b44a540c6
2018-12-11 23:18:58 +03:00
levlam
bd8295c464
Add VLOG file_gc.
...
GitOrigin-RevId: 816f4f124006e29b0afba6a8e8838612faae4cf3
2018-11-16 00:25:08 +03:00
levlam
6fc90bb699
Add VLOG get_difference.
...
GitOrigin-RevId: afd6834f83c455d613949b59f65a3ef0ffed8cf4
2018-11-15 20:25:54 +03:00
levlam
0ca9b6493d
Send to NotificationManager notifications about new/edited messages.
...
GitOrigin-RevId: 79647054a22e1376c8a69da180ba293300468ed6
2018-11-11 15:58:52 +03:00
levlam
e533f55efe
Add missed actor verbosity.
...
GitOrigin-RevId: 25aca1f628f5559fb449d4d63bbf9478785ea15d
2018-11-06 10:00:34 +03:00
levlam
51eec319b8
Fix some includes.
...
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
54ec85ff22
Add missing Logging.* files.
...
GitOrigin-RevId: d1aec3ed0c54ee93b69fffc930b2ebe2665356cf
2018-10-24 22:15:55 +03:00