Commit Graph

1958 Commits

Author SHA1 Message Date
Arseny Smirnov
3ab3c699b7 FileGcWorker and FileStatsWorker: better cancellation
GitOrigin-RevId: d3b251f19eea923906d8bf8c9144b18e8724cedb
2019-05-16 15:05:22 +03:00
Arseny Smirnov
11b0da92fe Reuse session_id for pings
GitOrigin-RevId: 39ddb1f925fa05f939a3965300334d5f250550ae
2019-05-10 18:27:18 +02:00
Arseny Smirnov
c99a76f422 Handle -404 error in new ping
GitOrigin-RevId: 3cf88082f0fac9cb82027899c9d276e2d6c439fe
2019-05-09 21:57:35 +02:00
Arseny Smirnov
3f4b29bfaf Calculate rtt in new Ping
GitOrigin-RevId: 9d4ef780ac99ea6c1331dc4e93014657a27f7848
2019-05-09 20:13:40 +02:00
Arseny Smirnov
ef4f719563 Use Ping with mtproto_api::ping if possible
GitOrigin-RevId: fa80dc2a2c44e416bcb50b76ba2bc64de91f8de8
2019-05-06 20:53:39 +02:00
Arseny Smirnov
be006f6cb4 mtproto::Ping two variants with mtproto_api::ping and mtproto_api::req_pq
GitOrigin-RevId: 196d7af132a791615c867cbdbfa23a2fa48327e9
2019-05-06 18:59:49 +02:00
Arseny Smirnov
30e1697157 FileGcWorker and FileStatsWorker cancellation
GitOrigin-RevId: 6332bd0800b32a6ca3089223be3995fd06a3118b
2019-05-01 16:15:54 +02:00
Arseny Smirnov
e3e54b7a53 simple CancellationToken
GitOrigin-RevId: 081b63eac0ac1e45153f2df4a2eea9fa825c9924
2019-05-01 15:13:48 +02:00
levlam
21dee3b1d9 Fix g++9 warnings.
GitOrigin-RevId: 5f0565bfaefff9bf41f372f2f249489650985fae
2019-05-01 20:03:27 +03:00
levlam
56163c2460 Update version to 1.4.0.
GitOrigin-RevId: d392c4503f00d8fe0a7ff2cc5e5e29e45af89733
2019-04-30 18:10:01 +03:00
levlam
6e95c15790 Remove unneded includes.
GitOrigin-RevId: f8c3d6481c4a6d8ccac6cbae875fa8de98c32bc2
2019-04-30 15:50:26 +03:00
levlam
89bccc793c Improve JSON interface documentation.
GitOrigin-RevId: 48a3eac6c8464bb2b67547c562e3a2a230669d02
2019-04-30 01:07:04 +03:00
levlam
087200c132 Do not try to reload stickers and saved animations while closing.
GitOrigin-RevId: 8b9532e89c3ae42390e29b6a6716de58dabd01db
2019-04-30 00:37:55 +03:00
levlam
b49e312389 Made need_delete_message_files const.
GitOrigin-RevId: b547551f6968766447e448c00c0bd65333316886
2019-04-29 06:21:43 +03:00
levlam
7f325dbd04 Add note about correct OpenSSL version for Node.js on Linux.
GitOrigin-RevId: 64647e21f5ba3e985c7dd50ea055a5cdb031b6cf
2019-04-29 00:13:36 +03:00
levlam
b78db4d902 Trying to keep files, needed for messages in other chats.
GitOrigin-RevId: 454f3143aec958a08ea35edecc808ef99eb795cf
2019-04-28 20:21:44 +03:00
levlam
8927a862e1 Fix repairing of unreceived sent message.
GitOrigin-RevId: 8ded037fa5361fe0c89341c622ebc98d5047f257
2019-04-28 17:45:53 +03:00
levlam
b7490e626b Add consistency checks for message deletion.
GitOrigin-RevId: 8d37c28f2bbf6c12821437a3670e64a03d841495
2019-04-28 17:07:27 +03:00
levlam
16a209cef0 Use some unused Status responses.
GitOrigin-RevId: b49d15a22918169b5e1a212e5858dc2e9bd2033e
2019-04-28 15:00:06 +03:00
levlam
654010d8f4 Trying to not send GetUsersQuery while closing.
GitOrigin-RevId: 75e44b200ec12becb82284607bba44b6d2d05fd8
2019-04-28 01:30:55 +03:00
levlam
4e632186b5 Fix logging.
GitOrigin-RevId: ab3c4160191de1da430d26a89280ead9ae7e66bc
2019-04-28 01:23:00 +03:00
levlam
e3cb6bb456 Fix applying of getChannelDifference.
GitOrigin-RevId: 6c0e6e73a809037a88c9e225718a71a50a854617
2019-04-27 21:37:24 +03:00
levlam
4d0fed097a Allow zero count in readFilePart.
GitOrigin-RevId: 97e6f7defe69d1993542c356798961333b061e39
2019-04-27 17:14:45 +03:00
levlam
be685c7a6d Add debug.
GitOrigin-RevId: 97f3d2927e7f7a0b0f11e79140e2cdb0873b1704
2019-04-27 16:21:08 +03:00
levlam
6ca6b78b3b Remove unneeded includes.
GitOrigin-RevId: 863c925cb49c1ab94f5f1685ad0584c41a54a833
2019-04-27 04:15:05 +03:00
levlam
740880b9ca Refactor WebPagesManager::PageBlock to a separate class.
GitOrigin-RevId: 7a705f0929c1b4419d2cf0693dda747a172dbc28
2019-04-27 03:57:59 +03:00
levlam
e7427ea57e Explicitly specify WebPage/WebPageInstantView types.
GitOrigin-RevId: e3da08bb1b5ba108206e89ed0797121829526251
2019-04-27 02:00:32 +03:00
levlam
1b7022e8ff Add Td explicit destructor.
GitOrigin-RevId: aa7d2ee90a43bc0cf1bb003c7fb48735fcaf6a82
2019-04-27 01:21:08 +03:00
levlam
02830797c9 Do not replace total_voter_count with 0 just in case.
GitOrigin-RevId: 632b4db2e0e94fb92c4846e5278f4457f9ccee46
2019-04-26 22:56:52 +03:00
levlam
138bf17da9 Fix total_voter_count in polls with hidden voters.
GitOrigin-RevId: e258662b9e3f0c69210a0a32ed30ae04bc5c599f
2019-04-26 22:44:47 +03:00
levlam
8b4af163e8 Split Td::init method.
GitOrigin-RevId: 5c15533bed9bf981474fa9bcbf3234cdde9ae9dd
2019-04-26 22:44:32 +03:00
levlam
a9151ae4a5 Remove some unneeded TDLib headers in SplitSource.php.
GitOrigin-RevId: 0573a7ad11c9a9c517fefe5b6eae860c1bd853cf
2019-04-26 21:26:48 +03:00
levlam
5dc12f9c19 Fix warning.
GitOrigin-RevId: 782940c71a1dc325029b516073d55d1d6de7f57b
2019-04-26 06:09:26 +03:00
levlam
719377a7de Fix warnings.
GitOrigin-RevId: 3d6129e1f99996938316c53b297ced56df14aa23
2019-04-26 05:49:48 +03:00
levlam
4d6012ee7a Fix CE.
GitOrigin-RevId: 4acb5ef3939cafd4ece161f9def915ea8137129c
2019-04-26 05:10:02 +03:00
levlam
fc363c5292 Add missing include.
GitOrigin-RevId: 6b6388813d9546be578f6da6a2f705019172db0b
2019-04-26 04:05:08 +03:00
levlam
ccfc5337f8 Add td_api::writeGeneratedFilePart.
GitOrigin-RevId: 2dfcba1d5f14dfd5e701ac02d3a8fc96090a00f2
2019-04-26 03:18:00 +03:00
levlam
676be00c3f Fix includes order.
GitOrigin-RevId: 04a9e7dc997353becdffcdf9e875fd5ca0e50660
2019-04-26 02:21:12 +03:00
levlam
0ed6024d0c Save only server message IDs as group_info.max_removed_message_id, because local message IDs can be reused.
GitOrigin-RevId: 931d3c165e9ab297da14aba32b6852e49d99da2e
2019-04-26 02:13:42 +03:00
levlam
2898c8909b Add language_pack_database_size to storageStatisticsFast.
GitOrigin-RevId: 6c11b5b88edd470da8abe2a0459a9067c3cb6d21
2019-04-26 01:47:25 +03:00
levlam
be06d10b39 Add td_api::readFilePart.
GitOrigin-RevId: 8d44ecfa62dc39d288232248e6db5aad82870729
2019-04-26 01:03:31 +03:00
levlam
58aafd9b39 Remove restriction on number of other_user_ids in registerDevice.
GitOrigin-RevId: b9a2a51c48d03d1b8cbfa26cf8c4ba0da5cf0e15
2019-04-23 17:10:49 +03:00
levlam
cdb5aa38a7 Fix includes.
GitOrigin-RevId: ba08dcfdbc4da34a986b876331beaf4a20e57437
2019-04-23 13:02:10 +03:00
levlam
fa8604edf3 Update tdweb documentation.
GitOrigin-RevId: bc02a159b4b2b74e0217459d7c4b6213b30851ab
2019-04-23 12:06:55 +03:00
levlam
b0329188e1 Add missed checks that methods can't be called by bots.
GitOrigin-RevId: fe43ee49d12f07cae8a30a66bdb956d4064fec25
2019-04-23 03:09:00 +03:00
Arseny Smirnov
eaf48c36a1 Client: set unique tag for each Td actor
GitOrigin-RevId: 7ee500c44703a395aae9151969b6bb8e3aee5ebd
2019-04-23 11:56:32 +03:00
Arseny Smirnov
3193d5c2d9 Client: use several threads for multiple clients
GitOrigin-RevId: 180f2977371a5a13b35ca929918450f88efcfec5
2019-04-23 10:42:46 +03:00
levlam
c62ff7039e Minor fixes.
GitOrigin-RevId: f0ba3402adf4a26d8220d9b5545e9ea18f094e65
2019-04-22 03:46:51 +03:00
levlam
7f1bbb476a Silence more expected warnings.
GitOrigin-RevId: 07f017ac8e659c7274c6ae97e0c8fa5191fe4c48
2019-04-22 03:13:55 +03:00
levlam
66b140e208 Better repairing of unreceived yet unsent messages.
GitOrigin-RevId: 2df44cc403a4304b0c9514a806e49c9547475cee
2019-04-22 03:01:40 +03:00