Commit Graph

389 Commits

Author SHA1 Message Date
Andrea Cavalli 8e13003896 Merge remote-tracking branch 'td/master' 2021-11-22 23:28:02 +01:00
Sebastian 505fed00bd Update python example: Use sys.exit for quitting
automatically sends the message to `stderr` and sets the exit-code to 1
`quit` is only for exiting the interpreter, use the recommended `sys.exit`
2021-11-18 17:04:28 +03:00
Andrea Cavalli 9c9772868b Merge remote-tracking branch 'td/master' 2021-11-05 16:11:03 +01:00
levlam 7d41d9eaa5 Update version to 1.7.9. 2021-11-05 03:34:52 +03:00
Andrea Cavalli 98244d1346 Merge remote-tracking branch 'td/master' 2021-10-20 02:21:14 +02:00
levlam 1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
Andrea Cavalli 982b994332 Merge remote-tracking branch 'td/master' 2021-10-16 18:25:57 +02:00
levlam 9d74962296 Enable CMP0065 policy in all projects. 2021-10-07 17:35:41 +03:00
levlam ad2cc6e534 Use ClientManager instead of Client in ClientDotNet. 2021-09-27 21:43:14 +03:00
Andrea Cavalli 9ca532c6a6 Merge remote-tracking branch 'td/master' 2021-09-26 23:08:36 +02:00
levlam 724397dfbd Add tdgrand to the list of examples. 2021-09-26 09:52:18 +03:00
Andrea Cavalli 45e855f89d Remove most memory related features
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
levlam b9303bf13c Add Telegrand to the list of Rust examples. 2021-09-24 19:42:40 +03:00
levlam 61c3a2bcf5 Remove TD_EXPERIMENTAL_WATCH_OS. 2021-09-24 13:41:22 +03:00
levlam a7dcbe8c18 Update version to 1.7.8. 2021-09-19 20:55:47 +03:00
levlam 1da2ef7cb1 Remove usage of the deprecated openssl-uwp vcpkg package. 2021-09-08 22:36:31 +03:00
levlam 41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam 8f97a6dc00 Recommend installing gperf through vcpkg in examples. 2021-09-15 10:00:34 +03:00
levlam 964a3e1d08 Add Swiftgram/TDLibKit to the list of examples. 2021-09-12 09:08:53 +03:00
levlam 077ed42507 Improve README and the build instructions generator. 2021-09-06 14:12:11 +03:00
levlam 0ec10947d5 Fix some misprints. 2021-09-06 13:58:40 +03:00
levlam bd4a49b80e Improve iOS example README. 2021-09-06 13:58:13 +03:00
levlam 5efe95a2e0 Remove "Installing dependencies" section from README in favor of build instructions generator. 2021-09-06 13:29:44 +03:00
levlam f79223e2ac Simplify ios/build.sh. 2021-09-06 10:37:58 +03:00
Sergey ab4736df28
M1 support (#1620)
* Support Arm64 simulator targets (M1)

* Combine dylibs to xcframework

* Update Python-Apple-support urls

* Update Readme
2021-09-03 09:25:14 +03:00
levlam 7135caa2be Update version to 1.7.7. 2021-09-02 12:39:05 +03:00
levlam 6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam 438ae78e8a Enable some CMake policies in Java example. 2021-09-01 19:25:00 +03:00
levlam d49fdf3261 Remove offset from getChats and respect app-specified limit. 2021-08-11 15:59:09 +03:00
levlam b002c2d4a8 Use loadChats instead of getChats in examples. 2021-08-10 18:09:51 +03:00
levlam 6c0a5823b5 Remove mentions of deprecated public interfaces from README. 2021-08-07 09:59:49 +03:00
levlam 85fc9065fd Update version to 1.7.6. 2021-07-26 21:31:35 +03:00
levlam 0cb89f11a6 Improve aiotdlib description. 2021-07-26 21:26:04 +03:00
pylakey ef69d17f0e
* Added aiotdlib in python examples (#1618) 2021-07-26 21:20:05 +03:00
Sergey 1a472ae415
Clarify importance of generated files on non-macOS builds (#1600) 2021-07-16 00:53:22 +03:00
levlam 370d443a9d Explicitly specify inheritance mode. 2021-07-04 18:22:20 +03:00
levlam 24e5803b96 Update version to 1.7.5. 2021-07-02 03:30:39 +03:00
levlam b60c443edd Remove non-working link to Luagram project. 2021-06-11 01:47:06 +03:00
levlam 8db4febd4c Minor improvements. 2021-06-02 15:43:56 +03:00
levlam 3d28aaca62 Use Td.Client.SetLogMessageCallback in UWP example. 2021-05-20 03:51:33 +03:00
levlam 9ad1b3b49a Use set_log_message_callback in Java example. 2021-05-18 16:36:11 +03:00
levlam e31ec28c30 Python example: use td_set_log_message_callback instead of td_set_fatal_error_callback. 2021-05-18 15:49:21 +03:00
levlam 445183e52c Simplify UWP build script. 2021-05-11 03:24:47 +03:00
Fela Ameghino 32fe6456e6
Use RelWithDebInfo for UWP package (#1467)
* Added -release_only flag for RelWithDebInfo
2021-05-10 23:41:32 +03:00
levlam 5bd0c2c46d Update version to 1.7.4. 2021-04-14 15:20:44 +03:00
Sprite 0d1c310e32
Fix memory leak of "handlers_" in cpp example (#1464) 2021-03-28 04:46:30 +03:00
Arseny Smirnov 258b6dd3bd use TD_EXPERIMENTAL_WATCH_OS=ON in example/ios 2021-03-26 18:09:13 +03:00
Arseny Smirnov f866729415 update architectures for watchOS in example/ios 2021-03-26 18:04:25 +03:00
levlam 302e5940d4 Update version to 1.7.3. 2021-03-19 15:30:40 +03:00
levlam 0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00