Commit Graph

3985 Commits

Author SHA1 Message Date
Andrea Cavalli
5fa69429a5 Fix #4 2020-12-25 02:24:42 +01:00
giuseppeM99
56a925ac90
Fix bad_alloc in get_memory_stats 2020-12-13 13:34:19 +01:00
Andrea Cavalli
b47fab11cd Merge commit 'eb80924dad30af4e6d8385d058bb7e847174df5e' 2020-12-02 23:31:03 +01:00
levlam
eb80924dad Update version to 1.7.0. 2020-11-28 17:00:17 +03:00
levlam
e3a31f062e Add can_archive_and_mute_new_chats_from_unknown_users option. 2020-11-28 16:39:56 +03:00
Arseny Smirnov
56866524aa Revert "New test for tdlib. New Promise/Future features (ported from other project)"
This reverts commit 0c2b15f2b8.
2020-11-24 15:50:44 +04:00
Arseny Smirnov
0c2b15f2b8 New test for tdlib. New Promise/Future features (ported from other project) 2020-11-24 15:25:10 +04:00
levlam
dc12edbde1 Return back 0 as default next load time. 2020-11-23 20:33:35 +03:00
Andrea Cavalli
3c59d917be Merge remote-tracking branch 'td/master' 2020-11-23 17:27:14 +01:00
levlam
d24f3c924e Fix StartPlayingGame chat action. 2020-11-23 19:18:56 +03:00
levlam
6571a99b45 Include ConcurrentScheduler separately. 2020-11-23 03:24:36 +03:00
levlam
7dcfb6c4a4 Protect LanguagePackManager::tear_down during exit. 2020-11-23 02:11:05 +03:00
levlam
52653d6bf1 Do not try to attach to JVM after exit. 2020-11-23 00:18:01 +03:00
levlam
155c12edea Improve ConcurrentScheduler closing on exit. 2020-11-22 23:30:40 +03:00
levlam
6044ee83fb Fix Client_SimpleMulti test on macOS. 2020-11-22 16:26:00 +03:00
Andrea Cavalli
cba9f74cba Merge remote-tracking branch 'td/master' 2020-11-22 01:11:21 +01:00
levlam
5cbf90e4a0 Safer work with negative monotonic time. 2020-11-21 16:34:39 +03:00
levlam
ea6cdde0c5 Fix MSVC 15.3 CE. 2020-11-20 02:03:39 +03:00
levlam
d5da47510d Minor fixes. 2020-11-20 01:32:58 +03:00
levlam
09b10c0ed1 Improve names of statistical classes. 2020-11-19 17:57:15 +03:00
levlam
74a960aca1 Allow zero sender in searchChatMessages. 2020-11-19 14:55:09 +03:00
levlam
ebfe3f3d99 Improve new interface documentation. 2020-11-18 23:42:26 +03:00
levlam
6f26706da5 Fix closing connection on too much dropped packets. 2020-11-18 17:49:29 +03:00
levlam
3f33d15879 Always adjust part size to keep low number of parts in downloaded files. 2020-11-17 02:59:58 +03:00
levlam
52a47b5f70 Add small margin for the maximum number of file parts on download. 2020-11-17 01:19:27 +03:00
Andrea Cavalli
bc0f162ad6 Merge commit '78e45da6b9014f8efd96cee0ad5701464d911cc7' 2020-11-15 18:16:02 +01:00
levlam
78e45da6b9 Use array instead of std::vector in the generated C++ classes. 2020-11-15 19:57:03 +03:00
levlam
f693874c50 Improve documentation. 2020-11-15 17:38:10 +03:00
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
Andrea Cavalli
e4bcc81ec7 Merge commit '00abe2f4019717c6479e30c588059a3cfd3be58e'
Conflicts:
	td/generate/scheme/td_api.tlo
2020-11-14 11:11:47 +01:00
levlam
6a9cd72636 Don't create client through ClientManager until first request is sent to it. 2020-11-12 14:45:18 +03:00
levlam
597c0d2983 Add checks that client ID doesn't overflow. 2020-11-12 01:19:30 +03:00
Andrea Cavalli
ccc5fbf9ff Update MessagesManager.cpp 2020-11-11 19:51:08 +01:00
levlam
9725780fc6 Replace referenced text with anchor name in richTextReference to support nested references. 2020-11-11 16:41:30 +03:00
Andrea Cavalli
2821f4af4f Update ContactsManager.cpp 2020-11-10 13:05:13 +01:00
Andrea Cavalli
cbe8d94183 Merge commit '1fa87babb32ea85ff5a97ab93525ae13f66a0eef' 2020-11-10 12:42:50 +01:00
Andrea Cavalli
eb28f728be Remove unused mutex 2020-11-10 12:42:35 +01:00
levlam
ea8c57fea3 Fix canceling chat actions on timeout. 2020-11-09 12:33:40 +03:00
Andrea Cavalli
604df72790 Merge commit '1d75237893c8a08d73ba95a7e76b8da517b8c1dc' 2020-11-08 23:49:01 +01:00
levlam
f9a600c401 Minor fixes. 2020-11-08 14:00:36 +03:00
levlam
b21d667bdf Fix compilation error. 2020-11-08 12:09:27 +03:00
Andrea Cavalli
6f28ad36af Merge commit '60edadab90d7aeb8d7a44764344b8848abf5b8bb'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-11-07 23:10:26 +01:00
levlam
60edadab90 Automatically group forwarded documents and music files. 2020-11-08 00:40:12 +03:00
levlam
0713c913de Remove now unneeded postponed_get_message_requests_. 2020-11-08 00:40:12 +03:00
levlam
00382f825b Get channel difference if it is needed to add messages. 2020-11-08 00:40:12 +03:00
levlam
ed25a03dda Get channel difference before adding discussion message if needed. 2020-11-08 00:40:12 +03:00
levlam
260c15e3e9 Add process_discussion_message method. 2020-11-08 00:40:12 +03:00
levlam
8f623e8be7 Add early check for another active channel difference. 2020-11-08 00:40:12 +03:00
levlam
cb06833eb1 Reload full dialog info with a small delay. 2020-11-08 00:40:06 +03:00
Andrea Cavalli
b22a1a46e6 Remove annoying error 2020-11-07 22:20:46 +01:00