Commit graph

769 commits

Author SHA1 Message Date
Michael Aaron Murphy
c538d672df
improv(text_input): optimize, fix, and improve the text inputs 2025-03-21 13:21:57 +01:00
Michael Aaron Murphy
ab887aeeac
feat: add cosmic::theme::spacing() 2025-03-21 13:20:45 +01:00
Michael Aaron Murphy
2afa192573
fix: Rust 2024 errors 2025-03-21 13:20:45 +01:00
Michael Aaron Murphy
77c3a8ed90
feat(task): add stream function 2025-03-21 13:20:45 +01:00
Ashley Wulber
a3525ef56e refactor: track virtual offset in the layout 2025-03-21 03:45:30 +01:00
Jeremy Soller
e29ce0d4c1
Fix compilation with process feature on other Unixes 2025-03-19 12:27:21 -06:00
Michael Aaron Murphy
b2b6d90fb6 fix(text_input): fixing multiple issues 2025-03-18 16:56:01 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
Ashley Wulber
c7edd37b03 cargo fmt 2025-03-12 23:40:31 +01:00
Ashley Wulber
26ea70a6bd chore: update fde 2025-03-12 23:40:31 +01:00
Vukašin Vojinović
617de4dc95 improv(app): visually align window corners to content 2025-03-12 22:41:32 +01:00
Jeremy Soller
872e7dd65e
Remove unused cctk import from autosize widget 2025-03-12 08:35:17 -06:00
Vadim Khitrin
64ddcb3bf2 fix: Support Spawning Processes on macOS
Allow using pipe on macOS when attempting to spawn a process.
2025-03-10 16:22:23 +01:00
ellieplayswow
a234a45ea6
fix(segmented_button): ignore button release / finger lifted events when dragged out of target 2025-03-10 16:21:34 +01:00
Ashley Wulber
508753ae69 feat: high contrast theme updates 2025-03-10 16:10:32 +01:00
Ashley Wulber
238603640c fix: filter out tab events with control modifier 2025-03-04 23:03:55 +01:00
Michael Aaron Murphy
1f826e38b9
improv: call malloc_trim after view and update calls 2025-02-19 18:13:24 +01:00
Michael Aaron Murphy
76348bb985
chore: handle more sources of excess cosmic-config logs 2025-02-19 16:57:28 +01:00
Michael Aaron Murphy
ab6de5304b
chore(theme): avoid logging errors for unset config parameters 2025-02-19 15:37:59 +01:00
Michael Aaron Murphy
7d84d21129 improv: switch to Open Sans and Noto Sans Mono, with tweaked text styles 2025-02-18 23:57:58 +01:00
Tony4dev
0b7e23444a
feat(segmented_button): add len method 2025-02-13 16:22:42 +01:00
Michael Aaron Murphy
f59eb77252 perf: set static mmap threshold on gnu target env by default 2025-02-12 10:59:46 -07:00
ellieplayswow
900fc34444
feat(icon): add rotation property 2025-01-20 11:08:36 +01:00
Tony4dev
def11c6c96
improv(calendar): make visible public 2025-01-19 15:37:07 +01:00
Eduardo Flores
00a4042c40
chore(calendar): add derive attributes 2025-01-19 12:58:57 +01:00
Michael Aaron Murphy
1914006cdd
fix(text_input): compiler errors after Cow change 2025-01-16 06:38:08 +01:00
Tony4dev
8211fb68bd
improv!(calendar): do not select date when navigating prev/next months 2025-01-16 06:30:21 +01:00
Soso
90c5c84cce
improv(text_input): use Cow<str> for label, helper, and error text 2025-01-16 06:29:03 +01:00
Dryadxon
bd8347f7fc fix: impl combo_box::Catalog 2025-01-13 15:45:27 -07:00
Ian Douglas Scott
af9e353f50 dnd_source: Add suppport for surface offset
The `drag_icon` callback is passed the offset of the cursor within the
widget at the start of the drag, and can return an offset the drag
surface should be placed relative to the cursor.
2025-01-13 10:44:33 -07:00
Jason Rodney Hansen
aaa2ba3ad4 Fix entering text with compose key
Previously entering text in text inputs with the compose key would insert one
or more NUL bytes before the inserted character.
2025-01-05 17:51:44 -07:00
Michael Aaron Murphy
e162c59160
perf: reduce memory usage by dropping ustr dependency
The string cache used by ustr pre-allocates 12 MB, even if we're
only using it for a few font family names. We can therefore
manage our own set of leaked strings to reduce memory usage by 12 MB.
2025-01-03 21:58:04 +01:00
Michael Aaron Murphy
fdefc5860b
perf: avoid duplicate Ustr for default font names 2025-01-03 01:18:47 +01:00
Jason Hansen
51ede4bce6
fix(segmented_button): close context menu when clicked outside 2025-01-01 00:37:04 +01:00
Eduardo Flores
b2ce4ccea2 fix: add cfg for unix only packages 2024-12-26 15:31:54 +01:00
Vukašin Vojinović
58fc034459 fix(dropdown): styling 2024-12-25 04:42:24 +01:00
Vukašin Vojinović
2d06ec4226 fix(style): use radius_s for nav bar toggle 2024-12-25 04:42:24 +01:00
Ian Douglas Scott
75a11b3c84 Don't require 'static child in dnd_destination_for_data
Matches `dnd_destination`.
2024-12-20 08:30:18 -07:00
Michael Aaron Murphy
5422ab3130
feat(list_column): configurable list item and divider padding 2024-12-10 16:35:57 +01:00
Michael Aaron Murphy
a02fa21d36
feat(button): add ListItem style 2024-12-10 16:35:24 +01:00
Ashley Wulber
ff0ba4860c fix: autosize layout limits 2024-12-03 16:59:04 -05:00
Tony4dev
d536341234
fix(segmented_button): model index out of bounds when setting position 2024-12-03 05:14:33 +01:00
wiiznokes
b80d90e5ce
fix: compile for markdown feature 2024-12-03 05:13:54 +01:00
Ashley Wulber
931165050d
chore: update iced 2024-12-03 05:13:27 +01:00
Vukašin Vojinović
de0c1921f7 fix(list_column): match padding/spacing to designs 2024-12-02 17:43:19 +01:00
Vukašin Vojinović
a6c08d68f9 fix(toggler): remove extra padding 2024-12-02 17:43:19 +01:00
Vukašin Vojinović
a6db807c1b fix 2024-11-26 15:24:25 -05:00
Vukašin Vojinović
8e823f622f fix(header_bar): match spacing to designs 2024-11-26 16:29:53 +01:00
Vukašin Vojinović
af7157b45a improv: window border corner appearance 2024-11-26 16:29:53 +01:00
Ashley Wulber
a9c7c3cdbf
fix(iced): a11y tree focus 2024-11-25 06:52:32 +01:00