Commit Graph

410 Commits

Author SHA1 Message Date
Andrea Cavalli
65f4b8ba57 Merge remote-tracking branch 'td/master' 2021-10-04 00:06:53 +02:00
levlam
0455b313b3 Improve testNetwork implementation. 2021-10-02 16:54:01 +03:00
levlam
d1532ef1f8 Improve result handlers storage. 2021-10-02 14:39:20 +03:00
Andrea Cavalli
616a40b3b2 Merge remote-tracking branch 'td/master' 2021-09-29 00:33:23 +02:00
levlam
2ce0be4fe7 Remove getChatStatisticsUrl method. 2021-09-28 19:08:36 +03:00
Andrea Cavalli
9ca532c6a6 Merge remote-tracking branch 'td/master' 2021-09-26 23:08:36 +02: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
9115ba4aa5 Move topChat methods logic to TopDialogManager. 2021-09-25 11:37:32 +03:00
levlam
5091aa68e3 Allow direct access to TopDialogManager. 2021-09-24 23:17:38 +03:00
levlam
a7dcbe8c18 Update version to 1.7.8. 2021-09-19 20:55:47 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
5fd11e4b7a Add td_api::clickAnimatedEmojiMessage. 2021-09-16 00:41:40 +03:00
Andrea Cavalli
6e1836a024 Merge remote-tracking branch 'td/master' 2021-09-15 16:03:11 +02:00
Andrea Cavalli
71c2330749 Merge remote-tracking branch 'td/master' 2021-09-14 23:58:34 +02:00
levlam
ded0b57905 Add td_api::getRecentlyOpenedChats. 2021-09-14 14:18:37 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
78baa7977b Don't inherit Td from NetQueryCallback. 2021-09-10 18:58:36 +03:00
levlam
088c3169d4 Minor. 2021-09-10 18:23:23 +03:00
levlam
2062daf9cd Don't wrap updates in NetQuery. 2021-09-10 17:32:39 +03:00
Andrea Cavalli
c06a3d9dcf Merge remote-tracking branch 'td/master' 2021-09-10 15:49:57 +02:00
levlam
ae6b79d57b Add SponsoredMessageManager. 2021-09-07 15:49:34 +03:00
levlam
d395c2496e Add empty GameManager. 2021-09-07 10:02:44 +03:00
Andrea Cavalli
a20e8b6db3 Merge remote-tracking branch 'td/master' 2021-09-04 16:03:33 +02:00
levlam
a4f66c69cb Add td_api::getMessageViewers. 2021-09-03 16:14:03 +03:00
levlam
7d26a30bd0 Move StateManager::State to ConnectionState.h. 2021-09-16 18:23:10 +03:00
levlam
34094328bd Initialize Td::connection_state_ in header. 2021-09-16 17:54:04 +03:00
levlam
7135caa2be Update version to 1.7.7. 2021-09-02 12:39:05 +03:00
levlam
c20fd1dd91 Add td_api::setChatTheme. 2021-08-27 19:23:22 +03:00
levlam
83e55b6b56 Add td_api::getChatThemes. 2021-08-27 15:51:50 +03:00
levlam
e3f55a71cd Add td_api::viewSponsoredMessage. 2021-08-25 22:34:18 +03:00
levlam
658d172256 Improve method name. 2021-08-25 20:29:14 +03:00
levlam
723b203c7d Add td_api::getSponsoredMessages. 2021-08-24 23:44:47 +03:00
levlam
b56119951b Support video streaming in group calls. 2021-08-23 16:59:00 +03:00
levlam
c35321b98e Add loadChats method. 2021-08-10 17:52:31 +03:00
levlam
086ec3d2e5 Add td_api::getPhoneNumberInfoSync. 2021-08-30 22:26:02 +03:00
Andrea Cavalli
6b93b00f6a Merge remote-tracking branch 'td/master' 2021-07-27 23:35:50 +02:00
levlam
85fc9065fd Update version to 1.7.6. 2021-07-26 21:31:35 +03:00
levlam
07630feb8c Add td_api::getSuggestedFileName. 2021-07-24 07:19:22 +03:00
Andrea Cavalli
3dde04b17f Merge remote-tracking branch 'td/master' 2021-07-17 11:15:40 +02:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
Andrea Cavalli
e8c9db61d0 Merge remote-tracking branch 'td/master' 2021-07-02 13:52:51 +02:00
levlam
24e5803b96 Update version to 1.7.5. 2021-07-02 03:30:39 +03:00
levlam
6b57121e25 Improve method name. 2021-06-30 19:49:52 +03:00
Andrea Cavalli
c41ec7df43 Merge remote-tracking branch 'td/master' 2021-06-30 13:31:50 +02:00
levlam
158dd22f21 Add td_api::declinePasswordReset. 2021-06-29 05:24:55 +03:00
levlam
12383ea1d2 Add td_api::resetPassword. 2021-06-29 05:16:48 +03:00
levlam
18caf96c54 Add checkPasswordRecoveryCode. 2021-06-28 23:47:54 +03:00
levlam
709afe3f0c Add checkAuthenticationPasswordRecoveryCode. 2021-06-28 22:33:08 +03:00
levlam
2b7b6b7759 Improve logging on log out. 2021-06-27 05:52:43 +03:00