Beta version 2.1.17.

- Fix messages editing in a non-active account.
- Fix large animated emoji messages editing.
- Fix high definition GIF animations opening in media viewer.
- Multiple crash fixes.
This commit is contained in:
John Preston 2020-07-02 22:11:53 +04:00
parent dfa4a9990d
commit f887bf3b6a
7 changed files with 53 additions and 31 deletions

View File

@ -9,7 +9,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="2.1.16.0" />
Version="2.1.17.0" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram FZ-LLC</PublisherDisplayName>

View File

@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,1,16,0
PRODUCTVERSION 2,1,16,0
FILEVERSION 2,1,17,0
PRODUCTVERSION 2,1,17,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.1.16.0"
VALUE "FileVersion", "2.1.17.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2020"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "2.1.16.0"
VALUE "ProductVersion", "2.1.17.0"
END
END
BLOCK "VarFileInfo"

View File

@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,1,16,0
PRODUCTVERSION 2,1,16,0
FILEVERSION 2,1,17,0
PRODUCTVERSION 2,1,17,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.1.16.0"
VALUE "FileVersion", "2.1.17.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2020"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "2.1.16.0"
VALUE "ProductVersion", "2.1.17.0"
END
END
BLOCK "VarFileInfo"

View File

@ -23,36 +23,43 @@ std::map<int, const char*> BetaLogs() {
return {
{
1009020,
"\xE2\x80\xA2 Fix crash in shared links search.\n"
"- Fix crash in shared links search.\n"
"\xE2\x80\xA2 Fix blurred thumbnails in albums with video files.\n"
"- Fix blurred thumbnails in albums with video files.\n"
"\xE2\x80\xA2 Fix a possible crash in animated stickers rendering."
"- Fix a possible crash in animated stickers rendering."
},
{
1009022,
"\xE2\x80\xA2 Organize chats into Chat Folders "
"if you have too many chats.\n"
"- Organize chats into Chat Folders if you have too many chats.\n"
},
{
2000001,
"\xE2\x80\xA2 Switch between folders using Ctrl+1, ..., Ctrl+8.\n"
"- Switch between folders using Ctrl+1, ..., Ctrl+8.\n"
"\xE2\x80\xA2 Fix crash when a pinned in folder chat "
"was added to archive.\n"
"- Fix crash when a pinned in folder chat was added to archive.\n"
"\xE2\x80\xA2 Fix font issues in Linux version."
"- Fix font issues in Linux version."
},
{
2001008,
"\xE2\x80\xA2 Add support for full group message history export.\n"
"- Add support for full group message history export.\n"
"\xE2\x80\xA2 Allow export of a single chat message history "
"in JSON format."
"- Allow export of a single chat message history in JSON format."
},
{
2001014,
"\xE2\x80\xA2 Support for multiple accounts."
"- Support for multiple accounts."
},
{
2001017,
"- Fix messages editing in a non-active account.\n"
"- Fix large animated emoji messages editing.\n"
"- Fix high definition GIF animations opening in media viewer.\n"
"- Multiple crash fixes."
}
};
};
@ -161,10 +168,18 @@ void Changelogs::addBetaLog(int changeVersion, const char *changes) {
if (_oldVersion >= changeVersion) {
return;
}
const auto text = [&] {
static const auto simple = u"\n- "_q;
static const auto separator = QString::fromUtf8("\n\xE2\x80\xA2 ");
auto result = QString::fromUtf8(changes).trimmed();
if (result.startsWith(simple.midRef(1))) {
result = separator.midRef(1) + result.midRef(simple.size() - 1);
}
return result.replace(simple, separator);
}();
const auto version = FormatVersionDisplay(changeVersion);
const auto text = qsl("New in version %1:\n\n").arg(version)
+ QString::fromUtf8(changes).trimmed();
addLocalLog(text);
const auto log = qsl("New in version %1:\n\n").arg(version) + text;
addLocalLog(log);
}
} // namespace Core

View File

@ -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 = 2001016;
constexpr auto AppVersionStr = "2.1.16";
constexpr auto AppVersion = 2001017;
constexpr auto AppVersionStr = "2.1.17";
constexpr auto AppBetaVersion = true;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;

View File

@ -1,7 +1,7 @@
AppVersion 2001016
AppVersion 2001017
AppVersionStrMajor 2.1
AppVersionStrSmall 2.1.16
AppVersionStr 2.1.16
AppVersionStrSmall 2.1.17
AppVersionStr 2.1.17
BetaChannel 1
AlphaVersion 0
AppVersionOriginal 2.1.16.beta
AppVersionOriginal 2.1.17.beta

View File

@ -1,3 +1,10 @@
2.1.17 beta (02.07.20)
- Fix messages editing in a non-active account.
- Fix large animated emoji messages editing.
- Fix high definition GIF animations opening in media viewer.
- Multiple crash fixes.
2.1.16 beta (01.07.20)
- Crash fix.