Commit Graph

1103 Commits

Author SHA1 Message Date
Arseny Smirnov
093651fb22 Update tdutils from other project
GitOrigin-RevId: 83ec94032ccecef812b01963ac0506655a57e2af
2018-08-13 20:15:09 +03:00
Arseny Smirnov
89fe455514 Support td_api::close and td_api::destroy in WaitParameters state
GitOrigin-RevId: dc2ab631b2ae4151eec285fcdc54e93d9838a7cc
2018-09-11 20:04:10 +03:00
levlam
7629802ac7 Make expect_blocking option public.
GitOrigin-RevId: 9c61c1272d8f9d2b401c838d15949001b6378626
2018-09-08 23:25:54 +03:00
levlam
0f829d6bbd Prefer non-web remote location in merge.
GitOrigin-RevId: ce678712f457a3b3ece48d26aedfe3220e54e7bf
2018-09-07 19:43:29 +03:00
levlam
a72021c170 Make function names better.
GitOrigin-RevId: 87e06fdb3faf6e964688d74648e3fd44b21e0eb3
2018-09-07 19:29:18 +03:00
levlam
2b34a6befa Ignore invalid strings in the database.
GitOrigin-RevId: 46d75ea61a1ab03d2f9540f001652ff7c08cd44c
2018-09-07 19:12:48 +03:00
levlam
cd33ec58be Try to fix last_new_message_id in on_get_history_from_database.
GitOrigin-RevId: 4c5ede1006c4d8be0694ccfb459d70ed0702dc5d
2018-09-07 18:43:25 +03:00
Arseny Smirnov
e02ff596ae beter DelayDispatcher and OrderedEventsProcessor destruction
GitOrigin-RevId: eb7ff28c66f326aa9ba2ce9313182a3800fb76e0
2018-09-07 16:17:09 +03:00
tallero
101aa73f13 "==" instead of "is"
with "is" the condition does not get executed for me. Python 3.6.6.
2018-09-07 16:21:22 +03:00
levlam
7a14de987c Remove unneeded forward declarations.
GitOrigin-RevId: e33aac4e7ac27efe2757fdd421115637359bcf5e
2018-09-05 22:31:33 +03:00
levlam
e7929ac51e Mark default switch cases as UNREACHABLE.
GitOrigin-RevId: 8d17b9d6981f23d45d140b0f5deaa12cff734abb
2018-09-05 21:07:50 +03:00
levlam
a9608ca379 Improve JavaScript example README.
GitOrigin-RevId: 4ea310d3c4fae50e39a85ac2db702ad6d0617995
2018-09-05 19:20:55 +03:00
Bannerets
69cb9028b8 Add JavaScript example 2018-09-05 18:52:23 +03:00
levlam
0ff0e1003d Add more framework/binding examples.
GitOrigin-RevId: f6603f39bfbe8992de4ee6d7731ab14c8d97dfa9
2018-09-05 18:05:53 +03:00
Mattia Basaglia
e0531cc682 Use standard escape sequences 2018-09-05 16:08:35 +03:00
levlam
6eeb441b0d Minor README fixes.
GitOrigin-RevId: 73c558434063ef39853b0317faf5c2f79ddc138f
2018-09-05 16:03:07 +03:00
Luca Montanari
5c4cdf699b Fixed ARM UWP Build with Visual Studio 2017 (#287)
* Fixed ARM UWP build configuration (Tested with VS2017)
2018-09-05 15:21:31 +03:00
levlam
6129ebf394 Improve message.id description.
GitOrigin-RevId: 6f73288153716ad399b00c8170212ef2008dc640
2018-09-05 15:08:42 +03:00
Sasha Koss
7dad9a36df Clarify the message id description (fixes #245)
Clarify that the message id is unique to the chat it belongs to.
2018-09-05 15:04:35 +03:00
levlam
c66cfc242d Fix WEBP spelling in ChangeLog.
GitOrigin-RevId: a25393f37d5512948f0de905be2a3cf18bdebe54
2018-09-04 22:53:39 +03:00
Sasha Koss
79d4eade83 Add missing <limits.h> so PATH_MAX would be available
It fixes an error that happens during building on Alpine Linux:

```
In file included from /tmp/td/tdutils/td/utils/port/path.cpp:7:0:
/tmp/td/tdutils/td/utils/port/path.h: In function 'td::Status td::walk_path(td::CSlice, Func&&)':
/tmp/td/tdutils/td/utils/port/path.h:167:21: error: 'PATH_MAX' was not declared in this scope
   curr_path.reserve(PATH_MAX + 10);
                     ^~~~~~~~
```
2018-09-04 21:52:20 +03:00
levlam
d9a18a064f Update version to 1.3.0.
GitOrigin-RevId: 769ebff9a53dcf5087ecf691eb1c52dac9a85f7a
2018-09-04 21:26:44 +03:00
levlam
3fc180e001 Make Emscripten addresses public.
GitOrigin-RevId: 3e380bb6336587b737db60a684ec64b456d813cb
2018-09-04 18:51:28 +03:00
Arseny Smirnov
84429d0617 SessionConnection: fix requesting of salt when Time::now() is close to zero
GitOrigin-RevId: cc585b4f8a5895964c24e947f855cc9248883961
2018-09-04 17:01:01 +03:00
Arseny Smirnov
cab28f2cc8 Emscripten: wss support
GitOrigin-RevId: 06ce89660769533f531726b74573a1a422be20d0
2018-09-03 19:53:52 +03:00
levlam
09712039f5 Add TDLib 1.3.0 Change Log.
GitOrigin-RevId: c6bf8e89e1969a5901fe055b1c56d5559df9d6d2
2018-09-04 17:38:08 +03:00
levlam
8e9da13546 Fix handling of updateShortSentMessage without media.
GitOrigin-RevId: 8b43a406e25de52d78e86f6dc18f8901f30a4d59
2018-09-04 17:26:13 +03:00
levlam
15856c0272 Local cache of language pack list.
GitOrigin-RevId: bb4e7cbbd82cee7367cfe60678782e0ff9563e1b
2018-09-04 15:01:08 +03:00
levlam
ad26781fbc Update language pack API.
GitOrigin-RevId: 252723bc424afb8e0eb3c1647198e302b23e10db
2018-09-04 04:29:26 +03:00
levlam
20d1e6902d Update Telegram Passport documentation.
GitOrigin-RevId: 1406f36c44b69bda5f29243bd6d874e83334d317
2018-09-04 02:44:05 +03:00
levlam
3d9a477404 Add overview of TDLib-based frameworks and applications.
GitOrigin-RevId: b15a9c4a23e6c6822ae99f6c6d091964dc16523d
2018-09-04 02:37:04 +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
a56f70c340 Safer init_openssl_threads.
GitOrigin-RevId: ecb7a2dbcf48aae55e611e7f95d0a1f0c4a8413d
2018-09-02 15:44:19 +03:00
levlam
6a2cb7a466 Make td::Log thread-safe.
GitOrigin-RevId: d1942c9b5ff72ea6ae100a0b4b65f1371f8ee534
2018-09-01 22:44:20 +03:00
levlam
642f5ed81a Use Windows line feeds in generated files on Windows.
GitOrigin-RevId: 53010ee7d1a3b88bedc3c0a5fd6914d31bb33c09
2018-09-01 17:00:28 +03:00
levlam
91365f20b5 Make fields non-static in UWP example.
GitOrigin-RevId: 7c30fc4926c0efc46e942e66ac30085f9331d7d0
2018-09-01 16:02:24 +03:00
levlam
523f4b9b26 Move logging of gaps in channels to INFO.
GitOrigin-RevId: 094a918973b02804f357e898378c55c147d02490
2018-09-01 15:55:29 +03:00
levlam
3022046858 Add td_api::editCustomLanguageInfo.
GitOrigin-RevId: df4919a0b4b781751be4f6eb60063ddd48560741
2018-08-31 20:18:12 +03:00
levlam
d125e11c58 Minor UWP example improvement.
GitOrigin-RevId: d4b911b02877b7c911d360daa384c029cc5a0cf3
2018-08-31 01:46:29 +03:00
levlam
cb165adf7c Check for SSL_CTX_set_default_verify_paths return code.
GitOrigin-RevId: 9f282b9c8ea7290588d45e310e667c05742041e9
2018-08-29 16:07:34 +03:00
levlam
8079285e5c Remove logging of OpenSSL internal errors.
GitOrigin-RevId: 1081cfb0efda59ac8bb08746b0b29fb1c39f299d
2018-08-29 15:35:05 +03:00
levlam
2b72a74ab7 Fix finishFileGeneration with error result.
GitOrigin-RevId: b4d766d6832820eb8480d09444a167bd11bc95a3
2018-08-29 13:44:21 +03:00
levlam
6439cf8567 Fix cleaning temoorary file.
GitOrigin-RevId: 68fbf33125dc874bd24b67acae426dc6accedbe9
2018-08-29 01:57:09 +03:00
levlam
5379348651 Improve some logging.
GitOrigin-RevId: ec0a2f01c45b1ae7a74cd407f5c867e609e47d1f
2018-08-28 05:52:43 +03:00
levlam
45d42b6417 Better logging.
GitOrigin-RevId: ba955bd72a80b58f451e97705d45ba06daffd420
2018-08-28 04:04:39 +03:00
levlam
754252f220 Fix and improve create_openssl_error.
GitOrigin-RevId: 039a5da5f3b2f4aafbf60ca541699f3e47fbb6b5
2018-08-28 02:06:56 +03:00
levlam
f9cbe247cd Add Wdeprecated flag.
GitOrigin-RevId: 8aa900d7103efd0207f7f0fcb09e3bd2b7387564
2018-08-28 01:08:51 +03:00
levlam
692bc1f26d Fix leakage of a too big temporary file in HttpReader.
GitOrigin-RevId: b9bc7646013206fb30490cfb24e939eadb15e9c3
2018-08-27 15:52:47 +03:00
levlam
d8f66f8a8e Minor fixes.
GitOrigin-RevId: 01b7c4015a8a4ee30c06b977363889d38a65bfd4
2018-08-26 11:08:45 +03:00