Commit Graph

8461 Commits

Author SHA1 Message Date
levlam
bece21cc38 Make OptionManager a plain class. 2022-08-18 18:52:59 +03:00
levlam
04b98aa385 Use OptionManager directly if possible. 2022-08-18 17:00:18 +03:00
levlam
fef6ef3c2a Remove conversion from legacy language pack option. 2022-08-18 16:03:58 +03:00
levlam
b772579af1 Fix "utc_time_offset" option updating on launch. 2022-08-18 15:59:32 +03:00
levlam
149d505781 Move option-related functions to OptionManager. 2022-08-18 14:54:57 +03:00
levlam
6f7e775dee Ensure logical constness in TsSeqKeyValue. 2022-08-18 13:59:34 +03:00
levlam
424e632f9f Combine reload_attach_menu_bots queries. 2022-08-18 13:39:24 +03:00
levlam
4ba7bf4a92 Use send_closure for some request processing. 2022-08-18 13:29:51 +03:00
levlam
552bde9fda Use query_promise in GetContactSignUpNotificationQuery. 2022-08-18 12:55:55 +03:00
levlam
0225f0cab7 Ensure that option values are fetched on launch. 2022-08-18 00:37:19 +03:00
levlam
12abea736f Init base LanguagePackManager fields in constuctor. 2022-08-17 22:49:05 +03:00
levlam
e897298527 Load animation search options on start and remove redundant fields. 2022-08-17 22:16:16 +03:00
levlam
3fe53c7d1d Remove saved_animations_limit binlog option. 2022-08-17 22:00:55 +03:00
levlam
9fddbf4ee8 Remove redundant parameters. 2022-08-17 21:40:03 +03:00
levlam
f9161dccc3 Remove "auth" internal option. 2022-08-17 20:01:03 +03:00
levlam
2ebeca31ca Don't use shared_config directly in Global.cpp. 2022-08-17 19:43:00 +03:00
levlam
f1c9d69077 Add TsSeqKeyValue::isset. 2022-08-17 16:52:27 +03:00
levlam
5b22effaa6 Remove unused SeqKeyValue method. 2022-08-17 16:34:21 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
e49135e542 Use 32-bit native build in UWP example. 2022-08-16 13:28:34 +03:00
levlam
9f2a6b5fd4 Improve includes. 2022-08-16 09:43:32 +03:00
levlam
febf458091 Move set_default_reaction to MessageReaction.h. 2022-08-15 22:47:02 +03:00
levlam
bbac7baed0 Add setUserSupportInfo. 2022-08-15 16:58:28 +03:00
levlam
f0a89c3dbe Remove process_input_caption in favor of get_formatted_text. 2022-08-15 16:26:51 +03:00
levlam
8b61255387 Add additional parameters to get_formatted_text. 2022-08-15 16:16:50 +03:00
levlam
61fb071b25 Use get_formatted_text in get_web_page_preview. 2022-08-15 15:59:16 +03:00
levlam
b1e43bfbd5 Pass FormattedText to get_first_url. 2022-08-15 15:55:48 +03:00
levlam
47c0f387de Add get_formatted_text function. 2022-08-15 15:37:17 +03:00
levlam
5af4fcc35e Add td_api::getUserSupportInfo. 2022-08-15 14:32:35 +03:00
levlam
383359d767 Do not check local location when cancel file upload. 2022-08-15 13:13:23 +03:00
levlam
d2348e3c97 Android example: avoid usage of case, which doesn't seem to work in outdated default bash on macOS. 2022-08-15 10:33:15 +03:00
levlam
b52e3e0e12 Add check for JDK to be actually installed. macOS has dummy /usr/bin/java. 2022-08-15 01:00:19 +03:00
levlam
7d1d5e636c Suppress compiler warning. 2022-08-14 16:41:59 +03:00
levlam
da9f8078b8 CMake: fix get_git_head_revision. 2022-08-14 16:36:21 +03:00
levlam
bcd89728c3 Android example: improve AddIntDef.php. 2022-08-14 16:26:40 +03:00
levlam
3ea8255b42 Android example: avoid using of unsupported API versions with new NDK. 2022-08-14 15:24:40 +03:00
levlam
8f433070df Minor fixes. 2022-08-14 15:04:08 +03:00
levlam
103c6ad1e8 Increase MAX_CONTENT_SIZE in HttpReader. 2022-08-14 13:30:25 +03:00
levlam
916a5f5848 Android example: change working directory after resolving relative paths. 2022-08-14 13:23:09 +03:00
levlam
d914505ea8 Explicitly specify jar files to Javadoc. 2022-08-13 14:26:52 +03:00
levlam
907e323f47 Use cmake and ninja from Android NDK. 2022-08-13 14:04:47 +03:00
levlam
89c79be45c Android example: quietly generate javadoc. 2022-08-13 12:20:37 +03:00
levlam
eca8cf94f4 Android example: improve checks for existence of output directory. 2022-08-13 10:37:16 +03:00
levlam
d1a6595c20 Allow to specify custom path for prebuilt Android OpenSSL. 2022-08-13 10:31:41 +03:00
levlam
bb6bd4244f Improve name of OPENSSL_VERSION argument. 2022-08-12 22:08:48 +03:00
levlam
9a469eef31 Minor fixes. 2022-08-12 18:39:36 +03:00
levlam
86294f246e Mention c++_shared in Android README. 2022-08-12 17:20:58 +03:00
levlam
0271bf0be0 Support c++_shared build in Android example. 2022-08-12 15:05:18 +03:00
levlam
f43859a3b7 Define HOST_ARCH in check-environment.sh. 2022-08-12 14:11:45 +03:00
levlam
77a8cc6499 Check argument correctness in Android build scripts. 2022-08-12 11:29:28 +03:00