John Preston
107dea085c
Fix build for OS X 10.10-10.11.
2020-06-30 00:05:27 +04:00
John Preston
bf7aae5fc6
Allow float video player across accounts.
2020-06-25 18:17:37 +04:00
John Preston
30c82bb2e0
Remove some MainWindow::sessionController() calls.
2020-06-23 21:53:44 +04:00
John Preston
51c2bc7349
Create only one EmojiImageLoader to fix a crash.
2020-06-23 21:53:43 +04:00
23rd
0696a2d5c0
Replaced mapping to rpl::empty_value with rpl::to_empty.
2020-06-23 21:53:43 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
John Preston
4d6cc58f0d
Move session settings to main_session_settings.
2020-06-23 21:53:42 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
6fc5e22882
Allow several accounts in Core::App.
2020-06-23 21:53:40 +04:00
John Preston
f450f81215
Remove non-UI calls to App::main.
2020-06-23 21:53:40 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
John Preston
ea86433be5
Remove some activeAccount() calls.
2020-06-23 21:53:39 +04:00
John Preston
598fb67cdf
Remove Session::Exists() global access point.
2020-06-23 21:53:39 +04:00
John Preston
5f8d22f1f2
Remove Auth() global access point.
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
fc174f742a
Move stickers code to Data::Stickers class.
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
3878a1b212
Remove some more Auth() calls.
2020-06-23 21:53:38 +04:00
John Preston
c868cd6036
Update lib_ui.
2020-06-04 10:53:59 +04:00
John Preston
f4cd84c313
Fix crash in stickers.
2020-06-01 18:09:34 +04:00
John Preston
6660338ccc
Fix crash in sticker sets without a thumbnail.
2020-06-01 18:09:34 +04:00
John Preston
4695ebae6e
Fix crash in sticker set parsing.
2020-06-01 18:09:34 +04:00
John Preston
36fbdfb380
Simplify Image, remove ImageSource.
2020-06-01 18:09:33 +04:00
John Preston
d0c78eaddd
Leave only one image source type.
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
f066e0f05a
Use Data::CloudImage for userpics.
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
ae9ed820ee
Fix sticker set icons display.
2020-06-01 18:09:33 +04:00
John Preston
803593cd8d
Change Stickers::Set from value to object type.
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
24fed8105c
Fix stickers panel on Retina screens.
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
7d386b164b
Save a frame in stickers panel.
2020-06-01 18:09:31 +04:00
John Preston
9725d4272e
Clear DocumentMedia in sticker panel.
2020-06-01 18:09:31 +04:00
John Preston
eb75859dc0
Cache last frame of stickers panel footer icons.
2020-06-01 18:09:31 +04:00
John Preston
fb322b5fc5
Use empty Storage::Cache::Key as nullopt.
2020-06-01 18:09:31 +04:00
John Preston
cbb9657044
Fix download task finalizing.
2020-06-01 18:09:30 +04:00
John Preston
3797753d16
Support different location types for thumbnails.
2020-06-01 18:09:30 +04:00
John Preston
956c3af0ae
Start DocumentData::thumbnail move to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
1e9c79ca85
Move automaticLoad() to DocumentMedia.
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
97bab388ea
Use rpl for file download progress notifications.
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
33f4946242
Start using document bytes from DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
70c79eb6bd
Move sticker image to DocumentMedia.
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
c7878f9d21
Pause by-emoji stickers on sticker preview.
2020-05-12 12:18:31 +04:00
John Preston
36997f084a
Automatically load and apply old emoji set by id.
2020-05-08 11:22:22 +04:00
John Preston
942fcb9aae
Add new emoji sets file ids.
2020-05-07 19:05:57 +04:00
John Preston
dd78052f92
Use new toast style structure.
2020-04-30 11:35:01 +04:00
John Preston
aabc8173c3
Use similar margins in all controls.
2020-04-30 11:35:01 +04:00
John Preston
46f3cf3395
Load more official sets while scrolling.
2020-04-21 18:55:35 +04:00
John Preston
dfc0491524
Improve trending stickers layout and position.
2020-04-21 18:55:35 +04:00
John Preston
abfd3ad1b9
Use built-in zero-value dice animations.
2020-04-21 18:55:35 +04:00
John Preston
e118972d5c
Support generic dice media display.
2020-04-21 18:55:35 +04:00
John Preston
3e2f4bed50
Update scheme to layer 102.
...
Support different dice-like media.
2020-04-21 18:55:34 +04:00
John Preston
f5aba5a907
Fix build with new lib_ui commits.
2020-04-13 15:26:09 +04:00
23rd
15db48b0cc
Added application name as exception word for spell checker.
2020-03-27 20:36:07 +04:00
John Preston
4f718aeead
Add filter icons to Settings -> Folders.
2020-03-27 20:36:05 +04:00
John Preston
ba6373a0ae
Fix filter icon panel wrong hiding.
2020-03-27 20:36:04 +04:00
John Preston
b8c11f3d8c
Manage filters: delete, add suggested.
2020-03-27 20:36:02 +04:00
John Preston
c83e297554
Implement dice media display.
2020-03-27 20:36:02 +04:00
John Preston
7b51383b3b
Force animation unload in inline results.
...
Fixes #7335 .
2020-03-16 17:41:35 +04:00
John Preston
1492571232
Fix members dropdown and mention autocomplete.
...
Fixes #7345 .
2020-03-13 23:14:23 +04:00
23rd
a0584ea7a1
Moved all destruction calls of DictLoader to main thread.
2020-02-27 15:18:00 +04:00
23rd
0ca0930066
Updated context menu for spellchecker.
2020-02-24 18:48:33 +03:00
23rd
8734ebe4c4
Added auto download of new dictionary when input locale is changed.
2020-02-24 18:48:33 +03:00
23rd
bc6e1e7a0d
Added new setting for automatic dictionaries download.
2020-02-24 18:48:33 +03:00
23rd
bb8aead078
Added sequential background dictionary loader.
...
- Moved the Loader from the dictionaries manager to the spellchecker
common space as a DictLoader.
2020-02-24 18:48:33 +03:00
23rd
9daf362df6
Added label with state to "Manage dictionaries" button.
2020-02-24 18:48:33 +03:00
23rd
a0f995b134
Added ability to remove dictionary from context menu.
2020-02-24 18:48:33 +03:00
23rd
9d1b93fe50
Moved spellchecker work from message_field to Spellchecker::Start.
2020-02-24 18:48:33 +03:00
23rd
783269e256
Removed unnecessary Sets() function.
2020-02-24 18:48:33 +03:00
23rd
f598bf0b42
Replaced fake dictionary ids with real values.
2020-02-24 18:48:33 +03:00
23rd
f377ac54fd
Slightly refactored spellchecker_common.cpp.
...
- Moved LocaleFromLangId to lib_spellcheck.
2020-02-24 18:48:33 +03:00
23rd
9d98682089
Removed unnecessary includes from emoji sets and dictionaries managers.
2020-02-24 18:48:33 +03:00
23rd
efdf5f1767
Moved producer of state description to CloudBlob.
2020-02-24 18:48:33 +03:00
23rd
8ca0b614d7
Moved loader of emoji sets and dictionaries to CloudBlob.
2020-02-24 18:48:33 +03:00
23rd
704dcc8d65
Moved emoji sets and dictionaries loader states to CloudBlob.
...
- Moved CloudBlob to second namespace.
2020-02-24 18:48:33 +03:00
23rd
9f4d05b04c
Moved emoji sets from lib_ui. Added parent struct to storage_cloud_blob.
2020-02-24 18:48:33 +03:00
23rd
08cd7450ff
Added storage/storage_cloud_blob.
...
- This file is needed to store same code parts related
to management of dictionaries and emoji sets.
- Moved extracting of zip files to storage_cloud_blob.
2020-02-24 18:48:33 +03:00
23rd
4b684a4926
Added spellchecker helper for common purposes.
2020-02-24 18:48:33 +03:00
23rd
26a45885ff
Added updating of spell highlighter when enabled languages are changed.
2020-02-24 18:48:33 +03:00
John Preston
3c5f8d08ad
Fix radial animations in emoji download.
2020-02-11 14:12:42 +04:00
John Preston
74d848311b
Replace str_const with base::const_string.
2020-01-29 12:47:50 +03:00
John Preston
bdfa080701
Fix build for Windows.
2020-01-23 10:09:34 +03:00
23rd
465a42a825
Added ability to customize shortcuts for sending messages.
2020-01-23 10:09:34 +03:00
23rd
7d519990b2
Added ability to customize shortcuts for silent or scheduled messages.
2020-01-23 10:09:34 +03:00
23rd
c08b2ae3df
Added ability to schedule messages to be sent when user comes online.
...
Pro tip: Hold Ctrl key to send a silent scheduled message!
2020-01-23 10:09:33 +03:00
23rd
b4fbff0b6c
Fixed build for Windows with c++latest.
2020-01-21 20:29:14 +03:00
John Preston
f2a92f2b02
Check if app is active before showing a tooltip.
...
Fixes #6885 , fixes #6895 .
2019-12-31 16:48:44 +03:00
23rd
e5682a9b25
Fixed Spelling Highlighter creation on unsupported platforms.
2019-12-30 16:02:15 +03:00
John Preston
c7836be614
In emoji suggestions match only full strings.
2019-12-10 11:17:27 +03:00
John Preston
c301be3826
Fix GIFs and animated stickers freeze.
2019-12-09 09:37:02 +03:00
John Preston
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +03:00