Commit Graph

2880 Commits

Author SHA1 Message Date
levlam
981d2bd8fe Better UTF-8 validness checks for text before parsing.
GitOrigin-RevId: 9578d9fb69da619cee706d61687bf904b9cdf2ad
2019-07-27 23:07:10 +03:00
levlam
d3091e3374 Update td_api::phoneNumberAuthenticationSettings class.
GitOrigin-RevId: 98dd6d4c5a5521e69b3dc51c648c6ca7af1ffae7
2019-07-27 18:16:12 +03:00
levlam
fca1fcc789 Documentation improvements.
GitOrigin-RevId: a0cbc3baa32f3f5e2b2b73814daf060c2484df3d
2019-07-27 17:53:07 +03:00
levlam
126be85b0f Use Slice == instead of std::memcmp if possible.
GitOrigin-RevId: fc40339f1fa51ad2995f875b5a855bfebfb87b06
2019-07-27 01:42:18 +03:00
levlam
f432abcce4 Use copy_from instead of memcoy if possible.
GitOrigin-RevId: 63981da8864d16ce46bca4b9580e7d9613c837c5
2019-07-27 01:27:22 +03:00
levlam
cf329420db Mtproto: move KDF to separate files.
GitOrigin-RevId: 5f57db386ccc90692180a34b84387ffd46d5f311
2019-07-27 00:39:39 +03:00
levlam
06e587a5f3 Improve documentation.
GitOrigin-RevId: d493d4c9a623acc454c26fb65f96ed521be59c49
2019-07-26 22:38:55 +03:00
levlam
8094d415db Add support for animated stickers in inline bot results.
GitOrigin-RevId: a25f45ef24aad2e92d461718a6f3b0ba101cdd76
2019-07-26 03:40:40 +03:00
levlam
3fac3f7860 Prefer animated stickers in getStickers.
GitOrigin-RevId: 1652ae43c36ebcb69752042cebb5dc8407558c06
2019-07-26 02:54:35 +03:00
levlam
912ab17351 Add cache revalidation for users, chats and channels.
GitOrigin-RevId: 3377a27326ab76d13c89fbe2eb5ef88ce6564e0b
2019-07-26 00:05:16 +03:00
levlam
8d132d9505 Fix CE.
GitOrigin-RevId: 925d3fbd4a7414caffe7269b7283246bdc03d0a2
2019-07-25 00:00:21 +03:00
levlam
78dd033988 Fix call to CreateFile2.
GitOrigin-RevId: 71fad1b8484402e997b07641552205894d0e1c3e
2019-07-24 15:30:50 +03:00
levlam
527c88ca88 Adjust new chat member status for Bot API backward compatibility.
GitOrigin-RevId: 04bbe38639bde8c7ab0b8bc527b8df833d496c81
2019-07-24 05:33:46 +03:00
levlam
2f39a42441 Add TRY_RESULT_ASSIGN.
GitOrigin-RevId: ef2a42ead0014285eb29355f132ce093af337770
2019-07-24 05:10:32 +03:00
levlam
ec3d9b7b3c Add check_proxy benchmark.
GitOrigin-RevId: 36ec86e51eab1f94d96a135b19c808ee83daa3e2
2019-07-24 00:53:08 +03:00
levlam
bcacb2c31c Improve Td closing.
GitOrigin-RevId: 9111edb11ffe14ee9fa80942a4201fec94641b56
2019-07-24 00:15:49 +03:00
levlam
ae3c1208ea tg_cli: improve verbosity parsing.
GitOrigin-RevId: b6f6ca9e6bf5e8908e257dd78c71630dfd3e2d0e
2019-07-24 00:02:10 +03:00
levlam
763a88233e tg_cli: minor improvements.
GitOrigin-RevId: e38a7bb448905c2ca87509bc6ddb03cfe98d4ad5
2019-07-23 18:18:57 +03:00
levlam
a4b67b9496 Change check for element uniqueness.
GitOrigin-RevId: 3a7499f3b7f1aead7ebe80f147b9ddc42c87fc33
2019-07-23 03:53:46 +03:00
levlam
38e4310b71 Remove standalone Sha256State functions.
GitOrigin-RevId: 5db80ea1902a6fe8a635081a8b050a19528f9f90
2019-07-23 03:50:03 +03:00
levlam
ac6a83da50 Make Sha256State safe.
GitOrigin-RevId: 9b81cc1915b8ca1bc85219b863a6e8dcab814b37
2019-07-23 03:26:26 +03:00
levlam
4ee295a29e Use Sha256State directly.
GitOrigin-RevId: 4fbbafbd14c43a551e9c24de65a6feed2b44b09e
2019-07-23 03:20:11 +03:00
levlam
2b7511d07f Rename AuthState to AuthKeyState.
GitOrigin-RevId: 7211994ddf6e267342ba29010328387093549e5c
2019-07-23 02:14:34 +03:00
levlam
98b8929932 Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
2019-07-23 01:50:12 +03:00
levlam
4a2b76e1ef Fix testProxy.
GitOrigin-RevId: fcce1611113bec089ac3ca20df56eba85895a753
2019-07-23 01:13:20 +03:00
levlam
410d81c55f Remove ProxyInfo class.
GitOrigin-RevId: f5bc2e82ef1017628b11fe9a0d04e75a08f77c25
2019-07-22 14:32:21 +03:00
Arseny Smirnov
dfe761738f testProxy: fix HandshakeActor errors handling
GitOrigin-RevId: 4a80a500c84302d2bef699a7d49a496d4f07945a
2019-07-22 14:22:31 +03:00
levlam
5de928006b Fix GCC CE and warnings.
GitOrigin-RevId: 21c7aa0f95f6534c8d8f1515fc93c67b55bb7998
2019-07-22 07:05:50 +03:00
levlam
20503e04d2 Various fixes.
GitOrigin-RevId: da4869e5054952663ad5993f5770f2984a473818
2019-07-22 07:01:51 +03:00
levlam
8853c37fe2 Do not create persistent key in test.
GitOrigin-RevId: cbcd632b0d10b1b3ed09aa3e24286e1517eaaec7
2019-07-22 06:37:26 +03:00
levlam
79a38df824 Add actor_name_prefix to prepare_connection parameters.
GitOrigin-RevId: fbfb40411a16c0609a8bd926f2b4f3428e43cd25
2019-07-22 05:55:01 +03:00
levlam
92201f904d Remove proxy IPAddress from ProxyInfo.
GitOrigin-RevId: 1c83e4dc45c3186e887a9922fa77e6b25612c3be
2019-07-22 05:42:19 +03:00
levlam
feb2beeec0 Fix testProxy.
GitOrigin-RevId: 6ad0bf0e7685ccae35931c4949ba29bafbcc6335
2019-07-22 05:04:18 +03:00
levlam
635aca2924 Fix tdutils after update.
GitOrigin-RevId: afc6d10dd0e2b2a7193dd2c96f07d5ca1cb11a00
2019-07-21 21:07:07 +03:00
Arseny Smirnov
e54c0b0035 Fix merge conflict
GitOrigin-RevId: 8e342e89f5ee116806772fca70bab9eb2606e8e1
2019-07-21 22:00:47 +03:00
Arseny Smirnov
4079363f1a td_api: TestProxy query draft
GitOrigin-RevId: 67944e916813c6260df5be6cb4e77f7163854738
2019-07-20 15:13:36 +02:00
levlam
68bb65344b Ignore 'i' and 't' photo sizes received from the server.
GitOrigin-RevId: d39854802f545dff99c3dcd7b3a01463b5d3c633
2019-07-20 02:33:49 +03:00
levlam
0481329037 Better choice of first bytes.
GitOrigin-RevId: 7855a68ec4b1e9c43371bd29cbf6766009f45ac2
2019-07-20 01:49:22 +03:00
levlam
6e65e51774 Fix misprint.
GitOrigin-RevId: cb14f3097745235c55d0d0192106f9d39b8b23fa
2019-07-19 22:12:58 +03:00
levlam
6dd2a822ad Cache backgorund by their names.
GitOrigin-RevId: 2e5c5ed30185f53240ab806f866bd4c83ee5da51
2019-07-19 05:34:49 +03:00
levlam
c6d7daa460 Improve add_background.
GitOrigin-RevId: cac29a57fb9d76489a0d5a6da83d75c7af075862
2019-07-19 03:50:51 +03:00
levlam
3928917f77 Add Background store and parse.
GitOrigin-RevId: 7c6e34fc2af991ce090356c09f65df37b742775c
2019-07-18 22:12:46 +03:00
levlam
2b69ae2d66 Support setting default background.
GitOrigin-RevId: 756e41775f3ee60faaa36f0a244f7f43ff82ef1d
2019-07-18 21:09:48 +03:00
levlam
e355cabc56 Increase MessageUnsupported version to reget all animated stickers.
GitOrigin-RevId: defb240fb76cdcb8ba96b949773b3572203db7b7
2019-07-18 19:49:14 +03:00
levlam
e76c98ad74 Fix animated stickers extension.
GitOrigin-RevId: 69d65bd19e46fe2eb2dc6ebb4afd6dd64164ffc9
2019-07-18 19:47:29 +03:00
levlam
7081198275 Remove go example in favor of third-party wrappers linked in example/README.md.
GitOrigin-RevId: e5df46f9c85c150afadb07b256ff4b2d3dd8f783
2019-07-16 22:16:12 +03:00
levlam
1b16d54c48 Remove JavaScript example in favor of third-party wrappers linked in example/README.md.
GitOrigin-RevId: b0851a8684a0d2b1ea4a8d863d2120e14b2aecd5
2019-07-16 22:14:37 +03:00
levlam
c26b05ab69 Remove ruby example in favor of third-party wrapper linked in example/README.md.
GitOrigin-RevId: 3cb6176d9b3493fa291c1738e46c14399d10620c
2019-07-16 22:12:39 +03:00
levlam
b1347c3226 Add separate authorizationStateWaitRegistration.
GitOrigin-RevId: 1e41124d6174e956ce74266c9140ad346cf8a6f0
2019-07-16 22:08:34 +03:00
levlam
93ee925d69 Update phoneNumberAuthenticationSettings documentation.
GitOrigin-RevId: 769ae931ec86dffadb529ba3bf1b2078e1e989e2
2019-07-15 23:06:29 +03:00