diff --git a/CMakeLists.txt b/CMakeLists.txt index 492198019..fa39260fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ if (POLICY CMP0065) cmake_policy(SET CMP0065 NEW) endif() -project(TDLib VERSION 1.8.2 LANGUAGES CXX C) +project(TDLib VERSION 1.8.3 LANGUAGES CXX C) if (NOT DEFINED CMAKE_MODULE_PATH) set(CMAKE_MODULE_PATH "") @@ -282,6 +282,7 @@ set(TDLIB_SOURCE td/telegram/Account.cpp td/telegram/AnimationsManager.cpp + td/telegram/AttachMenuManager.cpp td/telegram/AudiosManager.cpp td/telegram/AuthManager.cpp td/telegram/AutoDownloadSettings.cpp @@ -289,6 +290,8 @@ set(TDLIB_SOURCE td/telegram/BackgroundType.cpp td/telegram/BotCommand.cpp td/telegram/BotCommandScope.cpp + td/telegram/BotMenuButton.cpp + td/telegram/BotMenuButton.h td/telegram/CallActor.cpp td/telegram/CallDiscardReason.cpp td/telegram/CallManager.cpp @@ -393,6 +396,8 @@ set(TDLIB_SOURCE td/telegram/NewPasswordState.cpp td/telegram/NotificationManager.cpp td/telegram/NotificationSettings.cpp + td/telegram/NotificationSettingsManager.cpp + td/telegram/NotificationSound.cpp td/telegram/NotificationType.cpp td/telegram/OptionManager.cpp td/telegram/Payments.cpp @@ -400,6 +405,7 @@ set(TDLIB_SOURCE td/telegram/PhoneNumberManager.cpp td/telegram/PrivacyManager.cpp td/telegram/Photo.cpp + td/telegram/PhotoSize.cpp td/telegram/PhotoSizeSource.cpp td/telegram/PollManager.cpp td/telegram/QueryCombiner.cpp @@ -470,6 +476,7 @@ set(TDLIB_SOURCE td/telegram/Account.h td/telegram/AffectedHistory.h td/telegram/AnimationsManager.h + td/telegram/AttachMenuManager.h td/telegram/AudiosManager.h td/telegram/AuthManager.h td/telegram/AutoDownloadSettings.h @@ -486,6 +493,7 @@ set(TDLIB_SOURCE td/telegram/ChainId.h td/telegram/ChannelId.h td/telegram/ChannelParticipantFilter.h + td/telegram/ChannelType.h td/telegram/ChatId.h td/telegram/ClientActor.h td/telegram/ConfigManager.h @@ -617,12 +625,17 @@ set(TDLIB_SOURCE td/telegram/NotificationId.h td/telegram/NotificationManager.h td/telegram/NotificationSettings.h + td/telegram/NotificationSettingsManager.h + td/telegram/NotificationSound.h + td/telegram/NotificationSoundType.h td/telegram/NotificationType.h td/telegram/OptionManager.h td/telegram/PasswordManager.h td/telegram/Payments.h td/telegram/PhoneNumberManager.h td/telegram/Photo.h + td/telegram/PhotoFormat.h + td/telegram/PhotoSize.h td/telegram/PhotoSizeSource.h td/telegram/PollId.h td/telegram/PollManager.h @@ -701,6 +714,7 @@ set(TDLIB_SOURCE td/telegram/NotificationSettings.hpp td/telegram/Payments.hpp td/telegram/Photo.hpp + td/telegram/PhotoSize.hpp td/telegram/PhotoSizeSource.hpp td/telegram/PollId.hpp td/telegram/PollManager.hpp diff --git a/README.md b/README.md index 53ba953cd..e57e23316 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ target_link_libraries(YourTarget PRIVATE Td::TdStatic) Or you could install `TDLib` and then reference it in your CMakeLists.txt like this: ``` -find_package(Td 1.8.2 REQUIRED) +find_package(Td 1.8.3 REQUIRED) target_link_libraries(YourTarget PRIVATE Td::TdStatic) ``` See [example/cpp/CMakeLists.txt](https://github.com/tdlight-team/tdlight/tree/master/example/cpp/CMakeLists.txt). diff --git a/SplitSource.php b/SplitSource.php index badd85f7e..bb9099503 100644 --- a/SplitSource.php +++ b/SplitSource.php @@ -277,6 +277,7 @@ function split_file($file, $chunks, $undo) { if (!preg_match('/Td::~?Td/', $new_content)) { // destructor Td::~Td needs to see definitions of all forward-declared classes $td_methods = array( 'animations_manager[_(-][^.]|AnimationsManager[^;>]' => "AnimationsManager", + 'attach_menu_manager[_(-][^.]|AttachMenuManager[^;>]' => "AttachMenuManager", 'audios_manager[_(-][^.]|AudiosManager' => "AudiosManager", 'auth_manager[_(-][^.]|AuthManager' => 'AuthManager', 'background_manager[_(-][^.]|BackgroundManager' => "BackgroundManager", @@ -297,6 +298,7 @@ function split_file($file, $chunks, $undo) { 'MessageCopyOptions' => 'MessageCopyOptions', 'messages_manager[_(-][^.]|MessagesManager' => 'MessagesManager', 'notification_manager[_(-][^.]|NotificationManager|notifications[)]' => 'NotificationManager', + 'notification_settings_manager[_(-][^.]|NotificationSettingsManager' => 'NotificationSettingsManager', 'option_manager[_(-][^.]|OptionManager' => "OptionManager", 'phone_number_manager[_(-][^.]|PhoneNumberManager' => "PhoneNumberManager", 'poll_manager[_(-][^.]|PollManager' => "PollManager", diff --git a/benchmark/check_proxy.cpp b/benchmark/check_proxy.cpp index 399bf03be..0a54c598c 100644 --- a/benchmark/check_proxy.cpp +++ b/benchmark/check_proxy.cpp @@ -26,7 +26,7 @@ static void usage() { td::TsCerr() << "Options:\n"; td::TsCerr() << " -v\tSet verbosity level to N\n"; td::TsCerr() << " -h/--help\tDisplay this information\n"; - td::TsCerr() << " -d/--dc-id\tIdentifier of a datacenter, to which try to connect (default is 2)\n"; + td::TsCerr() << " -d/--dc-id\tIdentifier of a datacenter to which try to connect (default is 2)\n"; td::TsCerr() << " -l/--proxy-list\tName of a file with proxies to check; one proxy per line\n"; td::TsCerr() << " -t/--timeout\tMaximum overall timeout for the request (default is 10 seconds)\n"; std::exit(2); diff --git a/build.html b/build.html index 2b13cc69f..b9af48310 100644 --- a/build.html +++ b/build.html @@ -3,11 +3,13 @@ TDLight build instructions +