Commit graph

962 commits

Author SHA1 Message Date
23rd
4a0c3ead7a Added initial implementation of FollowSlideWrap. 2022-11-29 14:10:50 +03:00
23rd
6d7cb504ee Fixed ability of manual resizing of popup menu on macOS. 2022-11-29 14:10:50 +03:00
John Preston
0937ac0ad0 Allow custom context menus on labels. 2022-11-29 13:41:12 +04:00
23rd
e6064719df Changed behavior to always center generic boxes. 2022-11-12 14:12:02 +03:00
23rd
1ee4b34bf6 Added ability to set minimal height for slide wrap. 2022-11-12 14:10:35 +03:00
Ilya Fedin
3f28dfa821 Replace custom waitForInterfaceAnnounce with wl_display_roundtrip 2022-11-11 11:39:36 +04:00
John Preston
3752e158e4 Fix spoilers with multi-item elision blocks. 2022-11-09 12:35:04 +04:00
John Preston
4539d0bab4 Add PlainLink(TextWithEntities) and SingleCustomEmoji. 2022-11-02 16:38:17 +04:00
John Preston
c3616927eb Add CreateAddActionCallback for non-owned menu. 2022-11-01 19:28:06 +04:00
Ilya Fedin
09e8850dfd Adapt for target_prepare_qrc changes 2022-11-01 14:36:08 +04:00
John Preston
865056eec8 Allow locked toggles in SettingsButton. 2022-10-25 17:50:18 +04:00
John Preston
7f1dd3c351 Add Ui::Text::Link(TextWithEntities, url/index). 2022-10-25 16:41:11 +04:00
John Preston
c199a1722f Add TextWithTags::empty method. 2022-10-25 11:19:52 +04:00
John Preston
4ba3000a28 Get rid of FlatInput class. 2022-10-20 17:41:57 +04:00
John Preston
d8b1f46715 Fix MultiSlideTracker for empty widgets list. 2022-10-17 20:28:06 +04:00
John Preston
9ab11ccb36 Add full-text-width accessor for SettingsButton. 2022-10-14 11:59:17 +04:00
23rd
0c592310af Added ability to customize widget for events in VerticalLayoutReorder. 2022-10-13 02:16:56 +03:00
John Preston
f450dcf2c5 Support GenericBox max height / scroll style. 2022-10-06 17:03:32 +04:00
John Preston
a755fa391e Fix crash in toasts. 2022-10-04 19:34:10 +04:00
John Preston
04e6428fec Remove accidentally added check. 2022-10-04 10:10:49 +04:00
John Preston
eafd7dc818 Allow spoilers and custom emoji in toasts. 2022-10-04 09:13:57 +04:00
John Preston
89ae115a87 Add customized rounded ripple mask generators. 2022-10-03 15:10:49 +04:00
John Preston
2c2a7887e6 Add Images::EllipseMask method to the interface. 2022-10-03 11:34:26 +04:00
John Preston
cec09b0260 Support complex-rounded image spoilers. 2022-09-30 23:03:06 +04:00
John Preston
f49ec866c1 Allow rounding with different radius per corner. 2022-09-30 18:42:14 +04:00
John Preston
80445f2bd3 Move some message styles from basic.style. 2022-09-30 11:19:59 +04:00
John Preston
d5ec7cc296 Fix possible stack overflow crash on Windows. 2022-09-28 15:47:42 +04:00
John Preston
14cc3ff52b Set some layers crash annotations. 2022-09-25 16:14:13 +04:00
John Preston
1ceaa0bbcf Fix crash in empty text state resolving. 2022-09-23 20:45:39 +04:00
John Preston
0f77143905 Fix spoiler open link after String moving. 2022-09-23 11:59:25 +04:00
John Preston
d57bf79ce0 Fix extendd menu expanding on Retina screens. 2022-09-22 12:31:27 +04:00
John Preston
06f3c837f6 Add TextForMimeData::WithExpandedLinks method. 2022-09-21 18:54:37 +04:00
John Preston
1c5fd7e277 Add some more assertions to debug a crash. 2022-09-20 12:48:27 +04:00
John Preston
18580e46a1 Handle touch events in PopupMenu. 2022-09-19 17:28:40 +04:00
John Preston
e72b521618 An attempt to improve input fields touch-screen support. 2022-09-19 14:18:59 +04:00
Ilya Fedin
13e59e27eb Remove unnecessary Q_OS_UNIX && !Q_OS_MAC check
Thanks to cmake_dependent_option
2022-09-19 12:39:22 +04:00
Ilya Fedin
367859c684 Fix unused variable warning 2022-09-19 12:39:22 +04:00
Ilya Fedin
efdc82c823 Add Cascadia Code as preferred monospace font
And switch macOS to system monospace font as Cascadia Code is more likely to be installed by the user
2022-09-19 12:39:22 +04:00
John Preston
1b429325e4 Merge remote-tracking branch 'origin/master' into spoilers 2022-09-18 16:51:38 +04:00
John Preston
bc76e4f601 Optimize spoiler revealing. 2022-09-18 16:51:29 +04:00
John Preston
a60fe582ad Render correct spoiler selections. 2022-09-18 15:17:19 +04:00
Ilya Fedin
2dcad89d3c Call xcb_set_input_focus rather than setting X11BypassWindowManagerHint
Setting the hint has some side effects, unfortunately...
2022-09-17 18:40:42 +04:00
John Preston
4ff5bc5773 Provide correct colors for spoiler selection. 2022-09-17 01:59:01 +04:00
John Preston
bd7098ef42 Fix new spoilers with elided text. 2022-09-17 01:22:22 +04:00
John Preston
73b6bc5e13 Implement animated spoilers. 2022-09-17 00:22:08 +04:00
Ilya Fedin
f82162f05a Add missing external_xxhash dependency 2022-09-15 07:27:27 +04:00
John Preston
38875a85be Fix build with GCC. 2022-09-10 11:04:08 +04:00
John Preston
e16cff487d Pause spoilers when animations are disabled. 2022-09-09 21:03:33 +04:00
John Preston
a7d90843a3 Implement partially-rounded rect with a SpoilerMess frame. 2022-09-09 20:41:47 +04:00
John Preston
0edb817ccd Make moving particles in the SpoilerMess. 2022-09-09 15:42:38 +04:00