Commit Graph

205 Commits

Author SHA1 Message Date
Andrea Cavalli
55436cd354 TDLight Java 2 2021-09-27 19:27:13 +02:00
Andrea Cavalli
bd8b7af73a Remove null check 2021-09-23 12:04:10 +02:00
Andrea Cavalli
fb7042d44f Add support for java 8, 9. Add support for ppc64, s390x, armhf 2021-09-15 14:53:23 +02:00
Andrea Cavalli
bb4a6d32ca Fix module-info 2021-07-24 22:33:35 +02:00
Andrea Cavalli
873901a5d8 Update dependencies 2021-05-09 22:59:03 +02:00
Andrea Cavalli
9dba2c7071 Re-add Java 8 support, update tdlib and tdlight 2021-05-05 13:10:28 +02:00
Andrea Cavalli
a855b4fdba Bugfix 2021-04-18 23:27:23 +02:00
Andrea Cavalli
4394fd56be FIx imports 2021-04-07 21:55:08 +02:00
Andrea Cavalli
5b3d0117cd Fix module-info 2021-04-07 20:00:17 +02:00
Andrea Cavalli
69e8e744cf Refactor internal classes 2021-04-07 19:48:10 +02:00
Andrea Cavalli
4611461b3e Use sleep on non-x86 architectures to avoid high cpu usage 2021-04-03 02:35:31 +02:00
Andrea Cavalli
d666363b41 Add more trace logs, fix some edge cases 2021-03-31 04:33:39 +02:00
Andrea Cavalli
ad8d48ecb1 Filter out generated error messages during shutdown 2021-03-06 17:27:08 +01:00
Andrea Cavalli
2339ae7284 Fix concurrency errors 2021-02-25 23:36:49 +01:00
Andrea Cavalli
a2bf050742 Fix initialization race condition 2021-02-25 11:19:14 +01:00
Andrea Cavalli
b9709313bd Add a reactive telegram client interface 2021-02-13 17:41:54 +01:00
Andrea Cavalli
e45c88da2a Update CommonClientManager 2021-02-03 20:16:46 +01:00
Andrea Cavalli
5c77e88ea3 Drop java 8 support in favor of Java 11 to improve performance in the busy wait loop. 2021-01-25 20:15:36 +01:00
Andrea Cavalli
417ea0c41e Update InternalClient.java 2021-01-24 18:25:53 +01:00
Andrea Cavalli
3448e980b4 Prevent calls to uninitialized client 2021-01-24 18:23:23 +01:00
Andrea Cavalli
124f4942cd Use slf4j 2021-01-24 18:11:25 +01:00
Andrea Cavalli
bbf7cd9275 Update InternalClientManager 2021-01-24 18:02:00 +01:00
Andrea Cavalli
b6de3cf3bb Bugfix 2021-01-24 17:35:14 +01:00
Andrea Cavalli
51516f9d54 Avoid bug in tdlib by predicting the next client identifier 2021-01-24 17:22:38 +01:00
Andrea Cavalli
35e3b7748d Update to version 4. Change client creation method, add .initialize(handlers) 2021-01-24 13:19:13 +01:00
Andrea Cavalli
a1e2e00c60 Return ok when executing "TdApi.Close", if already closed 2021-01-15 21:09:50 +01:00
Andrea Cavalli
aab1177b34 Change libs cache directory 2021-01-10 19:06:47 +01:00
Andrea Cavalli
b431a6335a Separate different natives versions 2021-01-10 19:03:54 +01:00
Andrea Cavalli
fe36e6912c Move to github actions 2020-12-29 23:38:50 +01:00
Andrea Cavalli
d1766ed0e8 Remove again initialization lock 2020-11-15 23:38:30 +01:00
Andrea Cavalli
8bec749d64 Update CommonClientManager.java, pom.xml, and pom.xml 2020-11-15 22:42:12 +01:00
Andrea Cavalli
356e235beb Update CommonClientManager.java and InternalClientManager.java 2020-11-15 20:50:23 +01:00
Andrea Cavalli
c156313fee Fix race condition 2020-11-15 20:39:45 +01:00
Andrea Cavalli
83561e1d1b Update ResponseReceiver.java 2020-11-15 20:11:37 +01:00
Andrea Cavalli
e87ddb4d20 Levlam race condition still persists 2020-11-15 20:10:54 +01:00
Andrea Cavalli
69e0b7d2c0 Levlam race condition fix 2020-11-14 11:12:52 +01:00
Andrea Cavalli
73606957e7 Update InternalClient.java 2020-11-12 13:01:22 +01:00
Andrea Cavalli
2829f8c089 Update LoadLibrary.java, pom.xml, and pom.xml 2020-10-29 17:17:23 +01:00
Andrea Cavalli
38ccacd18a Update LoadLibrary.java 2020-10-29 15:04:47 +01:00
Andrea Cavalli
9bbb59695a Update LibraryVersion.java, LibraryVersion.java, and 3 more files... 2020-10-29 14:59:34 +01:00
Andrea Cavalli
bed2064694 Update InternalClientManager.java and ResponseReceiver.java 2020-10-14 19:16:21 +02:00
Andrea Cavalli
11ce142716 Change errors behavior 2020-10-13 23:22:21 +02:00
Andrea Cavalli
9dd625a1d7 Client initialization lock 2020-10-13 18:47:54 +02:00
Andrea Cavalli
167bac99e7 Removed debug leftovers 2020-10-13 18:39:23 +02:00
Andrea Cavalli
fe8bfd17e0 Fix race condition 2020-10-13 18:33:06 +02:00
Andrea Cavalli
2647bd0d70 Update InternalClient.java 2020-10-13 15:51:35 +02:00
Andrea Cavalli
bbedd3734b Add fallback for unregistered clients 2020-10-13 15:12:13 +02:00
Andrea Cavalli
4c2cdfef12 Update InternalClientManager.java 2020-10-13 04:10:20 +02:00
Andrea Cavalli
ce68fb92f8 Update ResponseReceiver.java 2020-10-13 03:00:17 +02:00
Andrea Cavalli
f38fe387a6 Rename implementation and improve README 2020-10-13 02:02:24 +02:00
Andrea Cavalli
0fd22c61f4 New api 2020-10-13 01:31:32 +02:00
Andrea Cavalli
4d51b63737 Update API 2020-10-12 18:48:49 +02:00
Andrea Cavalli
85a6f6c608 Update TdApi.java 2020-10-12 00:16:13 +02:00
Andrea Cavalli
176ddb94c6 Update LibraryVersion.java, LibraryVersion.java, and LoadLibrary.java 2020-10-11 19:48:52 +02:00
Andrea Cavalli
bee3e185f7 Merge tdlib and tdlight branches into a single source directory 2020-10-11 16:27:57 +02:00
Andrea Cavalli
e998358642 Rename package 2020-10-11 12:41:29 +02:00
Andrea Cavalli
1c5650ae2e Update Init.java 2020-10-09 03:46:38 +02:00
Andrea Cavalli
03597d91be Update Init.java 2020-10-09 03:29:49 +02:00
Andrea Cavalli
4cb278344a Update Init.java 2020-10-09 03:25:27 +02:00
Andrea Cavalli
c7e85b3bf0 Fix library names for windows 2020-10-08 19:43:30 +02:00
Andrea Cavalli
d016890d2a Update pom.xml and LoadLibrary.java 2020-10-08 01:31:17 +02:00
Andrea Cavalli
3756a92533 Update TdApi.java 2020-10-07 16:15:14 +02:00
Andrea Cavalli
865997b52f Update pom.xml and LoadLibrary.java 2020-10-07 00:51:26 +02:00
Andrea Cavalli
a4a82362ad Upgraded TdApi.java 2020-10-02 17:33:55 +00:00
Andrea Cavalli
0830eeb249 Changed the cache folder name for tdlight 2020-09-10 16:12:01 +02:00
Andrea Cavalli
107307d5d0 Fix fatal error callback 2020-09-08 16:23:46 +02:00
Andrea Cavalli
e92c04098f Add locks to prevent reading updates when destroying the client 2020-09-07 15:21:57 +02:00
Andrea Cavalli
d477aeffe3 Thread-safe client 2020-09-05 14:12:21 +02:00
Andrea Cavalli
a8800af2b6 Optimized client 2020-09-02 16:23:51 +02:00
Andrea Cavalli
319df71154 Update Client.java 2020-09-02 16:01:58 +02:00
Andrea Cavalli
05f455f416 Update Client.java and TelegramClient.java 2020-09-02 14:56:46 +02:00
Andrea Cavalli
148a220403 Added warning to Log.java 2020-09-02 00:38:21 +02:00
Andrea Cavalli
4863ae7001 Update LoadLibrary.java 2020-09-01 23:18:19 +02:00
Andrea Cavalli
d258387f26 Update NativeClient.java 2020-08-31 15:30:16 +02:00
Andrea Cavalli
c313cb8fa2 Code cleanup 2020-08-30 00:46:28 +02:00
Andrea Cavalli
f9162cc79c Fix logging output 2020-08-27 11:42:27 +02:00
Andrea Cavalli
a2ae8c6ccb Fix wrong method call 2020-08-26 18:27:20 +02:00
Andrea Cavalli
6e7f8b97a2 ScannerUtils cleanup 2020-08-26 18:25:36 +02:00
Andrea Cavalli
ca519eefca Added osx support 2020-08-23 19:48:42 +02:00
Andrea Cavalli
076236f7e2 Renamed mac to osx 2020-08-23 19:34:35 +02:00
Andrea Cavalli
95ff3562f4 Renamed mac to osx 2020-08-23 19:34:08 +02:00
0ba97b2c45 Prefer local libraries 2020-08-23 15:36:45 +02:00
937ff0c4ac Fixed library names 2020-08-23 14:10:05 +02:00
Andrea Cavalli
09ec6c98e4 Alternative library loading 2020-08-21 00:01:01 +02:00
Andrea Cavalli
65253da009 Upgraded TdApi.java 2020-08-20 12:46:43 +00:00
Andrea Cavalli
c4f18294f1 Update .gitmodules, common-utils, and 7 more files... 2020-08-20 13:59:38 +02:00
Andrea Cavalli
95ae06052d Removed wrong package info 2020-08-20 13:47:58 +02:00
Andrea Cavalli
fa545a72f0 Renamed tdnatives to tdlib 2020-08-20 01:59:56 +02:00
Andrea Cavalli
19dbc55351 Updated imports 2020-08-19 19:49:29 +02:00
Andrea Cavalli
3c502f4c67 Upgraded TdApi.java 2020-08-19 11:14:00 +00:00
57460f1b41 Delete 'src/main/java/it/tdlight/tdnatives/TdApi.java' 2020-08-19 13:03:49 +02:00
Andrea Cavalli
4e24c7d159 Removed resources 2020-08-19 01:01:36 +02:00
Andrea Cavalli
034aaa46d9 Renamed project files 2020-08-18 23:13:36 +02:00
Andrea Cavalli
da891d4223 Increase version to 2.168.0 2020-08-18 14:01:00 +02:00
beb658afdf Updated to 2.167.7 2020-08-05 16:25:06 +02:00
6ef48199c0 Updated to 2.167.6 2020-08-04 01:00:53 +02:00
e8ac14a2eb Updated to 2.167.5 2020-08-02 00:39:08 +02:00
e20b9d05ea Updated to 2.167.2 2020-08-01 01:39:49 +02:00
2c4c6c8fcd Updated to version 2.167.1 2020-07-31 16:19:17 +02:00
ec3cf6d64c Update TdApi.java and td 2020-07-29 17:13:32 +02:00