Commit Graph

1428 Commits

Author SHA1 Message Date
levlam
875541b673 Fix misprints and improve logging and errors.
GitOrigin-RevId: d8a48fc5e5427a20fcfa932f928f37a58df2cdfd
2018-09-26 18:48:14 +03:00
levlam
79d8c5a97a Fix CE.
GitOrigin-RevId: 96ac1ebeb782a349833d9d4b16e1a8019e6fc199
2018-09-26 15:48:10 +03:00
Arseny Smirnov
8fd13291d0 Allow std::move ActorId in send_closure
GitOrigin-RevId: 452924630a41d336006d49b63880e244a6be280f
2018-09-26 12:01:50 +03:00
levlam
eb4c85a797 Fix CE.
GitOrigin-RevId: 0bb7986447b8c9fcdc80b8caf1feb03f8a945d90
2018-09-26 03:54:37 +03:00
levlam
b7c2248c72 Add td_api::testSetLogTagVerbosityLevel method.
GitOrigin-RevId: 763fcf9156671857c71967741b9ce8c67f4a7ea0
2018-09-26 02:59:29 +03:00
levlam
a3b6aca07d Speculatively update cached channel administrators.
GitOrigin-RevId: b30a7bbf1ec74a446bf77245772236b94be135cb
2018-09-25 18:32:39 +03:00
Arseny Smirnov
3d17b1b166 Fix get_pending_error
GitOrigin-RevId: cc80c526df3d0ed8ceb76b8653ef4bb9f46311c4
2018-09-25 14:36:39 +03:00
levlam
ca58d36d4d Return parent type from tl_object::fetch to reduce number of unique_ptr types in header.
GitOrigin-RevId: c2bfa4b2879c8ee3a0feda50fca605a58673cc87
2018-09-25 06:26:36 +03:00
levlam
f404f7799b Move TL object fetch to cpp.
GitOrigin-RevId: 8700426caa00ca34be9716b9875cd4c87f8dc51f
2018-09-25 05:24:32 +03:00
levlam
7b5e6b9362 Split td_api::getPassportAuthorizationForm into two requests.
GitOrigin-RevId: 77fc44704061109014b522d9396935ac47e4f6f9
2018-09-25 05:12:41 +03:00
Arseny Smirnov
8108dda1d9 SocketFd::get_pending_error bugfix
GitOrigin-RevId: e0596cec033a162fbca15a14f078c6a9cdbd8ff5
2018-09-24 18:26:29 +03:00
levlam
81c0afafa3 Allow limit == -offset in getChatHistory.
GitOrigin-RevId: 8a050a75c0428304bb61c36a2c284b6309c6a8ea
2018-09-24 04:25:24 +03:00
levlam
86bc53bb0e Fix usages of full_split.
GitOrigin-RevId: 17a750e4a9a7add83302694ad2e8771bf8ed6199
2018-09-23 02:46:09 +03:00
Arseny Smirnov
23e4c95c1c Fix EventFdLinux
GitOrigin-RevId: 15b9fe88f5df8489c837d75fe3705a01298e902a
2018-09-22 17:13:49 +03:00
levlam
4ec1765b41 Add typedefs to tl::object_ptr.
GitOrigin-RevId: c696935b7a576b15795ba9b2d8db56aa5d734471
2018-09-22 14:45:52 +03:00
levlam
8610734232 Fix full_split.
GitOrigin-RevId: 0204740d8ba45faf9f2da5ddca7323c88287a160
2018-09-22 14:24:02 +03:00
levlam
9c9ee999c4 Simplify InlineQueriesManager::get_inline_message_content.
GitOrigin-RevId: bf32b2756b899513afa6d935820d5ad37d158267
2018-09-22 03:47:40 +03:00
levlam
a23d62905b Better MessageContentType output to StringBuilder.
GitOrigin-RevId: f755a36dc462db448a7ca584f8e061b161d3defd
2018-09-22 02:29:33 +03:00
levlam
a4d5cc9419 Fix warnings.
GitOrigin-RevId: 19e068a8579356722d116a7646980cf580721b7a
2018-09-22 02:15:13 +03:00
levlam
b11542ce6a Rename MessageContent.get_id() to get_type.
GitOrigin-RevId: 3f718e571537875b66c9886d71cfc5c66213c8a7
2018-09-22 00:51:29 +03:00
levlam
946b46ad8c Strong typing for MessageContent type.
GitOrigin-RevId: b89a431f6252ec47ebf2c3653eafbf71abbd7678
2018-09-22 00:33:41 +03:00
levlam
3c8e8f106f Fix GCC 4.9.2 CE.
GitOrigin-RevId: 5cc03767018d976c5833127e51ee0f010b3049b3
2018-09-21 20:57:20 +03:00
levlam
f08c0180b4 Const-correct tl::unique_ptr.
GitOrigin-RevId: b72a92a7169973c2d95e410cfbfed668a412e7e7
2018-09-21 20:52:22 +03:00
levlam
eba99a8957 Fix tl::unique_ptr.
GitOrigin-RevId: 1a8cf83048e27435ce44adef8ee2123724d4fc23
2018-09-21 20:13:32 +03:00
levlam
dd9964ae3a Don't crash on nullptr passed to td_json_client.
GitOrigin-RevId: b064ab5d839a5747d9bf1d289238fa77da219585
2018-09-21 16:41:22 +03:00
Arseny Smirnov
db218463d1 Use custom unique_ptr as tl::object_ptr implementation
GitOrigin-RevId: a41545d97fa2be34553b6b8e7fa03ada730cbe87
2018-09-21 18:34:18 +03:00
levlam
5322a65c1b Remove unnecessary static_cast.
GitOrigin-RevId: df5259458cd0d8d4a1b72da6950ea39553979c68
2018-09-21 11:26:35 +03:00
levlam
1362f0bd0a Make ContactsManager::get_current_state const.
GitOrigin-RevId: b86cb9e05bed37fff06c77f235fc3039c8626334
2018-09-21 10:34:15 +03:00
levlam
e086b4f740 Add MessagesManager::get_current_state.
GitOrigin-RevId: c5bcea8ae60503a50ab9707b61fcc082ebc89f79
2018-09-21 10:15:07 +03:00
levlam
8e0f49dc62 Support updateTermsOfService in getCurrentState.
GitOrigin-RevId: b12f653432e0ee5b9ed3c7a7e8cb39e6dec7800b
2018-09-20 23:08:55 +03:00
levlam
e1812c6531 Add AnimationsManager::get_current_state.
GitOrigin-RevId: 77349703eb55cf61b13941dba7bd513068c8519c
2018-09-20 22:38:19 +03:00
levlam
f9de09833c Add StickersManager::get_current_state.
GitOrigin-RevId: 52c53d43d72150d297f2c511c0e49cb83d22b873
2018-09-20 22:25:09 +03:00
levlam
f8894dbff9 Add ContactsManager::get_current_state.
GitOrigin-RevId: 108cab6899368e264684aab79d488384be968e48
2018-09-20 21:37:35 +03:00
levlam
b2f9a33832 Send option "version" before all other updates.
GitOrigin-RevId: 6f9e36dd474ce191ff53a91aafeb95c8792aa300
2018-09-20 20:41:22 +03:00
levlam
db14b2da4e Add dummy td_api::getCurrentState.
GitOrigin-RevId: 31ea0cfdc0c715fec52ef27340bed7358b13e042
2018-09-20 19:33:41 +03:00
levlam
2c5ce9591d Fix td_api::setOption.
GitOrigin-RevId: d8974fa15c882d3a90ec9f5574f64c70957e547a
2018-09-20 15:07:01 +03:00
levlam
8dedd8dd58 Update .gitattributes.
GitOrigin-RevId: be0ec2f3a0a76c63ce45025098af85b4d13d2136
2018-09-19 20:23:28 +03:00
levlam
4b2e3619f7 Use fail_send_message directly if possible.
GitOrigin-RevId: f537f3f2517a7775d5714e38b57a7ce11b2042f6
2018-09-19 19:59:23 +03:00
levlam
91950e9452 Fail to forward old messages after restart.
GitOrigin-RevId: 948954d3f6b9e3c7c4a8479233c95115cc676620
2018-09-19 19:43:01 +03:00
levlam
dccef30582 Automatically fail to resend very old messages.
GitOrigin-RevId: 6c39972e266b8be8be74f25de63a0008317de42e
2018-09-19 19:18:10 +03:00
levlam
29e65aab4a Add file_index to td_api::passportElementErrorSourceFile.
GitOrigin-RevId: d77d21361dfece0867bfe880d93aa9c8a2898ac9
2018-09-19 03:00:29 +03:00
levlam
900eab129b Make Binlog helper template functions non-static.
GitOrigin-RevId: db82e3468f8bf3e1bd0835721c57a72c97a0b859
2018-09-19 01:35:45 +03:00
Arseny Smirnov
ef7b70338e Fix emscripten build
GitOrigin-RevId: 68db203083f4a5e242b3f8efb2e7e86fa31f70bb
2018-09-18 18:13:19 +03:00
Arseny Smirnov
2766e7d16b emscripten: td_get_timeout
GitOrigin-RevId: 920dac2d11ed999019e7faafe47cadf96d06900f
2018-09-18 16:43:16 +03:00
levlam
66d5c69453 Make dates parser more flexible.
GitOrigin-RevId: 470fa8cec93b036ae586ba390a14ed6b3dd1149c
2018-09-17 21:49:26 +03:00
levlam
7c447551fb Add enabled_proxy_id option.
GitOrigin-RevId: 3153f71d13740429a9153205e96329e49e82b91f
2018-09-17 21:15:11 +03:00
levlam
144b46ec3b Fix Address.postal_code to/from JSON.
GitOrigin-RevId: 757d34d4c79023a9c1503b8075f0a0471673a87f
2018-09-17 21:07:26 +03:00
levlam
e1415facf2 Allow to call getStorageStatistics before authorization.
GitOrigin-RevId: f801124c6e2646a165a1951598efcba71cc1cc38
2018-09-17 20:48:05 +03:00
levlam
2d05be04dd Follow new server-side limits on first/last name and title length.
GitOrigin-RevId: 89fe4eb85c42859974142fd163ea9fd062fde459
2018-09-17 07:00:19 +03:00
levlam
10063f39f4 Fix inheritors of TdCallback.
GitOrigin-RevId: a356594a86e79118dc32b1a09b0c4747dd331c59
2018-09-15 19:33:27 +03:00