Ilya Fedin
5c8820d5d8
Use QClipboard::supportsSelection instead of ifdefs
2020-11-06 08:56:50 +03:00
John Preston
6ccd53689d
Fix crash in shared media search message delete.
...
Fixes #8237 .
2020-10-06 14:20:49 +03:00
John Preston
eb1845e33b
Fix crash in session destruction.
...
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
Ilya Fedin
dbad9fa73a
Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku
2020-06-17 20:33:23 +04:00
John Preston
ad5507f2c8
Clear DocumentMedia in media overview.
2020-06-01 18:09:31 +04:00
John Preston
053eace154
Prepare overview layouts for media clearing.
2020-06-01 18:09:31 +04:00
John Preston
bf616036b3
Check loaded status through DocumentMedia if possible.
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
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03: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
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
ac8f924909
Show tdesktop cloud themes in a box.
2019-09-06 19:31:06 +03:00
John Preston
3e895d0e85
Make tabbed selector working in scheduled section.
2019-08-27 19:10:37 +03:00
John Preston
850940116d
Move HistoryMedia to HistoryView namespace.
2019-08-09 11:50:49 +01:00
John Preston
bacaf805b5
Pass SessionNavigation to some boxes.
2019-07-25 20:55:11 +02:00
John Preston
137fa0378c
Remove some more Auth() calls.
2019-07-24 16:00:30 +02: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
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
fe3181649b
Fix build on macOS and Linux.
2019-04-09 17:10:44 +04:00
John Preston
b5be6df5e2
Copy text with expanded links only to external.
...
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
John Preston
d646de7184
Add button to download audio files.
2019-03-15 16:09:05 +04:00
John Preston
5ec37e9112
Use separate click handler for OpenWith.
2019-03-13 13:35:47 +04:00
John Preston
c063d94aa5
Remove DocumentData::actionOnLoad. Fix GIF open.
2019-03-11 19:07:35 +04:00
John Preston
f1e0cd6c1d
Play streaming video in mediaview.
2019-03-11 11:52:11 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
53a719e1b1
Display round videos in shared voice messages.
2018-11-05 12:22:09 +04:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
4e80d54be1
Alpha version 1.3.15.
...
- Improved local caching for images and GIF animations.
- Control how much disk space is used by the cache
and for how long the cached files are stored.
2018-09-01 18:56:09 +03:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
be043a4437
Remove BypassWindowManagerHint in MediaView / Passport.
...
It makes all kinds of usages buggy, including choose file dialog.
Fixes #4936 .
I hope fixes #4950 , I hope fixes #4955 , I hope fixes #3553 .
2018-07-31 22:55:30 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +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
fe1a90bd39
Move message context menu to a separate module.
2018-02-08 12:20:52 +03:00
John Preston
a47981054f
Feed info profile placeholder.
2018-02-08 12:20:51 +03:00
John Preston
89941a8e83
Fix layout update notifications in Info::Media.
2018-02-08 12:20:50 +03:00
John Preston
91f369a0b3
Handle view resize/repaint requests for mainView.
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