John Preston
63d15e4479
Support Webm sticker display in chat history.
2022-01-28 19:10:07 +03:00
John Preston
2f01efdd64
Correctly detect Webm stickers.
2022-01-28 19:10:07 +03:00
John Preston
8b7d2c880e
Support rendering Webm videos with alpha.
2022-01-28 19:10:07 +03:00
John Preston
5bb90679a8
Attempt to fix a weird assertion violation.
2021-12-31 01:20:28 +03:00
John Preston
2a0babe5ab
Fix file upload cancelling.
...
Fixes #17408 .
2021-12-22 10:34:00 +00:00
John Preston
9e5117d336
Respect autodownload settings in reply previews.
2021-12-03 14:59:08 +04:00
John Preston
0f443da758
Track noforwards flag in specific messages.
2021-11-26 18:00:22 +04:00
John Preston
c849d17667
Remove corner download if noforwards.
2021-11-26 18:00:18 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
23rd
6148edbc7d
Moved ConfirmBox to td_ui.
2021-10-19 06:34:27 +03:00
John Preston
adb0a9b6f0
Fix document filenames.
...
Regression was introduced in 2b11e45692
.
2021-10-11 22:58:24 +04:00
John Preston
2b11e45692
Add DocumentData::setFileName.
2021-10-11 21:52:49 +04:00
23rd
900a7d0b2b
Appended references to const auto types in loop to prevent copying.
...
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
6cadf54874
Add support for SVG patterns in wallpapers.
2021-08-11 19:56:12 +03:00
John Preston
c79cd0b692
Use Images::Read instead of App::readImage.
2021-08-11 18:55:08 +03:00
John Preston
4206ff0483
Don't use MTP* for StickersSet flags.
2021-07-09 09:08:58 +03:00
John Preston
75090dedaa
Don't store MTPInputStickerSet in data.
2021-07-08 22:08:59 +03:00
John Preston
4124c2eb57
Show inline path thumbnails for stickers.
2021-07-02 13:13:48 +03:00
23rd
3fd772ce17
Moved file click handlers to separated file.
2021-06-18 07:30:54 +03:00
23rd
1f816c249b
Replaced DocumentOpenClickHandler.
2021-06-17 10:57:45 +04:00
23rd
8591d58798
Added ability to show content from Controller for Shared Media.
2021-06-17 10:57:45 +04:00
23rd
dc0aaec4a4
Added ability to show document from Controller for sections.
2021-06-17 10:57:45 +04:00
23rd
583c3d3429
Moved static functions from DocumentData to separated file.
2021-06-17 10:57:45 +04:00
23rd
690fbe83fd
Unified and moved to single place generating of song name from SongData.
2021-05-31 08:54:22 +04:00
Ilya Fedin
508762cd2c
Use static QFileInfo::exists
2021-03-15 11:21:05 +03:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
Ilya Fedin
8042a83fd2
Move glib usage to glibmm
2021-03-04 12:07:54 +04:00
John Preston
b5a2b0fb98
Detect file mime from content as well on Linux.
2021-02-22 23:42:43 +04:00
John Preston
5feb381cb2
Allow showing images from cache in media viewer.
...
Fixes #10237 .
2021-02-01 15:44:24 +04:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
23rd
ad761011d6
Added ability to fetch song cover from external resource.
2021-01-22 16:53:59 +04:00
23rd
8fffe7d128
Added ability to show song cover in HistoryView and Overview::Layout.
2021-01-11 22:46:45 +03:00
John Preston
02d5af7d71
Detect animated stickers by mime type.
2020-12-01 09:45:24 +03:00
John Preston
012ebdd15e
Fix grouping of music files / just files.
2020-10-30 18:32:19 +03:00
John Preston
8b96f4c214
Move Media::Clip::Reader and FileLocation to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
05eb549a3d
Move App::roundRect to Ui::FillRoundRect.
2020-10-30 18:32:18 +03:00
John Preston
37fb94cbfb
Load and show image previews in pinned bar.
2020-10-30 18:32:18 +03:00
23rd
665e322fce
Added ability to see attached stickers on documents.
...
Fixed #8927 .
2020-10-30 13:18:40 +03:00
Ilya Fedin
b0ce88395f
Don't stream videos when external player is used
...
External player feature doesn't work otherwise
2020-10-26 14:58:39 +03:00
John Preston
9697567b8d
Add some more open file warnings.
2020-10-23 13:10:43 +03:00
John Preston
9c213bf1c0
Warn when launching .sh on Windows.
...
Fixes #8753 .
2020-10-07 14:41:21 +03:00
John Preston
437c9320cd
Implement progressive jpeg loading and sending.
2020-09-29 19:03:18 +03:00
John Preston
9463bbd266
Fix animated stickers with wrong dimensions.
2020-07-17 08:13:45 +04:00
John Preston
8aafe6ba0e
Show only box(512,512) .webp as stickers.
2020-07-15 22:31:42 +04:00
John Preston
515d8e78da
Show 'Open With' for files without extension.
2020-07-14 19:03:36 +04:00
John Preston
76596f42c7
Open too large GIFs in fullscreen viewer.
2020-07-02 13:43:39 +04:00
Magnus Groß
f697abe9a1
Do not open non-images as image
...
QImageReader might report PDF as a viable image type, if Qt is
dynamically linked and QtWebEngine is installed.
Fixed by additionally checking the mime type.
Fixes #8102
2020-06-29 16:22:15 +04:00
John Preston
4d65df6ca2
Remove legacy temp download folder.
2020-06-23 21:53:44 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00