Commit Graph

4132 Commits

Author SHA1 Message Date
levlam
62bb714421 Fix some includes and spelling.
GitOrigin-RevId: 489a75315987be488d8caf63a9d3c4f0948ab810
2018-01-28 21:13:25 +03:00
levlam
a47d5d5511 Return whether Log::set_file_path succeded or not.
GitOrigin-RevId: a928f8691ebedfd7451bf8bd7957071786b50349
2018-01-28 19:38:59 +03:00
levlam
662471ea48 Do not fail on unsuccessful FileLog.init.
GitOrigin-RevId: c31bcf155821a973b431234d76aa83e3b0e281a0
2018-01-28 17:48:11 +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
99c5bd9ebb Fix main_file_id_priority.
GitOrigin-RevId: cbcb8da8e9fe702c83cac077d46c7b1dd2f53a3a
2018-01-28 08:35:53 +03:00
levlam
0e41d96335 Send update with unknown basic group/supergroup/secret chat when its identifier is returned.
GitOrigin-RevId: e3c0d7904f02b79abdcbf990db1bdcf8d67591e3
2018-01-27 16:57:59 +03:00
levlam
083eba265b Remove forward header for audio messages.
GitOrigin-RevId: 3e5f7d0885866bdd71f32044682e31f3a922e31e
2018-01-26 23:01:52 +03:00
levlam
dc274ea3b5 Send update with an empty User for unknown users.
GitOrigin-RevId: 470184a7277bbce3855ecad8acf955369370ff76
2018-01-26 22:53:20 +03:00
levlam
aed9a9da6f Ignore duplicate updateContactRegistered even first message is already deleted.
GitOrigin-RevId: e95462cf0e77d2b6835d75017791f409eb1bced6
2018-01-26 18:07:21 +03:00
levlam
4d89905aec Better updateCall description.
GitOrigin-RevId: ca4a2180acbdfc6522d024d19bc4b0a950541b1a
2018-01-26 17:07:09 +03:00
levlam
55b16026c5 Optionally ignore EACCES in realpath.
GitOrigin-RevId: 8043b753ec748b6ff21accb5efde782047e5cd50
2018-01-26 16:47:46 +03:00
levlam
a40619aa64 Add checks that updates are sent only for existing chats.
GitOrigin-RevId: dfb433cc53b8c0b1fbe19eb90f4ec33ca086a446
2018-01-26 16:22:16 +03:00
levlam
b0be2feebc Fix file stat on Windows.
GitOrigin-RevId: 2ca2bb1605af4e25f24d6c06c0aae5ffb8fe09e8
2018-01-26 16:01:40 +03:00
levlam
f0e660e2aa Better FileLocationSource.
GitOrigin-RevId: bed0d4f52b129560097f0877bd4b3d3511914f27
2018-01-26 15:56:19 +03:00
levlam
e66cc39f95 Fix walk_path on Windows.
GitOrigin-RevId: ca6eaea457018869aa476009acc3fd0f26a40999
2018-01-26 04:06:53 +03:00
levlam
648a8eb0af Fix main_file_id_priority.
GitOrigin-RevId: 35ab98806707c7b62378a90e35422b59c83fc8a8
2018-01-26 01:09:07 +03:00
levlam
ff39e46a64 Optimize structs layout.
GitOrigin-RevId: 2fbb064e9059447539c820bfcd7c43d12bbf73d8
2018-01-25 23:23:01 +03:00
levlam
c5b89c0302 Do not log expected error message.
GitOrigin-RevId: 19b20f3c40073a79de187bc4890f4085812900e7
2018-01-25 19:39:10 +03:00
levlam
3def215ab8 Improve error message.
GitOrigin-RevId: 28cef0b6e6640307d5c56f520673da40a128fa52
2018-01-25 19:24:39 +03:00
levlam
0fa92bdb87 Improve log messages.
GitOrigin-RevId: b33eacf1de0f88c6cc0a8208ab82099cd9e1be83
2018-01-25 19:01:10 +03:00
levlam
43fc1ac4b3 Add source to set_dialog_max_unavailable_message_id.
GitOrigin-RevId: ca01901af04d3d51b20f136a8000e85eced49f11
2018-01-25 18:36:40 +03:00
levlam
e95d3ce469 Imptove log message.
GitOrigin-RevId: bda825192fbd81e89a66142594af8c122b9e3d42
2018-01-25 18:31:33 +03:00
levlam
eefc348b3b Update searchPublicChats description.
GitOrigin-RevId: db6b6b6adaa7fddb3f61bbafab08b97ece2adc6e
2018-01-25 15:59:46 +03:00
Arseny Smirnov
08c930e170 FileManager.cpp: bugfix
GitOrigin-RevId: b075851e40beb6cafb7921055d4046bec26374eb
2018-01-25 16:11:05 +03:00
levlam
62d8e1fd40 Send updateChatLastMessage when last chat message is changed.
GitOrigin-RevId: 35daed67ef38c3cd3b5f9f46a928614f9a94b172
2018-01-25 15:26:25 +03:00
levlam
b839563484 Add on_message_changed method.
GitOrigin-RevId: a17f882f7b8e8522f602c5236fb5ae4d99fb9d41
2018-01-25 15:00:23 +03:00
levlam
0f8e50b6e2 Send UpdateNewMessage for sent messages.
GitOrigin-RevId: 0911b143a16d626bd7730176f5b5ab72cff159f3
2018-01-25 14:08:19 +03:00
levlam
d59aeee9ca Add debug.
GitOrigin-RevId: 8ef46733fb5284b9a2af93d137ae83f83016d0f5
2018-01-25 12:54:25 +03:00
levlam
157d3670ed Fix Javadoc documentation generator.
GitOrigin-RevId: efceeb0a6a33bc4261c2e7c6c354acb63ce90700
2018-01-24 22:48:30 +03:00
levlam
cc64bd168b tg_cli: do not call quit twice.
GitOrigin-RevId: 66de7284d0d4bb7006f5be9fdad74150bca3910f
2018-01-24 22:47:59 +03:00
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
48074b2fc6 Fix Nullable type import in Java generator.
GitOrigin-RevId: 8b6c932a88f9203f0c08956c3c616a326321fee9
2018-01-23 18:33:12 +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
c23b5ec650 Allow direct calls to Create*Chat without Get*.
GitOrigin-RevId: 89b5cd7b95f458c8b7b108c75d3d8c3664a25d0b
2018-01-21 17:11:09 +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
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
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
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
levlam
bb3d01da8d Add debug.
GitOrigin-RevId: 38dc34ec5f6cac1d2c1cd4509dfe2f2d5f7bc508
2018-01-06 23:56:30 +03:00
levlam
b30bd40b50 Fix load from database of expired messages in private chats.
GitOrigin-RevId: 2a71ca25ce08d632b7a99cf633c7a16cd639c578
2018-01-06 23:55:51 +03:00
levlam
2bd0b62f9a Disable deletion of old document info.
GitOrigin-RevId: 23a398aede9e1cae62d4e679474f9b82f55cefa4
2018-01-06 23:55:14 +03:00
levlam
0912cf4573 tg_cli: do not generate file when closing.
GitOrigin-RevId: 2cb23d3d15fca315993449a0033b7202e11dd90f
2018-01-06 23:54:38 +03:00
levlam
149c3fdc46 Always check input file_id.
GitOrigin-RevId: aa33312b3961d6cf724f43418084c5a9133d7ad7
2018-01-06 23:54:01 +03:00
levlam
bd145f18ac Synchronously preload web pages for messages loaded in on_get_history_from_database.
GitOrigin-RevId: 496e0a42324cbae0bb83e6c50bf977b4a97d7c2a
2018-01-06 23:53:24 +03:00
levlam
0e4e84235d Fix dialog reply markup if keyboard is in edited message just in case.
GitOrigin-RevId: 105e4ef522dbdb39b279b56cf8832ead6dbc168a
2018-01-06 23:52:44 +03:00
levlam
dc113f2b84 Send updateAuthorizationState after password recovery requested.
GitOrigin-RevId: e01fbf692be70a9de7f2e56e4469fe1795721172
2018-01-06 23:52:06 +03:00
levlam
d990fd21d2 tg_cli: add sanurl commands.
GitOrigin-RevId: 44e9febc12a648b9360f85d8ac7a9b7fd784bb37
2018-01-06 23:51:31 +03:00
levlam
2312c5e1a6 Do not update online status when closing.
GitOrigin-RevId: 0ebca2a7c14d44a5bc4945abe239efbeed18382c
2018-01-06 23:50:51 +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