John Preston
6513422e40
Remove legacy image-related code.
2020-06-01 18:09:33 +04:00
John Preston
249f7813c1
Don't hold session pointer in Data::CloudImage.
2020-06-01 18:09:33 +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
0834920db8
Fix sending of video-thumbed GIFs from panel.
2020-06-01 18:09:32 +04:00
John Preston
c967a72dcb
Save frame in GIFs panel.
2020-06-01 18:09:31 +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
bdd3c51ab8
Move inline thumbnail image to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
7b51383b3b
Force animation unload in inline results.
...
Fixes #7335 .
2020-03-16 17:41:35 +04:00
John Preston
74d848311b
Replace str_const with base::const_string.
2020-01-29 12:47:50 +03: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
849deb57e2
Move many widget classes 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
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
bacaf805b5
Pass SessionNavigation to some boxes.
2019-07-25 20:55:11 +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
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
8ed433cc01
Use tr:: instead of langFactory in input fields.
2019-06-21 11:06:49 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
23rd
cf45b0d317
Added ability to send not loaded GIFs with Ctrl key.
2019-05-27 14:10:35 +02:00
John Preston
b0ff443eac
Fix sending of saved GIFs.
2019-03-11 12:08:21 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
a1baa23a52
Use both thumbnails in photos and documents.
...
Fixes #5602 .
2019-01-28 13:10:45 +03:00
John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
ef4f0168f8
Remove Qt MOC dependency for tabbed selector.
2018-11-22 10:50:41 +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
113f665295
Move Image and derived to ui/image.
2018-11-04 15:51:36 +04:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
33095966af
Move sendMessage and sendInlineResult to ApiWrap.
2018-06-27 22:58:32 +01:00
John Preston
bfc748cd31
Pass modifiers inside InputField submitted signal.
...
Also use non-MOC connections for all InputFields.
Also use Ctrl/Cmd + Enter to submit fast share box.
Fixes #4769 .
2018-05-31 15:20:28 +03:00
John Preston
2fdc3169ce
Fix / improve support for album items selection.
2018-02-08 12:20:52 +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
9d2239291d
Add support for pinned feeds management.
2018-02-08 12:20:46 +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
8e45b09083
Use different indentation for rpl operators.
...
It works better with Visual Studio IDE.
2017-12-26 19:20:07 +03:00
John Preston
16ca2d39c5
Fix _height value in inline bot result Gif layout.
...
This fixes render glitches in GIFs column with opened MediaView.
2017-12-18 18:10:24 +04:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
John Preston
d014b47958
Move Info::TopBarOverride to Info::TopBar.
...
This allows to improve animations in shared media items selection.
2017-11-27 15:43:57 +04:00
John Preston
6ca105a290
Minimal layer 72 support.
2017-11-20 23:54:05 +04:00
John Preston
0255d0c59e
Support any size in the tabbed selector.
2017-11-16 07:59:10 +04:00
John Preston
554eb3a342
Move stickers state variables to AuthSessionData.
...
Also allow to click on the selected set when choosing megagroup
sticker set and allow to paste a t.me link to the set there.
2017-11-16 07:59:09 +04:00
John Preston
54cc3e6315
Shared media multiple items selection.
2017-11-16 07:59:07 +04:00
John Preston
ffc20e4492
Divide structs into several data/ modules.
2017-11-16 07:59:04 +04:00