Commit Graph

367 Commits

Author SHA1 Message Date
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
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
23rd 16d06527be Updated lib_spellcheck.
- Fixed #6756.
2019-11-06 15:45:03 +03:00
John Preston d1e2fec760 Fix crash in destructor of spellchecked input field. 2019-11-05 17:03:48 +03:00
John Preston 1eb62579e2 Support building OS X 10.10/10.11 version. 2019-11-05 14:27:42 +03:00
John Preston 88e0342e02 Update to the latest submodules. 2019-11-05 14:27:42 +03:00
John Preston d63e50944a Update submodules to the latest spellcheck. 2019-11-05 13:23:56 +03:00
23rd aa9dc2bee2 Added phrases for spellchecker. 2019-10-20 21:11:38 +04:00
23rd 4be178c75f Added SpellingHighlighter to InputField in HistoryWidget and some boxes. 2019-10-20 21:11:38 +04:00
John Preston 30a1bd7ba2 Use base::call_delayed. 2019-10-19 12:27:56 +04:00