Commit Graph

1468 Commits

Author SHA1 Message Date
levlam
21285a11e8 Add example of td_set_log_fatal_error_callback usage to Python example.
GitOrigin-RevId: 1809f96a97a7ea84a4c21cbfec11b6f92667449f
2018-01-24 19:11:39 +03:00
levlam
18e7b0816d Add set_fatal_error_callback to public Log interface.
GitOrigin-RevId: 3e7c3bb97d86fa753deae864fdf574de1de1aee4
2018-01-24 18:45:57 +03:00
levlam
644a4ffbea Remove unused field in FileNode.
GitOrigin-RevId: e93f977fcf48192de97a0a69c33aff093406a61d
2018-01-24 02:13:22 +03:00
levlam
db07c587ca Fix views count for forwarded messages.
GitOrigin-RevId: 6d5d4d000ddf5fb0f2175e259e465ccacf40bd15
2018-01-24 01:35:08 +03:00
levlam
fe133efefc Allow to create chats without network request.
GitOrigin-RevId: f17bbe43c58246b6ab2bd48a746b00cae5cd1865
2018-01-24 00:45:26 +03:00
levlam
dbe1509a33 Fix warnings.
GitOrigin-RevId: 809793ee7ad1b64faa30de705c85aa095fcc9c32
2018-01-23 19:45:51 +03:00
levlam
48074b2fc6 Fix Nullable type import in Java generator.
GitOrigin-RevId: 8b6c932a88f9203f0c08956c3c616a326321fee9
2018-01-23 18:33:12 +03:00
levlam
c825628cd6 Fix exemple formatting.
GitOrigin-RevId: 84f34b183364bce06fa3b6b06620d04e7f26a6ab
2018-01-22 22:38:55 +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
704053580f Java-binding: move toString implementation to native code.
GitOrigin-RevId: 7f9adc42ed33e3218aefedb45ec8e858bd60be8b
2018-01-22 08:24:47 +03:00
levlam
b9517df566 Add -verbose option to clang-format.
GitOrigin-RevId: 641a593c8fc4ebf5fc5e2b513d9dd5925856e869
2018-01-21 17:23:52 +03:00
levlam
c23b5ec650 Allow direct calls to Create*Chat without Get*.
GitOrigin-RevId: 89b5cd7b95f458c8b7b108c75d3d8c3664a25d0b
2018-01-21 17:11:09 +03:00
levlam
5c0633f17a Replace assert with if to prevent warning about unused variable.
GitOrigin-RevId: f9e72c623ace83f14b2268647a0880bcb49040a4
2018-01-21 16:50:35 +03:00
levlam
86cb681064 Omit some unused sqlite parts.
GitOrigin-RevId: 1ec7b317466aa4f363e73de3fee04509a2fcf054
2018-01-21 16:44:17 +03:00
levlam
da08f7ea9d Rename Java APi generator.
GitOrigin-RevId: 90fe7b7deec8559c39499a15645985d83da4f59e
2018-01-21 16:06:54 +03:00
levlam
20cd6c7aca Generate Docygen-comments for td_api when JNI is enabled.
GitOrigin-RevId: dae3cea234beba9aee8283c24f28266620de82f2
2018-01-21 15:24:00 +03:00
levlam
d8f13abb2c Make JNI-bindings package-agnostic.
GitOrigin-RevId: a3a66de7561cf0ea9a3faf0b26bda1c34de7d317
2018-01-21 14:45:24 +03:00
levlam
92c03c4b9a Draft of get_message_content_caption.
GitOrigin-RevId: c01d6c4696315701681c1f50afa4011224a1fa2a
2018-01-20 23:24:07 +03:00
levlam
7f80ee1119 Remove FileLocation.type_ field.
GitOrigin-RevId: ffc776f8975522315543bfac25500592831900d6
2018-01-20 18:16:51 +03:00
levlam
1dffa9608d Make FileLocation.type_ private.
GitOrigin-RevId: 14841a320804eacbeef501df79c94b3bff2f4d0c
2018-01-20 17:57:52 +03:00
levlam
144b2b3aad Make FileLocation.variant_ private.
GitOrigin-RevId: 8360f98d879d860b763eb8ea45ef5bfbdefe3e05
2018-01-20 17:17:58 +03:00
levlam
ef071614b9 Remove EmptyGenerateFileLocation.
GitOrigin-RevId: 83cacf7526496f5ef3a2cb2ae0df19d384bdf04a
2018-01-20 17:06:22 +03:00
levlam
fbb2dc6ccb Use int8 for upload/download priority.
GitOrigin-RevId: 3cc1c006c5ab3989be920b4d6e7e5f49aeaa42ce
2018-01-20 14:47:53 +03:00
levlam
271ab50403 Oprimize sizeof(FileNode).
GitOrigin-RevId: 2ba7e468e4eae6a398418d6cd8db7f2905594535
2018-01-20 13:49:06 +03:00
levlam
5895f817d8 Support missed device token types, better names for 'token' fields.
GitOrigin-RevId: 2bf86a45e30387a8bf0ee0aa93c1c795f402d138
2018-01-19 18:04:16 +03:00
levlam
22ad86508a Utils: is_base64url.
GitOrigin-RevId: b58daeb9fa82d37e9c653d72ef702bcb15a5392b
2018-01-19 16:38:56 +03:00
levlam
c816837736 Utils: is_base64 function.
GitOrigin-RevId: 6b5d3079d812cb96d080a444e964067a79472d16
2018-01-19 15:43:00 +03:00
levlam
4a713beee1 Improve td_api::getPublicMessageLink: add possibility to get public link for media album, return HTML-code for message embedding.
GitOrigin-RevId: 1a7c774eec4dfde60d460d097be672120d3f9c54
2018-01-17 00:27:16 +03:00
levlam
bdd8420abd Fix caching of inline query results.
GitOrigin-RevId: bd547385184b9ed7aeb2e9dfd7589512d6620cc1
2018-01-16 22:16:53 +03:00
levlam
57816d2b5f Add td_api::searchChatsOnServer request.
GitOrigin-RevId: 6fc14c6503adcd8146de5eba276280bbd867b809
2018-01-16 21:56:59 +03:00
levlam
5445d920b1 Combine simultaneous SearchPublicChats queries.
GitOrigin-RevId: f51ed555b0758ef0cdf8afb73f276dbeb687e70e
2018-01-16 19:04:36 +03:00
levlam
ee37765a24 Change version to 1.0.2.
GitOrigin-RevId: 3ecbb182624b1ac10b72a34bcff42df24cfeaa5d
2018-01-16 18:06:35 +03:00
levlam
d6fb230324 Add only_if_pending to cancelDownloadFile.
GitOrigin-RevId: 7280c353b4903e565c2e0a2557d50317f6f7c886
2018-01-16 17:41:47 +03:00
levlam
f856a383ad Do not return empty sticker sets.
GitOrigin-RevId: 987492861215c593f7d9b9a6d475f63dd07b6e5e
2018-01-16 15:42:51 +03:00
levlam
2702806a89 Trim backticks in the end of URL.
GitOrigin-RevId: bcb9d7e60044f940de940b7eac4cd3279966cc47
2018-01-15 17:11:27 +03:00
levlam
8eb46f6715 Improve Java binding.
GitOrigin-RevId: ec10cb32f546a1249f4fe5f309eaff7488c31182
2018-01-15 16:47:24 +03:00
levlam
224de03838 Fix updating of chat draft message faster than once a second.
GitOrigin-RevId: d792fefd43c9ddfc91dc0af16c7bc107eacb38ad
2018-01-13 01:21:46 +03:00
levlam
cd7de92955 Better get_next_message_id.
GitOrigin-RevId: bcbc48c0e68ef69a1c7e0359cb7f405a772d8bd6
2018-01-12 19:28:32 +03:00
levlam
06cf561b88 Add ArrayIndexType to CxCli.h.
GitOrigin-RevId: 9d2a7294974a733c0acd82f6ae769ccf932723d6
2018-01-11 15:48:03 +03:00
levlam
57a7d7506f Update CxCli.h.
GitOrigin-RevId: 4b9fb613969a0eebca655168662d21c760778079
2018-01-11 15:28:27 +03:00
levlam
f6fb3c0cd0 Fix clang 3.4 Debug build CE.
GitOrigin-RevId: 3bdbf604bdd4f03da419003d7592a75085fcd2a0
2018-01-10 21:48:44 +03:00
levlam
ad33af5a2a tg_cli: spvf test command.
GitOrigin-RevId: bf510aedd54e819029a662a27618fd4c07a1dc41
2018-01-10 19:59:38 +03:00
levlam
f82ac0be6e Sandboxed APNS support.
GitOrigin-RevId: 1e3e0460bfe8c52b82c7a30706bf29cb1622d950
2018-01-10 15:11:35 +03:00
levlam
8366ae38cd Fix CHECK.
GitOrigin-RevId: 434142fb5dd2984b8f0b1fb598967f82f7754b26
2018-01-10 14:31:55 +03:00
levlam
3eebb16020 Support other_user_ids in registerDevice.
GitOrigin-RevId: 7d14fc21be9ebb56f3d759746f6a11cd5bd78c87
2018-01-10 03:18:03 +03:00
levlam
c5fb5f1336 Update layer to #74.
GitOrigin-RevId: 98c777a7dba65e49f2206ba016283b3737e80d89
2018-01-10 00:04:18 +03:00
levlam
cd0540e1c8 Use td_set_log_max_file_size in python example.
GitOrigin-RevId: 1f493bcc5c010f72221c1314b444e7e7b4c22ac7
2018-01-09 21:59:40 +03:00
levlam
8c45a03244 tdtl: pass class_name to constructor generators.
GitOrigin-RevId: 217c0cbd9eb99777f8970879d9b3da42cd6c8a02
2018-01-09 18:56:58 +03:00
levlam
ed54c461ae Notify file manager when file starts to download.
GitOrigin-RevId: ee21c170dcd7098b734d31fb170e99053f64a139
2018-01-09 14:57:11 +03:00
levlam
0f07341e91 Add interface for changing maximum log file size.
GitOrigin-RevId: dccd781c0467d75a5a396b71e6401e68534919db
2018-01-09 12:40:56 +03:00