Commit Graph

551 Commits

Author SHA1 Message Date
levlam
91ac878840 Improve relative paths in .gitignore. 2024-05-31 01:17:34 +03:00
levlam
02eae9bf86 Add .gitignore to Python example. 2024-05-31 01:16:38 +03:00
levlam
3c8ceaeeed Delete also class-file directory before building in Java example. 2024-05-30 22:52:54 +03:00
levlam
b336bf524a Generate documentation only for specific files in Java example. 2024-05-30 22:49:04 +03:00
levlam
7cab37afe7 Remove docs directory before generation of new documentation in Java example. 2024-05-30 22:16:03 +03:00
levlam
fab354add5 Update version to 1.8.30. 2024-05-28 00:09:39 +03:00
levlam
2003d0a4e3 Update base Docker Android build Ubuntu image to 24.04. 2024-05-14 00:08:17 +03:00
levlam
54db619b91 Increase minimal supported commit for Android docker build, because SDK platform must be the same. 2024-05-13 23:07:04 +03:00
levlam
f28fa6a860 Add example of building TDLib for Android with JSON interface. 2024-05-13 21:54:55 +03:00
levlam
2ede408570 Android example: use build-tools for Android 34 and add support for NDK 26+. 2024-05-13 16:01:28 +03:00
levlam
02a096fcbe Update Android command line tools version. 2024-05-13 15:58:03 +03:00
levlam
af69dd4397 Update version to 1.8.29. 2024-05-04 02:45:54 +03:00
levlam
38d31da77a Update version to 1.8.28. 2024-04-21 03:29:55 +03:00
levlam
efc6bd553b Update version to 1.8.27. 2024-03-31 19:24:45 +03:00
levlam
23c7a6caee Improve visionOS support. 2024-03-11 22:41:06 +03:00
Vincent Neo
d326e32a84 Rename xrOS to visionOS 2024-03-11 22:33:56 +03:00
Vincent Neo
874796ef24 build tdlib for xros/visionos 2024-03-11 22:33:56 +03:00
Vincent Neo
d57fdc5155 Support building for xrOS targets
based on openssl-3.1.1 build script.
2024-03-11 22:33:56 +03:00
levlam
b3b63bbdc1 Update version to 1.8.26. 2024-03-08 14:33:22 +03:00
levlam
8c82a19ca9 Improve README wording. 2024-02-27 00:40:47 +03:00
Vyacheslav
d0ff90bb19 Replace noinspection instruction with proper @SuppressWarnings annotation
`//noinspection unchecked` suppresses unchecked cast warning only in the IDE. `@SuppressWarning` annotation properly suppresses both IDE and the compiler warnings.
2024-02-16 11:26:46 +03:00
levlam
d93a99e335 Update version to 1.8.25. 2024-02-16 01:00:29 +03:00
levlam
2a8156a1bc Add registerUser.disable_notification. 2024-01-29 16:43:42 +03:00
levlam
c5c55092dd Update version to 1.8.24. 2024-01-27 03:43:28 +03:00
levlam
562374088c Remove setTdlibParameters.enable_storage_optimizer/ignore_file_names parameters in favor of "use_storage_optimizer" and "ignore_file_names" options. 2024-01-11 13:54:23 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
27c3eaeb49 Update version to 1.8.23. 2023-12-28 00:36:12 +03:00
levlam
1a50ec474c Use tdjson.dll only on Windows. 2023-12-10 14:05:35 +03:00
levlam
0b1a1855a9 Use full path for tdjson.dll in Python example. 2023-12-10 13:13:07 +03:00
levlam
24893faf75 Update version to 1.8.22. 2023-12-01 23:19:05 +03:00
levlam
9096e646b8 Minor improvements. 2023-11-30 18:26:33 +03:00
levlam
40142a45a0 Update tdweb documentation. 2023-11-23 15:50:07 +03:00
levlam
1400aeeb36 Update name of linked OpenSSL DLLs in examples. 2023-11-28 21:09:44 +03:00
levlam
7db2a64959 Update pinned vcpkg commit hash. 2023-11-26 11:10:08 +03:00
levlam
8cfcce6de2 Improve spelling in documentation. 2023-11-15 16:53:38 +03:00
levlam
3870c29b15 Update version to 1.8.21. 2023-11-06 20:52:28 +03:00
levlam
450a00a8a8 Remove mentions of unused NullPointerException. 2023-10-30 21:45:26 +03:00
levlam
f1efac5caf Update Java example to use type-safe Client.Execute. 2023-10-30 21:38:00 +03:00
levlam
4eaa1674d6 Fix Exception class name and base class. 2023-10-30 21:36:29 +03:00
levlam
3841420014 Fix Client.execute Java documentation. 2023-10-30 21:32:34 +03:00
levlam
d16fc8294c Add td_api::linkPreviewOptions. 2023-10-16 20:12:33 +03:00
Vyacheslav
dd77e4628f Strong typed API for synchronous TDLib method execution in Java interface
`Client.execute` in Java interface is now strongly typed: returned TDLib object type depends on the return type defined in the corresponding Function class.

When TDLib error is occurred, method now throws `Client.ExecutionError`.

This change adds compile-time protection against return type change and allows using this pattern:

```
try {
  TdApi.SpecificReturnType result = Client.execute(function);
  // work with strongly typed resultl without casting and type checks
} catch (Client.ExecutionError error) {
  // Handle error
}
```
2023-10-26 13:15:37 +03:00
AYMEN Mohammed
522d54483c Remove outdated ENVIROMENT variable from tdweb worker. 2023-10-19 11:57:14 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
4ed0b23c9c Update version to 1.8.20. 2023-10-13 00:45:38 +03:00
levlam
9289270cd9 Close databases and binlog on another thread. 2023-10-05 21:50:53 +03:00
levlam
2589c3fd46 Update version to 1.8.19. 2023-09-22 16:22:03 +03:00
levlam
100ca72b91 Update version to 1.8.18. 2023-09-13 18:14:23 +03:00
levlam
edc528457f Update version to 1.8.17. 2023-09-06 15:37:41 +03:00
levlam
8a6f68f3a2 Find only JVM component of JNI in CMake 3.24+ by @cavallium. 2023-09-06 11:51:47 +03:00