9535ada4d0
Merge upstream/master (COSMIC 1.6) into main
...
Aligne le fork sur epoch-1.6.0 (63 commits amont) en preservant les 19
commits yoda.
Resolutions notables :
- les cfg `all(feature = "wayland", target_os = "linux")` deviennent
l alias `wayland_platform` introduit en amont ; il exclut winit comme
le faisait le patch yoda 45eaaf16 , l intention est donc preservee ;
- les features iced `cctk` ont ete renommees `wayland` en amont, la
feature `wayland` locale est adaptee ; `winit` reste un marqueur vide
et `iced/winit` est liste explicitement ;
- cctk/ashpd gardent leurs chemins locaux dans la section conditionnelle
unix introduite en amont ;
- la garde anti-crash c0b653f5 (context_menu non assigne) est conservee
par-dessus la nouvelle structure amont ;
- traductions ca/oc restaurees depuis amont.
Le submodule iced suit (merge + correctif du cfg cctk residuel).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 21:55:00 +02:00
Hojjat
5da2e94337
fix: request redraw when menu item hover state changes
2026-08-10 21:56:23 +02:00
Hojjat
c6cf3db29d
feat: add text context menu (overlay and wayland popup)
2026-08-07 20:20:54 +02:00
Hojjat
5fd1ca4220
fix: request redraw in menus
2026-08-05 16:02:04 -04:00
Ashley Wulber
abaa06f10f
fix(menu): path highlight corners flipped
2026-07-29 12:46:09 -04:00
Ashley Wulber
8e6aea650a
fix: feature gates
2026-07-15 16:54:18 -04:00
2fe2d35286
yoda: cargo fix sweep post-rebase + iced submodule sweep bump
...
Leyoda 2026 – GPLv3
2026-07-02 19:11:38 +02:00
4e1080108c
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-07-02 18:35:50 +02:00
45eaaf1605
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-07-02 18:34:50 +02:00
Ashley Wulber
20dfd7c236
cleanup: corner radius menu path logic
2026-07-01 15:10:28 -04:00
Ashley Wulber
be499d01af
fix: test
2026-07-01 15:10:28 -04:00
Ashley Wulber
a365d45091
fix: menu folder corners
2026-07-01 15:10:28 -04:00
Ashley Wulber
46c717fd57
fix: corner radius setting match style
2026-07-01 15:10:28 -04:00
Ashley Wulber
cde1989e78
refactor: popups for nav bar / segmented buttons
2026-07-01 15:10:28 -04:00
Ashley Wulber
f5fc392ba4
fix: opaque menu for overlay
2026-07-01 15:10:28 -04:00
Ashley Wulber
ac4a1ab259
improv: allow overrides for corner radius or blur that apply on creation as well
2026-07-01 15:10:28 -04:00
Ashley Wulber
7d62b193f4
feat: improve handling of list items using data in theme
2026-07-01 15:10:28 -04: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