Skip to content

Commit

Permalink
update tdlib to 1.8.37 from tdlib/td@21e5ce0
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Oct 27, 2024
1 parent ad187ab commit 615866b
Show file tree
Hide file tree
Showing 145 changed files with 5,896 additions and 4,043 deletions.
2 changes: 1 addition & 1 deletion lib/common/src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

#pragma once

#define NCHAT_VERSION "5.3.3"
#define NCHAT_VERSION "5.3.4"
10 changes: 9 additions & 1 deletion lib/tgchat/ext/td/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (POLICY CMP0065)
cmake_policy(SET CMP0065 NEW)
endif()

project(TDLib VERSION 1.8.36 LANGUAGES CXX C)
project(TDLib VERSION 1.8.37 LANGUAGES CXX C)

if (NOT DEFINED CMAKE_MODULE_PATH)
set(CMAKE_MODULE_PATH "")
Expand Down Expand Up @@ -576,6 +576,8 @@ set(TDLIB_SOURCE_PART2
td/telegram/SharedDialog.cpp
td/telegram/SpecialStickerSetType.cpp
td/telegram/SponsoredMessageManager.cpp
td/telegram/StarGift.cpp
td/telegram/StarGiftManager.cpp
td/telegram/StarManager.cpp
td/telegram/StarSubscription.cpp
td/telegram/StarSubscriptionPricing.cpp
Expand Down Expand Up @@ -749,6 +751,7 @@ set(TDLIB_SOURCE_PART2
td/telegram/files/FileStatsWorker.h
td/telegram/files/FileType.h
td/telegram/files/FileUploader.h
td/telegram/files/FileUploadId.h
td/telegram/files/FileUploadManager.h
td/telegram/files/PartsManager.h
td/telegram/files/ResourceManager.h
Expand Down Expand Up @@ -877,6 +880,7 @@ set(TDLIB_SOURCE_PART2
td/telegram/PhotoFormat.h
td/telegram/PhotoSize.h
td/telegram/PhotoSizeSource.h
td/telegram/PhotoSizeType.h
td/telegram/PollId.h
td/telegram/PollManager.h
td/telegram/Premium.h
Expand Down Expand Up @@ -925,6 +929,8 @@ set(TDLIB_SOURCE_PART2
td/telegram/SharedDialog.h
td/telegram/SpecialStickerSetType.h
td/telegram/SponsoredMessageManager.h
td/telegram/StarGift.h
td/telegram/StarGiftManager.h
td/telegram/StarManager.h
td/telegram/StarSubscription.h
td/telegram/StarSubscriptionPricing.h
Expand Down Expand Up @@ -1038,6 +1044,7 @@ set(TDLIB_SOURCE_PART2
td/telegram/Photo.hpp
td/telegram/PhotoSize.hpp
td/telegram/PhotoSizeSource.hpp
td/telegram/PhotoSizeType.hpp
td/telegram/PollId.hpp
td/telegram/PollManager.hpp
td/telegram/PremiumGiftOption.hpp
Expand All @@ -1052,6 +1059,7 @@ set(TDLIB_SOURCE_PART2
td/telegram/SecureValue.hpp
td/telegram/SendCodeHelper.hpp
td/telegram/SharedDialog.hpp
td/telegram/StarGift.hpp
td/telegram/StarSubscriptionPricing.hpp
td/telegram/StickerMaskPosition.hpp
td/telegram/StickerPhotoSize.hpp
Expand Down
2 changes: 1 addition & 1 deletion lib/tgchat/ext/td/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,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.36 REQUIRED)
find_package(Td 1.8.37 REQUIRED)
target_link_libraries(YourTarget PRIVATE Td::TdStatic)
```
See [example/cpp/CMakeLists.txt](https://github.com/tdlib/td/blob/master/example/cpp/CMakeLists.txt).
Expand Down
4 changes: 3 additions & 1 deletion lib/tgchat/ext/td/SplitSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function ($matches) use ($needed_std_headers) {
'message_import_manager[_(-](?![.]get[(][)])|MessageImportManager' => 'MessageImportManager',
'MessageLinkInfo' => 'MessageLinkInfo',
'MessageQuote' => 'MessageQuote',
'MessageReaction|UnreadMessageReaction|[a-z_]*message[a-z_]*reaction' => 'MessageReaction',
'MessageReaction|UnreadMessageReaction|[a-z_]*message[a-z_]*reaction|reload_paid_reaction_privacy|get_chosen_tags' => 'MessageReaction',
'MessageReactor' => 'MessageReactor',
'MessageSearchOffset' => 'MessageSearchOffset',
'[a-z_]*_message_sender' => 'MessageSender',
Expand Down Expand Up @@ -413,6 +413,8 @@ function ($matches) use ($needed_std_headers) {
'SentEmailCode' => 'SentEmailCode',
'SharedDialog' => 'SharedDialog',
'sponsored_message_manager[_(-](?![.]get[(][)])|SponsoredMessageManager' => 'SponsoredMessageManager',
'StarGift[^M]' => 'StarGift'
'star_gift_manager[_(-](?![.]get[(][)])|StarGiftManager' => 'StarGiftManager',
'star_manager[_(-](?![.]get[(][)])|StarManager' => 'StarManager',
'StarSubscription[^P]' => 'StarSubscription',
'StarSubscriptionPricing' => 'StarSubscriptionPricing',
Expand Down
2 changes: 1 addition & 1 deletion lib/tgchat/ext/td/example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ TDLib can be used from the Java programming language through native [JNI](https:

We provide a generator for JNI bridge methods and Java classes for all TDLib API methods and objects.
See [example/java](https://github.com/tdlib/td/tree/master/example/java) for an example of using TDLib from desktop Java along with detailed building and usage instructions.
To use TDLib to create Android Java applications, use our [prebuilt library for Android](https://core.telegram.org/tdlib/tdlib.zip).
See [example/android](https://github.com/tdlib/td/tree/master/example/android) for detailed build instructions for Android.

<a name="kotlin"></a>
## Using TDLib in Kotlin projects
Expand Down
2 changes: 1 addition & 1 deletion lib/tgchat/ext/td/example/android/check-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ if ! perl -MExtUtils::MakeMaker -MLocale::Maketext::Simple -MPod::Usage -e '' >/
fi

if ! java --help >/dev/null 2>&1 ; then
echo "Error: Java installation is broken. Install JDK from https://www.oracle.com/java/technologies/downloads/."
echo "Error: Java installation is broken. Install JDK from https://www.oracle.com/java/technologies/downloads/ or via the package manager."
exit 1
fi
2 changes: 1 addition & 1 deletion lib/tgchat/ext/td/example/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.4 FATAL_ERROR)

project(TdExample VERSION 1.0 LANGUAGES CXX)

find_package(Td 1.8.36 REQUIRED)
find_package(Td 1.8.37 REQUIRED)

add_executable(tdjson_example tdjson_example.cpp)
target_link_libraries(tdjson_example PRIVATE Td::TdJson)
Expand Down
2 changes: 1 addition & 1 deletion lib/tgchat/ext/td/example/uwp/Telegram.Td.UWP.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
<metadata>
<id>Telegram.Td.UWP</id>
<version>1.8.36</version>
<version>1.8.37</version>
<title>TDLib for Universal Windows Platform</title>
<authors>Telegram</authors>
<owners>Telegram</owners>
Expand Down
2 changes: 1 addition & 1 deletion lib/tgchat/ext/td/example/uwp/extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
<Metadata>
<Identity Id="Telegram.Td.UWP" Version="1.8.36" Language="en-US" Publisher="Telegram LLC" />
<Identity Id="Telegram.Td.UWP" Version="1.8.37" Language="en-US" Publisher="Telegram LLC" />
<DisplayName>TDLib for Universal Windows Platform</DisplayName>
<Description>TDLib is a library for building Telegram clients</Description>
<MoreInfo>https://core.telegram.org/tdlib</MoreInfo>
Expand Down
Loading

0 comments on commit 615866b

Please sign in to comment.