Commit graph

789 commits

Author SHA1 Message Date
23rd
074dbf41e0 Replaced menu in media viewer with menu for sponsored messages. 2024-08-14 18:17:52 +02:00
23rd
e4538947c3 Added ability to open media from sponsored messages. 2024-08-14 18:17:52 +02:00
John Preston
e89f2b55e8 Support arbitrary content in toasts. 2024-08-14 18:17:49 +02:00
Ilya Fedin
517b456670 Add hit test for window context menu 2024-07-26 10:19:55 +02:00
Ilya Fedin
8d0d9bb0bd Delay clearing transient parent until the pip window is really exposed 2024-07-06 09:17:04 +04:00
John Preston
715dff0a3e Fix a crash and a memory leak in video player.
Fixes #28104.
2024-07-01 11:03:19 +04:00
Ilya Fedin
36f6917bd3 Query QWindow::windowState in media viewer 2024-07-01 07:56:55 +04:00
John Preston
69d21f73ef Separate window for forums/topics/sublists/archive. 2024-06-30 21:16:10 +04:00
John Preston
dfc422b505 Show paid media albums with context. 2024-06-30 21:16:10 +04:00
John Preston
a9bd7803e6 Edit price on send, send single paid media. 2024-06-30 21:16:08 +04:00
John Preston
3ece9b1566 Update API scheme to layer 183. Paid media. 2024-06-30 21:16:08 +04:00
John Preston
fbbcc21198 Update API scheme to layer 182. 2024-06-30 21:16:07 +04:00
Ilya Fedin
c1bc7e6ab1 Simplify PipPanel::handleWaylandResize 2024-06-22 11:32:36 +04:00
Ilya Fedin
eea50ed6b0 Delay UpdatePowerSaveBlocker to show in media viewer 2024-06-22 11:32:36 +04:00
Ilya Fedin
006d6fe2c0 Use RpWidget::screenValue 2024-06-22 11:32:36 +04:00
Ilya Fedin
5180e0ec57 Use QWidget::setScreen with Qt 6 2024-06-22 11:32:36 +04:00
John Preston
93b7c47cda Support building on Windows with Qt 6. 2024-06-21 11:36:18 +04:00
Ilya Fedin
053f8ad1c0 Ensure media viewer has native window handle before using it 2024-06-21 08:19:44 +04:00
Ilya Fedin
fc5e9414b7 Subscribe to QEvent::WindowStateChange instead of QWindow::windowStateChanged 2024-06-19 10:33:33 +04:00
Ilya Fedin
750ad600be Store media viewer geometry the same way as main window 2024-06-19 10:08:14 +04:00
Ilya Fedin
e4d88f829c Remove old window activation workaround for X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
John Preston
deb50ee528 Fix video full-window toggle in windowed mode. 2024-06-06 22:16:53 +04:00
John Preston
67f7816088 Allow sending photo/video captions above media. 2024-05-30 21:35:10 +04:00
John Preston
d1106e5ae6 Check effects availability in all SendMenu-s. 2024-05-30 21:35:05 +04:00
John Preston
396ba9a984 Initial code of attaching effect selector. 2024-05-30 21:35:05 +04:00
Ilya Fedin
98b58c1168 Add missing binds for OpenGL shaders and buffers 2024-05-19 09:55:34 +04:00
John Preston
d33e3dc13a Rename Story::pinned to Story::inProfile. 2024-04-23 19:13:46 +04:00
John Preston
7fa3c6f8e8 Return media viewer hiding glitch workaround. 2024-04-02 13:19:22 +04:00
John Preston
f95817861a Fix build on Windows. 2024-04-01 22:44:25 +04:00
Ilya Fedin
001b055ee8 Let Wayland to use QGuiApplication::screenAt
Looks like it works correctly nowadays
2024-03-28 10:54:34 +04:00
23rd
d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
Ilya Fedin
ddaf78828a Fix media viewer geometry restoration 2024-03-17 09:28:46 +04:00
Ilya Fedin
6d5347472d Fix media viewer geometry logging
It has regressed after c64e953174
2024-03-17 09:28:46 +04:00
John Preston
88751896af PremiumPreview/BusinessFeature -> PremiumFeature. 2024-03-08 10:53:59 +04:00
John Preston
38e082422a Show story sender / repost userpic under story source. 2024-02-15 13:51:41 +04:00
John Preston
db7c16f82b Fix about message reaction text color. 2024-02-01 12:37:34 +04:00
John Preston
87df90227e Remove legacy premium reactions code. 2024-02-01 12:37:34 +04:00
John Preston
1cfad14437 Show correct placeholder in require-premium story reply. 2024-01-17 09:39:05 +04:00
23rd
a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
John Preston
e2e55312b8 Fix viewer hide workaround for software renderer. 2024-01-02 12:59:41 +04:00
Ilya Fedin
00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
John Preston
2a8a74b5b1 Display correctly forwards of forwards in sublists. 2023-12-31 19:42:24 +04:00
23rd
c2712b0104 Removed redundant semicolons from code. 2023-12-31 19:42:23 +04:00
John Preston
d87a0a2d25 Show reposts / forwards in story viewers. 2023-12-16 20:25:02 +00:00
23rd
88b20f6700 Fixed indents in some files. 2023-12-16 20:25:01 +00:00
John Preston
d6d76c8477 Show repost-from-name in story header. 2023-11-28 21:55:27 +04:00
John Preston
5aaf119b36 Handle repost preview clicks. 2023-11-28 21:55:26 +04:00
John Preston
8f9123bb96 Display story repost nicely. 2023-11-28 21:55:26 +04:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
John Preston
11ea5e61cf Show repost header in stories. 2023-11-28 21:55:25 +04:00