Commit Graph

520 Commits

Author SHA1 Message Date
Andrea Cavalli
708cff9e05 Fix compilation issues 2021-10-22 13:33:03 +02:00
Andrea Cavalli
94e7a682bd Fix github actions workflow 2021-10-22 13:25:35 +02:00
Andrea Cavalli
9d8dd57d7f Use parent project to get properties 2021-10-22 13:20:57 +02:00
Andrea Cavalli
e0f70138c1 Code cleanup 2021-10-22 12:54:28 +02:00
Andrea Cavalli
cb024a114f Cleanup code 2021-10-22 12:46:59 +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
30c74a6ab4 Update example 2021-10-20 23:54:59 +02:00
Andrea Cavalli
646330ae19 Use generics to check tdlib functions return types 2021-10-20 23:51:06 +02:00
Andrea Cavalli
6deb99f517 Update example 2021-10-20 15:00:43 +02:00
Andrea Cavalli
bda9a3f6e2 Update tdlib and tdlight 2021-10-20 14:53:40 +02:00
Andrea Cavalli
d0992fa7a9 Fix phone number parsing 2021-10-20 02:13:24 +02:00
Andrea Cavalli
73d9d977cc Update slf4j and disruptor 2021-10-17 13:16:55 +02:00
Andrea Cavalli
2835839a4a Update example 2021-10-16 20:24:35 +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
6010390c37 Update tdlib 2021-10-16 20:01:25 +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
1832922402 Update example 2021-10-05 13:49:20 +02:00
Andrea Cavalli
9b449fd3a8 Stop clients when interrupted 2021-10-05 13:46:38 +02:00
Andrea Cavalli
340ad5f6d1 Update tdlib and tdlight 2021-10-05 13:41:14 +02:00
Andrea Cavalli
7ed2df1f4f Stop anyway if the thread is interrupted 2021-10-05 12:36:47 +02:00
Andrea Cavalli
4fa1f94f6b Update example 2021-10-05 12:33:26 +02:00
Andrea Cavalli
e1465d4cb1 Close tdlib receiver on jvm shutdown 2021-10-05 12:25:28 +02:00
Andrea Cavalli
e24c614025 Update example 2021-10-04 17:04:18 +02:00
Andrea Cavalli
f2d34f542d Update tdlight 2021-10-04 16:42:41 +02:00
Andrea Cavalli
111279bdfb Update tdlib 2021-10-03 23:59:03 +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
2ab6c2a5e1 Update example 2021-10-02 16:38:21 +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
e36ca566da Update README 2021-10-01 19:41:24 +02:00
Bildcraft1
35f5d37f67 New README 2021-10-01 16:59:34 +02:00
Andrea Cavalli
988314e074 Update readme 2021-09-30 19:14:54 +02:00
Andrea Cavalli
cfa66a6c14 Update tdlib and tdlight 2021-09-30 01:09:56 +02:00
Andrea Cavalli
eea0cf8fb6 Update tdlight 2021-09-29 02:13:28 +02:00
Andrea Cavalli
6d192d6844 Update example version 2021-09-28 00:30:10 +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
8949e35bf9 Update example 2021-09-27 21:44:59 +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