summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Preston <johnprestonmail@gmail.com>2024-06-03 23:05:23 +0400
committerJohn Preston <johnprestonmail@gmail.com>2024-06-04 00:00:12 +0400
commit379a94db428b7a9489efae77dc87f0290c570194 (patch)
tree3f08a1ec4fed4385938fe5f4c2bd036f336fea27
parent4f4d21698746e2aa2c0706cbbd6164755b4056d9 (diff)
Version 5.1.2.v5.1.2
- Several bugs fixed including a couple of crashes.
-rw-r--r--Telegram/Resources/uwp/AppX/AppxManifest.xml2
-rw-r--r--Telegram/Resources/winrc/Telegram.rc8
-rw-r--r--Telegram/Resources/winrc/Updater.rc8
-rw-r--r--Telegram/SourceFiles/core/phone_click_handler.cpp2
-rw-r--r--Telegram/SourceFiles/core/version.h4
-rw-r--r--Telegram/SourceFiles/history/view/media/history_view_gif.cpp1
-rw-r--r--Telegram/build/version8
-rw-r--r--changelog.txt4
8 files changed, 20 insertions, 17 deletions
diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index da40284a83..8068a8279a 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -10,7 +10,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
- Version="5.1.1.0" />
+ Version="5.1.2.0" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index e02d029eb3..67714078f1 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,1,1,0
- PRODUCTVERSION 5,1,1,0
+ FILEVERSION 5,1,2,0
+ PRODUCTVERSION 5,1,2,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.1.1.0"
+ VALUE "FileVersion", "5.1.2.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "5.1.1.0"
+ VALUE "ProductVersion", "5.1.2.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index 8591989f3b..f5f25bfaa4 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,1,1,0
- PRODUCTVERSION 5,1,1,0
+ FILEVERSION 5,1,2,0
+ PRODUCTVERSION 5,1,2,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.1.1.0"
+ VALUE "FileVersion", "5.1.2.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "5.1.1.0"
+ VALUE "ProductVersion", "5.1.2.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/core/phone_click_handler.cpp b/Telegram/SourceFiles/core/phone_click_handler.cpp
index 93b79d77d8..19d15b78a7 100644
--- a/Telegram/SourceFiles/core/phone_click_handler.cpp
+++ b/Telegram/SourceFiles/core/phone_click_handler.cpp
@@ -173,8 +173,8 @@ void ResolvePhoneAction::paint(Painter &p) {
.position = QPoint(
(width() - w) / 2,
(height - _below.countHeight(w)) / 2),
- .availableWidth = w,
.outerWidth = w,
+ .availableWidth = w,
.align = style::al_center,
.elisionLines = 2,
});
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index 8ba762a1ea..1ef52dfed3 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 = 5001001;
-constexpr auto AppVersionStr = "5.1.1";
+constexpr auto AppVersion = 5001002;
+constexpr auto AppVersionStr = "5.1.2";
constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp
index 62dde278df..44644cffe2 100644
--- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp
+++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp
@@ -388,7 +388,6 @@ void Gif::draw(Painter &p, const PaintContext &context) const {
const auto displayLoading = (item->isSending() || _data->displayLoading());
const auto st = context.st;
const auto sti = context.imageStyle();
- const auto stm = context.messageStyle();
const auto cornerDownload = downloadInCorner();
const auto canBePlayed = _dataMedia->canBePlayed(_realParent);
const auto autoplay = autoplayEnabled()
diff --git a/Telegram/build/version b/Telegram/build/version
index 505809f37a..326855a809 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -1,7 +1,7 @@
-AppVersion 5001001
+AppVersion 5001002
AppVersionStrMajor 5.1
-AppVersionStrSmall 5.1.1
-AppVersionStr 5.1.1
+AppVersionStrSmall 5.1.2
+AppVersionStr 5.1.2
BetaChannel 0
AlphaVersion 0
-AppVersionOriginal 5.1.1
+AppVersionOriginal 5.1.2
diff --git a/changelog.txt b/changelog.txt
index b07e06e101..bb35264162 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,7 @@
+5.1.2 (03.06.24)
+
+- Several bugs fixed including a couple of crashes.
+
5.1.1 (01.06.24)
- Fix caption display on some media.