Commit Graph

445 Commits

Author SHA1 Message Date
levlam
cbc7149824 Use only basic ASCII in Python example. 2021-12-28 04:06:45 +03:00
levlam
bfd2c6aa32 Use a decorator in the Python example instead of explicit cast. 2021-12-28 04:01:04 +03:00
levlam
84b1d32625 Set log message callback only for fatal messages in Python example. 2021-12-27 18:19:19 +03:00
levlam
26d2ee649d Add some missing new lines at the end of files. 2021-12-27 14:03:50 +03:00
levlam
b4925dc4d2 Mention that sed, tar and wget utilities are required to build tdweb. 2021-12-27 00:34:14 +03:00
levlam
4791fb6a2a Update version to 1.7.11. 2021-12-23 23:02:19 +03:00
levlam
4eaae33068 Improve Java example README. 2021-12-19 18:10:59 +03:00
levlam
1f68217399 Update C++ example to 1.7.10. 2021-12-19 13:16:00 +03:00
levlam
5587f10eba Expect different Homebrew install paths on Apple silicon/Intel. 2021-12-19 01:17:39 +03:00
levlam
059fe9911e Documentation improvements. 2021-12-17 16:28:14 +03:00
levlam
5a22865f7c Begin all Bash scripts with "cd $(dirname $0)". 2021-12-08 19:43:21 +03:00
levlam
a53cb30e99 Update version to 1.7.10. 2021-12-07 13:11:28 +03:00
Sebastian
505fed00bd Update python example: Use sys.exit for quitting
automatically sends the message to `stderr` and sets the exit-code to 1
`quit` is only for exiting the interpreter, use the recommended `sys.exit`
2021-11-18 17:04:28 +03:00
levlam
7d41d9eaa5 Update version to 1.7.9. 2021-11-05 03:34:52 +03:00
levlam
ad2cc6e534 Use ClientManager instead of Client in ClientDotNet. 2021-09-27 21:43:14 +03:00
levlam
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
levlam
9d74962296 Enable CMP0065 policy in all projects. 2021-10-07 17:35:41 +03:00
levlam
724397dfbd Add tdgrand to the list of examples. 2021-09-26 09:52:18 +03:00
levlam
b9303bf13c Add Telegrand to the list of Rust examples. 2021-09-24 19:42:40 +03:00
levlam
61c3a2bcf5 Remove TD_EXPERIMENTAL_WATCH_OS. 2021-09-24 13:41:22 +03:00
levlam
a7dcbe8c18 Update version to 1.7.8. 2021-09-19 20:55:47 +03:00
levlam
1da2ef7cb1 Remove usage of the deprecated openssl-uwp vcpkg package. 2021-09-08 22:36:31 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
8f97a6dc00 Recommend installing gperf through vcpkg in examples. 2021-09-15 10:00:34 +03:00
levlam
964a3e1d08 Add Swiftgram/TDLibKit to the list of examples. 2021-09-12 09:08:53 +03:00
levlam
077ed42507 Improve README and the build instructions generator. 2021-09-06 14:12:11 +03:00
levlam
0ec10947d5 Fix some misprints. 2021-09-06 13:58:40 +03:00
levlam
bd4a49b80e Improve iOS example README. 2021-09-06 13:58:13 +03:00
levlam
5efe95a2e0 Remove "Installing dependencies" section from README in favor of build instructions generator. 2021-09-06 13:29:44 +03:00
levlam
f79223e2ac Simplify ios/build.sh. 2021-09-06 10:37:58 +03:00
Sergey
ab4736df28
M1 support (#1620)
* Support Arm64 simulator targets (M1)

* Combine dylibs to xcframework

* Update Python-Apple-support urls

* Update Readme
2021-09-03 09:25:14 +03:00
levlam
7135caa2be Update version to 1.7.7. 2021-09-02 12:39:05 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
438ae78e8a Enable some CMake policies in Java example. 2021-09-01 19:25:00 +03:00
levlam
d49fdf3261 Remove offset from getChats and respect app-specified limit. 2021-08-11 15:59:09 +03:00
levlam
b002c2d4a8 Use loadChats instead of getChats in examples. 2021-08-10 18:09:51 +03:00
levlam
6c0a5823b5 Remove mentions of deprecated public interfaces from README. 2021-08-07 09:59:49 +03:00
levlam
85fc9065fd Update version to 1.7.6. 2021-07-26 21:31:35 +03:00
levlam
0cb89f11a6 Improve aiotdlib description. 2021-07-26 21:26:04 +03:00
pylakey
ef69d17f0e
* Added aiotdlib in python examples (#1618) 2021-07-26 21:20:05 +03:00
Sergey
1a472ae415
Clarify importance of generated files on non-macOS builds (#1600) 2021-07-16 00:53:22 +03:00
levlam
370d443a9d Explicitly specify inheritance mode. 2021-07-04 18:22:20 +03:00
levlam
24e5803b96 Update version to 1.7.5. 2021-07-02 03:30:39 +03:00
levlam
b60c443edd Remove non-working link to Luagram project. 2021-06-11 01:47:06 +03:00
levlam
8db4febd4c Minor improvements. 2021-06-02 15:43:56 +03:00
levlam
3d28aaca62 Use Td.Client.SetLogMessageCallback in UWP example. 2021-05-20 03:51:33 +03:00
levlam
9ad1b3b49a Use set_log_message_callback in Java example. 2021-05-18 16:36:11 +03:00
levlam
e31ec28c30 Python example: use td_set_log_message_callback instead of td_set_fatal_error_callback. 2021-05-18 15:49:21 +03:00
levlam
445183e52c Simplify UWP build script. 2021-05-11 03:24:47 +03:00
Fela Ameghino
32fe6456e6
Use RelWithDebInfo for UWP package (#1467)
* Added -release_only flag for RelWithDebInfo
2021-05-10 23:41:32 +03:00
levlam
5bd0c2c46d Update version to 1.7.4. 2021-04-14 15:20:44 +03:00
Sprite
0d1c310e32
Fix memory leak of "handlers_" in cpp example (#1464) 2021-03-28 04:46:30 +03:00
Arseny Smirnov
258b6dd3bd use TD_EXPERIMENTAL_WATCH_OS=ON in example/ios 2021-03-26 18:09:13 +03:00
Arseny Smirnov
f866729415 update architectures for watchOS in example/ios 2021-03-26 18:04:25 +03:00
levlam
302e5940d4 Update version to 1.7.3. 2021-03-19 15:30:40 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
b348e4e1bc Update version to 1.7.2. 2021-02-25 16:09:55 +03:00
levlam
9c478e21e7 Improve example README. 2021-02-18 13:24:01 +03:00
aCLr
cf5eb35ece
change rust-tdlib link (#1421) 2021-02-18 13:20:40 +03:00
levlam
312e3b740a Update version to 1.7.1. 2021-01-28 22:18:33 +03:00
levlam
f37f9a78c1 Fix chat list printing in Java example. 2021-01-18 14:07:06 +03:00
levlam
09512926a6 Remove duplicate copyright header. 2021-01-01 15:59:29 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
03c22f2866 Add Fernschreiber to list of examples. 2020-12-16 12:54:56 +03:00
levlam
9a4ab8fc23 Update documentation. 2020-12-05 22:10:58 +03:00
levlam
eb80924dad Update version to 1.7.0. 2020-11-28 17:00:17 +03:00
droppo
b151db4e3b
Update README.md (#1308) 2020-11-23 20:39:18 +03:00
levlam
cd82d3d888 Add new wrapper and usage examples. 2020-11-18 17:38:55 +03:00
levlam
56bba7c731 Fix misprint. 2020-11-16 18:36:09 +03:00
levlam
78e45da6b9 Use array instead of std::vector in the generated C++ classes. 2020-11-15 19:57:03 +03:00
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
levlam
21f6ddc6fb Fix fatal error handler in Python example. 2020-11-15 00:41:29 +03:00
levlam
66af1a439a Use getOptions as first request. 2020-11-14 23:00:05 +03:00
levlam
cde8acf230 Use new JSON interface in Swift example. 2020-11-14 22:45:18 +03:00
levlam
583a8f41d6 Python example: encode strings to UTF-8 before printing to mitigate possible encoding errors. 2020-11-13 23:49:33 +03:00
levlam
0e824976fc Use new JSON interface in Python example. 2020-11-13 21:23:32 +03:00
levlam
00abe2f401 Use ClientManager in C++ example. 2020-11-13 19:22:57 +03:00
levlam
012353aef5 Update JSON C++ example. 2020-11-13 19:16:11 +03:00
levlam
f5dadbb1e5 Automatically install dependent DLLs on Windows. 2020-11-12 17:32:48 +03:00
levlam
5ce7448f7a Send a dummy request to initialize client. 2020-11-12 16:53:51 +03:00
levlam
5c5f3bece5 Fix C++ example. 2020-11-04 21:35:38 +03:00
levlam
b433905bb0 Increase version to 1.6.10.
GitOrigin-RevId: 5b448003c89f845050293a9fceb6a89cd8399ca7
2020-10-30 21:09:08 +03:00
levlam
e32e1c66e7 Add td_api::MessageSender class.
GitOrigin-RevId: 082a1e74188bffc590c4a4182793a9d94b60c148
2020-10-13 19:40:22 +03:00
Arseny Smirnov
add7211707 tdweb: 1.6.9
GitOrigin-RevId: e1124a86c021c43c42ad00dc18dc9db0cbcacad1
2020-10-20 22:23:52 +03:00
Nikolay Nechaev
cecdae448e
Update td_example.cpp (#1254)
Read the whole password, not only the first word from it
2020-10-18 19:25:43 +03:00
levlam
358c0f2249 Add clientCount in Java example.
GitOrigin-RevId: 7b7dfcf77de1ab1db55dd42642b59f5b039943cb
2020-10-13 15:39:17 +03:00
levlam
6b1f6b829d Add Object Pascal to build instructions generator.
GitOrigin-RevId: 2c05c0571a01caab103e04d588c8b3aca38c3139
2020-10-12 14:50:41 +03:00
Ruan Diego Lacerda Menezes
f05b0a833d
Add Object Pascal language to readme (#1229) 2020-10-12 14:34:16 +03:00
levlam
966621376b Use new JSON interface in cpp example.
GitOrigin-RevId: b92842c8ca490877a3154cd04fe9c4cea0e76ee2
2020-10-12 13:58:01 +03:00
levlam
6e9a2cb395 Update recommended Emscripten version.
GitOrigin-RevId: 99502278d1de3bdc78eae343bffd991505cacfa9
2020-10-12 01:10:55 +03:00
levlam
919848f0fe Use ClientManager for Java example interface implementation.
GitOrigin-RevId: 4280b6407a1c1a18bf2a6e952f6761847b69cb83
2020-10-11 21:28:33 +03:00
levlam
78b19d949f Fix on_fatal_error in Java example.
GitOrigin-RevId: 09b6463518e391a70918685205236ffa59a9a121
2020-10-11 14:20:26 +03:00
levlam
4ad90cecc6 Fix Client close waiting in C# example.
GitOrigin-RevId: 411fb84b3f7b4840381962db4e761a04db464182
2020-10-11 11:48:42 +03:00
levlam
29cd47f01a Fix Client close waiting in Java example.
GitOrigin-RevId: e5fa246b26b6477da4b3e3ec7444aa5e3e6c7bb2
2020-10-11 11:13:30 +03:00
Arseny Smirnov
00049a842a tdweb: temporary fix to access Module.FS before promise is completed
GitOrigin-RevId: 32af58ee1994919c75d50f8a2da2643a20bf166c
2020-10-09 19:40:13 +03:00
Arseny Smirnov
04c9680c53 tdweb: preformance bugfixes
GitOrigin-RevId: 626f2cb111f5e47254e6b155bc9bd4f7b2d42829
2020-10-08 16:14:46 +03:00
Arseny Smirnov
5926e00320 tdweb works with newest emsdk
GitOrigin-RevId: b52ab5d9e182e1a689933d7a44d3306f0c9151e5
2020-10-08 14:02:53 +03:00
levlam
6d1d227609 Use new JSON interface in Emscripten.
GitOrigin-RevId: 5294d98c5f615256ea41887c04f863d1adaf4de1
2020-10-08 02:52:34 +03:00
levlam
8460bb7cd5 Fix tdweb build.
GitOrigin-RevId: 8f348a00d05336163c7ea4214ab35a4aea2d2b65
2020-10-08 02:12:51 +03:00
levlam
b204ad4ee1 Store default exception handlers as static map in Java example.
GitOrigin-RevId: 5745859a70250d104a21edad473b655967060609
2020-10-05 21:31:27 +03:00