From fa8262cbe9b45c22105aaa218913455c9d8dffc2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 17 Nov 2024 14:33:57 +0400 Subject: [PATCH] Version 5.8. - Updates in Mini Apps platform. - Chat folders in forward and share boxes. - Horizontal strip mode for chat folders. --- Telegram/Resources/uwp/AppX/AppxManifest.xml | 2 +- Telegram/Resources/winrc/Telegram.rc | 8 ++++---- Telegram/Resources/winrc/Updater.rc | 8 ++++---- Telegram/SourceFiles/boxes/edit_privacy_box.cpp | 4 ---- Telegram/SourceFiles/core/version.h | 6 +++--- Telegram/build/version | 12 ++++++------ changelog.txt | 6 ++++++ 7 files changed, 24 insertions(+), 22 deletions(-) diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml index 4683ca419b3a84..ba846faae242f3 100644 --- a/Telegram/Resources/uwp/AppX/AppxManifest.xml +++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml @@ -10,7 +10,7 @@ + Version="5.8.0.0" /> Telegram Desktop Telegram Messenger LLP diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc index 65d5d0ed820f2e..a959f80fa6f4a0 100644 --- a/Telegram/Resources/winrc/Telegram.rc +++ b/Telegram/Resources/winrc/Telegram.rc @@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico" // VS_VERSION_INFO VERSIONINFO - FILEVERSION 5,7,4,0 - PRODUCTVERSION 5,7,4,0 + FILEVERSION 5,8,0,0 + PRODUCTVERSION 5,8,0,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -62,10 +62,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram FZ-LLC" VALUE "FileDescription", "Telegram Desktop" - VALUE "FileVersion", "5.7.4.0" + VALUE "FileVersion", "5.8.0.0" VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.7.4.0" + VALUE "ProductVersion", "5.8.0.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc index 9e2d621984b91e..657ef3748abe5f 100644 --- a/Telegram/Resources/winrc/Updater.rc +++ b/Telegram/Resources/winrc/Updater.rc @@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US // VS_VERSION_INFO VERSIONINFO - FILEVERSION 5,7,4,0 - PRODUCTVERSION 5,7,4,0 + FILEVERSION 5,8,0,0 + PRODUCTVERSION 5,8,0,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -53,10 +53,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram FZ-LLC" VALUE "FileDescription", "Telegram Desktop Updater" - VALUE "FileVersion", "5.7.4.0" + VALUE "FileVersion", "5.8.0.0" VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.7.4.0" + VALUE "ProductVersion", "5.8.0.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp index d90059cb9e81e7..94c4af0546c649 100644 --- a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp +++ b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp @@ -77,7 +77,6 @@ enum class SpecialRowType { const auto &color1 = st::historyPeer6UserpicBg; const auto &color2 = st::historyPeer6UserpicBg2; - const auto rect = style::rtlrect(x, y, size, size, outerWidth); auto hq = PainterHighQualityEnabler(p); auto gradient = QLinearGradient(x, y, x, y + size); gradient.setStops({ { 0., color1->c }, { 1., color2->c } }); @@ -196,9 +195,6 @@ class SpecialRow final : public PeerListRow { bool forceRound) override; bool useForumLikeUserpic() const override; -private: - const SpecialRowType _type = SpecialRowType::Premiums; - }; class TypesController final : public PeerListController { diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index e7b5a187391e10..a797221556ea20 100644 --- a/Telegram/SourceFiles/core/version.h +++ b/Telegram/SourceFiles/core/version.h @@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs; constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs; constexpr auto AppName = "Telegram Desktop"_cs; constexpr auto AppFile = "Telegram"_cs; -constexpr auto AppVersion = 5007004; -constexpr auto AppVersionStr = "5.7.4"; -constexpr auto AppBetaVersion = true; +constexpr auto AppVersion = 5008000; +constexpr auto AppVersionStr = "5.8"; +constexpr auto AppBetaVersion = false; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; diff --git a/Telegram/build/version b/Telegram/build/version index 9776d9e6788525..914da277324f61 100644 --- a/Telegram/build/version +++ b/Telegram/build/version @@ -1,7 +1,7 @@ -AppVersion 5007004 -AppVersionStrMajor 5.7 -AppVersionStrSmall 5.7.4 -AppVersionStr 5.7.4 -BetaChannel 1 +AppVersion 5008000 +AppVersionStrMajor 5.8 +AppVersionStrSmall 5.8 +AppVersionStr 5.8.0 +BetaChannel 0 AlphaVersion 0 -AppVersionOriginal 5.7.4.beta +AppVersionOriginal 5.8 diff --git a/changelog.txt b/changelog.txt index eb4229eca12b67..45dfdaecc50b08 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +5.8 (17.11.24) + +- Updates in Mini Apps platform. +- Chat folders in forward and share boxes. +- Horizontal strip mode for chat folders. + 5.7.4 beta (15.11.24) - Enable auto night mode by default.