130 Commits

Author SHA1 Message Date
AlexeyZavar 2f5970d57c Merge tag 'v6.7.2' into dev 2026-04-04 05:32:26 +03:00
Ilya Fedin f6ac2c5aa9 Revert "Don't stream videos when external player is used"
This reverts commit b0ce88395f.
2026-03-10 12:40:17 +04:00
AlexeyZavar cb24e7d085 Merge tag 'v6.3.10' & extra into dev 2025-12-30 14:28:06 +03:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
AlexeyZavar 51a7739436 Merge remote-tracking branch 'upstream-main/dev' into dev 2025-10-27 12:17:51 +03:00
AlexeyZavar 9cf11ff45d Merge tag 'v6.1.3' into dev 2025-10-04 17:26:13 +03:00
23rd 69da4d749b Replaced multi-purpose callShadow with specific one for media view PiP. 2025-09-29 15:12:50 +03:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
AlexeyZavar 939c9afeb4 Merge tag 'v5.14.1' into dev 2025-05-02 01:50:47 +03:00
Ilya Fedin c261c3367a Fix a PiP crash with Qt 6.9 2025-04-05 06:55:06 +05:00
AlexeyZavar adc691f516 Merge tag 'v5.12.1' into dev 2025-03-08 23:02:34 +03:00
Ilya Fedin ec6862d31a Communicate PiP window margins to the OS 2025-02-25 10:15:33 +04:00
AlexeyZavar 20358a2f58 Merge tag 'v5.10.3' into dev 2025-01-15 10:11:17 +03:00
Ilya Fedin b0b37172ce Fix the naming of TitleControlsLayout static methods 2024-12-23 11:01:35 +04:00
Ilya Fedin bf26de495a Adapt to TitleControlsLayout change 2024-12-19 15:59:25 +04:00
Ilya Fedin 73b3f7e298 Adapt to TitleControlsOnLeft change 2024-12-19 15:59:25 +04:00
AlexeyZavar dbc0cae68c Merge tag 'v5.8.2' into dev 2024-11-20 16:19:06 +03:00
John Preston 0971485367 Support quality change in PiP. 2024-11-01 14:15:28 +04:00
John Preston d6ac883efa Implement adaptive quality selection. 2024-10-31 18:04:17 +04:00
AlexeyZavar 7321b654bf Merge tag 'v5.6.3' into dev 2024-10-16 13:42:36 +03:00
Ilya Fedin 3a9eb8463d Try to always use QWidget::screen 2024-09-19 10:46:10 +02:00
AlexeyZavar 409eedf58d Merge tag 'v5.5.3' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/history_widget.cpp
#	Telegram/SourceFiles/history/view/history_view_element.cpp
#	Telegram/lib_tl
#	Telegram/lib_ui
#	lib/xdg/org.telegram.desktop.metainfo.xml
#	snap/snapcraft.yaml
2024-09-11 20:23:00 +03:00
23rd 03790f3da0 Removed include directive for ui_utility from rp_widget header. 2024-08-28 15:15:58 +03:00
AlexeyZavar 92dab0438f Merge tag 'v5.3.2' into dev
# Conflicts:
#	.github/workflows/mac_packaged.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/boxes/sticker_set_box.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-08-05 20:56:01 +03:00
Ilya Fedin 8d0d9bb0bd Delay clearing transient parent until the pip window is really exposed 2024-07-06 09:17:04 +04:00
AlexeyZavar da797a2b07 Merge tag 'v5.2.0' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/calls/calls_call.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/media/history_view_gif.cpp
#	Telegram/SourceFiles/window/notifications_manager_default.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-07-01 04:17:59 +03:00
Ilya Fedin c1bc7e6ab1 Simplify PipPanel::handleWaylandResize 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
AlexeyZavar c6b42e2940 Merge tag 'v4.16.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/calls/calls_call.cpp
#	Telegram/SourceFiles/core/local_url_handlers.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp
#	Telegram/SourceFiles/history/view/media/history_view_sticker.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-04-01 23:56:12 +03:00
Ilya Fedin 001b055ee8 Let Wayland to use QGuiApplication::screenAt
Looks like it works correctly nowadays
2024-03-28 10:54:34 +04:00
ZavaruKitsu adb5abf4fb chore: reformat & refactor & remove as not planned for now 2024-02-04 18:36:11 +03:00
ZavaruKitsu 53e4b685b4 Merge tag 'v4.11.1' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/history_inner_widget.cpp
#	Telegram/SourceFiles/platform/win/tray_win.cpp
#	Telegram/lib_ui
2023-10-29 14:35:43 +03:00
Ilya Fedin eb1ef6d2a7 Fix getting the screen of viewer/pip
We need to workaround getting the actual screen for the parent by getting its position yet we need to get the setted screen for the widget itself as that's the screen used to compute the geometry
2023-10-22 22:20:52 +04:00
ZavaruKitsu 8e8719870a feat: streamer mode
Co-authored-by: MaxPlays35 <35427519+maxplays35@users.noreply.github.com>
2023-08-30 20:11:28 +00:00
Ilya Fedin d60d80ba63 Reuse lib_ui's title control side deduction code 2023-07-20 17:58:41 +04:00
John Preston 7d067d4924 Fix build with Xcode. 2023-07-20 10:20:53 +04:00
Ilya Fedin 8352aeb338 Send mouse release event after startSystemMove/startSystemResize 2023-06-01 20:01:46 +04:00
John Preston 0d6e5eda0c Allow larger PiP window size. 2023-04-20 12:55:01 +04:00
John Preston 5ca7b95cdb Implement new voice speed change control design. 2023-03-14 17:30:50 +04:00
John Preston 58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
Ilya Fedin 4832e3b3ab Fix the comment about surface size in media_view_pip
Surface size is buffer size, in fact...
2022-10-30 07:35:33 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
Ilya Fedin b48674d302 Avoid unneccesary QPA, again 2022-09-03 08:47:02 +04:00
Ilya Fedin dfb40dd216 Handle PiP aspect ratio on Wayland synchronously
During testing with Qt 6.4 I now remember why I made a way complicated logic (yes, because the trivial one bugs with Qt 6.4)
This restores it, but uses event filters rather than hardware integration override
2022-09-03 08:41:49 +04:00
John Preston a0d5456a4d PoC content outside of PopupMenu. 2022-09-02 21:14:29 +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
Ilya Fedin 8c1bef929e A better way of PiP aspect ratio handling on Wayland 2022-08-08 11:05:52 +04:00
Ilya Fedin 66d2c06eb4 Update minimum & maximum size in the PiP 2022-08-04 21:27:57 +04:00
Ilya Fedin 9e63fc5acd Let PiP have custom buffer size on Wayland 2022-08-04 16:41:25 +04:00