23rd
|
dd01ece14a
|
Replaced snap util function with std::clamp.
|
2021-01-24 10:41:10 +03:00 |
John Preston
|
37fb94cbfb
|
Load and show image previews in pinned bar.
|
2020-10-30 18:32:18 +03:00 |
23rd
|
391ec8ac28
|
Moved public var indicating stickers presence to private in PhotoData.
|
2020-10-30 13:18:40 +03:00 |
John Preston
|
ce91caa820
|
Fix build on macOS.
|
2020-09-29 19:03:23 +03:00 |
John Preston
|
734d834a20
|
Replace mapbox variant with std::variant.
|
2020-09-29 19:03:19 +03:00 |
John Preston
|
437c9320cd
|
Implement progressive jpeg loading and sending.
|
2020-09-29 19:03:18 +03:00 |
John Preston
|
0888901d79
|
Try using progressive jpeg photo size.
|
2020-09-29 19:03:18 +03:00 |
John Preston
|
8c45b5e0f8
|
Show video userpics in media viewer.
|
2020-07-25 11:24:11 +04:00 |
John Preston
|
0126578dbd
|
Allow to load video components of photos.
|
2020-07-25 11:24:11 +04:00 |
John Preston
|
f450f81215
|
Remove non-UI calls to App::main.
|
2020-06-23 21:53:40 +04:00 |
John Preston
|
03dec15e8e
|
Pass Main::Session to click handler creators.
|
2020-06-23 21:53:38 +04:00 |
John Preston
|
4b354b0928
|
Use Main::Session in download/upload.
|
2020-06-23 21:53:38 +04:00 |
John Preston
|
36fbdfb380
|
Simplify Image, remove ImageSource.
|
2020-06-01 18:09:33 +04:00 |
John Preston
|
6513422e40
|
Remove legacy image-related code.
|
2020-06-01 18:09:33 +04:00 |
John Preston
|
50e0c3ee4d
|
Fix preloading in media viewer.
|
2020-06-01 18:09:33 +04:00 |
John Preston
|
a9b70a7d63
|
Closed alpha 2.1.7.1: Fix build for Xcode.
|
2020-06-01 18:09:32 +04:00 |
John Preston
|
af0eebb6f1
|
Remove debug inline bot results marks.
|
2020-06-01 18:09:32 +04:00 |
John Preston
|
dbb46ce9b0
|
Let [Photo|Document]Media outlive message view.
|
2020-06-01 18:09:32 +04:00 |
John Preston
|
64cf0e1a44
|
Fix caching of sent photos and document previews.
|
2020-06-01 18:09:32 +04:00 |
John Preston
|
7ad660a0e7
|
Allow photos not have some of the thumbnails.
|
2020-06-01 18:09:32 +04:00 |
John Preston
|
e27d2bc2d5
|
Move photo data to Data::PhotoMedia.
|
2020-06-01 18:09:32 +04:00 |
John Preston
|
fb322b5fc5
|
Use empty Storage::Cache::Key as nullopt.
|
2020-06-01 18:09:31 +04:00 |
John Preston
|
bdd3c51ab8
|
Move inline thumbnail image to DocumentMedia.
|
2020-06-01 18:09:30 +04:00 |
John Preston
|
6adcf660f1
|
Guard click handlers that capture session data.
Click handlers invocation is done by posting on_main,
so in rare cases the session may be already destroyed.
|
2020-05-04 17:38:49 +04:00 |
John Preston
|
0c713a930a
|
Remove app.h / facades.h from precompiled header.
|
2019-10-01 23:59:46 +03:00 |
John Preston
|
ff44094ded
|
Rename AuthSession to Main::Session.
|
2019-07-24 13:45:24 +02:00 |
John Preston
|
08bddc5579
|
Move messages data to AuthSession.
|
2019-05-01 16:11:42 +04:00 |
John Preston
|
aa8f62da9d
|
Support new ('modern') API file locations.
|
2019-03-29 14:24:07 +04:00 |
John Preston
|
a1baa23a52
|
Use both thumbnails in photos and documents.
Fixes #5602.
|
2019-01-28 13:10:45 +03:00 |
John Preston
|
a70e72f75d
|
Application->Sandbox, Messenger->Application.
|
2019-01-23 12:51:58 +04:00 |
John Preston
|
c5a41e1f55
|
Divide data/data_peer and remove from PCH.
|
2019-01-17 12:21:29 +04:00 |
John Preston
|
6d08394adc
|
Divide history_media_types to several modules.
|
2018-12-21 17:09:31 +04:00 |
John Preston
|
2b95b96fa3
|
Store replyPreview in unique_ptr<Image>.
|
2018-11-09 19:14:31 +04:00 |
John Preston
|
8e7117fa22
|
Don't unload all media on switching between chats.
|
2018-11-04 15:51:38 +04:00 |
John Preston
|
959859f57c
|
Forget least used documents gradually.
|
2018-11-04 15:51:37 +04:00 |
John Preston
|
595134cab5
|
Move image-related modules to ui/image/.
|
2018-11-04 15:51:37 +04:00 |
John Preston
|
8b76428c7e
|
Create ImagePtr-s using a factory method.
|
2018-11-04 15:51:37 +04:00 |
John Preston
|
4b5b79e415
|
Use final Image with different Images::Source-s.
|
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
|
f43752b3ad
|
Fix memory leak in reply previews.
Regression was introduced in 2e7f4c2f21 .
Fixes #5237.
|
2018-10-09 19:27:18 +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
|
ee16070abe
|
Update API scheme to layer 86.
|
2018-08-20 17:26:27 +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
|
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
|
ea7441ae77
|
Use single LEGAL file with license and copyright.
|
2018-01-03 13:23:14 +03:00 |
John Preston
|
5d18d7c813
|
Send album after cancel of some media uploads.
Also display checks when part of the album medias are uploaded.
|
2017-12-26 19:20:07 +03:00 |