Commit graph

6822 commits

Author SHA1 Message Date
d12bb8e056 merge: upstream/master (pre-epoch-1.8.0)
Some checks failed
Audit / vulnerabilities (push) Has been cancelled
Check / wasm (push) Has been cancelled
Check / widget (push) Has been cancelled
Document / all (push) Has been cancelled
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, 1.88) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, 1.88) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, 1.88) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
2026-09-10 17:52:30 +02:00
Hojjat
ffe1f1dbe3 fix(wayland): deliver popup Done to the parent window's widgets too 2026-09-09 16:17:27 -04:00
Hojjat
511180679b feat: Lancsoz downsampler when target size is relatively too small 2026-09-04 12:54:04 -04:00
Ashley Wulber
cc5ca1ce29 fix: handling of grab chains and deletion of pending popups 2026-09-03 18:52:20 +02:00
Ashley Wulber
39d3c99d13 improv: allow multiple popup chains
multiple grabs are still not allowed, but this seems to be working well with a tooltip, nested popup chains, and hopefully a context drawer popup
2026-08-28 17:20:22 +02:00
Hojjat
aca94cf2af feat(wayland): add ability to hide the cursor over a surface
also now the surfaces say what the cursor over them should look like,
previously one cursor shape was selected globally for the seat
2026-08-27 22:05:27 -04:00
Hojjat
65e9faa43c feat(wayland): let a layer surface change its input region 2026-08-27 21:07:50 -04:00
e891f34b32 Merge remote-tracking branch 'upstream/master' into yoda-wayland-only
Some checks failed
Audit / vulnerabilities (push) Has been cancelled
Check / wasm (push) Has been cancelled
Check / widget (push) Has been cancelled
Document / all (push) Has been cancelled
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, 1.88) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, 1.88) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, 1.88) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
2026-08-27 07:48:56 +02:00
Frederic Laing
87c0358985 fix(scrollable): allow scrolling when children capture touch presses 2026-08-20 21:34:13 +02:00
c34af04431 fix: create_surface still gated on the removed cctk feature
Some checks failed
Audit / vulnerabilities (push) Has been cancelled
Check / wasm (push) Has been cancelled
Check / widget (push) Has been cancelled
Document / all (push) Has been cancelled
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, 1.88) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, 1.88) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, 1.88) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
Upstream renamed the iced `cctk` features to `wayland` and moved the
positive arm of create_surface() to the wayland_platform cfg alias, but
left the negative arm on `feature = "cctk"`. That feature no longer
exists, so its cfg was always true and both arms compiled at once,
giving `expected (), found Option<Box<dyn HasWindowHandle>>`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 21:53:10 +02:00
d24bcd0272 Merge remote-tracking branch 'upstream/master' into yoda-wayland-only
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	wgpu/Cargo.toml
#	wgpu/src/window/compositor.rs
2026-08-19 21:44:35 +02:00
Hojjat
7918b2826e fix: request redraw for Text widget 2026-08-09 05:35:16 +02:00
Hojjat
f5aa5a6f8c fix: don't request redraw for pointer 2026-08-05 15:31:43 -04:00
Hojjat
b87e660eed perf: do not redraw on mouse move events 2026-08-05 15:31:43 -04:00
Ashley Wulber
86b236f2e1 fix: remove any old blur surface or corners on layer shell done event 2026-07-29 14:21:04 -04:00
Ashley Wulber
f86d983896 fix: remove any old blur surface or corners on surface creation 2026-07-29 14:21:04 -04:00
Aadil
65b5dbc671
feat(slider): add handle bounds to avoid handle shifting on hover (#357) 2026-07-24 09:25:32 +02:00
sanua356
5a6cd771d1
fix: compiler error for e2k CPU architecture 2026-07-23 20:15:43 +02:00
Inuxiuz
dc0e80edd8 feat: add overflow option to Pin widget to allow content beyond boundaries 2026-07-23 19:49:24 +02:00
Hojjat
ba4f09b7bf fix: tear down dnd surface when the dnd is ended programatically 2026-07-23 19:48:49 +02:00
RipleyTom
3a82d48548 fix: ignore resize border on fullscreen/maximized 2026-07-23 13:44:53 -04:00
Frederic Laing
300fa97ee2 fix: consume XDG activation token on window creation 2026-07-18 07:43:12 -06:00
Ashley Wulber
a7c71f8dd3 improv: feature gate for xdg_portal 2026-07-15 16:46:43 -04:00
Ashley Wulber
b3b0ab1cd5 fix: feature gates 2026-07-15 16:46:43 -04:00
Ilia Malanin
f6daee14ac fix: avoid panic on sub-pixel rounded borders 2026-07-14 00:11:26 +02:00
Hojjat
c195232875 fix: avoid 1×1 popup geometry that trips corner-radius validation 2026-07-14 00:10:47 +02:00
Hojjat
775abd45d1 Revert "fix: validate corner radius against window geometry"
This reverts commit 5da1188557.
2026-07-14 00:10:47 +02:00
Hojjat
5da1188557 fix: validate corner radius against window geometry 2026-07-10 02:23:59 +02:00
Ian Douglas Scott
5671e49c9b wgpu: Apply Nvidia driver workaround regardless of cctk feature 2026-07-09 13:25:14 -07:00
Ilia Malanin
371dd94a2a fix: intersect nested clip bounds with parent layer 2026-07-08 10:59:02 -04:00
Ashley Wulber
b5b2b2fcc3 fix: popup cleanup 2026-07-06 18:44:30 -04:00
1a57634add yoda: cargo fix sweep post-rebase (unused imports/vars)
Some checks failed
Check / widget (push) Has been cancelled
Audit / vulnerabilities (push) Has been cancelled
Check / wasm (push) Has been cancelled
Document / all (push) Has been cancelled
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, 1.88) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, 1.88) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, 1.88) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
Leyoda 2026 – GPLv3
2026-07-02 19:10:42 +02:00
362b4abb15 chore: use local winit and softbuffer 2026-07-02 18:44:56 +02:00
cf7828fb70 chore: use local glyphon and cosmic-text 2026-07-02 18:44:56 +02:00
3982e04aa2 chore: use local cctk and clipboard crates 2026-07-02 18:44:11 +02:00
4e2e58e03d chore: gate accessibility-only winit state 2026-07-02 18:43:40 +02:00
Votre Nom
b90b1413a6 yoda: point window_clipboard at public Forgejo fork
Replace pop-os/window_clipboard sctk-0.20 (no wayland feature) with
forge.aditua.com/leyoda/window_clipboard branch yoda-x11-optional. This
removes the need for cosmic-files' [patch] redirect to a local path and
makes libcosmic build standalone again.

