Commit Graph

175 Commits

Author SHA1 Message Date
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
130b49a524 Various include and other fixes.
GitOrigin-RevId: 68e03e0636cd4cff3e6fa876342ba16453630f15
2019-02-12 19:48:52 +03:00
levlam
0075f91e2e Unify spelling of "expires_".
GitOrigin-RevId: 46aaff38317dd490f9d5a1250e426d94cb8aba75
2019-02-10 03:45:15 +03:00
levlam
bf9842bff1 Update layer to 89.
GitOrigin-RevId: acdaebced325dd66a169264621567b17dd42762c
2019-02-07 23:25:27 +03:00
levlam
a43296fce1 Update layer to 88.
Add webPageInstantView.is_rtl flag.
Add callStateReady.allow_p2p flag.
Add userPrivacySettingAllowPeerToPeerCalls.
Add session.is_password_pending flag.

GitOrigin-RevId: 594dc91a0c38840a224315ca841f74b47e1bf0c0
2019-02-05 01:08:15 +03:00
levlam
f465b460ca Separate scope notification settings for channels.
GitOrigin-RevId: 11d11b2ddba5381d9dcac84768d923fa367f0248
2019-01-29 14:40:56 +03:00
levlam
7d28b73f5e Move DhHandshake to DhHandshake.{cpp,h}.
GitOrigin-RevId: b34d9ae18e2106d3843223bc8609f5a89b6568f6
2019-01-31 14:26:06 +03:00
levlam
b9fc33b7d1 Add TransportType.h.
GitOrigin-RevId: 403b10f5dcc161be411710749c70734cf9a4fc62
2019-01-31 05:13:59 +03:00
levlam
7542612098 Fix some includes.
GitOrigin-RevId: 47d6bcd57e12314cc46c8f23ef10c10cea04fdcb
2019-01-31 05:05:40 +03:00
levlam
45d5c6c626 Allow random-padding connections to server.
GitOrigin-RevId: ebbcd7074837f4d51ec31445a9e8c820472afeee
2019-01-23 06:13:51 +03:00
levlam
73996c6efe Better file_type_name.
GitOrigin-RevId: d3c0c0b88e9dec5348fa72c66d7403507e493e18
2019-01-20 01:59:37 +03:00
levlam
e63d5ec20f Use correct type for file_type_size.
GitOrigin-RevId: 63baf89ab57485f0bc0f902590271c40f34cf151
2019-01-20 01:10:15 +03:00
levlam
e5400074ce Move FileType to FileType.h.
GitOrigin-RevId: 7e35c0f30b7755755b0583704dcfe344cc28d117
2019-01-20 00:54:29 +03:00
Arseny Smirnov
a75726d77a FileManager: file references draft
GitOrigin-RevId: 8d37ee4b5520497df08f49e598ae91825e74e1ea
2018-12-05 12:32:31 +03:00
levlam
d6474dc83d Lazy GetHostByNameActor creation.
GitOrigin-RevId: 423a126e40a77d47cfa8d16889729f3102194724
2019-02-05 01:32:37 +03:00
levlam
0defd8c927 Use Google DNS only if blocking is expected.
GitOrigin-RevId: 9a3b258d1ce9b0f084fb90bb1d86024b0cbee550
2019-02-05 01:24:46 +03:00
levlam
72ac6667ce Never set 0 session_id.
GitOrigin-RevId: 58a7074812fa330930b033d2ffcfcc1ae0e803ec
2019-02-04 19:39:09 +03:00
levlam
f89dbc8148 Make session_id private.
GitOrigin-RevId: c9a942a691a6bc8974d02f0cd0cc0f916c679d61
2019-02-04 18:44:29 +03:00
levlam
fc8917a4ed Rename ResolveType to ResolverType.
GitOrigin-RevId: 64350527620c08bb192a18d951d5b3b5216f1162
2019-02-04 04:36:13 +03:00
levlam
da59ac47ea Support list of resolve types in GetHostByNameActor.
GitOrigin-RevId: 5aabc978b9a6caaecc2bf6c432421b2a4d766559
2019-02-04 04:32:32 +03:00
Arseny Smirnov
c07b26e45c GetHostByNameActor: Options and test
GitOrigin-RevId: afebe6e940b2048d3ef6f6368ff824443d55a909
2019-01-24 17:07:11 +04:00
levlam
424faa44f3 Use KeyValueSyncInterface and BinlogInterface in TdDb.
GitOrigin-RevId: 6e038ac9124855660da72fc64ec131a6e8211055
2019-01-07 02:44:29 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
b06a08b106 Add separate key for test DC.
GitOrigin-RevId: 6417cbe9ed98ca7c280e0f5882f11d69610386c1
2019-01-02 02:43:37 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
d9d45ef303 Support WORKER_BUSY_TOO_LONG_RETRY error.
GitOrigin-RevId: 44e4d36d91a44e21f679eaefac90c436a35079f2
2018-12-26 21:01:46 +03:00
levlam
ac3fa705a2 File streaming fixes.
GitOrigin-RevId: 86c6d1394a31d6bb108a12e14f4d981133ece235
2018-12-26 19:11:15 +03:00
levlam
3850a4da7f Move as from common.h to as.h.
GitOrigin-RevId: 3ecc4b4c4ff6c9b070d30cf017e22a8acce0af09
2018-12-20 00:57:56 +03:00
levlam
500d809f51 Improve connections logging.
GitOrigin-RevId: e0c11b91c016fce49f4ba4036f92a19a0dfc681b
2018-12-17 19:10:03 +03:00
levlam
9d3ab75c56 Fix some spelling.
GitOrigin-RevId: 351e7c32fee3fb9249d561434ba1515082e757b0
2018-12-14 01:48:36 +03:00
levlam
65c8dd4b04 Remove now unused need_wait_for_key.
GitOrigin-RevId: c3c84c4ceba80738eadb950b4cb28541eb30b79f
2018-12-11 23:43:52 +03:00
levlam
43b61eace0 Remove unused callback from SessionConnection.
GitOrigin-RevId: d59f2581e57acb8bad96197381d0e0698b932ed2
2018-12-11 23:34:46 +03:00
levlam
6445cf645b A lot of various fixes.
GitOrigin-RevId: 64963bfb55e5ffe8b099c1953143158b44a540c6
2018-12-11 23:18:58 +03:00
levlam
383119ebe6 Better actor names.
GitOrigin-RevId: 94d2c994f5a6ca26e3e35c84edb1df23d1efe75e
2018-11-18 15:33:06 +03:00
levlam
fdd7987f0a Fix preloading of just received in getDialogs dialogs.
GitOrigin-RevId: 0ff17a84046f76ede0ec4efda0707477b0ab9397
2018-11-18 00:24:19 +03:00
Arseny Smirnov
c6dd53a76e Session: set_online for nonmain connections
GitOrigin-RevId: 9bcfcdbaaf2440a307f221ab07aa650c449c3d26
2018-11-20 16:07:27 +04:00
Arseny Smirnov
fffe644aaa Connections creation debug
GitOrigin-RevId: 1f906a0c00464ff7bdfcfc41932b39733bab6780
2018-11-20 13:09:52 +04:00
Arseny Smirnov
7471e62740 Destroy authorization keys: fixes
GitOrigin-RevId: 9538efa2deadda91c18c1c97aa22281597a44d4b
2018-11-06 14:06:08 +03:00
levlam
b1d563719a Simplify should_open in SessionProxy.
GitOrigin-RevId: 5bfa92ed175468d5a247780b73d643735427637c
2018-11-04 13:53:57 +03:00
Arseny Smirnov
130456a3bb SessionProxy: rewrite session_open conditions
GitOrigin-RevId: 3a5757fdec567451671143937b5b942610f5ecdc
2018-11-03 09:33:22 +03:00
Arseny Smirnov
c610593e75 SessionProxy: bugfix
GitOrigin-RevId: f6874238d3aa79e980b3365dc19d9e9e0f0f3c22
2018-11-02 18:55:55 +03:00
levlam
5d5c55596e Minor improvements.
GitOrigin-RevId: 2f2099d91867ec302ff2d9426b6b088c8c625720
2018-11-01 20:08:20 +03:00
Arseny Smirnov
03604bb367 SessionProxy: bugfix
GitOrigin-RevId: b2cdc985d4465cdd19f85d024a5de9d8e882e8f0
2018-11-01 19:34:18 +03:00
Arseny Smirnov
27770ce060 Destroy mtproto keys on logout
GitOrigin-RevId: 8ac2bafd2d1897dc0942a33d8406ea8c2e5dfaa7
2017-12-29 23:34:39 +03:00
levlam
b886016254 Move Connections logging to INFO.
GitOrigin-RevId: a85aab69d18f4ef25d0853977a44d1a6cea695fd
2018-10-31 13:54:06 +03:00
levlam
51eec319b8 Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
7d6f9c493b Add debug.
GitOrigin-RevId: aefa536bc203096a37709fa2ae5d478cfe65770e
2018-10-27 02:58:31 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
0c64b2cf9c Fix some spelling.
GitOrigin-RevId: 99848b019fce855bf50380ce6ffc2865a007161d
2018-10-07 23:40:58 +03:00
levlam
d452a35d75 Fix type of "enabled_proxy_id" option.
GitOrigin-RevId: 2243cf9007766e91f94dc81e9a965e0a322612a6
2018-09-30 02:24:56 +03:00