Commit graph

  • c006f8c304 Moved out styles of ripples with shadowFg color to single place. 23rd 2023-01-23 09:28:14 +03:00
  • 77cd7f642c Add QtMath #include for M_SQRT2. John Preston 2023-01-21 21:12:31 +04:00
  • 28d01d023b Replaced multiple static constants for square root of 2 with Qt define. 23rd 2023-01-21 19:34:26 +03:00
  • 335f8050d9 Allow stopping LimitedLoopsEmoji on last frame. John Preston 2023-01-20 20:43:30 +04:00
  • 6e3cc8c769 Fix child geometry for mega-rich popup menus. John Preston 2023-01-19 12:16:19 +04:00
  • e00ae912ad Fixed missed inline of functions for geometry calculations. 23rd 2023-01-19 10:41:56 +03:00
  • 3bfd1797e4 Added initial list of functions for geometry calculations. 23rd 2023-01-15 06:54:07 +03:00
  • 0662809cd2 Added some convenient overload methods to RpWidget. 23rd 2023-01-15 06:34:23 +03:00
  • 2404225e09 Allow window to receive WM_DPICHANGED in Qt. John Preston 2023-01-13 12:43:50 +04:00
  • a113e50050 Separate ClickHandler::url from dragText. John Preston 2023-01-12 11:23:02 +04:00
  • c72beeeb7c Fix escaping QByteArray construction. John Preston 2023-01-12 10:10:21 +04:00
  • 6cd13e1057 Handle jpeg errors with exceptions Ilya Fedin 2023-01-09 14:29:24 +04:00
  • 3c261d254e Implement lossless jpeg progression Ilya Fedin 2023-01-09 04:19:18 +04:00
  • b67cff089c Output error message when dealing with jpeg errors Ilya Fedin 2023-01-09 06:22:42 +04:00
  • 3cb645f507 Allow fully custom QImage shadows. John Preston 2023-01-06 17:05:24 +04:00
  • 28a51f1ec7 Clear stale emoji after every caching. John Preston 2023-01-05 14:43:34 +04:00
  • 7882604a29 Fix checkbox text width counting. John Preston 2023-01-03 11:06:05 +04:00
  • 2cd253208d Fix a possible leak when IsProgressiveJpeg gets invalid data Ilya Fedin 2023-01-02 07:56:27 +04:00
  • 3fea35ff19 Added regexp for excluding digits. 23rd 2022-12-29 12:37:58 +03:00
  • 28fd4eea95 Fix build with GCC. John Preston 2022-12-28 17:39:03 +04:00
  • 6c33f9218e Get rid of Ui::Integration::timeFormat Ilya Fedin 2022-12-15 13:46:17 +04:00
  • c5f09bbf69 Fix assertion violation in GenericBox. John Preston 2022-12-27 13:53:44 +04:00
  • 97d4f62970 Always force spoiler initialization. John Preston 2022-12-27 10:47:01 +04:00
  • d079108e29 Fix toast label palette. John Preston 2022-12-22 21:45:42 +04:00
  • fbdc6ed5ac Added third color to premium icons. 23rd 2022-12-21 18:04:12 +03:00
  • 9f5ddf3d8a Added missed call of LayerWidget::showFinished to main menu. 23rd 2022-12-21 18:04:00 +03:00
  • 07d9420c19 Move LayerWidget::closeLayer to the public interface. John Preston 2022-12-21 14:48:44 +04:00
  • b178a5d15f Fixed color of text when IconButtonWithText is over. 23rd 2022-12-16 00:45:22 +03:00
  • 4befce5a29 Fix colored custom emoji in field. John Preston 2022-12-15 19:10:35 +04:00
  • 770b5d0e59 Allow using text color -> preview color algo outside. John Preston 2022-12-15 19:10:04 +04:00
  • 8649a55727 Simplify coloring of semi-transparent images. John Preston 2022-12-15 19:07:50 +04:00
  • 4ec3aced2e Support colored emoji more widely. John Preston 2022-12-15 17:24:36 +04:00
  • 64d2778914 Fix rounded image spoiler filling. John Preston 2022-12-12 22:44:25 +04:00
  • f339dd3771 Added support of min height to Ui::GenericBox. 23rd 2022-12-12 18:16:56 +03:00
  • 49d9a020a3 Added access to toggle rect for inheritors of Ui::SettingsButton. 23rd 2022-12-12 18:16:06 +03:00
  • 580e6a561f Don't check box visibility in BoxShow. John Preston 2022-12-07 13:02:48 +04:00
  • d5921e742f Request LTCG on Windows 32 bit build. John Preston 2022-12-07 10:59:27 +04:00
  • 59a7b94ef4 Track palette version. John Preston 2022-12-05 16:17:31 +04:00
  • 22ceaae4ed Fixed drawing of long window titles on macOS. 23rd 2022-12-04 18:47:00 +03:00
  • 113b289f7f Changed default color keys for empty userpic backgrounds. 23rd 2022-12-03 17:13:11 +03:00
  • eb285b14c7 Added new color keys for empty userpic backgrounds. 23rd 2022-12-03 17:09:12 +03:00
  • ff821bc3d7 Changed default behavior to trim last separator in popup menu. 23rd 2022-12-03 17:09:05 +03:00
  • 6c345d2076 Added ability to fill default context menu for FlatLabel from external. 23rd 2022-11-29 15:09:50 +03:00
  • c197c1831d Added ability to clear items in vertical layout. 23rd 2022-11-29 14:10:47 +03:00
  • 4a0c3ead7a Added initial implementation of FollowSlideWrap. 23rd 2022-11-27 14:30:41 +03:00
  • 6d7cb504ee Fixed ability of manual resizing of popup menu on macOS. 23rd 2022-11-26 18:12:52 +03:00
  • 0937ac0ad0 Allow custom context menus on labels. John Preston 2022-11-29 13:41:12 +04:00
  • e6064719df Changed behavior to always center generic boxes. 23rd 2022-11-12 14:12:02 +03:00
  • 1ee4b34bf6 Added ability to set minimal height for slide wrap. 23rd 2022-11-12 14:10:35 +03:00
  • 3f28dfa821 Replace custom waitForInterfaceAnnounce with wl_display_roundtrip Ilya Fedin 2022-11-11 08:21:54 +04:00
  • 3752e158e4 Fix spoilers with multi-item elision blocks. John Preston 2022-11-09 12:33:57 +04:00
  • 4539d0bab4 Add PlainLink(TextWithEntities) and SingleCustomEmoji. John Preston 2022-11-02 16:38:17 +04:00
  • c3616927eb Add CreateAddActionCallback for non-owned menu. John Preston 2022-11-01 19:22:03 +04:00
  • 09e8850dfd Adapt for target_prepare_qrc changes Ilya Fedin 2022-10-03 12:42:57 +04:00
  • 865056eec8 Allow locked toggles in SettingsButton. John Preston 2022-10-25 17:50:18 +04:00
  • 7f1dd3c351 Add Ui::Text::Link(TextWithEntities, url/index). John Preston 2022-10-25 16:41:11 +04:00
  • c199a1722f Add TextWithTags::empty method. John Preston 2022-10-25 11:19:52 +04:00
  • 4ba3000a28 Get rid of FlatInput class. John Preston 2022-10-20 17:41:57 +04:00
  • d8b1f46715 Fix MultiSlideTracker for empty widgets list. John Preston 2022-10-17 20:28:06 +04:00
  • 9ab11ccb36 Add full-text-width accessor for SettingsButton. John Preston 2022-10-14 11:58:30 +04:00
  • 0c592310af Added ability to customize widget for events in VerticalLayoutReorder. 23rd 2022-10-13 02:16:56 +03:00
  • f450dcf2c5 Support GenericBox max height / scroll style. John Preston 2022-10-06 17:03:32 +04:00
  • a755fa391e Fix crash in toasts. John Preston 2022-10-04 19:34:10 +04:00
  • 04e6428fec Remove accidentally added check. John Preston 2022-10-04 10:10:49 +04:00
  • eafd7dc818 Allow spoilers and custom emoji in toasts. John Preston 2022-10-04 09:13:57 +04:00
  • 89ae115a87 Add customized rounded ripple mask generators. John Preston 2022-10-03 15:10:49 +04:00
  • 2c2a7887e6 Add Images::EllipseMask method to the interface. John Preston 2022-10-03 11:34:26 +04:00
  • cec09b0260 Support complex-rounded image spoilers. John Preston 2022-09-30 23:03:06 +04:00
  • f49ec866c1 Allow rounding with different radius per corner. John Preston 2022-09-30 18:42:14 +04:00
  • 80445f2bd3 Move some message styles from basic.style. John Preston 2022-09-30 11:19:59 +04:00
  • d5ec7cc296 Fix possible stack overflow crash on Windows. John Preston 2022-09-28 15:47:42 +04:00
  • 14cc3ff52b Set some layers crash annotations. John Preston 2022-09-25 16:14:13 +04:00
  • 1ceaa0bbcf Fix crash in empty text state resolving. John Preston 2022-09-23 20:45:39 +04:00
  • 0f77143905 Fix spoiler open link after String moving. John Preston 2022-09-23 11:58:37 +04:00
  • d57bf79ce0 Fix extendd menu expanding on Retina screens. John Preston 2022-09-22 12:31:11 +04:00
  • 06f3c837f6 Add TextForMimeData::WithExpandedLinks method. John Preston 2022-09-21 18:54:37 +04:00
  • 1c5fd7e277 Add some more assertions to debug a crash. John Preston 2022-09-20 12:48:27 +04:00
  • 18580e46a1 Handle touch events in PopupMenu. John Preston 2022-09-19 16:27:39 +04:00
  • e72b521618 An attempt to improve input fields touch-screen support. John Preston 2022-09-19 14:18:59 +04:00
  • 13e59e27eb Remove unnecessary Q_OS_UNIX && !Q_OS_MAC check Ilya Fedin 2022-09-19 05:25:40 +04:00
  • 367859c684 Fix unused variable warning Ilya Fedin 2022-09-18 17:19:02 +04:00
  • efdc82c823 Add Cascadia Code as preferred monospace font Ilya Fedin 2022-09-18 17:02:22 +04:00
  • 1b429325e4 Merge remote-tracking branch 'origin/master' into spoilers John Preston 2022-09-18 16:51:38 +04:00
  • bc76e4f601 Optimize spoiler revealing. John Preston 2022-09-18 16:51:29 +04:00
  • a60fe582ad Render correct spoiler selections. John Preston 2022-09-18 15:17:19 +04:00
  • 2dcad89d3c Call xcb_set_input_focus rather than setting X11BypassWindowManagerHint Ilya Fedin 2022-09-17 16:42:19 +04:00
  • 4ff5bc5773 Provide correct colors for spoiler selection. John Preston 2022-09-17 01:59:01 +04:00
  • bd7098ef42 Fix new spoilers with elided text. John Preston 2022-09-17 01:22:22 +04:00
  • 73b6bc5e13 Implement animated spoilers. John Preston 2022-09-17 00:22:08 +04:00
  • f82162f05a Add missing external_xxhash dependency Ilya Fedin 2022-09-15 02:33:21 +04:00
  • 38875a85be Fix build with GCC. John Preston 2022-09-10 11:04:08 +04:00
  • e16cff487d Pause spoilers when animations are disabled. John Preston 2022-09-09 21:03:33 +04:00
  • a7d90843a3 Implement partially-rounded rect with a SpoilerMess frame. John Preston 2022-09-09 20:09:07 +04:00
  • 0edb817ccd Make moving particles in the SpoilerMess. John Preston 2022-09-09 15:42:38 +04:00
  • ff85d2226c Provide simple spoiler animations manager. John Preston 2022-09-09 12:41:07 +04:00
  • c732bd874f Cache default SpoilerMess on disk. John Preston 2022-09-09 11:51:08 +04:00
  • 00a668c3f3 Initial SpoilerMess implementation. John Preston 2022-09-08 13:13:03 +04:00
  • 4d2fc25d03 Fix handle capture in ActivateWindowDelayed Ilya Fedin 2022-09-07 16:11:46 +04:00
  • 12b8b3804c Add Ui::MapFrom for optimized mapFromGlobal(mapToGlobal(..)). John Preston 2022-09-07 12:50:59 +04:00
  • d7c2185f5c Force ActivateWindowDelayed to use xcb_set_input_focus on X11 when activating a parent Ilya Fedin 2022-09-07 00:50:06 +04:00