Commit graph

11866 commits

Author SHA1 Message Date
John Preston
285ce81b7b Update API scheme to layer 145. 2022-09-02 21:14:28 +04:00
Ilya Fedin
e7f85f7255 Add missing include to settings_advanced 2022-09-02 18:46:31 +04:00
Ilya Fedin
12d8d193a1 Create QSystemTrayIcon even when tray is not supported
QSystemTrayIcon provides no public API to know when tray icon support appears, but can subscribe to native events internally

This should help for environments where a race condition between applications autostart and tray service autostart present in case Qt is subscribed internally
2022-09-02 17:29:57 +04:00
Ilya Fedin
c18313614b Use Core::Tray::has in settings_advanced 2022-09-02 17:29:57 +04:00
Ilya Fedin
f1092753fc Remove version from the .desktop file
Some desktop environments hide the launcher if they don't know the version
2022-09-01 13:53:53 +04:00
Ilya Fedin
5fc7caeec9 Provide old version to Platform::NewVersionLaunched 2022-09-01 13:53:53 +04:00
Ilya Fedin
e20840b4d4 Use KUrlMimeData for clipboard xdg-desktop-portal integration 2022-08-30 20:25:10 +04:00
John Preston
7b005c64e0 Workaround MSVC 17.3.2 ICE. 2022-08-26 09:47:03 +04:00
Yue Wu
82d68f5b98
Fix JSON output when exporting custom emojis
Fixes #24961
2022-08-23 12:21:58 +04:00
John Preston
c793537d96 Version 4.1.1.
- Fix editing media captions with animated emoji.
- Fix viewing animated emoji sets used in a message.
- Fix premium sticker tooltip auto-show in channel comments.
- Fix main window position and size restoring after relaunch.
- Other bug fixes and minor improvements.
2022-08-16 09:38:19 +03:00
23rd
e568f7ab01 Added ability to restrict voice messages in conversations for everyone. 2022-08-16 09:38:19 +03:00
John Preston
11b711c43f Fix realtime "Large emoji" applying to only-custom-emoji. 2022-08-16 09:29:02 +03:00
John Preston
d1a81a83b4 Fix crash in editing media captions. 2022-08-16 09:21:12 +03:00
John Preston
42ca06d33c Request up to 32 file parts at once for video downloads. 2022-08-16 08:57:36 +03:00
John Preston
184ebc865c Fix downloading videos of size > INT_MAX to disk. 2022-08-16 08:56:30 +03:00
John Preston
c8c3f43853 Fix editing media captions with custom emoji. 2022-08-16 08:27:55 +03:00
John Preston
9105677325 Add "View Profile" even with third column info. 2022-08-16 07:41:32 +03:00
John Preston
7c2d3a8855 Fix custom emoji in initial send files caption. 2022-08-15 19:10:38 +03:00
John Preston
888306c017 Fix custom emoji in reply bar in comments / scheduled. 2022-08-15 19:01:40 +03:00
John Preston
6ff30c643a Fix user links in Recent Actions. 2022-08-15 18:54:08 +03:00
John Preston
5f8fca0355 Don't allow custom emoji pseudo-links in EditLink. 2022-08-15 18:41:37 +03:00
John Preston
4933fbb74a Show out message timestamp always for > 3 custom emoji. 2022-08-15 17:54:45 +03:00
John Preston
51010e864c Fix premium sticker tooltip auto-show in comments. 2022-08-15 16:39:56 +03:00
John Preston
24ee944689 Improve reply info layout in narrow mode.
Fixes #24935.
2022-08-15 16:21:08 +03:00
John Preston
2c0a38d356 Don't unload emoji sets.
Fixes #24933.
2022-08-15 15:52:27 +03:00
John Preston
2846b2f7a5 Fix stickers list footer last icon. 2022-08-15 14:23:07 +03:00
John Preston
c126a1e56e Simplify CustomEmojiId. 2022-08-15 13:17:24 +03:00
John Preston
f0f7318978 Better saved credentials processing. 2022-08-15 12:20:17 +03:00
John Preston
fede1ff173 Simplify stickers inner API. 2022-08-15 11:34:22 +03:00
John Preston
94e4a8981f Specify gift box sticker explicitly. 2022-08-15 10:42:06 +03:00
Ilya Fedin
1e7117dd67 Revert "Fix enlargening the window by shadow margin when resotring position"
This reverts commit e0ddaf9da1.
2022-08-14 11:51:13 +04:00
Joe Kappus
f82089cbfe Fix build with GCC 12. 2022-08-13 14:18:13 +04:00
Ilya Fedin
b9181db407 Don't use QWindowSystemInterface in the PiP
It provides no difference, there was a mistake while testing the behavior
2022-08-12 19:51:04 +03:00
John Preston
df45294855 Version 4.1: Fix build with GCC. 2022-08-12 19:01:41 +03:00
John Preston
ef6d2b2c0b Version 4.1.
- Include animated emoji in messages and captions.
- Premium users unlock over 500 new emoji,
including custom packs with unique characters.
- All users can view any emoji,
and try them out in the Saved Messages chat.
- Control who can send you voice
and video messages with Telegram Premium.
- Send a Premium subscription to any user from their profile.
- Choose 3, 6, or 12 months - at a discount.
2022-08-12 16:46:57 +03:00
John Preston
228a48c8bf Fix possible crash in main window destructor.
In platform window destructor it can send window state change signal.
2022-08-12 16:21:52 +03:00
John Preston
76a482317d Fix main menu name label refreshing. 2022-08-11 20:58:30 +03:00
John Preston
01f28b4d52 Use CustomEmoji instances for categories in the panel. 2022-08-11 20:56:33 +03:00
John Preston
655194c841 Return ApiWrap::requestPeerSettings method. 2022-08-11 09:59:18 +03:00
John Preston
54f467eb47 Don't rely on MTP* when sending photos. 2022-08-11 09:06:56 +03:00
John Preston
3698396677 Remove MTP from Polls::create interface. 2022-08-11 09:06:43 +03:00
John Preston
d2e1517e7a Correctly cancel username check request. 2022-08-11 09:06:30 +03:00
John Preston
7733e3350d Remove unused private fields in ApiWrap. 2022-08-11 09:06:16 +03:00
John Preston
566128c3eb Remove MTP from requestDeepLinkInfo interface. 2022-08-11 09:05:37 +03:00
John Preston
ab3d3a449b Remove MTP from requestWallPaper interface. 2022-08-11 09:05:23 +03:00
John Preston
e9fd249c5a Remove some unused ApiWrap methods. 2022-08-11 09:04:25 +03:00
John Preston
e7a3c5367a Make MTP* optional in ConfirmInviteBox. 2022-08-11 09:02:41 +03:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston
84b3260f38 Don't open group info on migration update. 2022-08-08 20:21:30 +03:00
Sergey A. Osokin
7a3452a18a Fix warnings by removing unused const variables
Telegram/SourceFiles/ui/text/custom_emoji_instance.cpp:23:16: warning: unused variable 'kMaxFrameDuration' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/reactions_settings_box.cpp:46:16: warning: unused variable 'kVisibleButtonsCount' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/premium_preview_box.cpp:53:16: warning: unused variable 'kShiftDuration' [-Wunused-const-variable]
Telegram/SourceFiles/settings/settings_premium.cpp:55:16: warning: unused variable 'kTitleAnimationPart' [-Wunused-const-variable]

Found by:	clang
2022-08-08 21:21:13 +04:00