From 9752224449cadcfc5948b7748f4707100e5e47dd Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 19 Oct 2016 21:47:45 +0300 Subject: [PATCH] Version 0.10.16 stable: new media player + notifications update. --- Telegram/Resources/winrc/Telegram.rc | 8 ++++---- Telegram/Resources/winrc/Updater.rc | 8 ++++---- Telegram/SourceFiles/application.cpp | 4 ++-- Telegram/SourceFiles/core/version.h | 6 +++--- Telegram/build/version | 8 ++++---- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc index 198cf231f..a11b06469 100644 --- a/Telegram/Resources/winrc/Telegram.rc +++ b/Telegram/Resources/winrc/Telegram.rc @@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico" // VS_VERSION_INFO VERSIONINFO - FILEVERSION 0,10,15,0 - PRODUCTVERSION 0,10,15,0 + FILEVERSION 0,10,16,0 + PRODUCTVERSION 0,10,16,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -51,10 +51,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "CompanyName", "Telegram Messenger LLP" - VALUE "FileVersion", "0.10.15.0" + VALUE "FileVersion", "0.10.16.0" VALUE "LegalCopyright", "Copyright (C) 2014-2016" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "0.10.15.0" + VALUE "ProductVersion", "0.10.16.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc index cff5a016e..4c571a1b2 100644 --- a/Telegram/Resources/winrc/Updater.rc +++ b/Telegram/Resources/winrc/Updater.rc @@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US // VS_VERSION_INFO VERSIONINFO - FILEVERSION 0,10,15,0 - PRODUCTVERSION 0,10,15,0 + FILEVERSION 0,10,16,0 + PRODUCTVERSION 0,10,16,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -43,10 +43,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram Messenger LLP" VALUE "FileDescription", "Telegram Updater" - VALUE "FileVersion", "0.10.15.0" + VALUE "FileVersion", "0.10.16.0" VALUE "LegalCopyright", "Copyright (C) 2014-2016" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "0.10.15.0" + VALUE "ProductVersion", "0.10.16.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/SourceFiles/application.cpp b/Telegram/SourceFiles/application.cpp index cad098578..62f7eabf8 100644 --- a/Telegram/SourceFiles/application.cpp +++ b/Telegram/SourceFiles/application.cpp @@ -1087,8 +1087,8 @@ void AppClass::checkMapVersion() { if (Local::oldMapVersion()) { QString versionFeatures; if ((cAlphaVersion() || cBetaVersion()) && Local::oldMapVersion() < 10014) { - versionFeatures = QString::fromUtf8("\xe2\x80\x94 New audio player design\n\xe2\x80\x94 Moved to Qt library version 5.6.2\n\nWindows 10:\n\xe2\x80\x94 Respecting quiet hours for the notifications"); - } else if (!(cAlphaVersion() || cBetaVersion()) && Local::oldMapVersion() < 10005) { + versionFeatures = langNewVersionText(); //QString::fromUtf8("\xe2\x80\x94 New audio player design\n\xe2\x80\x94 Moved to Qt library version 5.6.2\n\nWindows 10:\n\xe2\x80\x94 Respecting quiet hours for the notifications"); + } else if (!(cAlphaVersion() || cBetaVersion()) && Local::oldMapVersion() < 10016) { versionFeatures = langNewVersionText(); } else { versionFeatures = lang(lng_new_version_minor).trimmed(); diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index 840ef0d5f..e7e907b7d 100644 --- a/Telegram/SourceFiles/core/version.h +++ b/Telegram/SourceFiles/core/version.h @@ -24,7 +24,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org #define BETA_VERSION_MACRO (0ULL) -constexpr int AppVersion = 10015; -constexpr str_const AppVersionStr = "0.10.15"; -constexpr bool AppAlphaVersion = true; +constexpr int AppVersion = 10016; +constexpr str_const AppVersionStr = "0.10.16"; +constexpr bool AppAlphaVersion = false; constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO; diff --git a/Telegram/build/version b/Telegram/build/version index b4046780a..ade31629a 100644 --- a/Telegram/build/version +++ b/Telegram/build/version @@ -1,6 +1,6 @@ -AppVersion 10015 +AppVersion 10016 AppVersionStrMajor 0.10 -AppVersionStrSmall 0.10.15 -AppVersionStr 0.10.15 -AlphaChannel 1 +AppVersionStrSmall 0.10.16 +AppVersionStr 0.10.16 +AlphaChannel 0 BetaVersion 0