Commit graph

1346 commits

Author SHA1 Message Date
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
John Preston
92c447aa87 Crash on assertion instead of stack overflow. 2023-10-28 21:40:01 +04:00
John Preston
272a23e9bc Improve very small quote areas with icons. 2023-10-28 20:48:29 +04:00
John Preston
611224c52f Support three-color quote outlines. 2023-10-27 09:54:45 +04:00
John Preston
383b5b8f7e Make TextUtilities::CutPart more strict. 2023-10-26 09:26:16 +04:00
John Preston
b05f7eb915 Resize widgets after adding to VerticalLayout. 2023-10-25 21:23:30 +04:00
John Preston
c36559a679 Allow pinned-to-bottom content in GenericBox. 2023-10-25 10:34:47 +04:00
John Preston
127565a75b Move box title up a bit. 2023-10-25 10:34:37 +04:00
John Preston
71d24af3a8 Support two-color quote outlines. 2023-10-23 21:26:49 +04:00
John Preston
4d1a5686a7 Fix crash in non-clickable spoilers. 2023-10-23 08:49:34 +04:00
John Preston
1a9c4162cc Fix build with GCC. 2023-10-21 22:28:06 +04:00
John Preston
17d73a5c0c Add copy code blocks on header click. 2023-10-19 16:09:42 +04:00
John Preston
5ffbb90fd6 Fix build with Xcode. 2023-10-17 20:12:53 +04:00
John Preston
8915f5d40d Fix modifications tracking with skip block. 2023-10-17 12:01:50 +04:00
John Preston
9eb9fcf043 Use quote instead of paragraph for quotes. 2023-10-13 18:29:45 +04:00
John Preston
48012d7f4a Count correct initial size for code blocks. 2023-10-13 17:27:00 +04:00
John Preston
46465fc5ce Support quote icon in blockquote. 2023-10-13 16:13:08 +04:00
John Preston
6e7c4c1c4d Improve blockquote / pre layout. 2023-10-13 15:14:58 +04:00
John Preston
7ed87d049f Fix build with GCC. 2023-10-13 10:06:15 +04:00
John Preston
a38b60636a Paint nice code blocks. 2023-10-13 10:03:40 +04:00
John Preston
ab5057f001 Optimize simple Ui::Text::String instances. 2023-10-12 13:53:44 +04:00
John Preston
44f8d862ff Simplify TextStyle: remove linkFont/linkFontOver. 2023-10-12 10:53:02 +04:00
John Preston
45ffbdeef9 Track Ui::Text::String modifications on parse. 2023-10-11 21:49:00 +04:00
John Preston
84cc457af9 Use three-way comparison for TextWithTags. 2023-10-11 08:43:16 +04:00
John Preston
c317f2a353 Partially (italic+colored) support blockquotes. 2023-10-05 13:01:03 +04:00
John Preston
68b89a6ba9 Fix possible crash in new Text geometries. 2023-10-05 13:01:03 +04:00
John Preston
3698eb5382 Allow settings selected menu item. 2023-10-05 10:34:16 +04:00
John Preston
0d8717d48a Allow sending pre-blocks with language. 2023-10-04 22:17:27 +04:00
John Preston
02440524ea Add per-line geometry / colors customization for Text. 2023-10-04 22:17:27 +04:00
Ilya Fedin
93458e4cb3 Ensure jpeg exception object doesn't leak 2023-10-04 09:59:45 +04:00