Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
77d8c7ce01 | ||
|
|
de0897343b | ||
|
|
e27399baa6 | ||
|
|
42eb74d07a | ||
|
|
aee991f598 | ||
|
|
96c3dc4161 | ||
|
|
77586a1297 |
@@ -9,7 +9,7 @@
|
||||
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
|
||||
ProcessorArchitecture="ARCHITECTURE"
|
||||
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
|
||||
Version="2.8.8.0" />
|
||||
Version="2.8.11.0" />
|
||||
<Properties>
|
||||
<DisplayName>Telegram Desktop</DisplayName>
|
||||
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
|
||||
|
||||
@@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 2,8,8,0
|
||||
PRODUCTVERSION 2,8,8,0
|
||||
FILEVERSION 2,8,11,0
|
||||
PRODUCTVERSION 2,8,11,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -62,10 +62,10 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Telegram FZ-LLC"
|
||||
VALUE "FileDescription", "Telegram Desktop"
|
||||
VALUE "FileVersion", "2.8.8.0"
|
||||
VALUE "FileVersion", "2.8.11.0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2021"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "2.8.8.0"
|
||||
VALUE "ProductVersion", "2.8.11.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
@@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 2,8,8,0
|
||||
PRODUCTVERSION 2,8,8,0
|
||||
FILEVERSION 2,8,11,0
|
||||
PRODUCTVERSION 2,8,11,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -53,10 +53,10 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Telegram FZ-LLC"
|
||||
VALUE "FileDescription", "Telegram Desktop Updater"
|
||||
VALUE "FileVersion", "2.8.8.0"
|
||||
VALUE "FileVersion", "2.8.11.0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2021"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "2.8.8.0"
|
||||
VALUE "ProductVersion", "2.8.11.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
@@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
|
||||
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
|
||||
constexpr auto AppName = "Telegram Desktop"_cs;
|
||||
constexpr auto AppFile = "Telegram"_cs;
|
||||
constexpr auto AppVersion = 2008008;
|
||||
constexpr auto AppVersionStr = "2.8.8";
|
||||
constexpr auto AppVersion = 2008011;
|
||||
constexpr auto AppVersionStr = "2.8.11";
|
||||
constexpr auto AppBetaVersion = false;
|
||||
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|
||||
|
||||
@@ -19,6 +19,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
namespace MTP {
|
||||
namespace {
|
||||
|
||||
constexpr auto kVersion = 2;
|
||||
|
||||
using namespace details;
|
||||
|
||||
struct BuiltInDc {
|
||||
@@ -437,8 +439,6 @@ QByteArray DcOptions::serialize() const {
|
||||
}
|
||||
}
|
||||
|
||||
constexpr auto kVersion = 1;
|
||||
|
||||
auto result = QByteArray();
|
||||
result.reserve(size);
|
||||
{
|
||||
@@ -541,7 +541,7 @@ bool DcOptions::constructFromSerialized(const QByteArray &serialized) {
|
||||
}
|
||||
|
||||
// Read CDN config
|
||||
if (!stream.atEnd()) {
|
||||
if (!stream.atEnd() && version > 1) {
|
||||
auto count = qint32(0);
|
||||
stream >> count;
|
||||
if (stream.status() != QDataStream::Ok) {
|
||||
|
||||
@@ -21,6 +21,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "media/streaming/media_streaming_instance.h"
|
||||
#include "media/streaming/media_streaming_loader_local.h"
|
||||
#include "media/streaming/media_streaming_player.h"
|
||||
#include "styles/style_boxes.h"
|
||||
|
||||
namespace Ui {
|
||||
namespace {
|
||||
@@ -87,7 +88,23 @@ ItemSingleMediaPreview::ItemSingleMediaPreview(
|
||||
session->downloaderTaskFinished()
|
||||
) | rpl::start_with_next([=] {
|
||||
const auto computed = computeThumbInfo();
|
||||
if (computed.loaded) {
|
||||
if (!computed.image) {
|
||||
if (_documentMedia && !_documentMedia->owner()->hasThumbnail()) {
|
||||
const auto size = _documentMedia->owner()->dimensions.scaled(
|
||||
st::sendMediaPreviewSize,
|
||||
st::confirmMaxHeight,
|
||||
Qt::KeepAspectRatio);
|
||||
if (!size.isEmpty()) {
|
||||
auto empty = QImage(
|
||||
size,
|
||||
QImage::Format_ARGB32_Premultiplied);
|
||||
empty.fill(Qt::black);
|
||||
preparePreview(empty);
|
||||
}
|
||||
_lifetimeDownload.destroy();
|
||||
}
|
||||
return;
|
||||
} else if (computed.loaded) {
|
||||
_lifetimeDownload.destroy();
|
||||
}
|
||||
preparePreview(computed.image->original());
|
||||
|
||||
@@ -29,8 +29,10 @@ ENV LibrariesPath /usr/src/Libraries
|
||||
WORKDIR $LibrariesPath
|
||||
|
||||
FROM builder AS patches
|
||||
ADD https://api.github.com/repos/desktop-app/patches/git/refs/heads/master patches-version.json
|
||||
RUN git clone --depth=1 $GIT/desktop-app/patches.git
|
||||
RUN git clone $GIT/desktop-app/patches.git
|
||||
|
||||
WORKDIR patches
|
||||
RUN git checkout 87a2e9ee07
|
||||
|
||||
FROM builder AS extra-cmake-modules
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
AppVersion 2008008
|
||||
AppVersion 2008011
|
||||
AppVersionStrMajor 2.8
|
||||
AppVersionStrSmall 2.8.8
|
||||
AppVersionStr 2.8.8
|
||||
AppVersionStrSmall 2.8.11
|
||||
AppVersionStr 2.8.11
|
||||
BetaChannel 0
|
||||
AlphaVersion 0
|
||||
AppVersionOriginal 2.8.8
|
||||
AppVersionOriginal 2.8.11
|
||||
|
||||
Submodule Telegram/lib_base updated: 935aced92e...f9ca7dc7f3
Submodule Telegram/lib_ui updated: ed6c2cb541...0ad1d2c965
@@ -1,3 +1,17 @@
|
||||
2.8.11 (17.07.21)
|
||||
|
||||
- Check shader compilation / linking before using ANGLE.
|
||||
|
||||
2.8.10 (16.07.21)
|
||||
|
||||
- Fix media loading.
|
||||
|
||||
2.8.9 (16.07.21)
|
||||
|
||||
- Fix GIF caption edit.
|
||||
- Fix version on Windows without SetDefaultDllDirectories.
|
||||
- Fix fonts on Linux.
|
||||
|
||||
2.8.8 (15.07.21)
|
||||
|
||||
- Added an image editor. Crop photos or highlight parts of screenshots before sending.
|
||||
|
||||
@@ -34,7 +34,7 @@ Open **x64 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
|
||||
cd ThirdParty
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 4409bae
|
||||
git checkout 87a2e9ee07
|
||||
cd ../
|
||||
git clone https://chromium.googlesource.com/external/gyp
|
||||
cd gyp
|
||||
@@ -65,7 +65,7 @@ Open **x64 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
|
||||
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 4409bae
|
||||
git checkout 87a2e9ee07
|
||||
cd ..
|
||||
|
||||
git clone https://github.com/desktop-app/lzma.git
|
||||
|
||||
@@ -34,7 +34,7 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
|
||||
cd ThirdParty
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 4409bae
|
||||
git checkout 87a2e9ee07
|
||||
cd ../
|
||||
git clone https://chromium.googlesource.com/external/gyp
|
||||
cd gyp
|
||||
@@ -65,7 +65,7 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
|
||||
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 4409bae
|
||||
git checkout 87a2e9ee07
|
||||
cd ..
|
||||
|
||||
git clone https://github.com/desktop-app/lzma.git
|
||||
|
||||
@@ -29,7 +29,7 @@ Go to ***BuildPath*** and run
|
||||
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 51a9fc5
|
||||
git checkout 87a2e9ee07
|
||||
cd ../
|
||||
git clone https://chromium.googlesource.com/external/gyp
|
||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||
@@ -58,7 +58,7 @@ Go to ***BuildPath*** and run
|
||||
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 51a9fc5
|
||||
git checkout 87a2e9ee07
|
||||
cd ..
|
||||
|
||||
git clone https://git.tukaani.org/xz.git
|
||||
|
||||
Reference in New Issue
Block a user