John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
226ca6d117
Clear 'Cancelled' flag on download start.
...
Fixes #6123 .
2019-07-04 13:21:43 +02:00
John Preston
0a63eac4f6
Generate good thumbnail for animated stickers.
2019-07-04 10:20:36 +02:00
John Preston
35bc2cc2a5
Prepare lottie animations caching.
2019-07-01 17:57:34 +02:00
John Preston
8f3f898c47
Show animated stickers in StickerSetBox.
2019-07-01 17:57:32 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
ca7c50fbcd
Remove pseudo-HTML from langpacks and Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
04e3b250e7
Keep track of fully cached media files.
2019-06-04 14:30:44 +03:00
John Preston
274fed3cb0
Move several fields to bit flags in DocumentData.
2019-06-04 14:30:43 +03:00
John Preston
b2895a39ed
Register streaming loaders in Storage::Downloader.
2019-06-04 14:30:43 +03:00
John Preston
cca906d383
Use ready parts from loader in streaming.
2019-06-04 14:30:43 +03:00
John Preston
8704f6efd0
Use simple loader for non-streamable file types.
2019-06-04 14:30:43 +03:00
John Preston
e1114530ab
Working code for streaming downloader.
2019-06-04 14:30:43 +03:00
John Preston
ebf2a678b1
Use a special FileLoader for streamed documents.
2019-06-04 14:30:43 +03:00
John Preston
8c0cd9b9e9
Prepare Media::Streaming::Reader to be shared.
2019-06-04 14:30:43 +03:00
John Preston
a968e112e8
Fix crash on invalid lottie file selection.
2019-05-30 18:09:44 +03:00
John Preston
3577e71782
Validate mime type of animated stickers.
2019-05-27 15:09:07 +02:00
John Preston
4ab3c2dfcb
Add support for gzip-ed animated stickers.
2019-05-27 14:11:27 +02:00
John Preston
61b6effccc
View some more files as stickers.
2019-05-27 14:11:26 +02:00
John Preston
707aa88974
Animated stickers proof of concept.
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
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
23rd
5d8888bb8b
Refactored code.
...
- Refactored passing message id to edit media.
- Removed get/setEditMedia from mainwidget.
- Combined onEditMedia and onSendFileConfirm in single method.
- Added argument in FileLoadTask to pass message id to edit media.
- Renamed flags in apiwrap.
- Added check for allowing edit media when use clipboard.
- Removed unused fileIsValidForAlbum.
- Removed LOGs.
- Replaced _isNotAlbum with _isAlbum.
- Removed _viaRemoteContent.
- Removed _newMediaPath.
- Added empty() to MessageGroupId.
2019-04-02 18:14:12 +04:00
23rd
89e1291d86
Added confirming only images and videos when edit album item.
...
- Added hiding of checkbox when edit album item.
2019-04-02 18:14:12 +04:00
John Preston
d3bf489bea
Improve base::binary_guard interface.
2019-04-02 14:33:52 +04:00
John Preston
8759d637ff
Use StorageFileLocation in mtpFileLoader.
2019-03-29 14:24:07 +04:00
John Preston
95023ca770
Use StorageFileLocation in streaming loader.
2019-03-29 14:24:07 +04:00
John Preston
aa8f62da9d
Support new ('modern') API file locations.
2019-03-29 14:24:07 +04:00
John Preston
5ec37e9112
Use separate click handler for OpenWith.
2019-03-13 13:35:47 +04:00
John Preston
c063d94aa5
Remove DocumentData::actionOnLoad. Fix GIF open.
2019-03-11 19:07:35 +04:00
John Preston
b0ff443eac
Fix sending of saved GIFs.
2019-03-11 12:08:21 +04:00
John Preston
01d763eed1
Use DocumentData::getDuration for all types.
2019-03-11 12:08:15 +04:00
John Preston
6887993f92
Report streaming failed.
2019-03-11 12:08:13 +04:00
John Preston
c27456277e
Support streaming of local files.
2019-03-11 12:08:11 +04:00
John Preston
2e824ace00
Fix video messages inline playback.
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
003d01206f
Allow .opus playback.
2019-03-11 12:08:10 +04:00
John Preston
8171828c2a
Fix build on GCC.
2019-03-11 12:08:09 +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
John Preston
ccd04b98b9
Fix sync video to audio.
2019-03-11 11:49:54 +04:00
John Preston
d37b65e624
If stuck wait for three seconds of packets.
2019-03-11 11:49:54 +04:00
John Preston
3e9b811875
Implement precise seek in streaming.
2019-03-11 11:49:54 +04:00
John Preston
44c562d8ba
Fix streaming seek, display progress.
2019-03-11 11:49:53 +04:00
John Preston
93c548c013
Support streaming speed changing.
2019-03-11 11:49:53 +04:00
John Preston
a7d9281768
Implement pause / resume in streaming.
2019-03-11 11:49:53 +04:00
John Preston
3b369fc98e
Buffer audio when waiting data in streaming.
2019-03-11 11:49:53 +04:00