Commit graph

1564 commits

Author SHA1 Message Date
Vukašin Vojinović
1486569481 chore: use theme::spacing() where applicable 2025-04-02 00:33:21 +02:00
Vukašin Vojinović
227f7a76b1 fix(about): match section spacing to designs
Also makes the buttons use the `Button::Link` class.
2025-04-02 00:33:21 +02:00
Jeremy Soller
e6326a28d7
Update iced 2025-03-31 08:50:47 -06:00
Michael Aaron Murphy
f16bc4a764
fix(text_input): Backspace key ignored 2025-03-27 16:38:28 +01:00
Michael Aaron Murphy
0eb86850ce fix(text_input): support numpad keys 2025-03-27 16:33:23 +01:00
Michael Aaron Murphy
c0b0b817e8 fix(text_input): send on_unfocus message where they were missing 2025-03-26 16:42:50 +01:00
Michael Aaron Murphy
8bce57ed83 chore(table): format code 2025-03-26 16:42:50 +01:00
Michael Aaron Murphy
61c0fc7543 fix(popover): modal popover handling broken 2025-03-26 16:42:50 +01:00
Adam Cosner
2753941aad
feat(widget): add table widget 2025-03-24 17:48:20 +01:00
Michael Aaron Murphy
c955c8400f
fix(segmented_button): fix widget focus not being applied on click 2025-03-24 04:36:53 +01:00
Michael Aaron Murphy
d011be6feb
fix(button): unfocus on click to prevent multiple focused buttons 2025-03-24 04:27:41 +01:00
Michael Aaron Murphy
ae5bb40d6e
fix(text_input): conflicts with keyboard focus navigation 2025-03-24 03:37:14 +01:00
Ashley Wulber
cb682be3c8
fix(applet): fixes for recent updates 2025-03-21 17:23:46 +01:00
Michael Aaron Murphy
0aa518984e
chore: format for 2024 edition 2025-03-21 13:33:07 +01:00
Michael Aaron Murphy
8cf372c9b9
perf: inline public getters/setters, and use non-generic inner functions
To reduce compile-times and avoid some overhead to binary size, this will modify some of our
generic functions to use non-generic inner functions where possible. The inner functions are
marked carefully with `#[inline(never)]` to prevent being inlined by LLVM at their callsites

While looking for generic functions to optimize, I have also taken the opportunity to annotate
public non-generic getters and setters with `#[inline]` to ensure that LLVM will inline them
across crate boundaries. By default, only generic functions are automatically inlined, and
only when enabling fat LTO are constant functions reliably inlined across crate boundaries.
2025-03-21 13:31:34 +01:00
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
92b2756e26
chore: update dependencies; including ron 0.9 2025-03-21 13:20:45 +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
cb6ea4c7c3 chore: update iced 2025-03-21 07:50:04 +01:00
Ashley Wulber
a3525ef56e refactor: track virtual offset in the layout 2025-03-21 03:45:30 +01:00
Jeremy Soller
91eae67dd5
Update iced 2025-03-19 14:36:53 -06:00
Ashley Wulber
202684d021
chore: update fde and iced 2025-03-19 20:46:12 +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
50d2104485 fix: include config id in subscription id 2025-03-09 06:05:01 +01:00
Tyler Hardin
ae14aade11 fixup README 2025-03-05 10:04:18 -07:00
Ashley Wulber
238603640c fix: filter out tab events with control modifier 2025-03-04 23:03:55 +01:00
Michael Aaron Murphy
8a0e74b189
perf(iced): improve window resize performance 2025-02-20 13:36:04 +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
Ashley Wulber
3f25af87a3 refactor: small widget container colors 2025-02-17 15:13:16 +01:00
Ashley Wulber
25bf8f60cc feat: improve accent_text for low contrast accent colors. 2025-02-17 15:13:16 +01:00
Michael Aaron Murphy
580db26868
fix(cosmic_config): is_err method conditions reversed 2025-02-14 22:42:50 +01:00
Michael Aaron Murphy
cd8f4ee859
fix(cosmic_config): treat errors getting key_path in get_local as NotFound 2025-02-14 22:39:09 +01:00
Michael Aaron Murphy
ccc1068d9f
feat(cosmic_config): add ConfigGet::get_{local,system_default}
Required by https://github.com/pop-os/cosmic-settings/pull/975 to a modify a config
containing a HashMap which is used to partially-override the system default config
in the compositor.
2025-02-14 21:44:08 +01:00
Tony4dev
0b7e23444a
feat(segmented_button): add len method 2025-02-13 16:22:42 +01:00
Ian Douglas Scott
cba28b1372 Update cctk and iced 2025-02-13 06:59:27 -08:00
Michael Aaron Murphy
f59eb77252 perf: set static mmap threshold on gnu target env by default 2025-02-12 10:59:46 -07:00