Commit Graph

557 Commits

Author SHA1 Message Date
levlam
ff91aa0192 Build and install only OpenSSL libraries in iOS example. Fixes #2152. Update OpenSSL to 1.0.2u. 2022-10-05 14:31:02 +03:00
levlam
23df775c56 Remove bitcode from iOS/tvOS/watchOS binaries as required by https://developer.apple.com/documentation/Xcode-Release-Notes/xcode-14-release-notes. 2022-09-30 14:57:03 +03:00
levlam
15db91b536 Update version to 1.8.6. 2022-09-16 21:38:09 +03:00
levlam
4d5625a06f Explicitly load tdjni in Client.java and TdApi.java. 2022-09-08 14:27:07 +03:00
levlam
612afe63fe Update Java example. 2022-09-08 13:47:16 +03:00
levlam
ed8e11774c Update Swift example. 2022-09-08 13:11:35 +03:00
levlam
a81d3768b4 Update Python example. 2022-09-08 13:11:08 +03:00
levlam
ffdef31e0b Update UWP example. 2022-09-08 12:34:33 +03:00
levlam
d14e3274fd Update C# example. 2022-09-08 12:24:56 +03:00
levlam
8d32a1e143 Update С++ example. 2022-09-08 00:41:35 +03:00
levlam
f6a2ecdded Inline tdlibParameters in setTdlibParameters. 2022-09-07 22:19:08 +03:00
levlam
287cceb162 Remove separate authorizationStateWaitEncryptionKey. 2022-09-07 21:27:23 +03:00
levlam
e49135e542 Use 32-bit native build in UWP example. 2022-08-16 13:28:34 +03:00
levlam
d2348e3c97 Android example: avoid usage of case, which doesn't seem to work in outdated default bash on macOS. 2022-08-15 10:33:15 +03:00
levlam
b52e3e0e12 Add check for JDK to be actually installed. macOS has dummy /usr/bin/java. 2022-08-15 01:00:19 +03:00
levlam
bcd89728c3 Android example: improve AddIntDef.php. 2022-08-14 16:26:40 +03:00
levlam
3ea8255b42 Android example: avoid using of unsupported API versions with new NDK. 2022-08-14 15:24:40 +03:00
levlam
916a5f5848 Android example: change working directory after resolving relative paths. 2022-08-14 13:23:09 +03:00
levlam
d914505ea8 Explicitly specify jar files to Javadoc. 2022-08-13 14:26:52 +03:00
levlam
907e323f47 Use cmake and ninja from Android NDK. 2022-08-13 14:04:47 +03:00
levlam
89c79be45c Android example: quietly generate javadoc. 2022-08-13 12:20:37 +03:00
levlam
eca8cf94f4 Android example: improve checks for existence of output directory. 2022-08-13 10:37:16 +03:00
levlam
d1a6595c20 Allow to specify custom path for prebuilt Android OpenSSL. 2022-08-13 10:31:41 +03:00
levlam
bb6bd4244f Improve name of OPENSSL_VERSION argument. 2022-08-12 22:08:48 +03:00
levlam
9a469eef31 Minor fixes. 2022-08-12 18:39:36 +03:00
levlam
86294f246e Mention c++_shared in Android README. 2022-08-12 17:20:58 +03:00
levlam
0271bf0be0 Support c++_shared build in Android example. 2022-08-12 15:05:18 +03:00
levlam
f43859a3b7 Define HOST_ARCH in check-environment.sh. 2022-08-12 14:11:45 +03:00
levlam
77a8cc6499 Check argument correctness in Android build scripts. 2022-08-12 11:29:28 +03:00
levlam
de8c41a17b Add .gitignore for Android example. 2022-08-12 10:34:14 +03:00
levlam
daebae9183 Add check for glibc presense on Linux. 2022-08-12 00:51:15 +03:00
levlam
c24ed30d5b Use the current directory as classpath for javadoc. Multiple classpath
directory support seems to be broken in newer javadoc.
2022-08-11 20:38:10 +03:00
levlam
eef6f6cfa0 Fix javadoc usage. 2022-08-11 20:11:31 +03:00
levlam
5479c640fe Add example of building TDLib for Android. 2022-08-11 18:18:48 +03:00
levlam
d9cfcf88fe Update version to 1.8.5. 2022-07-31 03:19:36 +03:00
levlam
fdbd438f7f Update a link in example README. 2022-07-29 18:25:22 +03:00
levlam
376476481c Restore Java example compatibility with Java 1.8. 2022-07-21 20:44:22 +03:00
levlam
327babb851 Fix Java example for old Java versions. 2022-07-15 13:58:04 +03:00
levlam
abc9ed2cd9 Minor fixes. 2022-07-14 18:38:48 +03:00
levlam
1dec0e203c Add Java example of fatal error handler. 2022-07-08 18:44:09 +03:00
levlam
9a58bc03ab Fix Java example formatting. 2022-07-08 16:12:31 +03:00
levlam
d94a750685 Remove deprecated for more than 3 years Log.java from example. 2022-07-08 15:08:50 +03:00
levlam
89aaf648fc Add Client.setLogMessageHandler to Java example. 2022-07-08 15:01:38 +03:00
levlam
76080dfb1c Update example list. 2022-07-05 22:10:37 +03:00
Devesh Pal
ee52de1d5e
Remove tdlib dart package url (#2016)
* Remove tdlib dart package url

it redirects to 404 page
2022-06-21 15:30:24 +03:00
levlam
7eabd8ca60 Update version to 1.8.4. 2022-06-19 19:51:00 +03:00
levlam
8edd406dea Explicitly specify charset for javadoc. 2022-06-16 16:12:51 +03:00
levlam
3edf14b64e Explicitly specify encoding for javac and javadoc. 2022-06-04 23:22:01 +03:00
levlam
054a823c1a Update version to 1.8.3. 2022-04-16 06:02:10 +03:00
Marco Melorio
1d15bafb50 Update renamed tdlib rust lib.
The tdgrand library has been renamed to just 'tdlib'.
2022-03-19 22:17:32 +03:00
levlam
3f54c301ea Update version to 1.8.2. 2022-03-15 20:09:29 +03:00
levlam
2a44a0f357 Add G graphical programming language to build.html. 2022-03-11 13:46:45 +03:00
Ivan Lis
b9e0d07e07 Update README.md
Add TDLib bindings for LabVIEW
2022-03-11 13:40:35 +03:00
levlam
242801a2f3 Improve boolean fields documentation. 2022-03-10 21:58:16 +03:00
levlam
92c2a9c4e5 Update version to 1.8.1. 2022-01-31 22:07:31 +03:00
levlam
1d1bc07ede Allow cmake to choose default architecture in UWP SDK build script to use ARM64 on ARM64. 2022-01-13 13:11:32 +03:00
Mammad
3f4c79dc80 Update tdweb version to 1.8.0 in package-lock.json 2022-01-25 16:06:24 +03:00
Arseny Smirnov
c485b77b5e support newest emsdk version 2022-01-25 16:00:21 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
ca14dfe7ad Update tdweb version to 1.8.0. 2021-12-30 11:45:38 +03:00
levlam
b3ab664a18 Update version to 1.8.0. 2021-12-29 17:38:20 +03:00
levlam
a69030239c Update version to 1.7.12. 2021-12-28 04:19:41 +03:00
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