Commit graph

1462 commits

Author SHA1 Message Date
John Preston
1888853b52 Allow simple round rects with not all corners. 2020-02-03 15:38:11 +04:00
John Preston
18ba60ec86 Support more options for popup menu. 2020-01-31 15:11:56 +03:00
John Preston
0ec26f2e10 Add new colors for video player. 2020-01-31 12:54:25 +03:00
ilya-fedin
3106a3474b
add possiblity to use system font (#2) 2020-01-30 10:43:51 +03:00
John Preston
33ea14969e Use StartTranslucentPaint only on OpenGL widgets on macOS. 2020-01-29 18:54:25 +03:00
John Preston
bbd35238da Don't force floating panel.
In case of StaysOnTop windows it looks like it is floating already.
But in case of manually setting floating here it has a strange bug
with non-activatable always on top tool window (picture-in-picture).

When first time shown it doesn't act as a stays-on-top window, if you
click on another app it is shown above the PiP. Only if you activate
the main window once more the PiP will become stays-on-top window.

This way it works from the first show.
2020-01-29 18:02:17 +03:00
ffca05522f Merge remote-tracking branch 'upstream/master' 2020-01-28 22:04:19 +03:00
John Preston
8399f70ea0 Only handle left button clicks. 2020-01-28 09:32:58 +03:00
f69cde56f1 Custom instant replaces 2020-01-26 08:02:03 +03:00
3b2cbce204 Adding tabulation for consistency 2020-01-24 03:35:57 +03:00
3ec3d0f2a8 Merge remote-tracking branch 'upstream/master' 2020-01-23 21:14:48 +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
1d2bfb4863 Merge remote-tracking branch 'upstream/master' 2020-01-18 17:55:26 +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
ilya-fedin
55aec1954e Add support for semibold fonts that don't include "Semibold" in the family name (#1)
In future this solution must be adapted for other font styles, but for now it will work.
2019-12-19 20:01:32 +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