Commit Graph

557 Commits

Author SHA1 Message Date
Andrea Cavalli
b27c736866 Use TDLib 1.7.10, add BOM, fix null updates, rewrite pom.xml
Fix #64: null updates sent to the updates handler
Fix gradle import issue (#61) by rewriting the maven dependency structure, and adding a BOM to being able to keep the natives version in sync with tdlight-java version
Fix #63 by adding the required dependencies for windows, linux and macOS in the README.md
2021-12-08 02:24:23 +01:00
Andrea Cavalli
afa9d362a4 Update example 2021-12-04 12:41:35 +01:00
Andrea Cavalli
f575d115f5 Update tdlight natives 2021-12-04 12:40:22 +01:00
Andrea Cavalli
92a16e1115 Update tdlight natives 2021-11-30 08:40:04 +01:00
Andrea Cavalli
b364d18655 Move example files 2021-11-25 13:54:25 +01:00
Andrea Cavalli
6ae12f5d88 Update to v2.7.9.3 2021-11-23 19:25:28 +01:00
Andrea Cavalli
5bbe67f68f Avoid errors during startup/shutdown 2021-11-09 15:59:59 +01:00
Andrea Cavalli
6439a1b486 Fix tdlib close issue 2021-11-07 14:33:33 +01:00
Andrea Cavalli
54fdc9ae49 Update documentation 2021-11-06 11:59:31 +01:00
Andrea Cavalli
868c6bd366 Cleanup code 2021-11-06 11:48:53 +01:00
Andrea Cavalli
e58401b973 Update example 2021-11-05 17:35:05 +01:00
Andrea Cavalli
1655a2912d Update to TDLib 1.7.9 2021-11-05 17:33:50 +01:00
Andrea Cavalli
08b1837034 Update example 2021-11-02 15:27:56 +01:00
Andrea Cavalli
b06be088ed Update natives 2021-11-02 15:27:01 +01:00
Andrea Cavalli
329ead236b Update natives 2021-11-02 12:46:06 +01:00
Andrea Cavalli
8264ea63e0 Update example 2021-10-24 21:35:44 +02:00
Andrea Cavalli
ca67a5620b Bugfix 2021-10-24 01:11:13 +02:00
Andrea Cavalli
4f3c8cb6b7 Update 2021-10-24 01:03:16 +02:00
Andrea Cavalli
d79cf305cb Bugfix 2021-10-24 00:38:28 +02:00
Andrea Cavalli
9bfd22b57d Add askAuthData in consoleLogin 2021-10-24 00:33:57 +02:00
Andrea Cavalli
e4bda0a3c7 Use interruptible readLine 2021-10-24 00:22:47 +02:00
Andrea Cavalli
52541b0ca8 Use scanner if no console is found 2021-10-24 00:12:01 +02:00
Andrea Cavalli
9e7f2c8f75 Remove scanner 2021-10-23 23:50:42 +02:00
Andrea Cavalli
40f845cdce Support java 17 sealed types 2021-10-23 23:05:08 +02:00
Andrea Cavalli
5e7f597c86 Update example 2021-10-23 03:59:02 +02:00
Andrea Cavalli
125dea05a3 Update example 2021-10-23 03:12:56 +02:00
Andrea Cavalli
be04d8ac40 Reduce default verbosity level 2021-10-23 03:09:46 +02:00
Andrea Cavalli
0dbccf09d5 Update example 2021-10-23 02:51:55 +02:00
Andrea Cavalli
75df4b0b46 Fix NPE 2021-10-23 02:29:25 +02:00
Andrea Cavalli
a10d73a535 Fix version misprint 2021-10-23 01:58:08 +02:00
Andrea Cavalli
eed9a189b5 Improve error messages 2021-10-23 01:46:27 +02:00
Andrea Cavalli
1ed9a7739e Improve library loading 2021-10-23 01:25:23 +02:00
Andrea Cavalli
bc3246913a Deploy snapshot if no tag is found 2021-10-22 20:20:31 +02:00
Andrea Cavalli
c0a275ae87 Reimplement legacy logging 2021-10-22 19:53:23 +02:00
Andrea Cavalli
6ada063456 Fix compilation issues 2021-10-22 18:57:44 +02:00
Andrea Cavalli
b7f719e69e Remove unused files 2021-10-22 13:50:17 +02:00
Andrea Cavalli
54847f2a78 Disable tdlib compilation 2021-10-22 13:35:31 +02:00
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