John Preston
36fbdfb380
Simplify Image, remove ImageSource.
2020-06-01 18:09:33 +04:00
John Preston
f066e0f05a
Use Data::CloudImage for userpics.
2020-06-01 18:09:33 +04:00
John Preston
ae9ed820ee
Fix sticker set icons display.
2020-06-01 18:09:33 +04:00
John Preston
803593cd8d
Change Stickers::Set from value to object type.
2020-06-01 18:09:33 +04:00
John Preston
24fed8105c
Fix stickers panel on Retina screens.
2020-06-01 18:09:32 +04:00
John Preston
7d386b164b
Save a frame in stickers panel.
2020-06-01 18:09:31 +04:00
John Preston
9725d4272e
Clear DocumentMedia in sticker panel.
2020-06-01 18:09:31 +04:00
John Preston
eb75859dc0
Cache last frame of stickers panel footer icons.
2020-06-01 18:09:31 +04:00
John Preston
cbb9657044
Fix download task finalizing.
2020-06-01 18:09:30 +04:00
John Preston
956c3af0ae
Start DocumentData::thumbnail move to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
40f12a2584
Keep document byte data only in DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
bf616036b3
Check loaded status through DocumentMedia if possible.
2020-06-01 18:09:30 +04:00
John Preston
33f4946242
Start using document bytes from DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
70c79eb6bd
Move sticker image to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
46f3cf3395
Load more official sets while scrolling.
2020-04-21 18:55:35 +04:00
John Preston
dfc0491524
Improve trending stickers layout and position.
2020-04-21 18:55:35 +04:00
John Preston
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +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
88e0342e02
Update to the latest submodules.
2019-11-05 14:27:42 +03:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
c5845f17ae
Remove twidget header.
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
76f0abecfd
Show sticker set on Ctrl+Click in stickers list.
2019-09-10 00:48:34 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
3e895d0e85
Make tabbed selector working in scheduled section.
2019-08-27 19:10:37 +03:00
John Preston
4bad642190
Remove some more Auth() calls.
2019-08-09 11:50:49 +01:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
06982fdf04
Remove some calls to Auth().
2019-07-24 13:13:51 +02:00
John Preston
27f248645c
Use correct animated sticker thumbnails size.
2019-07-24 08:02:20 +02:00
John Preston
198de85ce5
Limit to 30 FPS in small stickers.
2019-07-05 19:15:25 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
23rd
7c98f64cdb
Slightly refactored display of media preview.
...
- Removed showMediaPreview from facades.
2019-07-04 16:28:58 +02:00
John Preston
dd1bca1769
Remove profiling logs.
2019-07-02 22:40:10 +02:00
John Preston
848ea16eef
Support animated stickers in inline results.
2019-07-02 15:46:26 +02:00
John Preston
76630528f7
Show animated thumbnails in sets box.
2019-07-02 15:20:04 +02:00
John Preston
3b645422ff
Implement animated stickerset thumbnails.
2019-07-02 14:43:17 +02:00
John Preston
db2d24ff32
Clear lottie on panel hide.
2019-07-01 17:57:40 +02:00
John Preston
37689affc5
Clear far enough animated sticker sets.
2019-07-01 17:57:39 +02:00
John Preston
5375e7958c
Implement pause/unpause for Lottie::MultiPlayer.
2019-07-01 17:57:39 +02:00
John Preston
f6bfbbb805
Add some profiling logs to lottie player.
2019-07-01 17:57:39 +02:00
John Preston
ad1816cb7c
Use Lottie::MultiPlayer in StickersListWidget.
2019-07-01 17:57:38 +02:00
John Preston
cbffeca8d5
Extract some Lottie::Animation code to Lottie::Player.
2019-07-01 17:57:37 +02:00
John Preston
a026aec786
Trivial in-memory frame caching.
2019-07-01 17:57:35 +02:00
John Preston
10772f4ac5
Started Lottie::CacheState class.
2019-07-01 17:57:34 +02:00
John Preston
35bc2cc2a5
Prepare lottie animations caching.
2019-07-01 17:57:34 +02:00
John Preston
0d6ee3929d
Show animated stickers in the panel.
2019-07-01 17:57:32 +02:00
John Preston
8f3f898c47
Show animated stickers in StickerSetBox.
2019-07-01 17:57:32 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00