John Preston
f1c06d6743
Store StickerData::image in unique_ptr.
2018-11-09 19:16:47 +04:00
John Preston
a2b04c9d71
Improve checks for a hidden webpage url.
2018-11-07 14:55:38 +04:00
John Preston
617d21129f
Show confirmation on hidden webpage url.
2018-11-04 15:51:40 +04:00
John Preston
5aa2e66d02
Show large photos in web pages with IV.
2018-11-04 15:51:40 +04:00
John Preston
e6c4c48261
Animate check in album sending.
2018-11-04 15:51:39 +04:00
John Preston
91a6af71a0
Limit video messages size.
2018-11-04 15:51:39 +04:00
John Preston
fd4dedcbdf
Use good video thumbnail in albums.
2018-11-04 15:51:39 +04:00
John Preston
da358615e0
Generate high quality video thumbnail when loaded.
2018-11-04 15:51:38 +04:00
John Preston
251f51ca1b
Show collage/slideshow as an album in web page.
2018-11-04 15:51:38 +04:00
John Preston
8e7117fa22
Don't unload all media on switching between chats.
2018-11-04 15:51:38 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
2018-11-04 15:51:37 +04:00
John Preston
5a50248055
Remove Image::toDelayedStorageImage downcaster.
2018-11-04 15:51:36 +04:00
John Preston
113f665295
Move Image and derived to ui/image.
2018-11-04 15:51:36 +04:00
John Preston
f2866442d2
Fix location thumb image sizes
2018-10-16 17:32:12 +03:00
John Preston
19a9a990b6
Allow using any interface scale between 100%-300%.
2018-10-16 11:38:09 +03:00
John Preston
149639a53d
Add and bundle @3x icons.
...
Also bundle only 1x, @2x, @3x and generate 125% and 150%.
2018-10-16 11:38:09 +03:00
John Preston
b847c8424a
Use single emoji sprite and scale + cache it.
2018-10-15 09:03:29 +03:00
John Preston
3992cea084
Draw map point on HistoryLocation.
2018-10-09 19:27:18 +03:00
John Preston
1ffbec0215
Finish animations disabling.
...
Replace some infinite animations with static layouts.
2018-09-20 21:26:10 +03:00
John Preston
2e7f4c2f21
Use Storage::Cache::Database for file caching.
2018-09-01 18:56:08 +03:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
90f6642d33
Use always the same sizes for group layout.
...
For the floating point precision to matter less in the album layout
decisions use always full image sizes for layout
when sending an album and when displaying it.
Fixes #5049 .
2018-08-04 16:48:15 +03:00
John Preston
241fee80a7
Export full messages information.
...
Also add some more .match() calls to MTP codegen-ed classes.
2018-06-14 21:34:53 +03:00
John Preston
87c07a13a1
Display sticker date on mouse over.
...
Fixes #3636 .
2018-06-06 12:46:17 +03:00
John Preston
b64bbc7708
Fix stickers with large info string layout.
...
Fixes #4781 .
2018-06-03 21:33:24 +03:00
John Preston
64d5a6acd5
Fix game scores display.
2018-04-07 11:41:48 +04:00
John Preston
d9306e3e30
Fix parent link refresh for GIF webpage preview.
...
Fixes #4534 .
2018-03-26 00:18:14 +04:00
John Preston
f792b0052f
Refresh caption Text after media is being sent.
...
Fixes #4488 .
2018-03-13 13:19:06 +03:00
John Preston
7f73cc3085
Fix file media with views counter layout.
2018-03-06 19:14:39 +03:00
John Preston
d4253d2025
Fix reply previews display.
2018-03-03 15:55:53 +03:00
John Preston
ef8b6d1a3d
Process currency amounts before display.
2018-02-28 15:06:57 +03:00
John Preston
22a5b7faf6
Fix GIF playback glitch after loading.
2018-02-13 12:48:42 +03:00
John Preston
8bacc74d8b
Request dialog list entries when needed.
...
Also save the original server-side int32 date in HistoryItems.
2018-02-08 12:20:54 +03:00
John Preston
2fdc3169ce
Fix / improve support for album items selection.
2018-02-08 12:20:52 +03:00
John Preston
63c1212ef1
Allow multiple items selection in HistoryView.
2018-02-08 12:20:52 +03:00
John Preston
89941a8e83
Fix layout update notifications in Info::Media.
2018-02-08 12:20:50 +03:00
John Preston
ebd4651ac2
Manage unread bar using HistoryView::Element-s.
2018-02-08 12:20:50 +03:00
John Preston
861ab85ca1
Fix voice/video messages in chats/feed.
2018-02-08 12:20:50 +03:00
John Preston
b91ebad8be
Improve items resize in history and feed.
2018-02-08 12:20:50 +03:00
John Preston
e6baf8ef5b
Fix layout of some media, enable GIF autoplay.
2018-02-08 12:20:50 +03:00
John Preston
950126865e
Handle item view refresh, fix groups.
2018-02-08 12:20:49 +03:00
John Preston
04c8c95634
Use notify* instead of mark* in Data::Session.
2018-02-08 12:20:49 +03:00
John Preston
8a56ede187
Move all (item/view/media) maps to Data::Session.
2018-02-08 12:20:49 +03:00
John Preston
7425e80f05
Use HistoryMedia as view, add Data::Media.
2018-02-08 12:20:48 +03:00
John Preston
97a9089ebf
Move draw / getState code to HistoryView::Message.
...
Item dimensions broken for now.
Also remove history.h from pch.
2018-02-08 12:20:48 +03:00
John Preston
bee474f6e9
Remove history_item and layout from pch.
...
Also move some code to separate modules.
Also create history item views by Window::Controller.
2018-02-08 12:20:47 +03:00
John Preston
4740d44159
Make HistoryView::Message a ClickHandlerHost.
2018-02-08 12:20:47 +03:00
John Preston
062b0b2165
Save item views in App::*Item() variables.
...
Also remove App::contextItem.
Also use owning pointers for history context menus.
2018-02-08 12:20:47 +03:00
John Preston
6a9556d42c
Move non-settings session data to Data::Session.
...
Rename AuthSessionData to AuthSessionSettings, move data away.
2018-02-08 12:20:46 +03:00
John Preston
46612ef128
Remove Notify::userIsContactChanged().
...
Replace with Notify::peerUpdatedDelayed().
2018-02-08 12:20:45 +03:00