From cf8e1cfd0f770e96d267981df3611b28cb5f4bb6 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 31 May 2021 21:29:05 +0400 Subject: [PATCH] Beta version 2.7.6. - Optimized video playback in media viewer and Picture-in-Picture on Windows and Linux. - Added integration with System Media Transport Controls on Windows 10. - Added "Archive Sticker" into the "..." menu of the Sticker Set Box. - Fixed memory not being freed on Linux. - Several crash fixes. --- Telegram/Resources/uwp/AppX/AppxManifest.xml | 2 +- Telegram/Resources/winrc/Telegram.rc | 8 ++++---- Telegram/Resources/winrc/Updater.rc | 8 ++++---- Telegram/SourceFiles/core/changelogs.cpp | 14 +++++++++++++- Telegram/SourceFiles/core/version.h | 8 ++++---- Telegram/build/version | 12 ++++++------ changelog.txt | 8 ++++++++ 7 files changed, 40 insertions(+), 20 deletions(-) diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml index b17d1b4059..e5c661615c 100644 --- a/Telegram/Resources/uwp/AppX/AppxManifest.xml +++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml @@ -9,7 +9,7 @@ + Version="2.7.6.0" /> Telegram Desktop Telegram Messenger LLP diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc index d90e46498b..cc73b392c6 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 2,7,5,7 - PRODUCTVERSION 2,7,5,7 + FILEVERSION 2,7,6,0 + PRODUCTVERSION 2,7,6,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -62,10 +62,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram FZ-LLC" VALUE "FileDescription", "Telegram Desktop" - VALUE "FileVersion", "2.7.5.7" + VALUE "FileVersion", "2.7.6.0" VALUE "LegalCopyright", "Copyright (C) 2014-2021" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "2.7.5.7" + VALUE "ProductVersion", "2.7.6.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc index 5420e284ba..0fc65247eb 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 2,7,5,7 - PRODUCTVERSION 2,7,5,7 + FILEVERSION 2,7,6,0 + PRODUCTVERSION 2,7,6,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", "2.7.5.7" + VALUE "FileVersion", "2.7.6.0" VALUE "LegalCopyright", "Copyright (C) 2014-2021" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "2.7.5.7" + VALUE "ProductVersion", "2.7.6.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/SourceFiles/core/changelogs.cpp b/Telegram/SourceFiles/core/changelogs.cpp index eb465606c2..9dbb2e1a90 100644 --- a/Telegram/SourceFiles/core/changelogs.cpp +++ b/Telegram/SourceFiles/core/changelogs.cpp @@ -159,6 +159,18 @@ std::map BetaLogs() { "- Fix crash in file dialog on Linux.\n" }, + { + 2007006, + "- Optimized video playback in media viewer and Picture-in-Picture on Windows and Linux.\n" + + "- Added integration with System Media Transport Controls on Windows 10.\n" + + "- Added \"Archive Sticker\" into the \"...\" menu of the Sticker Set Box.\n" + + "- Fixed memory not being freed on Linux.\n" + + "- Several crash fixes.\n" + }, }; }; @@ -262,7 +274,7 @@ void Changelogs::addBetaLog(int changeVersion, const char *changes) { return result.replace(simple, separator); }(); const auto version = FormatVersionDisplay(changeVersion); - const auto log = qsl("New in version %1:\n\n").arg(version) + text; + const auto log = qsl("New in version %1 beta:\n\n").arg(version) + text; addLocalLog(log); } diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index 2fc6a1ace9..f0e9ff8063 100644 --- a/Telegram/SourceFiles/core/version.h +++ b/Telegram/SourceFiles/core/version.h @@ -9,7 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "base/const_string.h" -#define TDESKTOP_REQUESTED_ALPHA_VERSION (2007005007ULL) +#define TDESKTOP_REQUESTED_ALPHA_VERSION (0ULL) #ifdef TDESKTOP_ALLOW_CLOSED_ALPHA #define TDESKTOP_ALPHA_VERSION TDESKTOP_REQUESTED_ALPHA_VERSION @@ -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 = 2007005; -constexpr auto AppVersionStr = "2.7.5"; -constexpr auto AppBetaVersion = false; +constexpr auto AppVersion = 2007006; +constexpr auto AppVersionStr = "2.7.6"; +constexpr auto AppBetaVersion = true; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; diff --git a/Telegram/build/version b/Telegram/build/version index 464fc927c5..1720d8ee62 100644 --- a/Telegram/build/version +++ b/Telegram/build/version @@ -1,7 +1,7 @@ -AppVersion 2007005 +AppVersion 2007006 AppVersionStrMajor 2.7 -AppVersionStrSmall 2.7.5 -AppVersionStr 2.7.5 -BetaChannel 0 -AlphaVersion 2007005007 -AppVersionOriginal 2.7.5.7 +AppVersionStrSmall 2.7.6 +AppVersionStr 2.7.6 +BetaChannel 1 +AlphaVersion 0 +AppVersionOriginal 2.7.6.beta diff --git a/changelog.txt b/changelog.txt index 46cb3141f0..6ac83ecc7c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,11 @@ +2.7.6 beta (31.05.21) + +- Optimized video playback in media viewer and Picture-in-Picture on Windows and Linux. +- Added integration with System Media Transport Controls on Windows 10. +- Added "Archive Sticker" into the "..." menu of the Sticker Set Box. +- Fixed memory not being freed on Linux. +- Several crash fixes. + 2.7.5 beta (04.05.21) - Add "Voice chats" filter in "Recent actions" for channels.