Votre Nom
f388dfdfe4
yoda: point window_clipboard at public Forgejo fork
...
Audit / vulnerabilities (push) Waiting to run
Check / wasm (push) Waiting to run
Check / widget (push) Waiting to run
Document / all (push) Waiting to run
Format / all (push) Waiting to run
Lint / all (push) Waiting to run
Test / all (macOS-latest, 1.88) (push) Waiting to run
Test / all (macOS-latest, beta) (push) Waiting to run
Test / all (macOS-latest, stable) (push) Waiting to run
Test / all (ubuntu-latest, 1.88) (push) Waiting to run
Test / all (ubuntu-latest, beta) (push) Waiting to run
Test / all (ubuntu-latest, stable) (push) Waiting to run
Test / all (windows-latest, 1.88) (push) Waiting to run
Test / all (windows-latest, beta) (push) Waiting to run
Test / all (windows-latest, stable) (push) Waiting to run
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-05-05 12:52:06 +02:00
Votre Nom
bb9115558d
Fix high-signal widget and Wayland warnings
...
Audit / vulnerabilities (push) Waiting to run
Check / wasm (push) Waiting to run
Check / widget (push) Waiting to run
Document / all (push) Waiting to run
Format / all (push) Waiting to run
Lint / all (push) Waiting to run
Test / all (macOS-latest, 1.88) (push) Waiting to run
Test / all (macOS-latest, beta) (push) Waiting to run
Test / all (macOS-latest, stable) (push) Waiting to run
Test / all (ubuntu-latest, 1.88) (push) Waiting to run
Test / all (ubuntu-latest, beta) (push) Waiting to run
Test / all (ubuntu-latest, stable) (push) Waiting to run
Test / all (windows-latest, 1.88) (push) Waiting to run
Test / all (windows-latest, beta) (push) Waiting to run
Test / all (windows-latest, stable) (push) Waiting to run
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-05-05 08:27:03 +02:00
f0c0b8d42e
yoda: softbuffer + window_clipboard default-features=false
...
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
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-04-24 06:53:36 +02:00
8f6be7984a
yoda: gate iced_wgpu x11 backend behind an opt-in feature
...
Audit / vulnerabilities (push) Waiting to run
Check / wasm (push) Waiting to run
Check / widget (push) Waiting to run
Document / all (push) Waiting to run
Format / all (push) Waiting to run
Lint / all (push) Waiting to run
Test / all (macOS-latest, 1.88) (push) Waiting to run
Test / all (macOS-latest, beta) (push) Waiting to run
Test / all (macOS-latest, stable) (push) Waiting to run
Test / all (ubuntu-latest, 1.88) (push) Waiting to run
Test / all (ubuntu-latest, beta) (push) Waiting to run
Test / all (ubuntu-latest, stable) (push) Waiting to run
Test / all (windows-latest, 1.88) (push) Waiting to run
Test / all (windows-latest, beta) (push) Waiting to run
Test / all (windows-latest, stable) (push) Waiting to run
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-04-24 06:24:15 +02:00
e4d6dc1f68
yoda: drop x11 default on winit workspace dep
...
Audit / vulnerabilities (push) Waiting to run
Check / wasm (push) Waiting to run
Check / widget (push) Waiting to run
Document / all (push) Waiting to run
Format / all (push) Waiting to run
Lint / all (push) Waiting to run
Test / all (macOS-latest, 1.88) (push) Waiting to run
Test / all (macOS-latest, beta) (push) Waiting to run
Test / all (macOS-latest, stable) (push) Waiting to run
Test / all (ubuntu-latest, 1.88) (push) Waiting to run
Test / all (ubuntu-latest, beta) (push) Waiting to run
Test / all (ubuntu-latest, stable) (push) Waiting to run
Test / all (windows-latest, 1.88) (push) Waiting to run
Test / all (windows-latest, beta) (push) Waiting to run
Test / all (windows-latest, stable) (push) Waiting to run
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-04-24 06:00:03 +02:00
Hojjat
78caabba7e
fix: load image synchronously if no callback is set
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-04-13 21:59:23 +02:00
Mateusz Mikuła
044496f652
Sort using more deterministic algorithm
...
`hypot` while useful for most of the cases, may break sorting
assumptions like deterministic comparison.
As seen in: https://github.com/pop-os/cosmic-launcher/issues/352
Add and use a new method that trades the performance for more
determinism.
2026-04-13 10:36:11 -04:00
Hojjat
fc6b46342b
feat: dnd destination for stack widget
2026-04-10 22:13:43 -04:00
Ian Taylor
37f7eab8a3
Fix bounds check
...
Previous behavior: images larger that 2048px would have their bottom
right corners transparent because the info didn't get uploaded to the
GPU
2026-04-10 08:58:26 -04:00
Hojjat
7fd263d99e
chore: update cosmic-text
...
Basic shaping falls back to the default SansSerif font if glyphs are
missing
2026-04-06 10:11:59 -04:00
Hojjat
ed9ad80e18
fix: if there's only one focusable item, don't unfocus
2026-04-03 18:59:41 -04:00
Hojjat
42fd5c76bb
feat: focus wrap-around
...
The tab cycles around when we reach the last focusable
2026-04-03 18:59:41 -04:00
Ashley Wulber
2d4ede1597
Revert "chore: use crate for softbuffer"
...
This reverts commit 375b24c3c4 .
2026-04-02 22:50:29 -04:00
Hojjat
42e3afb568
fix: double negative causing windows to never become ready
2026-04-01 21:59:58 -04:00
KENZ
84f3210819
Use base colors iff program style's background color is not opaque for IME preedit
2026-04-01 17:19:38 -04:00
KENZ
594ed5cfbe
fix: Forward DeleteSurroundingText event in wayland backend
2026-04-01 17:18:08 -04:00
KENZ
d0ef1f9e85
Implement IME-related methods of SctkWinitWindow for apps using single-instance feature
...
- At least, following apps are using `single-instance` feature:
- cosmic-launcher
- cosmic-app-library
- Once libcosmic text widgets supported the IME, these apps start hitting following methods of SctkWinitWindow which is `todo!()` and will crash at startup:
- `set_ime_cursor_area()`
- `set_ime_allowed()`
- `set_ime_purpose()`
- So, this PR implements these method utilizing following wayland protocols.
- zwp_text_input_v3
- zwp_text_input_manager_v3
2026-04-01 17:18:08 -04:00
Ashley Wulber
e4da5002ae
fix: a11y_ready state for sctk surfaces
2026-04-01 17:12:17 -04:00
Vukašin Vojinović
04c273a79b
chore: add functions for row/column
...
This matches the libcosmic ones (e.g `row::with_children()`, instead of `Row::with_children()`).
2026-04-01 20:31:22 +02:00
Hojjat
f141c3ce5c
fix: support Unicode/non-ASCII scripts in combo_box search
2026-04-01 12:59:26 -04:00
Hojjat
9b2857083e
feat: Add rtl support to text input
2026-04-01 12:59:26 -04:00
Hojjat
de2982b37e
chore: update cosmic-text
2026-04-01 12:59:26 -04:00
Ashley Wulber
e981b9c312
fix: rustix fs feature
2026-04-01 12:42:44 -04:00
Vukašin Vojinović
375b24c3c4
chore: use crate for softbuffer
...
This matches upstream iced, and all the things from that tag seem to already be upstream in `softbuffer`.
2026-04-01 10:22:16 -04:00
Hojjat
be453292c6
chore: Update to the latest cosmic-text
2026-03-31 14:54:53 -04:00
Hojjat
bc40cde8cb
fix: do not subtract the scroll twice, causing highlight mis-alignment
2026-03-31 14:54:53 -04:00
Hojjat
e1fc659e64
fix: use highlight and cursor from cosmic-text editor
...
This fixes RTL text in the text_editor widget.
2026-03-31 14:54:53 -04:00
Ashley Wulber
1fdd24ab99
fix: feature gates
2026-03-30 18:47:47 -04:00
Ashley Wulber
d4b0c0482b
fix: ensure adapter is created before window is marked visible
2026-03-30 18:47:47 -04:00
Ashley Wulber
5fa8b72a21
fix: mark window ready after adapter created
2026-03-30 18:47:47 -04:00
Ashley Wulber
3b7f0bec0e
chore: cleanup platform specific code
2026-03-30 18:47:47 -04:00
Hojjat
a11b828280
Fix RTL relayout being skipped for single-line text
2026-03-26 17:11:26 -04:00
Ashley Wulber
f59d5354bf
increment surface version after sync
2026-03-23 20:16:37 -04:00
Ashley Wulber
9b94ee3ec4
fix: scale
2026-03-23 19:12:21 -04:00
laniakea64
c82058e73e
fix(markdown): export fields of Row
2026-03-23 13:02:23 -04:00
KENZ
a9bcb00529
Fix the candidate window position of fcitx5 which does't work well with winit's set_ime_cursor_area()
2026-03-23 10:35:45 -04:00
laniakea64
716c75da3f
fix(rule): allow changing thickness after creation
2026-03-23 08:18:58 -04:00
Hojjat
70f54c994a
feat: add resize() to paragraph
2026-03-20 18:22:51 -04:00
Ashley Wulber
a3a434ac92
fix(wgpu): bounds check for images
2026-03-19 18:24:06 -04:00
wiiznokes
2d41248288
fix windows build
2026-03-18 09:11:54 -04:00
Ashley Wulber
51b0411026
fix(viewport): must use logical size when scale changes
2026-03-17 20:49:44 -04:00
Hojjat
7491547d70
fix(iced): handle scroll events
2026-03-16 15:57:15 -04:00
Hojjat
9b0ebf30bb
fix(iced): route all pointer events through SctkEvent::PointerEvent
2026-03-16 15:57:15 -04:00
Ashley Wulber
d79181f443
fix: transform of tiny-skia rotation
...
reverts changes from upstream that have broken svg rotation
2026-03-16 14:22:56 -04:00
laniakea64
842e3e432c
fix(markdown): support the syntax for line breaks inside table cells
2026-03-16 10:14:34 -04:00
Héctor Ramón Jiménez
4020ad70b6
Fix transformation of canvas primitives in tiny_skia
2026-03-12 12:42:16 -04:00
Ashley Wulber
88f3b00d96
fix(mouse_area): avoid processing a double click twice
2026-03-11 22:32:23 -04:00
Ashley Wulber
fdf00170c3
fix(text): draw_with deadlock accessing font system
2026-03-11 20:47:04 -04:00
Ashley Wulber
f0899a2a81
fix(mouse area): on_drag
2026-03-11 10:15:05 -04:00
Ashley Wulber
9666e986f3
fix: on_right_press handler
2026-03-10 14:52:17 -04:00