John Preston
3577e71782
Validate mime type of animated stickers.
2019-05-27 15:09:07 +02:00
John Preston
cfff744cb1
Parse and render lottie in the background.
2019-05-27 14:11:26 +02:00
John Preston
f073963582
Preview lottie animations in media viewer.
2019-05-27 14:11:26 +02:00
John Preston
22c2054dcf
First attempt to use QtLottie.
2019-05-27 14:11:26 +02:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
321e4ffe9c
Don't auto-resume video when seeking.
2019-04-08 14:34:31 +04:00
John Preston
5f8ede194b
Fix rendering of large images on macOS.
2019-04-03 16:42:08 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
a6e96f9a28
Use new animations engine in all Basic-s.
2019-04-02 14:33:53 +04:00
John Preston
cd3c1c6dc0
Use new animations engine for typings.
2019-04-02 14:33:53 +04:00
John Preston
3bd1bbc77a
Use Streaming::Player in video messages playback.
2019-03-26 16:51:39 +04:00
John Preston
2701e63406
Allow revoking only sent messages.
2019-03-24 12:12:43 +04:00
John Preston
a34e998c42
Handle fwd_from without a link to the account.
2019-03-24 12:12:42 +04:00
John Preston
c0959ceaeb
Start video when moving to it in media viewer.
...
Fixes #5796 .
2019-03-18 11:44:49 +04:00
John Preston
8f9bed0443
Fix document caption in media viewer.
...
Regression was introduced in 5cae57601a
.
Fixes #5799 , fixes #5802 , fixes #5804 .
2019-03-17 23:00:09 +04:00
John Preston
bc2b0f8392
Add button to download video files.
...
Fixes #5781 .
2019-03-15 14:15:04 +04:00
John Preston
f2a7cf5c64
Improve shared videos design.
2019-03-15 12:09:48 +04:00
John Preston
5cae57601a
Allow video download from media viewer.
2019-03-14 16:03:02 +04:00
John Preston
2b7fb7a9a6
Pause music only when video playback starts.
2019-03-14 14:45:08 +04:00
John Preston
5ec37e9112
Use separate click handler for OpenWith.
2019-03-13 13:35:47 +04:00
John Preston
ef682e7023
Fix photos in overview with disabled autodownload.
...
Fixes #5599 , fixes #5747 .
2019-03-12 12:55:26 +04:00
John Preston
846499a4fb
Fix volume saving to settings.
2019-03-12 09:09:53 +04:00
John Preston
c063d94aa5
Remove DocumentData::actionOnLoad. Fix GIF open.
2019-03-11 19:07:35 +04:00
John Preston
261720c941
Fix radial animations on macOS.
...
QOpenGLWidget doesn't draw antialiased ellipses and arcs,
so we use a software rasterizer and then draw the resulting image.
2019-03-11 13:51:15 +04:00
John Preston
a886c598c1
Fix non-streamable videos layout.
2019-03-11 12:08:20 +04:00
John Preston
18c42954ae
Fix sparse frame painting on macOS.
2019-03-11 12:08:20 +04:00
John Preston
3706be77ea
Fix macOS media viewer controls hiding.
2019-03-11 12:08:19 +04:00
John Preston
f481f1e142
Make videos larger, fix playback animation.
2019-03-11 12:08:19 +04:00
John Preston
5c4b459f57
Use new animations in video viewer.
2019-03-11 12:08:18 +04:00
John Preston
92332b45ea
Don't reset zoom on video seek.
2019-03-11 12:08:17 +04:00
John Preston
b742c95516
Support streamed video rotation.
2019-03-11 12:08:16 +04:00
John Preston
0f4ccce0e1
Update ffmpeg.
2019-03-11 12:08:15 +04:00
John Preston
01d763eed1
Use DocumentData::getDuration for all types.
2019-03-11 12:08:15 +04:00
John Preston
22356eb01c
Fix initial video duration display.
2019-03-11 12:08:14 +04:00
John Preston
6887993f92
Report streaming failed.
2019-03-11 12:08:13 +04:00
John Preston
71b733a018
Display receivedTill in video player controls.
2019-03-11 12:08:13 +04:00
John Preston
e2eb9cea00
Apply sample_aspect_ratio in streaming.
2019-03-11 12:08:12 +04:00
John Preston
99e96a5b13
Allow looping video without audio in streaming.
2019-03-11 12:08:12 +04:00
John Preston
c27456277e
Support streaming of local files.
2019-03-11 12:08:11 +04:00
John Preston
dafa286b18
Show option to download on streaming error.
2019-03-11 12:08:11 +04:00
John Preston
8171828c2a
Fix build on GCC.
2019-03-11 12:08:09 +04:00
John Preston
c574119718
Implement file reference update in streaming.
2019-03-11 12:08:08 +04:00
John Preston
648cd44ddd
Display correct video / music state.
2019-03-11 12:08:08 +04:00
John Preston
fde8dd9607
Play streaming audio in player.
2019-03-11 12:08:08 +04:00
John Preston
f1e0cd6c1d
Play streaming video in mediaview.
2019-03-11 11:52:11 +04:00
23rd
f48d8538c0
Added ability to see attached stickers on photos.
2019-03-10 22:10:36 +04:00
23rd
78d00bcf22
Refactored counting idle time.
...
- psIdleTime() was replaced with Platform::LastUserInputTime().
- _lastTimeVideoPlayedAt was moved to Application as _lastNonIdleTime.
- Call of updateNonIdle() was added while voice is recording.
- Fixed #5695 .
- Thanks Preston. =)
2019-03-10 22:02:58 +04:00
23rd
4ed1835d32
Fixed Ctrl + F shortcut for full screen toggle in media view.
2019-02-20 11:43:50 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
7c1704e68b
Fix crash in EditCaptionBox.
2019-02-17 13:51:53 +04:00