mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Beta version 5.4.2.
- Select audio devices from one-on-one call window. - Bug fixes and other minor improvements. - New text layout testing.
This commit is contained in:
parent
fed09461ce
commit
e6405bc455
8 changed files with 38 additions and 26 deletions
|
@ -10,7 +10,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="5.4.1.0" />
|
Version="5.4.2.0" />
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>Telegram Desktop</DisplayName>
|
<DisplayName>Telegram Desktop</DisplayName>
|
||||||
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
|
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
|
||||||
|
|
|
@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 5,4,1,0
|
FILEVERSION 5,4,2,0
|
||||||
PRODUCTVERSION 5,4,1,0
|
PRODUCTVERSION 5,4,2,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -62,10 +62,10 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Telegram FZ-LLC"
|
VALUE "CompanyName", "Telegram FZ-LLC"
|
||||||
VALUE "FileDescription", "Telegram Desktop"
|
VALUE "FileDescription", "Telegram Desktop"
|
||||||
VALUE "FileVersion", "5.4.1.0"
|
VALUE "FileVersion", "5.4.2.0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
|
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
|
||||||
VALUE "ProductName", "Telegram Desktop"
|
VALUE "ProductName", "Telegram Desktop"
|
||||||
VALUE "ProductVersion", "5.4.1.0"
|
VALUE "ProductVersion", "5.4.2.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
|
@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 5,4,1,0
|
FILEVERSION 5,4,2,0
|
||||||
PRODUCTVERSION 5,4,1,0
|
PRODUCTVERSION 5,4,2,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -53,10 +53,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", "5.4.1.0"
|
VALUE "FileVersion", "5.4.2.0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
|
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
|
||||||
VALUE "ProductName", "Telegram Desktop"
|
VALUE "ProductName", "Telegram Desktop"
|
||||||
VALUE "ProductVersion", "5.4.1.0"
|
VALUE "ProductVersion", "5.4.2.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
|
@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
|
||||||
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
|
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
|
||||||
constexpr auto AppName = "Telegram Desktop"_cs;
|
constexpr auto AppName = "Telegram Desktop"_cs;
|
||||||
constexpr auto AppFile = "Telegram"_cs;
|
constexpr auto AppFile = "Telegram"_cs;
|
||||||
constexpr auto AppVersion = 5004001;
|
constexpr auto AppVersion = 5004002;
|
||||||
constexpr auto AppVersionStr = "5.4.1";
|
constexpr auto AppVersionStr = "5.4.2";
|
||||||
constexpr auto AppBetaVersion = false;
|
constexpr auto AppBetaVersion = true;
|
||||||
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|
||||||
|
|
|
@ -38,6 +38,19 @@ namespace {
|
||||||
|
|
||||||
constexpr auto kMaxTopPaidShown = 3;
|
constexpr auto kMaxTopPaidShown = 3;
|
||||||
|
|
||||||
|
struct TopReactorKey {
|
||||||
|
std::shared_ptr<DynamicImage> photo;
|
||||||
|
int count = 0;
|
||||||
|
QString name;
|
||||||
|
|
||||||
|
friend inline auto operator<=>(
|
||||||
|
const TopReactorKey &,
|
||||||
|
const TopReactorKey &) = default;
|
||||||
|
friend inline bool operator==(
|
||||||
|
const TopReactorKey &,
|
||||||
|
const TopReactorKey &) = default;
|
||||||
|
};
|
||||||
|
|
||||||
struct Discreter {
|
struct Discreter {
|
||||||
Fn<int(float64)> ratioToValue;
|
Fn<int(float64)> ratioToValue;
|
||||||
Fn<float64(int)> valueToRatio;
|
Fn<float64(int)> valueToRatio;
|
||||||
|
@ -249,14 +262,7 @@ void FillTopReactors(
|
||||||
object_ptr<FixedHeightWidget>(container, height),
|
object_ptr<FixedHeightWidget>(container, height),
|
||||||
st::paidReactTopMargin));
|
st::paidReactTopMargin));
|
||||||
const auto parent = wrap->entity();
|
const auto parent = wrap->entity();
|
||||||
struct Key {
|
using Key = TopReactorKey;
|
||||||
std::shared_ptr<DynamicImage> photo;
|
|
||||||
int count = 0;
|
|
||||||
QString name;
|
|
||||||
|
|
||||||
inline auto operator<=>(const Key &) const = default;
|
|
||||||
inline bool operator==(const Key &) const = default;
|
|
||||||
};
|
|
||||||
struct State {
|
struct State {
|
||||||
base::flat_map<Key, not_null<RpWidget*>> cache;
|
base::flat_map<Key, not_null<RpWidget*>> cache;
|
||||||
std::vector<not_null<RpWidget*>> widgets;
|
std::vector<not_null<RpWidget*>> widgets;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
AppVersion 5004001
|
AppVersion 5004002
|
||||||
AppVersionStrMajor 5.4
|
AppVersionStrMajor 5.4
|
||||||
AppVersionStrSmall 5.4.1
|
AppVersionStrSmall 5.4.2
|
||||||
AppVersionStr 5.4.1
|
AppVersionStr 5.4.2
|
||||||
BetaChannel 0
|
BetaChannel 1
|
||||||
AlphaVersion 0
|
AlphaVersion 0
|
||||||
AppVersionOriginal 5.4.1
|
AppVersionOriginal 5.4.2.beta
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit ebbb3aa22d59f73daa9e57771b45b1dd5faed83e
|
Subproject commit a9d398f50a6f866898c354da1395f088f671a748
|
|
@ -1,3 +1,9 @@
|
||||||
|
5.4.2 beta (28.08.24)
|
||||||
|
|
||||||
|
- Select audio devices from one-on-one call window.
|
||||||
|
- Bug fixes and other minor improvements.
|
||||||
|
- New text layout testing.
|
||||||
|
|
||||||
5.4.1 (17.08.24)
|
5.4.1 (17.08.24)
|
||||||
|
|
||||||
- Fix crash when sending Star Reaction in comments.
|
- Fix crash when sending Star Reaction in comments.
|
||||||
|
|
Loading…
Add table
Reference in a new issue