Commit Graph

1116 Commits

Author SHA1 Message Date
levlam
fc0cbae579 Fix some includes.
GitOrigin-RevId: 9b36a638202fb8b34e13494efd6b4a48ff7f4845
2018-09-10 04:08:15 +03:00
levlam
a2846362a0 Remove copy-paste in socket initialization.
GitOrigin-RevId: f4de36f6ec62378adc2cc0a7b7ad7afdd6b0573f
2018-09-10 02:51:58 +03:00
levlam
943fc13900 Move PollFlags to separate header.
GitOrigin-RevId: 5c97229d6c29fb281c6c1100530b14bcc1aaa827
2018-09-10 02:37:05 +03:00
levlam
5260fa4ef9 Move skip_eintr to detail.
GitOrigin-RevId: f9898af5691b7fda7e0036de4ede6f17e281c657
2018-09-10 02:16:42 +03:00
levlam
cfea83b4c5 Move set_is_blocking method to NativeFd.
GitOrigin-RevId: 09040e5993647fb6626917bd3b07421e9a717af3
2018-09-10 02:08:12 +03:00
levlam
fd90bf435e A lot of fixes.
GitOrigin-RevId: c7c16991da51e09a685537a444385852e8e93af4
2018-09-07 03:41:21 +03:00
Arseny Smirnov
cfcc08ebb7 Bugfix
GitOrigin-RevId: 1c0efe4d8f3da9cfe328fc0f78c323d08d60fbb6
2018-08-17 18:48:32 +03:00
Arseny Smirnov
5923d6d41b tg_cli works under windows
GitOrigin-RevId: 30810ab2d69390c5ec842cfffd686bfa2043ef59
2018-08-17 17:00:44 +03:00
Arseny Smirnov
bf15a5ac12 tg_cli works under posix
GitOrigin-RevId: 632e05de183a55b045f74e09ca8d41060f55ad41
2018-08-17 16:41:51 +03:00
Arseny Smirnov
180de003a6 IOCP: pass tests under windows
GitOrigin-RevId: bbb13f722c911609e7cf120e7a06e02eb13c616f
2018-08-17 12:19:21 +03:00
Arseny Smirnov
9d1a1a1155 tdactors: IOCP draft
GitOrigin-RevId: eec85d677d808db336340d2667dca298493dd4a8
2018-08-16 17:29:13 +03:00
Arseny Smirnov
44be8d2ea3 Scheduler: send from other thread
GitOrigin-RevId: 3448a047001c257bcfb4792135d2e332410c85e8
2018-08-16 16:56:16 +03:00
Arseny Smirnov
8a28e4b461 Almost compiles
GitOrigin-RevId: aad536022caddba0446a761e7ab1f3b4ac64f53b
2018-08-14 10:42:40 +03:00
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