John Preston
7023b013ce
Initial support of separate windows for accounts.
2023-01-19 09:45:28 +04:00
John Preston
b1d1d73541
Copy/Paste original JPEG bytes to clipboard.
2023-01-13 12:46:17 +04:00
John Preston
02f3985125
Inspect correct url() instead of dragText().
...
Fixes #25720 .
Regression was introduced in 23387d6625
.
2023-01-12 11:34:16 +04:00
John Preston
5f93725431
Relax controls hiding conditions in full screen.
...
Fixes #25499 .
2023-01-09 14:03:27 +04:00
John Preston
876cdcf26a
Show "Photo set by you" in profile photos list.
2023-01-09 09:56:36 +04:00
John Preston
2d9d373c7f
Don't show "Report" for personal contact photos.
2023-01-09 09:20:36 +04:00
John Preston
cabed9587b
Close PiP if message with video gets deleted.
2022-12-30 14:26:43 +04:00
John Preston
0ce01410a1
Fix crash in Pip-to-Viewer after message deletion.
...
Fixes #25262 . Fixes #25522 .
2022-12-30 14:18:04 +04:00
Ilya Fedin
66093f0cb5
cTimeFormat/cDateFormat -> QLocale::ShortFormat
...
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
23rd
4c181b6d08
Added initial implementation of fallback photo management in settings.
2022-12-26 14:24:07 +04:00
John Preston
1b73b34810
Make HistoryItem a final class.
2022-12-26 14:24:04 +04:00
John Preston
cb653df0f6
Support adaptive forum userpic rounding radius.
2022-12-05 16:18:10 +04:00
23rd
f8a17bd9c9
Moved tmp string for temporary folder to single place.
2022-11-30 17:17:16 +03:00
23rd
4fabb3f2a2
Replaced some qsl with u""_q literal.
2022-11-30 17:17:14 +03:00
John Preston
57af221d39
Support General topic somehow.
2022-11-29 18:30:38 +04:00
23rd
2acedca6b7
Replaced some qstr with u""_q literal.
2022-11-29 14:12:50 +03:00
Ilya Fedin
0cd0ad7a5b
Handle cancel for default download path in Linux sandbox
2022-11-10 00:24:37 +04:00
John Preston
7ec1af5e50
Forbid saving / copying of extended media.
...
Fixes #25227 .
2022-11-01 19:25:45 +04:00
John Preston
18bf5c0ee2
Handle nice topic / post-in-topic links.
2022-11-01 19:25:43 +04:00
23rd
6d3f9017fa
Added ability to report chat photo and channel photo.
2022-11-01 19:25:41 +04:00
John Preston
6695eda1be
Handle forum-non_forum changes in realtime.
2022-11-01 19:25:37 +04:00
John Preston
58b8eb8e96
Implement per-topic shared media.
2022-11-01 19:25:37 +04:00
John Preston
3722e55b67
Support topic on-the-fly creation.
2022-11-01 19:25:35 +04:00
John Preston
bcfe4ac4a3
Allow revealing spoilers in media viewer captions.
2022-09-23 23:50:21 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
8bc807dc40
Set name / phone texts on-demand.
2022-08-09 14:12:19 +03:00
John Preston
289602528c
Fix custom emoji pausing in captions.
2022-07-26 20:12:08 +03:00
John Preston
2e6733e433
Proof-of-concept animated custom emoji.
2022-07-26 20:12:08 +03:00
Ilya Fedin
984094a7ff
Partially revert "Use QWidget::screen/QWidget::mask instead of QWindow ones"
...
This partially reverts commit e5d8a1aa3c
to use QWindow::setScreen.
2022-06-21 00:03:21 +04:00
John Preston
333b986098
Remove ToS and Privacy Policy footer.
2022-06-12 16:51:55 +04:00
23rd
6ca167679d
Added ability to invoke callback for non-primary window controllers.
2022-06-10 14:57:44 +03:00
23rd
43c0197445
Removed Ui::hideLayer from places that can be in non-primary windows.
2022-06-09 07:06:01 +03:00
23rd
cc7a4c2772
Removed Ui::showPeerProfile.
2022-06-09 00:45:04 +03:00
23rd
37f96534ec
Fixed opening of shared media in corresponding window from media viewer.
2022-06-09 00:45:04 +03:00
23rd
99059ab95a
Respected setting of disabled animation in save toast from media viewer.
2022-06-06 02:26:52 +03:00
John Preston
705753efb2
Use small userpic video in dialogs list / chat history.
2022-06-03 15:58:02 +04:00
John Preston
6dedf7c63e
Update API scheme to layer 143.
2022-05-19 17:27:02 +04:00
Ilya Fedin
2f2003c89b
Fix media viewer on Unity
...
This could be a regression for tiling WMs, though...
2022-05-02 16:00:56 +04:00
John Preston
acd76fc97b
Clear possible crash in media viewer.
2022-04-19 09:39:01 +04:00
23rd
d289bbdc5e
Added ability to report profile photos.
...
Fixed #24325 .
2022-04-19 09:39:01 +04:00
Ilya Fedin
bf4fc2596a
Remove unneeded primary screen fallbacks
...
QWidget::screen automatically fallbacks to primary screen as the last effort, so this is not needed
2022-04-19 09:33:23 +04:00
John Preston
261740967d
Fix media viewer crop on multi-monitor setup.
2022-04-16 19:56:28 +04:00
23rd
f5164fe3e4
Added ability to use previous peer userpics.
2022-04-07 02:14:02 +03:00
John Preston
5167eb47ae
Add hardware acceleartion video decoding setting.
2022-03-30 15:26:34 +04:00
John Preston
e8748986bf
Fix fallback to software decoding in FFmpeg.
2022-03-30 12:22:50 +04:00
John Preston
528a3cdca1
Fix media viewer window.
2022-03-30 12:22:50 +04:00
Ilya Fedin
93e9eedfae
Update media viewer window flags
...
1. FramelessWindowHint seem to be a redudant leftover of BypassWindowManagerHint, media viewer uses fullscreen state now that implies lack of the frame
2. MaximizeUsingFullscreenGeometryHint is useless since media viewer doesn't use maximize
3. Transient parent/window modality dance is replaced with minimum/maximum size just like in other places where tiling shouldn't be done
4. setWindowState(WindowFullScreen) is replaced with showFullScreen that ensures the flag is set on each show
2022-03-24 16:05:32 +04:00
John Preston
0dca556843
Use FFmpeg hardware acceleration in media viewer / PiP.
2022-03-23 10:03:38 +04:00
Ilya Fedin
36282c450e
Log media viewer geometry on show
2022-03-23 09:42:51 +04:00
Ilya Fedin
e5d8a1aa3c
Use QWidget::screen/QWidget::mask instead of QWindow ones
2022-03-23 09:42:51 +04:00