Commit Graph

8160 Commits

Author SHA1 Message Date
levlam
f083da4c1e Ignore CMAKE_INSTALL_PREFIX in pkgconfig, if CMAKE_INSTALL_*DIR is absolute. 2022-07-09 23:40:22 +03:00
levlam
bb5ebc09ef Disable git commit hash calculation, because the current approach must be completely replaced. 2022-07-09 22:27:41 +03:00
levlam
d37ad61f86 Generate GIT_COMMIT and GIT_DIRTY from CMake. 2022-07-08 20:56:43 +03:00
levlam
1dec0e203c Add Java example of fatal error handler. 2022-07-08 18:44:09 +03:00
levlam
9a58bc03ab Fix Java example formatting. 2022-07-08 16:12:31 +03:00
levlam
d94a750685 Remove deprecated for more than 3 years Log.java from example. 2022-07-08 15:08:50 +03:00
levlam
89aaf648fc Add Client.setLogMessageHandler to Java example. 2022-07-08 15:01:38 +03:00
levlam
20fa839dfe Crash on "Lost promise" errors. 2022-07-08 11:22:13 +03:00
levlam
435e4e483d Clarify verbosiy level range in the documentation. 2022-07-08 11:21:31 +03:00
levlam
ff3235e6d5 Update comment. 2022-07-07 22:23:58 +03:00
levlam
f8b49fe421 Ensure that gen_git_commit_h works even without git. 2022-07-07 20:38:44 +03:00
levlam
81cb929b37 Avoid warning about set but not used variable. 2022-07-06 21:53:50 +03:00
levlam
76080dfb1c Update example list. 2022-07-05 22:10:37 +03:00
levlam
c50e05db27 Add helper for td_api::chatAdministratorRights creation. 2022-07-04 18:38:34 +03:00
levlam
d489014350 Compare stickers and animation by their remote ID when remove them from recent/saved. 2022-07-03 12:17:04 +03:00
levlam
d75791481f Improve FileView::get_main_file_id() method name. 2022-07-03 12:01:08 +03:00
levlam
2f17f55305 Don't dup stickers in a set. 2022-07-03 11:53:01 +03:00
levlam
8537b3d495 Move MultiTimeout to MultiTimeout.h. 2022-07-02 23:32:18 +03:00
levlam
aeed6c45d7 Add logging for skipped unneeded chat actions. 2022-07-01 16:56:27 +03:00
levlam
c3017916e0 Autostart links to Premium bot. 2022-07-01 16:31:15 +03:00
levlam
2472e13f7f Add internalLinkTypeBotStart.autostart. 2022-07-01 16:21:29 +03:00
levlam
dd89d46a27 Unify message media type variable names. 2022-07-01 15:04:11 +03:00
levlam
906d773d6e Fix database initialization. 2022-06-30 20:51:59 +03:00
levlam
5372a8b376 Fix DarwinHttp. 2022-06-30 16:02:07 +03:00
levlam
7b8a016a9e Improve fatal error message. 2022-06-30 01:32:32 +03:00
levlam
cb559c396d Use FlatHashTable instead of std::unordered_map/std::unordered_set. 2022-06-30 00:59:27 +03:00
levlam
e43d90c089 Remove unused scheduler_id parameters. 2022-06-30 00:46:02 +03:00
levlam
32724a5a6c Add and use Scheduler::run_on_scheduler. 2022-06-30 00:28:25 +03:00
levlam
aa635a89c2 Check keyboard buttons data for validness. 2022-06-29 15:57:59 +03:00
levlam
d9d76adb7c Return user_id in inline keyboard as is for local and yet unsent messages. 2022-06-29 11:17:51 +03:00
levlam
e8dccae751 Explicitly pass ContactsManager to
get_input_reply_markup/get_reply_markup_object.
2022-06-28 18:34:53 +03:00
levlam
8f472521d4 Avoid expected logging. 2022-06-28 17:22:04 +03:00
levlam
2953a2ec64 Ignore accidentally received web pages by bots. 2022-06-28 17:10:57 +03:00
levlam
70d4fd863b Avoid updates serialization if it will not be needed. 2022-06-28 16:50:22 +03:00
levlam
9ef9751f5f Immediately exit UpdatesManager::process_updates if there are no updates to process. 2022-06-28 16:43:51 +03:00
levlam
faaf8f10f9 Process channel PTS updates during getDifference. 2022-06-28 16:39:32 +03:00
levlam
26fdb92dd8 Minor improvements. 2022-06-28 15:32:05 +03:00
levlam
386fec3d17 Improve LogEvent store debug. 2022-06-28 15:18:16 +03:00
levlam
ebebe0300c Move promise_send_closure to PromiseFuture.h. 2022-06-28 14:02:14 +03:00
levlam
340fb779c3 Move Promise implementation details to namespace detail. 2022-06-28 10:48:03 +03:00
levlam
003fa6ffee Remove back template lambda support in Promise. 2022-06-28 10:32:56 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
da2e504566 Remove Promise operators. 2022-06-27 03:59:23 +03:00
levlam
cb694ab649 Remove unused ability of Promise to migrate between schedulers. 2022-06-27 03:05:24 +03:00
levlam
513da45a8f Use free-standing function to create event promises. 2022-06-27 02:57:56 +03:00
levlam
aa97336963 Remove unused class Ignore. 2022-06-26 22:41:57 +03:00
levlam
4b9990aff9 Simplify LambdaPromise implementation. 2022-06-26 22:31:28 +03:00
levlam
f62632fcbc Remove rarely used PromiseCreator::lambda with 2 lambdas. 2022-06-26 17:11:27 +03:00
levlam
3dcafdc873 Improve log messages. 2022-06-25 21:22:02 +03:00
levlam
63d5a1f32a Fix check. 2022-06-25 21:15:03 +03:00