mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Version 1.8.14: Fix crash in text processing on old OS X.
This commit is contained in:
parent
dcf79df0b2
commit
de230332b9
7 changed files with 28 additions and 20 deletions
|
@ -9,7 +9,7 @@
|
||||||
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
|
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
|
||||||
ProcessorArchitecture="ARCHITECTURE"
|
ProcessorArchitecture="ARCHITECTURE"
|
||||||
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
|
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
|
||||||
Version="1.8.13.0" />
|
Version="1.8.14.0" />
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>Telegram Desktop</DisplayName>
|
<DisplayName>Telegram Desktop</DisplayName>
|
||||||
<PublisherDisplayName>Telegram FZ-LLC</PublisherDisplayName>
|
<PublisherDisplayName>Telegram FZ-LLC</PublisherDisplayName>
|
||||||
|
|
|
@ -33,8 +33,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1,8,13,0
|
FILEVERSION 1,8,14,0
|
||||||
PRODUCTVERSION 1,8,13,0
|
PRODUCTVERSION 1,8,14,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -51,10 +51,10 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Telegram FZ-LLC"
|
VALUE "CompanyName", "Telegram FZ-LLC"
|
||||||
VALUE "FileDescription", "Telegram Desktop"
|
VALUE "FileDescription", "Telegram Desktop"
|
||||||
VALUE "FileVersion", "1.8.13.0"
|
VALUE "FileVersion", "1.8.14.0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
|
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
|
||||||
VALUE "ProductName", "Telegram Desktop"
|
VALUE "ProductName", "Telegram Desktop"
|
||||||
VALUE "ProductVersion", "1.8.13.0"
|
VALUE "ProductVersion", "1.8.14.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
|
@ -24,8 +24,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1,8,13,0
|
FILEVERSION 1,8,14,0
|
||||||
PRODUCTVERSION 1,8,13,0
|
PRODUCTVERSION 1,8,14,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -42,10 +42,10 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Telegram FZ-LLC"
|
VALUE "CompanyName", "Telegram FZ-LLC"
|
||||||
VALUE "FileDescription", "Telegram Desktop Updater"
|
VALUE "FileDescription", "Telegram Desktop Updater"
|
||||||
VALUE "FileVersion", "1.8.13.0"
|
VALUE "FileVersion", "1.8.14.0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
|
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
|
||||||
VALUE "ProductName", "Telegram Desktop"
|
VALUE "ProductName", "Telegram Desktop"
|
||||||
VALUE "ProductVersion", "1.8.13.0"
|
VALUE "ProductVersion", "1.8.14.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
|
@ -15,7 +15,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#define TDESKTOP_ALPHA_VERSION (0ULL)
|
#define TDESKTOP_ALPHA_VERSION (0ULL)
|
||||||
#endif // TDESKTOP_OFFICIAL_TARGET
|
#endif // TDESKTOP_OFFICIAL_TARGET
|
||||||
|
|
||||||
constexpr auto AppVersion = 1008013;
|
constexpr auto AppVersion = 1008014;
|
||||||
constexpr auto AppVersionStr = "1.8.13";
|
constexpr auto AppVersionStr = "1.8.14";
|
||||||
constexpr auto AppBetaVersion = false;
|
constexpr auto AppBetaVersion = false;
|
||||||
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|
||||||
|
|
|
@ -118,14 +118,18 @@ bool ComputeCheckTilde(const style::TextStyle &st) {
|
||||||
|
|
||||||
bool chIsBad(QChar ch) {
|
bool chIsBad(QChar ch) {
|
||||||
return (ch == 0)
|
return (ch == 0)
|
||||||
|| (ch >= 8232 && ch < 8237)
|
|| (ch >= 8232 && ch < 8237)
|
||||||
|| (ch >= 65024 && ch < 65040 && ch != 65039)
|
|| (ch >= 65024 && ch < 65040 && ch != 65039)
|
||||||
|| (ch >= 127 && ch < 160 && ch != 156)
|
|| (ch >= 127 && ch < 160 && ch != 156)
|
||||||
|
|
||||||
// qt harfbuzz crash see https://github.com/telegramdesktop/tdesktop/issues/4551
|
// qt harfbuzz crash see https://github.com/telegramdesktop/tdesktop/issues/4551
|
||||||
|| (Platform::IsMac() && ch == 6158)
|
|| (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_11OrGreater()
|
||||||
&& !Platform::IsMac10_12OrGreater()
|
&& !Platform::IsMac10_12OrGreater()
|
||||||
&& ch >= 0x0B00
|
&& ch >= 0x0B00
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
AppVersion 1008013
|
AppVersion 1008014
|
||||||
AppVersionStrMajor 1.8
|
AppVersionStrMajor 1.8
|
||||||
AppVersionStrSmall 1.8.13
|
AppVersionStrSmall 1.8.14
|
||||||
AppVersionStr 1.8.13
|
AppVersionStr 1.8.14
|
||||||
BetaChannel 0
|
BetaChannel 0
|
||||||
AlphaVersion 0
|
AlphaVersion 0
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
1.8.14 (03.10.19)
|
||||||
|
|
||||||
|
- Bug fixes and other minor improvements.
|
||||||
|
|
||||||
1.8.13 (03.10.19)
|
1.8.13 (03.10.19)
|
||||||
|
|
||||||
- Bug fixes and other minor improvements.
|
- Bug fixes and other minor improvements.
|
||||||
|
|
Loading…
Add table
Reference in a new issue