From 0dd6ff9d9be23af24da28c9c9ceb60d48a797844 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 28 May 2024 21:43:05 +0400 Subject: [PATCH] Beta version 5.0.5. - Long press on chat userpic to show quick preview. - Alt+Click on chat to show quick preview. - Show author userpics in forwarded messages. --- Telegram/Resources/uwp/AppX/AppxManifest.xml | 2 +- Telegram/Resources/winrc/Telegram.rc | 8 ++++---- Telegram/Resources/winrc/Updater.rc | 8 ++++---- Telegram/SourceFiles/core/version.h | 6 +++--- .../history/view/history_view_chat_preview.cpp | 1 - Telegram/build/version | 10 +++++----- changelog.txt | 6 ++++++ 7 files changed, 23 insertions(+), 18 deletions(-) diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml index 519db7170f..fe3b473ac6 100644 --- a/Telegram/Resources/uwp/AppX/AppxManifest.xml +++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml @@ -10,7 +10,7 @@ + Version="5.0.5.0" /> Telegram Desktop Telegram Messenger LLP diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc index 5bec7f3bc4..1f0a7a0454 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,0,4,0 - PRODUCTVERSION 5,0,4,0 + FILEVERSION 5,0,5,0 + PRODUCTVERSION 5,0,5,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.0.4.0" + VALUE "FileVersion", "5.0.5.0" VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.0.4.0" + VALUE "ProductVersion", "5.0.5.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc index d44287d24f..c334ca569b 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,0,4,0 - PRODUCTVERSION 5,0,4,0 + FILEVERSION 5,0,5,0 + PRODUCTVERSION 5,0,5,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.0.4.0" + VALUE "FileVersion", "5.0.5.0" VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.0.4.0" + VALUE "ProductVersion", "5.0.5.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index 1d8cecd6e7..8de17b03ce 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 = 5000004; -constexpr auto AppVersionStr = "5.0.4"; -constexpr auto AppBetaVersion = false; +constexpr auto AppVersion = 5000005; +constexpr auto AppVersionStr = "5.0.5"; +constexpr auto AppBetaVersion = true; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; diff --git a/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp b/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp index e1316a9eb4..0a7e9a8b98 100644 --- a/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp +++ b/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp @@ -269,7 +269,6 @@ void Item::setupTop() { _actions.fire({ .openInfo = true }); }); _top->paintRequest() | rpl::start_with_next([=](QRect clip) { - const auto &st = st::previewTop; auto p = QPainter(_top.get()); p.fillRect(clip, st::topBarBg); }, _top->lifetime()); diff --git a/Telegram/build/version b/Telegram/build/version index 68f3634537..5d551a173e 100644 --- a/Telegram/build/version +++ b/Telegram/build/version @@ -1,7 +1,7 @@ -AppVersion 5000004 +AppVersion 5000005 AppVersionStrMajor 5.0 -AppVersionStrSmall 5.0.4 -AppVersionStr 5.0.4 -BetaChannel 0 +AppVersionStrSmall 5.0.5 +AppVersionStr 5.0.5 +BetaChannel 1 AlphaVersion 0 -AppVersionOriginal 5.0.4 +AppVersionOriginal 5.0.5.beta diff --git a/changelog.txt b/changelog.txt index 19f721c859..ddfebe1106 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +5.0.5 beta (28.05.24) + +- Long press on chat userpic to show quick preview. +- Alt+Click on chat to show quick preview. +- Show author userpics in forwarded messages. + 5.0.4 (28.05.24) - Fix reply to last message by Ctrl+Up in topics.