Alpha version 1.3.15.

- Improved local caching for images and GIF animations.
- Control how much disk space is used by the cache
and for how long the cached files are stored.
This commit is contained in:
John Preston 2018-09-01 13:56:17 +03:00
parent 2096007ed9
commit 4e80d54be1
8 changed files with 31 additions and 18 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.3.14.2" /> Version="1.3.15.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,3,14,2 FILEVERSION 1,3,15,0
PRODUCTVERSION 1,3,14,2 PRODUCTVERSION 1,3,15,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.3.14.2" VALUE "FileVersion", "1.3.15.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2018" VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.3.14.2" VALUE "ProductVersion", "1.3.15.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,3,14,2 FILEVERSION 1,3,15,0
PRODUCTVERSION 1,3,14,2 PRODUCTVERSION 1,3,15,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.3.14.2" VALUE "FileVersion", "1.3.15.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2018" VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.3.14.2" VALUE "ProductVersion", "1.3.15.0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View File

@ -40,6 +40,14 @@ std::map<int, const char*> AlphaLogs() {
"\xE2\x80\x94 You can now assign custom themes " "\xE2\x80\x94 You can now assign custom themes "
"as night and day themes to quickly switch between them." "as night and day themes to quickly switch between them."
},
{
1003015,
"\xE2\x80\x94 Improved local caching "
"for images and GIF animations.\n"
"\xE2\x80\x94 Control how much disk space is used by the cache "
"and for how long the cached files are stored."
} }
}; };
} }

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 (1003014002ULL) #define BETA_VERSION_MACRO (0ULL)
constexpr int AppVersion = 1003014; constexpr int AppVersion = 1003015;
constexpr str_const AppVersionStr = "1.3.14"; constexpr str_const AppVersionStr = "1.3.15";
constexpr bool AppAlphaVersion = false; constexpr bool AppAlphaVersion = true;
constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO; constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO;

View File

@ -217,6 +217,7 @@ void ListWidget::Section::setHeader(not_null<BaseLayout*> item) {
bool ListWidget::Section::belongsHere( bool ListWidget::Section::belongsHere(
not_null<BaseLayout*> item) const { not_null<BaseLayout*> item) const {
Expects(!_items.empty()); Expects(!_items.empty());
auto date = item->dateTime().date(); auto date = item->dateTime().date();
auto myDate = _items.back().second->dateTime().date(); auto myDate = _items.back().second->dateTime().date();

View File

@ -1,6 +1,6 @@
AppVersion 1003014 AppVersion 1003015
AppVersionStrMajor 1.3 AppVersionStrMajor 1.3
AppVersionStrSmall 1.3.14 AppVersionStrSmall 1.3.15
AppVersionStr 1.3.14 AppVersionStr 1.3.15
AlphaChannel 0 AlphaChannel 1
BetaVersion 1003014002 BetaVersion 0

View File

@ -1,3 +1,7 @@
1.3.15 (01.09.18)
- Improved local files cache.
1.3.14 (27.08.18) 1.3.14 (27.08.18)
- Fix a crash in calls. - Fix a crash in calls.