7a191cf086
yoda: warning cleanup sweep (dead code + clippy --fix) (squashed)
...
Squash of 4 yoda commits:
- 84437e21 yoda: libcosmic-yoda dead-code purge (14->0 warnings)
- 999db0a4 yoda: cosmic-theme cleanup (4->0 warnings) — workspace at 0 warnings total
- 4743bb8e yoda: cargo clippy --fix on libcosmic-yoda (115->33 warnings)
- 675f3b59 chore: reduce local stack warnings
2026-05-25 13:07:48 +02:00
e3dcdf1fce
yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed)
...
Squash of 7 yoda commits forming the fork pivot:
- 255cf7cc rename: libcosmic -> libcosmic-yoda (fork 0.1.0-yoda)
- 8701aa31 feat(yoda): Wayland-only cut — drop winit and x11 features
- 6736a596 yoda: soft-fork pivot — keep Cargo name 'libcosmic' for dep unification
- 3e23d087 yoda: re-apply hard rename — libcosmic -> libcosmic-yoda (0.1.0-yoda)
- aec3eb61 yoda: ungate remaining winit+wayland combined cfgs
- 8ab7b158 yoda-v2: color_picker Theme ref + context_menu/menu ungate winit
- 8d1d8739 yoda: drop x11 defaults on iced_winit + iced_tiny_skia
2026-05-25 13:05:05 +02:00
Vukašin Vojinović
9c2a86a8f4
chore: add rustfmt config
2026-05-04 11:55:17 -04:00
Ashley Wulber
413e63f62a
chore: update features and feature gates
2026-03-30 22:25:27 -04:00
Ashley Wulber
e63f3196e2
fix: MenuActive path highlight
2026-03-27 21:21:59 +01:00
Ashley Wulber
1970499459
fix: capture mouse motion and mouse interactions in overlay
2026-03-05 22:02:40 +01:00
Ashley Wulber
e8d53b14ea
chore: various fixes and some cleanup
2026-03-04 12:04:32 -05:00
Ashley Wulber
e10459fb37
wip rebase updates
2026-03-04 12:04:32 -05:00
Cheong Lau
1d6a43486e
remove redundant clones, use mul_add on f32s
2025-10-22 04:30:57 +02:00
Cheong Lau
bd438a8581
perf: reduce memory allocations
...
This also changes `widget::column::with_children` and
`widget::row::with_children` to take an `impl IntoIterator` instead
of a `Vec`, like the `iced` variants of these functions do.
This shouldn't be a breaking change since passing in a `Vec` will still
compile and function exactly as before.
(Using `iced::widget::Column::from_vec` or
`iced::widget::Row::from_vec` isn't possible, since the elements of the
`Vec` aren't checked, so the size of the resulting `Column` or `Row`
won't adapt to the size of its children. Perhaps a new function could
be added to mirror `iced`'s?)
2025-10-22 04:30:57 +02:00
Cheong Lau
a27bb5e05d
chore: apply clippy suggestions
2025-10-05 04:40:51 +02:00
Ashley Wulber
c01254dd18
fix(menu): overlays should be used when multi-window is not active
2025-09-17 13:50:47 +02:00
Ashley Wulber
7fb514bfac
fix(menu): only draw within intersection of viewport bounds
2025-06-25 19:37:52 -04:00
Ashley Wulber
bf9fc4c29f
fix(menu): disable slide_x for repositioned nested popups
2025-06-18 16:04:44 -04:00
Ashley Wulber
00ba16fe01
refactor(menu): fallback behavior for non wayland windowing system
2025-06-12 10:21:45 -06:00
Ashley Wulber
ba72aed6fb
feat: context menu popups
2025-06-11 16:46:31 -04:00
Ashley Wulber
4c6061d40a
fix(menu inner): avoid unnecessary panic in debug builds.
2025-06-11 12:15:12 -04:00
Ashley Wulber
92ec78ba29
feat: menu bar popups
2025-06-10 18:22:07 +02:00
Michael Aaron Murphy
0aa518984e
chore: format for 2024 edition
2025-03-21 13:33:07 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management
2025-03-14 16:56:21 +01:00
Jason Hansen
51ede4bce6
fix(segmented_button): close context menu when clicked outside
2025-01-01 00:37:04 +01:00
Ashley Wulber
0491c4baaa
libcosmic updates
2024-10-18 14:04:39 -04:00
Michael Aaron Murphy
7e30695c52
chore(menu): fix warnings about public visibility
2024-06-27 00:19:03 +02:00
Michael Aaron Murphy
f9f8eb51cb
fix(menu_bar): root text will inherit icon color from header
2024-05-21 04:34:35 +02:00
Michael Aaron Murphy
59a913c15d
feat!(segmented_button): Add context menu support and integrations
2024-04-18 17:18:53 +02:00
Ashley Wulber
f4ad098647
wip: update to use latest iced
2024-02-06 11:28:27 -05:00
Jeremy Soller
5b2ac941c3
Fixes for menu
...
- Invalidate layout when menu is opened
- Align tree with menu widget when handling menu events
2024-01-09 10:13:14 -07:00
Ashley Wulber
a4d1b1b651
refactor: cosmic-config granular key updates and remove unused generics from cosmic-theme
2024-01-02 15:12:14 +01:00
Jeremy Soller
4b8fb4646b
Menu: align tree in MenuBounds
2023-12-06 14:07:16 -07:00
Jeremy Soller
c2aae2e79b
Menu: align tree in MenuState::layout
2023-12-06 14:07:16 -07:00
Ashley Wulber
fcfe9ebc59
chore: update iced
2023-12-04 17:53:24 -05:00
Ashley Wulber
17bc373990
clippy fixes
2023-12-04 17:53:24 -05:00
Ashley Wulber
9202383596
chore: update to 0.12
2023-12-04 17:53:24 -05:00
Jeremy Soller
bad4400779
Add menu code, adapted from iced_aw
2023-11-16 08:06:07 -07:00