Skip to content

Commit

Permalink
Beta version 4.16.9.
Browse files Browse the repository at this point in the history
- Show "Frequent contacts" when you focus the search field.
- Show "Recent chats" when you focus the search field.
- Show "Channels" and channel recommendations.
- Allow changing font in Settings > Chat settings > Font family.
  • Loading branch information
john-preston committed Apr 23, 2024
1 parent 56bce70 commit 331e8c3
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Telegram/Resources/uwp/AppX/AppxManifest.xml
Expand Up @@ -10,7 +10,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="4.16.8.0" />
Version="4.16.9.0" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
Expand Down
8 changes: 4 additions & 4 deletions Telegram/Resources/winrc/Telegram.rc
Expand Up @@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,16,8,0
PRODUCTVERSION 4,16,8,0
FILEVERSION 4,16,9,0
PRODUCTVERSION 4,16,9,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -62,10 +62,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "4.16.8.0"
VALUE "FileVersion", "4.16.9.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "4.16.8.0"
VALUE "ProductVersion", "4.16.9.0"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions Telegram/Resources/winrc/Updater.rc
Expand Up @@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,16,8,0
PRODUCTVERSION 4,16,8,0
FILEVERSION 4,16,9,0
PRODUCTVERSION 4,16,9,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -53,10 +53,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "4.16.8.0"
VALUE "FileVersion", "4.16.9.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "4.16.8.0"
VALUE "ProductVersion", "4.16.9.0"
END
END
BLOCK "VarFileInfo"
Expand Down
6 changes: 3 additions & 3 deletions Telegram/SourceFiles/core/version.h
Expand Up @@ -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 = 4016008;
constexpr auto AppVersionStr = "4.16.8";
constexpr auto AppBetaVersion = false;
constexpr auto AppVersion = 4016009;
constexpr auto AppVersionStr = "4.16.9";
constexpr auto AppBetaVersion = true;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
1 change: 0 additions & 1 deletion Telegram/SourceFiles/dialogs/ui/dialogs_suggestions.cpp
Expand Up @@ -1225,7 +1225,6 @@ void Suggestions::paintEvent(QPaintEvent *e) {
const auto slide = st::topPeers.height + st::searchedBarHeight;
const auto right = (_tab.current() == Tab::Channels);
const auto progress = _slideAnimation.value(right ? 1. : 0.);
const auto shift = st::topPeers.height + st::searchedBarHeight;
p.setOpacity(1. - progress);
p.drawPixmap(
anim::interpolate(0, -slide, progress),
Expand Down
Expand Up @@ -780,8 +780,6 @@ void WebPage::draw(Painter &p, const PaintContext &context) const {
const auto offsetY = (single - size.height()) / 2.;
const auto x = j * single + offsetX;
const auto y = i * single + offsetY;
const auto w = size.width();
const auto h = size.height();
view->draw(p, context, QRect(QPoint(x, y) + topLeft, size));
}
}
Expand Down
8 changes: 0 additions & 8 deletions Telegram/SourceFiles/ui/boxes/choose_font_box.cpp
Expand Up @@ -129,7 +129,6 @@ class Selector final : public Ui::RpWidget {
[[nodiscard]] bool searching() const;
[[nodiscard]] int shownRowsCount() const;
[[nodiscard]] Entry &shownRowAt(int index);
[[nodiscard]] const Entry &shownRowAt(int index) const;

void applyFilter(const QString &query);
void updateSelected(int selected);
Expand Down Expand Up @@ -179,8 +178,6 @@ Selector::Selector(
, _scrollTo(std::move(scrollTo))
, _rowsSkip(st::settingsInfoPhotoSkip)
, _rowHeight(_st.height + _st.padding.top() + _st.padding.bottom()) {
Expects(_chosen >= 0 && _chosen < _rows.size());

setMouseTracking(true);

std::move(filter) | rpl::start_with_next([=](const QString &query) {
Expand Down Expand Up @@ -344,10 +341,6 @@ Selector::Entry &Selector::shownRowAt(int index) {
return searching() ? *_filtered[index] : _rows[index];
}

const Selector::Entry &Selector::shownRowAt(int index) const {
return const_cast<Selector*>(this)->shownRowAt(index);
}

void Selector::setMinHeight(int height) {
_minHeight = height;
if (_minHeight > 0) {
Expand Down Expand Up @@ -797,7 +790,6 @@ void PreviewPainter::layout() {
_bubble = _content.marginsAdded(msgPadding);
_content.moveTopLeft(-_bubble.topLeft());
_bubble.moveTopLeft({});
const auto bubbleShadow = st::msgShadow;

_outer = QSize(st::boxWidth, st::boxWidth / 2);

Expand Down
10 changes: 5 additions & 5 deletions Telegram/build/version
@@ -1,7 +1,7 @@
AppVersion 4016008
AppVersion 4016009
AppVersionStrMajor 4.16
AppVersionStrSmall 4.16.8
AppVersionStr 4.16.8
BetaChannel 0
AppVersionStrSmall 4.16.9
AppVersionStr 4.16.9
BetaChannel 1
AlphaVersion 0
AppVersionOriginal 4.16.8
AppVersionOriginal 4.16.9.beta
7 changes: 7 additions & 0 deletions changelog.txt
@@ -1,3 +1,10 @@
4.16.9 beta (23.04.24)

- Show "Frequent contacts" when you focus the search field.
- Show "Recent chats" when you focus the search field.
- Show "Channels" and channel recommendations.
- Allow changing font in Settings > Chat settings > Font family.

4.16.8 (16.04.24)

- Fix in-app playing of some video and audio files.
Expand Down

0 comments on commit 331e8c3

Please sign in to comment.