Commit Graph

22 Commits

Author SHA1 Message Date
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
levlam
6a9cd72636 Don't create client through ClientManager until first request is sent to it. 2020-11-12 14:45:18 +03:00
levlam
979a1997d5 Preallocate response string in JSON interface.
GitOrigin-RevId: 73ab96ad95a46469e9afc59f02b48c8932457ef0
2020-10-30 01:02:44 +03:00
levlam
714f037f15 Move ClientManager singleton creation to ClientManager::get_manager_singleton.
GitOrigin-RevId: 071b947ff072186c70387cbd00f1c6b1c17d0e6b
2020-10-11 11:08:56 +03:00
levlam
09f906f192 Protect access to some static variables using ExitGuard.
GitOrigin-RevId: 65c7510c60d585b90e90d09067c7dfdaf79c4cd3
2020-10-11 01:59:27 +03:00
levlam
7d6f14db10 Add new JSON interface.
GitOrigin-RevId: aaf756de59e72f949c1150d99e1277047f25fac9
2020-10-05 16:08:07 +03:00
levlam
119fc9563a Return raw pointer as ClientJson response.
GitOrigin-RevId: 6b309681539b3ee9b2c2e87c57ed4cc8f94d798f
2020-10-05 15:48:37 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
8f72e0daea Remove necessity to include td/tl/tl_json.h.
GitOrigin-RevId: 612988c86cd74eddf6f4ae02fee33635afc93995
2019-12-24 04:08:42 +03:00
levlam
95bee16523 Simplify td_api_json more.
GitOrigin-RevId: 4df61a045e381a4577321c87a2b393747992127e
2019-12-08 10:44:41 +03:00
levlam
84695437d3 Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
2019-08-14 03:13:34 +03:00
levlam
a5a7e30ec5 Return td_api::error for incorrect requests in JSON interface.
GitOrigin-RevId: 1c3e3f6c2b7a9828930bdfc185f332f6190467d1
2019-08-06 03:29:16 +03:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
abbb1a42a7 Static execute in JSON interface.
GitOrigin-RevId: 58748f011a6def1d81e11063e9a15f5a8750174e
2018-10-31 17:51:07 +03:00
levlam
5322a65c1b Remove unnecessary static_cast.
GitOrigin-RevId: df5259458cd0d8d4a1b72da6950ea39553979c68
2018-09-21 11:26:35 +03:00
levlam
407a8442f8 Fix null @extra in JSON interface.
GitOrigin-RevId: 1a470608d7cfbf58b55952eb3162e54d7ec245b7
2018-05-20 16:16:16 +03:00
levlam
004e562d0f Better JSON type names.
GitOrigin-RevId: 1d40b9f39a0850040820b90fcf874b42468edd2d
2018-05-20 15:30:36 +03:00
levlam
82df6d7625 Simpler ClientJson::send.
GitOrigin-RevId: 5f992052b2ac11385caee32d7dacc799036170cf
2018-05-20 02:56:41 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00