Commit graph

956 commits

Author SHA1 Message Date
Ilya Fedin
b67cff089c Output error message when dealing with jpeg errors 2023-01-09 14:07:58 +04:00
John Preston
3cb645f507 Allow fully custom QImage shadows. 2023-01-06 17:05:24 +04:00
John Preston
28a51f1ec7 Clear stale emoji after every caching. 2023-01-05 14:43:34 +04:00
John Preston
7882604a29 Fix checkbox text width counting. 2023-01-03 11:06:05 +04:00
Ilya Fedin
2cd253208d Fix a possible leak when IsProgressiveJpeg gets invalid data 2023-01-02 11:06:39 +04:00
23rd
3fea35ff19 Added regexp for excluding digits. 2022-12-29 13:36:03 +03:00
John Preston
28fd4eea95 Fix build with GCC. 2022-12-28 17:39:03 +04:00
Ilya Fedin
6c33f9218e Get rid of Ui::Integration::timeFormat
Enum values are used now instead
2022-12-28 09:51:50 +04:00
John Preston
c5f09bbf69 Fix assertion violation in GenericBox. 2022-12-27 13:53:44 +04:00
John Preston
97d4f62970 Always force spoiler initialization. 2022-12-27 10:47:01 +04:00
John Preston
d079108e29 Fix toast label palette.
Regression was introduced in eafd7dc818.
2022-12-22 21:46:07 +04:00
23rd
fbdc6ed5ac Added third color to premium icons. 2022-12-21 18:04:12 +03:00
23rd
9f5ddf3d8a Added missed call of LayerWidget::showFinished to main menu. 2022-12-21 18:04:00 +03:00
John Preston
07d9420c19 Move LayerWidget::closeLayer to the public interface. 2022-12-21 14:48:44 +04:00
23rd
b178a5d15f Fixed color of text when IconButtonWithText is over. 2022-12-16 00:45:26 +03:00
John Preston
4befce5a29 Fix colored custom emoji in field. 2022-12-15 19:10:35 +04:00
John Preston
770b5d0e59 Allow using text color -> preview color algo outside. 2022-12-15 19:10:04 +04:00
John Preston
8649a55727 Simplify coloring of semi-transparent images. 2022-12-15 19:07:50 +04:00
John Preston
4ec3aced2e Support colored emoji more widely. 2022-12-15 17:24:36 +04:00
John Preston
64d2778914 Fix rounded image spoiler filling. 2022-12-12 22:55:28 +04:00
23rd
f339dd3771 Added support of min height to Ui::GenericBox. 2022-12-12 18:16:56 +03:00
23rd
49d9a020a3 Added access to toggle rect for inheritors of Ui::SettingsButton. 2022-12-12 18:16:06 +03:00
John Preston
580e6a561f Don't check box visibility in BoxShow. 2022-12-07 13:02:48 +04:00
John Preston
59a7b94ef4 Track palette version. 2022-12-05 16:17:31 +04:00
23rd
22ceaae4ed Fixed drawing of long window titles on macOS. 2022-12-04 18:47:00 +03:00
23rd
113b289f7f Changed default color keys for empty userpic backgrounds. 2022-12-04 02:55:12 +03:00
23rd
eb285b14c7 Added new color keys for empty userpic backgrounds. 2022-12-04 02:55:01 +03:00
23rd
ff821bc3d7 Changed default behavior to trim last separator in popup menu. 2022-12-03 17:14:30 +03:00
23rd
6c345d2076 Added ability to fill default context menu for FlatLabel from external. 2022-11-29 15:09:50 +03:00
23rd
c197c1831d Added ability to clear items in vertical layout. 2022-11-29 14:10:50 +03:00
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
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