Commit graph

99 commits

Author SHA1 Message Date
John Preston
8399f70ea0 Only handle left button clicks. 2020-01-28 09:32:58 +03:00
John Preston
0f0fd6a94f Use non-libdispatch queues in Mac App Store build. 2020-01-23 13:13:54 +03:00
Ilya Fedin
f87b96e5b7 Use DemiBold when using packaged fonts 2020-01-23 10:07:57 +03:00
John Preston
ea176df168 Fix radial updates with disabled animations. 2020-01-22 11:10:53 +03:00
John Preston
3b6a44c4f8 Fix unexplainable bug in MSVC.
This looks like a code generation bug.

In the old case while calling universal->generate() with first
non-zero argument inside generate() call the value was zero.
2020-01-22 02:14:09 +03:00
John Preston
721d143c89 Fix rounding of sparse QImage-s. 2020-01-21 17:04:36 +03:00
John Preston
593c50f623 Remove GYP build scripts. 2020-01-21 15:22:53 +03:00
Ilya Fedin
35176fd02a Add macro for disabling fonts bundling 2020-01-21 14:57:44 +03:00
John Preston
f401e8c085 Skip Unicode tag characters in text processing. 2020-01-21 14:12:41 +03:00
Nicholas Guriev
4c165ea446 Remove explicitly defined copy operator for style::internal::Font
It was equivalent of default copy operator generated by compiler itself.
Removing this copy operation, we do not change behavior of the code but
resolve the -Wdeprecated-copy warning from GCC.
2020-01-21 12:32:06 +03:00
John Preston
6d97ae0bce Log some debug information for text processing crashes. 2020-01-20 13:29:52 +03:00
John Preston
c0b07457fa Fix build without DESKTOP_APP_USE_PACKAGED. 2020-01-17 18:13:05 +03:00
Ilya Fedin
777cf61626 Don't load linux.qrc when DESKTOP_APP_USE_PACKAGED is defined 2020-01-17 17:46:45 +03:00
John Preston
20b37f2dc1 Fix nested wrapped widgets. 2020-01-13 13:04:37 +03:00
John Preston
26e6a3050c Allow non-activatable window on Windows. 2020-01-07 15:16:00 +03:00
John Preston
4ec9e32f8f Use fallback color for spell checker underline. 2020-01-02 15:21:57 +03:00
John Preston
0aadf4ca7d Correctly minimize window. 2020-01-02 14:57:22 +03:00
John Preston
d30d361609 Fix whitespace and indentation errors. 2020-01-02 14:25:11 +03:00
John Preston
765e525458 Add Ui::AppInFocus() method. 2019-12-31 16:48:25 +03:00
John Preston
f0e95ee933 Fix possible assertion violation in animations shutdown. 2019-12-31 13:48:16 +03:00
John Preston
da3b4704bf Fix activating window after popup menu. 2019-12-31 10:29:48 +03:00
23rd
983d6be8d4 Added rpl::event_stream for firing applied markdown tag to spellchecker. 2019-12-30 16:58:53 +03:00
John Preston
e6914d4649 Don't activate wrong window after popup menu. 2019-12-30 16:40:14 +03:00
John Preston
29cb1dccc4 Skip internal: links in link tooltips. 2019-12-27 15:43:04 +03:00
John Preston
6b673d9154 Skip internal: links in String::toText with entities. 2019-12-27 13:40:36 +03:00
John Preston
65eb03a6a7 Don't change image pixel ratio when rounding. 2019-12-14 17:08:29 +03:00
John Preston
2b9055f1ae Merge remote-tracking branch 'origin/master' into cmake 2019-12-14 17:08:20 +03:00
John Preston
21b976569a Draw radial animation in a static method. 2019-12-10 15:12:48 +03:00
John Preston
604f62599e Fix parsing entities from Ui::Text::String. 2019-12-10 10:36:25 +03:00
John Preston
fcb44b320c Add generated files to dependent targets. 2019-12-03 18:26:12 +03:00
John Preston
1c19e874bb Generate all styles in one custom action. 2019-11-29 11:29:57 +03:00
John Preston
4b25cd30d1 Use BYPRODUCTS instead of OUTPUT for codegen. 2019-11-28 11:41:52 +03:00
John Preston
6fda2709ea Initial build with Xcode. 2019-11-25 18:40:24 +03:00
John Preston
8e30342137 Use namespaced library aliases. 2019-11-21 16:55:41 +03:00
John Preston
b7af3b71a3 Use precompiled header from cmake 3.16. 2019-11-18 00:27:26 +03:00
John Preston
d0f2508863 Move box setNoContentMargin() to public interface. 2019-11-12 15:21:06 +03:00
John Preston
5851950296 Allow emoji in discrete slider labels. 2019-11-12 15:20:45 +03:00
John Preston
110a17089a Enable MOC and RCC compilers. 2019-11-11 10:54:07 +03:00
John Preston
d32f772e52 Divide codegen cmake scripts. 2019-11-08 14:08:03 +03:00
John Preston
ab76dcd087 Initial cmake build scripts. 2019-11-08 13:04:53 +03:00
John Preston
c68dceb189 Use selected text colors from the palette.
On macOS in Dark Mode + Graphite system settings have selected text color
'white' and selected text background color 'white+opacity'.

It looks fine if the control background is dark, but in case of custom color
themes with white control background the selected text becomes invisible.
2019-11-07 10:37:46 +03:00
23rd
b12d0dbe9a Added transparency to color of underline for misspelled words. 2019-11-05 14:05:10 +03:00
John Preston
5723c2ba54 Fix workaround for Open Sans tilda bug. 2019-11-04 16:15:43 +03:00
23rd
ba12ebc67a Fixed firing of incorrect values to document changes rpl::event_stream. 2019-10-30 18:14:43 +03:00
23rd
ee44c5b89e Added ability to extend context menu of InputField via rpl. 2019-10-30 18:14:43 +03:00
23rd
24d69ee679 Added rpl::event_stream for document contents changes in InputField. 2019-10-30 18:14:43 +03:00
23rd
568f14594f Added color to underline of misspelled words. 2019-10-30 18:14:43 +03:00
John Preston
7d9ae816d4 Add SettingsButton widget. 2019-10-29 18:20:44 +03:00
John Preston
45c0be45b2 Use base::Integration. 2019-10-26 22:21:47 +03:00
John Preston
aee559fda6 Fix '&'-strings in menu items. 2019-10-25 15:12:23 +03:00