Leyoda 2026 – GPLv3
2026-07-02 18:42:57 +02:00
Votre Nom
ce5ea665e2 Fix high-signal widget and Wayland warnings
Avoid recursive operation traversal, execute visible list updates instead of leaving a lazy iterator unused, remove unreachable cfg-gated surface creation code, and handle subsurface buffer attachment failures.
2026-07-02 18:42:57 +02:00
f1f42f2bff yoda: softbuffer + window_clipboard default-features=false
Two one-line workspace-dep fixes that drop the last remaining X11 crates
for Wayland-only builds:

- softbuffer: its default = [kms, x11, x11-dlopen, wayland, wayland-dlopen]
  pulled tiny-xlib + as-raw-xcb-connection unconditionally even though
  iced_tiny_skia only needed softbuffer/wayland. Disabling the default
  lets iced_tiny_skia's own feature propagation ask for just wayland +
  wayland-dlopen.

- window_clipboard: upstream pulled clipboard_x11 + clipboard_wayland
  unconditionally on unix. Our local fork (branch yoda-x11-optional)
  gates clipboard_x11 behind an opt-in feature, so default-features=false
  + features=["wayland"] drops ~500 x11 symbols (clipboard_x11, x11rb,
  x11rb-protocol).

Combined with previous yoda-v4 cuts, cosmic-yoterm goes from
1526 -> 43 x11 symbols (-97%), and 55.4 MB -> 53.3 MB (-2.1 MB).
2026-07-02 18:42:42 +02:00
702b6359a5 yoda: gate iced_wgpu x11 backend behind an opt-in feature
iced_wgpu's unix block unconditionally depended on as-raw-xcb-connection,
tiny-xlib and x11rb for a DRI3 device-id fallback in
window/compositor.rs that only fires when wayland can't determine the
GPU. On a Wayland-only build this code path never runs, so the deps
are pure bloat.

Changes:
- Cargo.toml: move the 3 x11 crates to optional + new feature `x11`
  (not in default — wayland-only is the yoda target; users who need
  X11 opt in).
- window.rs: cfg-gate `mod x11;` on feature = "x11"
- window/compositor.rs: cfg-gate `use super::x11::get_x11_device_ids`
  + the or_else fallback on feature = "x11" (wrapped in a let-binding
  so the non-x11 branch compiles cleanly).

Result: iced_wgpu no longer pulls any x11 crate when built without
the feature.
2026-07-02 18:42:13 +02:00
a50a29b390 yoda: drop x11 default on winit workspace dep
Was pulling winit's full x11 backend (winit-x11 + x11-dl) unconditionally
despite iced_winit's own x11 feature being disabled. Fixed by adding
default-features=false on the workspace-level winit dep — iced_winit/wayland
+ wayland-dlopen propagate to winit/wayland + wayland-dlopen as needed.
2026-07-02 18:42:13 +02:00
Ashley Wulber
c781ff6199 chore: cargo fmt 2026-07-01 10:37:52 -04:00
Ashley Wulber
633ed14411 feat: popup reposition 2026-07-01 10:37:52 -04:00
Ashley Wulber
da9d15b2e8 chore: update cosmic-protocols 2026-07-01 10:37:52 -04:00
Ashley Wulber
8e94441efa fix: apply initial corner radius after adding surfaces to the state
otherwise the corners won't be set.
2026-07-01 10:37:52 -04:00
Ashley Wulber
46781102fe fix: set blur and corners on creation 2026-07-01 10:37:52 -04:00
Ashley Wulber
5cc9f8d621 fix: single blur surface per wl surface 2026-07-01 10:37:52 -04:00
Ashley Wulber
6be49cb530 blur command helper 2026-07-01 10:37:52 -04:00
Ashley Wulber
b8b0804140 fix(overlap): fix check for disabling 2026-07-01 10:37:52 -04:00
Ashley Wulber
6521f7fa20 fix: improved layer surface popup cleanup 2026-07-01 10:37:52 -04:00