Commit Graph

532 Commits

Author SHA1 Message Date
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
levlam
db5d5da09b Update Java example to the latest TDLib version. 2023-08-16 00:44:12 +03:00
levlam
cde095db6c Update version to 1.8.16. 2023-08-15 18:11:16 +03:00
levlam
a7f8ff6eef Fix Java interface with SplitSource. 2023-08-07 01:47:43 +03:00
levlam
64264b0f77 Update OpenSSL to 3.1.2 in iOS example. 2023-08-03 15:12:43 +03:00
Vincent Neo
6a6cd8af76 update example to build openssl 3.1.1 2023-07-31 00:57:28 +03:00
levlam
2e5319ff36 Update version to 1.8.15. 2023-07-20 22:24:40 +03:00
levlam
bee41cd769 Remove deleted C# library from the list of examples. 2023-07-20 18:08:00 +03:00
levlam
98352f5571 Fix warning NU5128. 2023-06-28 00:42:35 +03:00
levlam
c62c84665a Update sendMessage usages in tests and examples. 2023-06-12 15:30:07 +03:00
Fela Ameghino
90c36b602c Fixed hardcoded architecture in targets 2023-05-22 17:12:50 +03:00
Marco Melorio
caac73c680
Update Telegrand name and link. (#2438) 2023-05-18 15:02:16 +03:00
levlam
7bb96fd575 Use specific vcpkg version in C# and UWP example READMEs. 2023-05-10 16:36:52 +03:00
levlam
4d9dc914be Exit UWP build early if TDLib build failed. 2023-05-03 14:46:03 +03:00
levlam
36a45607f2 Use lazy initialization for Java class identifiers to avoid global reference table overflow on some Android 4 devices. 2023-04-26 17:15:53 +03:00
levlam
419a28125b Remove finalizer from Java Client. 2023-04-26 16:15:44 +03:00
levlam
132566b393 Exit check-environment script if make installation is unsupported. 2023-04-25 19:55:44 +03:00
levlam
8517026415 Update version to 1.8.14. 2023-04-21 13:15:29 +03:00
levlam
be3c2c8c5d Add link to a Golang wrapper. 2023-03-28 15:28:23 +03:00
levlam
9692ecf25b Update default OpenSSL versions in examples. 2023-03-26 22:36:09 +03:00