Alpha version 1.2.25.

- Apply markdown formatting (```, `, **, __)
only when sending the message.
- Display connection quality bars in calls.
- Telegram Desktop can update itself through MTProto.
- Bug fixes and other minor improvements.
This commit is contained in:
John Preston 2018-05-31 21:37:15 +03:00
parent 7db7c05da8
commit ad12d6cc46
9 changed files with 40 additions and 24 deletions

View file

@ -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.2.24.1" /> Version="1.2.25.0" />
<Properties> <Properties>
<DisplayName>Telegram Desktop</DisplayName> <DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName> <PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

View file

@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,2,24,1 FILEVERSION 1,2,25,0
PRODUCTVERSION 1,2,24,1 PRODUCTVERSION 1,2,25,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -52,10 +52,10 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Telegram Messenger LLP" VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop" VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "1.2.24.1" VALUE "FileVersion", "1.2.25.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2018" VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.2.24.1" VALUE "ProductVersion", "1.2.25.0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View file

@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,2,24,1 FILEVERSION 1,2,25,0
PRODUCTVERSION 1,2,24,1 PRODUCTVERSION 1,2,25,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -43,10 +43,10 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Telegram Messenger LLP" VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop Updater" VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "1.2.24.1" VALUE "FileVersion", "1.2.25.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2018" VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.2.24.1" VALUE "ProductVersion", "1.2.25.0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View file

@ -100,6 +100,17 @@ std::map<int, const char*> AlphaLogs() {
1002024, 1002024,
"\xE2\x80\x94 Add links with custom text from context menu " "\xE2\x80\x94 Add links with custom text from context menu "
"or by Ctrl/Cmd + K keyboard shortcut." "or by Ctrl/Cmd + K keyboard shortcut."
},
{
1002025,
"\xE2\x80\x94 Apply markdown formatting (```, `, **, __) "
"only when sending the message.\n"
"\xE2\x80\x94 Display connection quality bars in calls.\n"
"\xE2\x80\x94 Telegram Desktop can update itself through MTProto.\n"
"\xE2\x80\x94 Bug fixes and other minor improvements."
} }
}; };
} }

View file

@ -1741,8 +1741,8 @@ void Updater::start(bool forceWait) {
} }
_retryTimer.cancel(); _retryTimer.cancel();
const auto constDelay = cBetaVersion() ? 60 : UpdateDelayConstPart; const auto constDelay = cBetaVersion() ? 600 : UpdateDelayConstPart;
const auto randDelay = cBetaVersion() ? 30 : UpdateDelayRandPart; const auto randDelay = cBetaVersion() ? 300 : UpdateDelayRandPart;
const auto updateInSecs = cLastUpdateCheck() const auto updateInSecs = cLastUpdateCheck()
+ constDelay + constDelay
+ int(rand() % randDelay) + int(rand() % randDelay)
@ -1765,9 +1765,7 @@ void Updater::start(bool forceWait) {
std::make_unique<HttpChecker>(_testing)); std::make_unique<HttpChecker>(_testing));
startImplementation( startImplementation(
&_mtpImplementation, &_mtpImplementation,
(cBetaVersion() std::make_unique<MtpChecker>(_mtproto, _testing));
? std::make_unique<MtpChecker>(_mtproto, _testing)
: nullptr));
_checking.fire({}); _checking.fire({});
} else { } else {

View file

@ -9,9 +9,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/utils.h" #include "core/utils.h"
#define BETA_VERSION_MACRO (1002024001ULL) #define BETA_VERSION_MACRO (0ULL)
constexpr int AppVersion = 1002024; constexpr int AppVersion = 1002025;
constexpr str_const AppVersionStr = "1.2.24"; constexpr str_const AppVersionStr = "1.2.25";
constexpr bool AppAlphaVersion = false; constexpr bool AppAlphaVersion = true;
constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO; constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO;

View file

@ -192,7 +192,7 @@ void PhoneWidget::submit() {
rpcFail(&PhoneWidget::phoneSubmitFail)); rpcFail(&PhoneWidget::phoneSubmitFail));
}; };
const auto code = _country->iso(); const auto code = _country->iso();
if (!TermsAcceptRequired(code) || _termsAccepted) { if (true || !TermsAcceptRequired(code) || _termsAccepted) {
sendCode(); sendCode();
} else { } else {
acceptTerms(code, base::lambda_guarded(this, [=] { acceptTerms(code, base::lambda_guarded(this, [=] {

View file

@ -1,6 +1,6 @@
AppVersion 1002024 AppVersion 1002025
AppVersionStrMajor 1.2 AppVersionStrMajor 1.2
AppVersionStrSmall 1.2.24 AppVersionStrSmall 1.2.25
AppVersionStr 1.2.24 AppVersionStr 1.2.25
AlphaChannel 0 AlphaChannel 1
BetaVersion 1002024001 BetaVersion 0

View file

@ -1,3 +1,10 @@
1.2.25 alpha (31.05.18)
- Apply markdown formatting (```, `, **, __) only when sending the message.
- Display connection quality bars in calls.
- Telegram Desktop can update itself through MTProto.
- Bug fixes and other minor improvements.
1.2.24 alpha (26.05.18) 1.2.24 alpha (26.05.18)
- Add links with custom text from context menu or by Ctrl/Cmd + K keyboard shortcut. - Add links with custom text from context menu or by Ctrl/Cmd + K keyboard shortcut.