Commit graph

1325 commits

Author SHA1 Message Date
John Preston
c5a616de35 Fix possible crash in style::colorizeImage. 2023-12-22 14:40:24 -04:00
23rd
afe99d1e06 Moved out include directive for styles from header of RippleAnimation. 2023-12-14 20:09:40 +03:00
Ilya Fedin
06360dea67 Fix missing include 2023-12-07 08:19:33 +04:00
Ilya Fedin
367a64aa1f Fix Qt's texture use-after-free with HiDPI 2023-12-06 17:51:23 +04:00
Ilya Fedin
a8b24e6f6f Fix a crash with QHighDpiScaling 2023-12-05 21:06:33 +04:00
John Preston
6b5524b63c Allow clearing system buttons state on Windows. 2023-12-04 14:18:49 +04:00
John Preston
4f2a33ea70 Allow disabling window title shadow on Windows. 2023-12-04 14:18:35 +04:00
John Preston
44161f183c Allow producer<TextWithEntities>() | map(ToLink). 2023-11-28 12:53:36 +04:00
23rd
66ca90c1b2 Moved style values for shake animation. 2023-11-28 02:05:16 +03:00
23rd
97a725c791 Fixed legal link in some files. 2023-11-28 02:05:16 +03:00
John Preston
cd4e9d378c Allow to use ForceFullRepaintSync on Linux. 2023-11-22 12:17:32 +04:00
John Preston
69c8353746 Allow line height less than font height. 2023-11-21 17:06:02 +04:00
Ilya Fedin
16772f440f Enable highdpi downscale when rhiConfig evaluates to GL 2023-11-21 09:08:01 +04:00
Ilya Fedin
b1d5c7c116 Allow Ui::GL::CheckCapapilities to work without QWidget 2023-11-21 09:08:01 +04:00
Ilya Fedin
1d1c524b2c Use setFixedSize for popup menu and tooltip 2023-11-21 09:08:01 +04:00
Ilya Fedin
89d664b6f7 Use setFixedSize instead of set{Minimum,Maximum}Size combo 2023-11-21 09:08:01 +04:00
Ilya Fedin
d86bd3f493 Add QHighDpiScaling support on Wayland via QPA API 2023-11-21 09:08:01 +04:00
John Preston
d6133525dc Remove unnecessary includes in input_field. 2023-11-16 14:29:12 +04:00
Ilya Fedin
e0c2500127 Cache QWindow native interface check in WindowMarginsSupported()
It couldn't be changed at runtime anyway
2023-11-16 14:09:27 +04:00
23rd
164877a0dc Moved out common default style entries from settings. 2023-11-15 04:18:55 +03:00
23rd
388fc70918 Spread some style entries from basic style. 2023-11-15 04:18:55 +03:00
John Preston
4ea96ef328 Fix saving custom emoji id in property. 2023-11-14 14:43:18 +04:00
John Preston
e3eabf8eff Allow better InputField content restriction. 2023-11-14 12:17:00 +04:00
John Preston
fee301f941 Use plain windows.h now it doesn't define small. 2023-11-13 18:59:56 +04:00
John Preston
f9b24c7551 Fix build on Windows. 2023-11-13 11:26:07 +04:00
Ilya Fedin
d047544584 Add X11 support for Ctrl+Shift+. 2023-11-11 21:25:14 +04:00
Ilya Fedin
f4b87f2322 Compare nativeVirtualKey with enum value 2023-11-11 21:25:14 +04:00
John Preston
024f438ce5 Fix modifications tracking in Ui::Text::String. 2023-11-10 16:46:06 +04:00
John Preston
85b25a109d Use Ctrl+Shift+Dot workaround on Windows only. 2023-11-10 11:18:46 +04:00
Ilya Fedin
0bee95570e Prevent false positives in TWidgetPrivate::rhiConfig
QWidget::create could set the WA_WState_Created flag without creating actual window. Adding the check from the top of QWidgetPrivate::create should prevent such false positives.
2023-11-09 07:00:14 +04:00
John Preston
d28afffcb9 Workaround menu click-through on macOS 14.1. 2023-11-07 12:39:17 +04:00
John Preston
0837a6364d Fix build with GCC. 2023-11-06 20:30:20 +04:00
John Preston
f59c13455c Fix bidi data init. 2023-11-06 20:29:27 +04:00
John Preston
b8998700c4 Make links in multiline tooltips clickable. 2023-11-06 14:41:24 +04:00
John Preston
762a611f20 Fix possible std::clamp contract violation. 2023-11-06 13:38:03 +04:00
John Preston
65310f32dc Count correctly elided text dimensions. 2023-11-06 11:28:27 +04:00
John Preston
08235c5e06 Use internal custom emoji with paddings. 2023-11-04 21:14:50 +04:00
John Preston
fa787b6b0d Fix crash in empty text geometry requests. 2023-11-03 13:24:49 +04:00
John Preston
24390ae853 Support complex dimensions in Ui::Text::String. 2023-11-03 09:05:30 +04:00
John Preston
607c3909dd Fix links in multiline checkboxes. 2023-11-03 09:05:30 +04:00
John Preston
3c645c8ea0 Support internal static custom emoji. 2023-11-02 13:50:16 +04:00
Ilya Fedin
1ae65d2cba Switch Qt 6.4+ back to OpenGL on macOS
The flickering bug seem to be fixed with the sRGB hint
2023-11-02 08:25:22 +04:00
Ilya Fedin
23ce4f09df Rp{Widget,Window}NoRhi ->Rp{Widget,Window}OpenGL
This is more explicit
2023-11-01 09:15:48 +04:00
John Preston
d7f12b083e Always make custom emoji most-inner tag. 2023-10-31 12:47:48 +04:00
John Preston
835ba51f5e Don't include newlines in format by default. 2023-10-31 12:47:22 +04:00
John Preston
148be79196 Override link colors in blockquotes. 2023-10-31 10:39:38 +04:00
John Preston
6dc93b53a1 Support filling highlight path in Text. 2023-10-30 21:53:22 +04:00
John Preston
dc8313f6ae Don't initially resizeToWidth(0). 2023-10-29 07:08:52 +04:00
John Preston
287af101d0 Use lang-packed "copy" instead of "code". 2023-10-28 22:28:30 +04:00
John Preston
952c89687c Don't set box show crash annotation (GenericBox). 2023-10-28 21:51:25 +04:00