John Preston
bdbcd8e540
Use Main::Session in entities parsing.
2020-06-08 12:05:17 +04:00
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
897e432f40
Use CloudImageView in the inline bot thumbnails.
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
3f26fc9f55
Allow WebDocument video thumbnails.
2020-06-01 18:09:32 +04:00
John Preston
c61f3a0aba
Fix sending of thumbnailed inline result GIFs.
2020-06-01 18:09:31 +04:00
John Preston
3797753d16
Support different location types for thumbnails.
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
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +03:00
John Preston
60b39c8f7e
Fix inline result previews.
2019-10-07 12:19:04 +03:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
02b65a42f7
Move message client flags to a separate field.
2019-08-09 20:19:23 +01:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
7d585ab72f
Handle located groups as public.
2019-06-21 14:27:46 +02:00
John Preston
a34e998c42
Handle fwd_from without a link to the account.
2019-03-24 12:12:42 +04:00
John Preston
b0ff443eac
Fix sending of saved GIFs.
2019-03-11 12:08:21 +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
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
8b76428c7e
Create ImagePtr-s using a factory method.
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
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
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
b697824540
When following a post link push reply-return.
...
Fixes #4856 .
2018-07-11 17:56:06 +03:00
John Preston
ff53404d5b
Update API scheme to layer 82.
2018-06-27 22:58:32 +01:00
John Preston
0e9793b845
Move MimeType from utils to core/mime_type.
...
Also move to Core namespace.
2018-06-14 01:08:47 +03:00
John Preston
7de15ce5cf
Fix inline bots with photos.
2018-03-13 13:29:42 +03:00
John Preston
0f901b3728
Update API and use WebDocument for inline bots.
2018-03-06 16:49:44 +03:00
John Preston
d1a9d3992b
API scheme updated to layer 76.
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
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
6ca105a290
Minimal layer 72 support.
2017-11-20 23:54:05 +04:00
John Preston
ffc20e4492
Divide structs into several data/ modules.
2017-11-16 07:59:04 +04:00
John Preston
012d59ab42
Use nullptr instead of std::unique_ptr<Type>().
2017-08-30 19:15:25 +03:00
John Preston
cf02a4cc31
API scheme updated to layer 70.
2017-07-23 12:34:40 +03:00
John Preston
da0d78135d
Some refactoring in working with text entities.
...
Also move this code to TextUtilities namespace.
2017-07-06 14:37:42 +03:00
John Preston
5c0a1bafe2
Add supergroup restriction placeholders / labels.
2017-06-29 11:40:13 +03:00
John Preston
8d28d0691f
API scheme updated to layer 66.
...
Support CDN file download.
2017-04-12 22:36:25 +03:00
John Preston
3d846fcd49
Show inline bot results in a separate widget.
...
Add a InlineBots::Layout::Widget for inline bot results.
GIF search from EmojiPan is disabled for now.
2017-03-31 15:48:00 +03:00
John Preston
d41372dccd
Allow MTP_flags(0) and MTP_flags(single_flag).
2017-03-25 18:42:01 +03:00
John Preston
f2465eba73
Make MTPstring and MTPvector value types.
...
Also move MTPstring implementation to QByteArray.
2017-03-10 23:27:26 +03:00
John Preston
83720d8789
Finalizing file renaming.
2017-03-04 13:23:56 +03:00
John Preston
08167a6a91
Removed #include "stdafx.h" from all files.
...
Currently the build without implicitly included precompiled header
is not supported anyway (because Qt MOC source files do not include
stdafx.h, they include plain headers).
So when we decide to support building without implicitly included
precompiled headers we'll have to fix all the headers anyway.
2017-03-04 12:27:52 +03:00
John Preston
f8318177b9
Platform-dependent file methods called async.
...
Some major platform-dependent file operations refactoring.
All methods like "open file", "open file with", "show in folder"
were moved to core/file_utilities module with platform-dependent
backends. All methods interacting with DesktopServices made async.
2017-02-28 18:03:38 +03:00
John Preston
ffc557a0f9
Using standard library instead of std_ namespace.
...
Currently tested only in VS2015.
2017-02-21 16:45:56 +03:00