Commit Graph

52 Commits

Author SHA1 Message Date
levlam
66d8ee5228 Fix get_jni_env.
GitOrigin-RevId: 5da8136b7c96affd3a39194624dc35c415bfad68
2020-10-11 14:53:12 +03:00
levlam
a67225d358 Make get_jni_env safer.
GitOrigin-RevId: 15d1d788e9f2811e769554044992ae1d7db7fb9a
2020-10-11 14:44:42 +03:00
levlam
25676d7ff0 Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
2020-09-23 01:52:16 +03:00
levlam
16bd7bd98e Add checks that delete is not called for incomplete type.
GitOrigin-RevId: 19755ebbee56eb874e84fd8544899fd70a78df7f
2020-09-14 18:11:34 +03:00
levlam
0ac58f7494 Fix some includes.
GitOrigin-RevId: 5ce2e3dd3172ff92fa9400d10f0c6ec4b7f46e6e
2020-08-01 21:57:03 +03:00
levlam
de6d5359ed Use #pragma managed(push, off) around unmanaged includes in managed code.
GitOrigin-RevId: 1b8944dfa23e38f675aec0f25d78644baa27ab84
2020-06-06 22:51:45 +03:00
levlam
af61f0c7c4 Fix .NET binding.
GitOrigin-RevId: 4e251471a358c4d5546663eca7cd16b91ec2574e
2020-04-08 22:21:42 +03:00
levlam
bc49ef8330 Add support for fetching vector<bytes> in JNI interface.
GitOrigin-RevId: a7e4a44cb20262b9268a981ebed139e21794d525
2020-03-25 02:14:08 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
240c092368 Remove tl_json dependency on td_api.
GitOrigin-RevId: 2453a8ac022cf86b799d24045d98e3e69b4a3d9e
2019-12-24 03:55:36 +03:00
levlam
674e6b79d8 Remove unsafe JsonScope::operator<<(bool) to which pointers can be converted.
GitOrigin-RevId: 0350036ba8dd4b24df8974e1fe95593afe78a309
2019-12-23 03:21:51 +03:00
levlam
95bee16523 Simplify td_api_json more.
GitOrigin-RevId: 4df61a045e381a4577321c87a2b393747992127e
2019-12-08 10:44:41 +03:00
levlam
8c495d99e6 Use TRY_RESULT_ASSIGN.
GitOrigin-RevId: 99b60b9044fab9357a3440aed7da55f146677e6b
2019-12-08 09:57:33 +03:00
levlam
b43dd2be8e Update calls to sendMessage in examples.
GitOrigin-RevId: 1a8eb0bf50eb4ce3da03c50a0a694e4ba1bbaedc
2019-12-06 02:36:33 +03:00
levlam
cce190ae58 Fix misprint in documentation.
GitOrigin-RevId: e39858860ee8f88ed5b188756c7990e2c35770f2
2019-11-27 14:54:35 +03:00
levlam
6cbc02ed1b Minor improvements.
GitOrigin-RevId: 157e77d244b24f3c5af56539d434096f7440e2e8
2019-09-05 18:32:45 +03:00
levlam
98b8929932 Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
2019-07-23 01:50:12 +03:00
Arseny Smirnov
620e4221f3 tl json: support tl::TL_writer::Mode
GitOrigin-RevId: db6769e80f43f5fa2eedac5414cd2a44f8dcaf3c
2019-07-01 10:43:31 +02:00
levlam
4d5fb2902c Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
558a0f9b35 Support PageBlockTable.
GitOrigin-RevId: 602d58aaba14e6433c624fe08f8d12be20b2f1b2
2019-02-07 02:58:27 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
b676fe509a Move UInt to UInt.h
GitOrigin-RevId: 52b6d36d1ece8c267f5548000b2592ffd3a62ded
2018-12-20 00:18:53 +03:00
levlam
6ac930139b Const-correct unique_ptr.
GitOrigin-RevId: 938cf4b0261cfea123066ae1fc4197754da11e68
2018-09-27 19:51:45 +03:00
levlam
b3bae546ec Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
2018-09-27 16:37:15 +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
4ec1765b41 Add typedefs to tl::object_ptr.
GitOrigin-RevId: c696935b7a576b15795ba9b2d8db56aa5d734471
2018-09-22 14:45:52 +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
Arseny Smirnov
db218463d1 Use custom unique_ptr as tl::object_ptr implementation
GitOrigin-RevId: a41545d97fa2be34553b6b8e7fa03ada730cbe87
2018-09-21 18:34:18 +03:00
levlam
47bf1bf060 Remove explicit inline specifier on template functions.
GitOrigin-RevId: 196841ba4ace538853e42f8e1be908f6d6f38b00
2018-09-14 21:41:03 +03:00
levlam
6f570624df Fix thread-safety for C++/CLI.
GitOrigin-RevId: 934f0b05cc46cc0731f5f9f24c6db019a1e6a605
2018-09-03 14:19:14 +03:00
levlam
dea5dea49a Fix C# binding thread-safety.
GitOrigin-RevId: 48b4ec74878f815d2a3d280a9f9f8a524509ab93
2018-09-03 12:47:32 +03:00
levlam
004e562d0f Better JSON type names.
GitOrigin-RevId: 1d40b9f39a0850040820b90fcf874b42468edd2d
2018-05-20 15:30:36 +03:00
levlam
40db52670d Vector<bytes> support in .NET binding.
GitOrigin-RevId: b9b168c865bb2144e902229e36776bdce92f22dc
2018-05-11 13:53:49 +03:00
Arseny Smirnov
cf015abf64 Miscellaneous fixes
GitOrigin-RevId: cecc8cd20352bbcd947388b4eee44e4378cc2b5f
2018-04-10 20:10:20 +03:00
levlam
3b569010aa Add documentation to ClientDotNet and LogDotNet.
GitOrigin-RevId: 4683cfb7198430314539780fa793898ff6c36e96
2018-03-15 19:25:51 +03:00
levlam
6c6544fd06 Move .Net Td API to Api namespace.
GitOrigin-RevId: 5a8a0c9ccd49575e6e15db354e60b027e0346b19
2018-02-28 21:38:21 +03:00
levlam
1ac97a6ba7 Various fixes.
GitOrigin-RevId: 80fa34e64e6824a0f96c38d2e8b0a32455267ea8
2018-02-28 13:25:07 +03:00
levlam
83d845ad32 Move .Net classes to Telegram::Td namespace.
GitOrigin-RevId: 31d5cf030c30d7a1f58099decdcec265dbf6be0a
2018-02-28 04:11:29 +03:00
levlam
6eadf472fe Rename TdWindows to TdDotNet.
GitOrigin-RevId: 0bfff62c224dcbd316534649b119917280b3b398
2018-02-28 02:09:23 +03:00
Arseny Smirnov
70ad2664bd Add initial C# support
GitOrigin-RevId: c0ece19b41ca8e348285df95f9b81b188d3e5835
2018-02-26 21:08:47 +03:00
levlam
269cf358e0 Fix some spelling.
GitOrigin-RevId: 102622d5c1871a52d6b229f708df6305006f6137
2018-02-17 02:54:44 +03:00
levlam
79df9bac53 Accept slice in to_double.
GitOrigin-RevId: 3e68b84972a15404ab6ec43b6c157289487b3a5b
2018-02-03 23:01:33 +03:00
levlam
da4714b3ca Unify include order.
GitOrigin-RevId: 981c4788511b9b286e954b2f85a7263b8baf8566
2018-02-03 15:58:18 +03:00
levlam
620e5d95cd Fix formatting.
GitOrigin-RevId: 4c44f261be6bddbce9b24ce28d177313753b603d
2018-02-02 01:44:51 +03:00
levlam
d7ecc96113 Update layer to 75. Support entities in captions.
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
levlam
18034f7806 Add td::jni::get_jni_env wrapper.
GitOrigin-RevId: 5cc7cc927d0195bcdc7f8adbeea052266dff6af5
2018-01-28 13:20:43 +03:00
levlam
afde0fdcc6 Java-binding: remove crash on invalid String encoding.
GitOrigin-RevId: c29f8abdd4207eabf422c01ae67b5d1c73ff6ae8
2018-01-28 09:18:17 +03:00
levlam
1d92893c05 jni: register_native_method. Fail if class/method not found.
GitOrigin-RevId: d4ea78919a2f43420dfdb2e59326c6511265d70a
2018-01-22 12:51:04 +03:00
levlam
8eb46f6715 Improve Java binding.
GitOrigin-RevId: ec10cb32f546a1249f4fe5f309eaff7488c31182
2018-01-15 16:47:24 +03:00