Andrea Cavalli
|
c0a275ae87
|
Reimplement legacy logging
|
2021-10-22 19:53:23 +02:00 |
|
Andrea Cavalli
|
708cff9e05
|
Fix compilation issues
|
2021-10-22 13:33:03 +02:00 |
|
Andrea Cavalli
|
e0f70138c1
|
Code cleanup
|
2021-10-22 12:54:28 +02:00 |
|
Andrea Cavalli
|
c3cdefe5c3
|
Separate native versions, add editorconfig
|
2021-10-22 12:45:25 +02:00 |
|
Andrea Cavalli
|
f46bcd6a1d
|
Call GetVersion() instead of GetAuthorizationState()
👀
|
2021-10-21 18:56:48 +02:00 |
|
Andrea Cavalli
|
6558bd9ba9
|
Performance optimization
Reuse the same arrays
Clear only the range that needs to be cleared
Reduce the MAX_EVENTS constant to 100
|
2021-10-21 09:52:59 +02:00 |
|
Andrea Cavalli
|
887d95f2c2
|
Optionally skip shutdown wait
|
2021-10-21 00:52:57 +02:00 |
|
Andrea Cavalli
|
646330ae19
|
Use generics to check tdlib functions return types
|
2021-10-20 23:51:06 +02:00 |
|
Andrea Cavalli
|
d0992fa7a9
|
Fix phone number parsing
|
2021-10-20 02:13:24 +02:00 |
|
Andrea Cavalli
|
32e936bee0
|
Print errors in the console if exceptions are not handled (#50)
|
2021-10-16 20:23:13 +02:00 |
|
Andrea Cavalli
|
aa1d93d97a
|
Configurable shutdown hook
|
2021-10-06 20:43:57 +02:00 |
|
Andrea Cavalli
|
c39f101002
|
Close the clients when the JVM is shutting down
|
2021-10-06 20:39:53 +02:00 |
|
Andrea Cavalli
|
d273db0df9
|
Unregister closed clients
|
2021-10-06 11:47:48 +02:00 |
|
Andrea Cavalli
|
9b449fd3a8
|
Stop clients when interrupted
|
2021-10-05 13:46:38 +02:00 |
|
Andrea Cavalli
|
7ed2df1f4f
|
Stop anyway if the thread is interrupted
|
2021-10-05 12:36:47 +02:00 |
|
Andrea Cavalli
|
e1465d4cb1
|
Close tdlib receiver on jvm shutdown
|
2021-10-05 12:25:28 +02:00 |
|
Andrea Cavalli
|
fceec2a6ec
|
Reimplement reactive client using simple listeners
|
2021-10-03 23:51:58 +02:00 |
|
Andrea Cavalli
|
606335512f
|
Log timed out queries
|
2021-10-02 22:52:27 +02:00 |
|
Andrea Cavalli
|
4f9405225d
|
Add logging marker
|
2021-10-02 16:35:53 +02:00 |
|
Andrea Cavalli
|
2f50d407d7
|
Ignore aborted requests errors
|
2021-10-02 16:28:44 +02:00 |
|
Andrea Cavalli
|
19d3a845ef
|
Add timeouts in reactive telegram clients
|
2021-10-02 15:15:42 +02:00 |
|
Andrea Cavalli
|
a4393e2769
|
Ask login parameters explicitly
|
2021-09-28 00:20:54 +02:00 |
|
Andrea Cavalli
|
ff712809b5
|
Add shutdown hook
|
2021-09-28 00:19:34 +02:00 |
|
Andrea Cavalli
|
88ca5ce8ac
|
Show QR code into the console
|
2021-09-27 22:52:12 +02:00 |
|
Andrea Cavalli
|
1cba9f7e38
|
Add QR code support
|
2021-09-27 22:15:17 +02:00 |
|
Andrea Cavalli
|
c6a8af0c44
|
Lazy console login
|
2021-09-27 21:55:17 +02:00 |
|
Andrea Cavalli
|
f2ba9773f5
|
Use interactive console login in the example, print exceptions only once
|
2021-09-27 21:44:24 +02:00 |
|
Andrea Cavalli
|
688076ff00
|
Bugfixes
|
2021-09-27 20:22:57 +02:00 |
|
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 |
|