Version 1.8.14: Fix crash in text processing on old OS X.

This commit is contained in:
John Preston 2019-10-03 19:49:59 +03:00
parent dcf79df0b2
commit de230332b9
7 changed files with 28 additions and 20 deletions

View File

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

View File

@ -33,8 +33,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,8,13,0
PRODUCTVERSION 1,8,13,0
FILEVERSION 1,8,14,0
PRODUCTVERSION 1,8,14,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -51,10 +51,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "1.8.13.0"
VALUE "FileVersion", "1.8.14.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.8.13.0"
VALUE "ProductVersion", "1.8.14.0"
END
END
BLOCK "VarFileInfo"

View File

@ -24,8 +24,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,8,13,0
PRODUCTVERSION 1,8,13,0
FILEVERSION 1,8,14,0
PRODUCTVERSION 1,8,14,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -42,10 +42,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "1.8.13.0"
VALUE "FileVersion", "1.8.14.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.8.13.0"
VALUE "ProductVersion", "1.8.14.0"
END
END
BLOCK "VarFileInfo"

View File

@ -15,7 +15,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#define TDESKTOP_ALPHA_VERSION (0ULL)
#endif // TDESKTOP_OFFICIAL_TARGET
constexpr auto AppVersion = 1008013;
constexpr auto AppVersionStr = "1.8.13";
constexpr auto AppVersion = 1008014;
constexpr auto AppVersionStr = "1.8.14";
constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;

View File

@ -118,14 +118,18 @@ bool ComputeCheckTilde(const style::TextStyle &st) {
bool chIsBad(QChar ch) {
return (ch == 0)
|| (ch >= 8232 && ch < 8237)
|| (ch >= 65024 && ch < 65040 && ch != 65039)
|| (ch >= 127 && ch < 160 && ch != 156)
|| (ch >= 8232 && ch < 8237)
|| (ch >= 65024 && ch < 65040 && ch != 65039)
|| (ch >= 127 && ch < 160 && ch != 156)
// qt harfbuzz crash see https://github.com/telegramdesktop/tdesktop/issues/4551
|| (Platform::IsMac() && ch == 6158)
// qt harfbuzz crash see https://github.com/telegramdesktop/tdesktop/issues/4551
|| (Platform::IsMac() && ch == 6158)
// tmp hack see https://bugreports.qt.io/browse/QTBUG-48910
|| (Platform::IsMac()
&& !Platform::IsMac10_7OrGreater()
&& (ch == 8207 || ch == 8206 || ch == 8288))
// tmp hack see https://bugreports.qt.io/browse/QTBUG-48910
|| (Platform::IsMac10_11OrGreater()
&& !Platform::IsMac10_12OrGreater()
&& ch >= 0x0B00

View File

@ -1,6 +1,6 @@
AppVersion 1008013
AppVersion 1008014
AppVersionStrMajor 1.8
AppVersionStrSmall 1.8.13
AppVersionStr 1.8.13
AppVersionStrSmall 1.8.14
AppVersionStr 1.8.14
BetaChannel 0
AlphaVersion 0

View File

@ -1,3 +1,7 @@
1.8.14 (03.10.19)
- Bug fixes and other minor improvements.
1.8.13 (03.10.19)
- Bug fixes and other minor improvements.