Commit Graph

455 Commits

Author SHA1 Message Date
John Preston 8fb2772093 Fix sent GIFs playback. 2020-01-17 16:58:19 +03:00
John Preston 72d8cd7ef0 Save playback position in long audio files. 2019-12-31 10:30:06 +03:00
John Preston c13e433e65 Fix possible crash in failed media resume. 2019-12-30 13:39:18 +03:00
John Preston d47c138f23 Save streaming player between message edits. 2019-12-28 17:56:06 +03:00
John Preston 79870600d9 Fix saving of playback position for long videos. 2019-12-27 17:09:55 +03:00
John Preston a7fe88bea7 Highlight timestamps in media viewer. 2019-12-27 15:35:35 +03:00
John Preston 90c54b1f2a Highlight timestamps in song captions. 2019-12-26 17:14:35 +03:00
John Preston e9620af6fb Save last playback position for long videos. 2019-12-25 18:19:52 +03:00
John Preston b584204522 Fix sound stop in streamed videos. 2019-12-25 13:12:42 +03:00
John Preston 616957e46f Add file size limit to autoplay settings. 2019-12-24 13:09:04 +03:00
John Preston 8a3506af89 Restore download priorities without streaming. 2019-12-23 14:13:32 +03:00
John Preston 85545dba64 Set higher streaming priority in media overlay. 2019-12-23 13:27:20 +03:00
John Preston fa4d8f2fbd Support priorities in download tasks. 2019-12-23 12:37:03 +03:00
John Preston 8ae6156477 Fix video quality when opening from chat. 2019-12-23 11:10:11 +03:00
John Preston 621a5cc4ab Fix GIFs freezing playback. 2019-12-21 16:57:06 +03:00
John Preston f51f133832 Send packets for processing in batches. 2019-12-19 18:14:05 +03:00
John Preston 041670b8e7 Fix download of short videos in media overlay. 2019-12-19 14:13:27 +03:00
John Preston 4cdf08cbfb Fix video with autoplay disabled. 2019-12-19 13:50:33 +03:00
John Preston 40d4353d05 Allow stopping audio without stopping video. 2019-12-18 21:26:17 +03:00
John Preston a2b6e05cdf Fix inline player for rotated videos. 2019-12-18 20:15:42 +03:00
John Preston 10c810ff03 Lock inline HistoryView::Gif when playing fullscreen. 2019-12-17 17:30:14 +03:00
John Preston 51dac66998 Show inline video playback state. 2019-12-17 16:04:53 +03:00
John Preston 0e75ad42e2 Fix playback state display in round videos. 2019-12-16 17:17:13 +03:00
John Preston ceecbaa904 Continue GIFs in media overlay. 2019-12-16 16:22:53 +03:00
John Preston 38199276f1 Fix round video messages streaming. 2019-12-12 16:26:53 +03:00
John Preston 8211c94a74 Prepare frames for all instances with requests. 2019-12-12 12:34:40 +03:00
John Preston 9339db900f Pause GIFs in message history. 2019-12-11 17:01:11 +03:00
John Preston 2d7adbc68a All players create own Media::Streaming::Instance. 2019-12-11 15:09:21 +03:00
John Preston bfa5accc29 Use shared player for each document. 2019-12-11 13:15:48 +03:00
John Preston 1243123579 Allow multiple players of the same file. 2019-12-10 17:06:22 +03:00
John Preston b73f1be856 Make some video player code reusable. 2019-12-10 15:13:12 +03:00
John Preston ee94e78533 All mtproto downloads using DownloadMtprotoTask. 2019-12-05 11:32:33 +03:00
John Preston f522cc9444 Load streaming parts using Storage::DownloadManager. 2019-12-04 10:42:55 +03:00
John Preston 3ae2986c25 Allow variable count of download sessions. 2019-12-04 09:51:21 +03:00
John Preston fb86bb579b Correctly track DC index in Downloader-s. 2019-12-03 15:45:35 +03:00
John Preston 12f5ccaaa5 Use vector queues in mtproto file downloader. 2019-12-03 10:25:27 +03:00
John Preston e943264823 Pass MTP::Instance to MTP::Sender. 2019-11-29 15:36:05 +03:00
Nicholas Guriev 793862bee6 Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663)
* Do not move result at end of function

This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization.
2019-11-12 18:15:34 +03:00
John Preston bd0aee2f77 Use userpic if no photo thumbnail is loaded. 2019-11-05 13:23:56 +03:00
John Preston 246c45ce0e Use lib_ui from submodule. 2019-10-19 12:27:28 +04:00
John Preston 17baac710e Fix save dialog in macOS for streamed videos. 2019-10-07 19:57:26 +03:00
John Preston 60b39c8f7e Fix inline result previews. 2019-10-07 12:19:04 +03:00
John Preston ecfe1dacb2 Version 1.8.12: Fix build for Xcode. 2019-10-02 12:54:29 +03:00
Jiachen YANG 9d850b71e7 be compatible with range-v3 0.9.x/1.0 branch
This made 2 changes to the current code base to be compatible with higher versions of range-v3 library.
1. ranges::iterator_range was renamed to subrange, see https://github.com/ericniebler/range-v3/issues/766
2. PercentCounterItem need an operator== for ranges::sort for some reason
2019-10-02 11:52:55 +03:00
John Preston 849deb57e2 Move many widget classes to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston c057f28425 Move standard buttons to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00
John Preston e2f54eb3e9 Move some style code to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston 90b955534a Beta version 1.8.6: Improve theme preview. 2019-09-09 16:13:16 +03:00