Arseniy Lartsev
ef24d620f1
Removed unused function
2020-10-11 10:31:04 +02:00
Arseniy Lartsev
fe90927a8b
Do not display replies out of order
2020-10-10 15:51:16 +02:00
Arseniy Lartsev
8c7783d30b
Downloads using PurpleXfer: almost finished - left some bugs in
2020-08-15 01:58:45 +02:00
Arseniy Lartsev
0ef3d78deb
Cancel timers and response callbacks where needed
...
No more need for timer callbacks to figure out whether TdClient still
exists or not.
Also, query timeout cancels any subsequet reply callback and vice versa.
2020-07-26 14:18:49 +02:00
Arseniy Lartsev
cc816cf995
Wait for tdlib to really shut down
2020-06-14 11:02:02 +02:00
Arseniy Lartsev
72d6f59e94
Show animated stickers as inline gifs
2020-06-13 16:01:05 +02:00
Arseniy Lartsev
c3d9165813
Prepare to show progress for downloads longer than one second
2020-06-02 18:42:19 +02:00
Arseniy Lartsev
cc38b0ce99
Fixed use after free when requests timeout hits after disconnect
2020-05-19 16:48:53 +02:00
Arseniy Lartsev
3e6b0663d7
Fetch old messages when they get replied to
2020-05-17 14:19:59 +02:00
Eion Robb
d01e1add9e
Fix printf macros for win32
2020-05-13 11:35:26 +02:00
Arseniy Lartsev
b34d10d242
Don't use td::td_api::downcast_call
...
It needs this member function with auto argument thing, which requires
-fconcepts flag to compile with newer gcc. Rather than have such
problems, just don't use this syntax.
2020-05-10 16:32:13 +02:00
Arseniy Lartsev
7c1cea30fe
Fixed memory leak
2020-05-06 20:25:11 +02:00
Arseniy Lartsev
df08fa12f9
Added a real test case with login sequence
2020-05-06 20:22:09 +02:00
Arseniy Lartsev
29ed9fa6a4
Added test framework
2020-05-06 14:00:42 +02:00
Arseniy Lartsev
974195e51a
Don't hold std::unique_lock past destruction of the mutex
...
This was use after free when disconnecting
2020-05-03 21:53:53 +02:00
Arseniy Lartsev
d48b29f7ab
Fixed possible use after free in Rx callback for good
2020-05-03 13:42:22 +02:00
Arseniy Lartsev
5b8f8d546c
Hot fix: mostly prevent crash when going offline
2020-05-03 12:10:25 +02:00
Arseniy Lartsev
aa9bba1f93
Refactored handling of incoming responses and updates
...
Added RX queue, making it the only data structure needing mutex protection,
and moved it together with all thread-related code into separate class
2020-05-02 12:53:01 +02:00