Commit Graph

149 Commits

Author SHA1 Message Date
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
97e5829bc8 Update TdApi.java and td to version 1.6.7 2020-07-29 16:42:22 +02:00
0f5dae53b0 Update td and tdjni.so 2020-07-09 00:43:41 +02:00
fbd0bfadab Update build.sh 2020-06-13 01:54:03 +02:00
d06b38144d Fixed sources not found 2020-06-12 15:37:02 +02:00
c556ea1dc5 Update td 2020-06-12 12:08:37 +02:00
f87f473703 Updated to 1.6.6 2020-06-11 18:15:16 +02:00
eb800de51d Added warp utils 2020-05-31 17:19:05 +02:00
cd543cad94 Update BoundedExecutorServiceImpl.java 2020-05-26 12:51:08 +02:00
c852ce4c2b Update td and tdjni.so 2020-05-25 15:52:18 +02:00
c264046582 Update td and tdjni.so 2020-05-25 00:50:18 +02:00
1169ddac14 Update TdApi.java, td, and tdjni.so 2020-05-23 20:18:58 +02:00
fbad961f8a Update td and tdjni.so 2020-05-23 19:36:21 +02:00
d78fea2d3e Update td and tdjni.so 2020-05-23 02:50:01 +02:00
a53b134d27 Update td and tdjni.so 2020-05-21 20:24:00 +02:00
0d80a93948 Updated JTDLib 2020-05-20 23:17:47 +02:00
b456f1ea0b Free memory 2020-05-19 01:12:31 +02:00
bfcd08f988 Updated to 2.164.0 and optimized tdlib footprint 2020-05-18 22:26:07 +02:00
88500b65e5 Update td and tdjni.so 2020-05-15 03:29:34 +02:00
615e95d26b Update td and tdjni.so 2020-05-14 22:50:20 +02:00
a9860ca547 Update .gitmodules, TdApi.java, and 3 more files... 2020-05-14 22:24:49 +02:00
89fdbcd3cb Lock write bugfix 2020-05-13 16:25:19 +02:00
c5066ddb30 Use the same arrays 2020-05-13 15:21:00 +02:00
d10e0ebf50 Deprecated the unnamed BoundedExecutorService 2020-05-13 02:50:51 +02:00
6d508a4415 TelegramClient interface 2020-05-05 17:08:39 +02:00
abd8a6b61f Update TdApi.java 2020-05-02 12:42:04 +02:00
6f8be2e376 Serializable TdApi 2020-05-02 02:02:18 +02:00
1457c731b9 Fixed initialization 2020-05-01 20:19:37 +02:00
ff004e1ccd Bounded executor service 2020-05-01 00:31:27 +02:00
1ebf7cfdc1 Update td and tdjni.so 2020-04-27 23:44:23 +02:00
749990f0fc Update td and tdjni.so 2020-04-27 23:09:28 +02:00
ccc581725a Update td and tdjni.so 2020-04-27 21:54:35 +02:00
1259e71a6c Updated to 2.163.1 2020-04-27 18:36:19 +02:00
88a50c8646 Update td and tdjni.so 2020-04-27 16:06:40 +02:00
66589cb8a0 Update Client.java, td, and tdjni.so 2020-04-27 15:51:38 +02:00
8efbfcffad Preparing for update 2020-04-27 13:04:43 +02:00
ff1091c001 TDLib 1.6.3 2020-04-25 13:08:10 +02:00
4f72741227 Updated to tdlib 1.6.2 2020-04-19 16:32:49 +02:00
Ernesto Castellotti
40b96378e2 Set our packages name 2019-01-24 19:14:43 +01:00
Ernesto Castellotti
34f9865755 Implemented the methods to customize tdlib parameters
Now the EasyClient constructor does not directly start TDLib, you must always use the create() method (e.g. "var client = new BotClient("791655237:AAEs1bgsn9kL8jnj-aXSOEaGgZaTS_iXjkI").create();")
Now can be specified the name and lastname (only for UserClient) of the user to be used during registration through the UserClien constructor
2019-01-23 20:21:04 +01:00
Ernesto Castellotti
9904c2a203 Fix write mistake 2019-01-22 21:44:53 +01:00
Ernesto Castellotti
a2502ad98a Use our package names 2019-01-22 21:44:29 +01:00
7a6eb791f4 Implemented the choice of the first name/last name during registration to prevent the user from blocking telegram with the use of UserClient 2019-01-22 16:47:52 +01:00
Ernesto Castellotti
e0db7e7f9c Setup new arch in java loadlibrary 2018-11-26 16:17:57 +01:00
Ernesto Castellotti
086f16a916 Compile a shared library instead statical library 2018-11-24 17:55:58 +01:00
Ernesto Castellotti
e78b7fcd07 Add archive destination in CMake 2018-11-24 14:10:47 +01:00
Ernesto Castellotti
5eb4cda588 Added td_jni.cpp for C++ bindings as cmake project 2018-11-23 18:19:32 +01:00
Ernesto Castellotti
3b5287be1f Test 2018-11-21 16:03:51 +01:00
Ernesto Castellotti
41f10ccdec Added tdlib submodule 2018-11-21 15:57:44 +01:00
Ernesto Castellotti
ee56880bf6 Updated TdApi to new Tdlib (v1.3.0)
Fixed issue https://github.com/ErnyTech/JTDLib/issues/4
2018-11-20 18:27:45 +01:00
Ernesto Castellotti
002f52e55d Implemented new checks in authorizationHandler for check if bot token, phone number, code or password are invalid
Added password hint in password authorization

Check if EasyClient has the authorization before send request

Optimized execute in EasyClient

Implemented close and open for logout from TDLib e re-login

Now client can execute auto, just set logoutAtShutdown to true in initializer

Fix https://github.com/ErnyTech/JTDLib/issues/5
2018-11-19 17:59:57 +01:00
Ernesto Castellotti
fbf8a495bb Use initCause when throw exceptions in Init process to pass the real reason for failure when loading TdLib
Fix https://github.com/ErnyTech/JTDLib/issues/2

Signed-off-by: Ernesto Castellotti <erny.castell@gmail.com>
2018-11-18 12:17:43 +01:00
Ernesto Castellotti
4092659f24 protected to public 2018-07-19 19:53:14 +02:00
ErnyTech
5c4a1d211f Updated docs for package description 2018-07-18 17:17:37 +02:00
ErnyTech
b2023ea9fc Support for jitpack
- Support for jitpack
 - Updated docs
 - Added README
 - Added .gitignore
 - Clean up build.gralde
2018-07-18 17:02:05 +02:00
ErnyTech
9df39f368e Initial tdlib 2018-07-18 12:24:37 +02:00