John Preston
9caac426ef
Correctly check container lifetime.
2019-12-02 16:11:22 +03:00
John Preston
64535251e8
Use limited number of threads in MTP.
2019-11-29 15:36:06 +03:00
John Preston
c742d7406c
Make MTP::Session handle the connection thread.
2019-11-29 15:36:06 +03:00
John Preston
06f5f7f7d9
Don't always restart connection on config change.
2019-11-29 15:36:06 +03:00
John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +03:00
John Preston
8be4dfb346
Use explicit fields for sent container ids wrap.
2019-11-22 17:38:01 +03:00
John Preston
4edfd4804f
Fix destroyed key clearing.
2019-11-20 16:33:45 +03:00
John Preston
e6d3b2b098
Fix resending requests after new session.
2019-11-19 19:14:50 +03:00
John Preston
173ae746a2
First version of working through temp keys.
2019-11-19 13:10:51 +03:00
John Preston
d9fc3619c2
Remove all signals from ConnectionPrivate.
2019-11-18 15:53:37 +03:00
John Preston
cfe12f773f
Move some modules to lib_mtproto.
2019-11-18 12:28:14 +03:00
John Preston
be06d68468
Don't lock whole key creation by a mutex.
2019-11-15 16:16:33 +03:00
John Preston
055b99f5b0
Don't use shared_ptr for Dcenters.
2019-11-15 16:16:33 +03:00
John Preston
fe1e627cac
Improve working with sessions.
2019-11-15 16:16:33 +03:00
John Preston
1e252a6505
Remove old debug information.
2019-11-15 16:16:32 +03:00
John Preston
7243fb52ad
Check keys that receive -404 error codes.
2019-11-15 16:16:32 +03:00
John Preston
08bfe6f1c1
Extract mtproto key generation code.
2019-11-15 16:16:32 +03:00
John Preston
2577bedeac
Remove mtproto/facade.h from main pch.
2019-11-13 11:31:12 +03:00
John Preston
30a1bd7ba2
Use base::call_delayed.
2019-10-19 12:27:56 +04:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
9cf4cf6dca
Move MTP::Instance to Main::Account.
2019-07-24 10:46:23 +02:00
John Preston
4fd50cfb70
Fix build in Xcode.
2019-07-24 08:02:20 +02:00
John Preston
6aa930d510
Remove exceptions in TL parsing.
2019-07-24 08:02:20 +02:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +02:00
John Preston
68b1024dd4
Sync local time with HTTP 'Date' header value.
2019-07-15 16:00:29 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
58519300ea
Support pinned chats in folders.
2019-05-01 16:11:37 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
f5cc93ec64
Decouple MTP::Instance from Core::App.
2019-02-01 10:48:31 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
3c44bdb6b7
Support auto-migrate to supergroups.
2019-01-17 12:21:30 +04:00
John Preston
8d27d8efcf
Use cloud-based settings for p2p in calls.
2018-11-16 20:17:58 +04:00
John Preston
d0e48a02a1
Apply lang pack versions from config.
2018-11-16 20:17:58 +04:00
John Preston
162da089ec
Handle t.me/setlanguage links.
...
Also support custom langpacks with base langpacks.
2018-11-16 20:17:58 +04:00
John Preston
e482f041a8
Allow disabling even system proxy settings.
...
Fixes #4944 .
2018-11-05 18:52:01 +04:00
John Preston
c5d20a21f7
Beta version 1.4.4: Correct caption limit.
2018-10-17 14:43:18 +03:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
c4ca180745
Add call peer-to-peer setting in Privacy&Security.
2018-09-19 19:22:14 +03:00
John Preston
5b88f4d3d2
Update API scheme.
2018-08-20 17:25:06 +03:00
John Preston
091d1157da
Fix clearing callbacks for timeout-ed requests.
2018-07-31 22:56:02 +03:00
John Preston
ff53404d5b
Update API scheme to layer 82.
2018-06-27 22:58:32 +01:00
John Preston
8c2f11de7d
Send correct paddings in improved TCP protocol.
2018-06-25 19:55:52 +01:00
John Preston
266102df2f
Some phrases fixed, some logs added.
2018-06-24 16:17:46 +01:00
John Preston
affe9defb5
Fix authorization import in FILE_MIGRATE case.
...
Regression was introduced in dd933cf61c
.
2018-06-12 16:30:00 +03:00
John Preston
cec8114b99
Add simple files and contacts export.
...
Also move all API calls in export to Export::ApiWrap.
2018-06-12 01:02:05 +03:00
John Preston
c587c011d2
Start data export in lib_export.
2018-06-12 01:02:04 +03:00
John Preston
72f95b984f
Replace cDebug() with Logs::DebugEnabled().
2018-06-05 21:51:05 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00