Commit graph

37 commits

Author SHA1 Message Date
319db02e52 yoda: gate clipboard_x11 behind an opt-in feature
Some checks failed
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (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, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Upstream pulled clipboard_x11 unconditionally on unix, which drags
x11rb + x11rb-protocol and ~500 symbols of X11 clipboard code into
every Wayland-only iced build. Add an x11 feature (default-on for
compat) that gates:
- the clipboard_x11 workspace dep (now optional)
- `pub use clipboard_x11 as x11` re-export
- the Clipboard::X11 enum variant
- every match arm that handles it
- the fallback branch in `unsafe fn connect` (returns a helpful
  error when called with a non-Wayland display handle)

Wayland-only builds set `window_clipboard = { ..., default-features = false, features = ["wayland"] }` and skip the x11 backend entirely.
2026-04-24 06:50:48 +02:00
Ashley Wulber
228288dfdf
feat: dnd integration 2024-03-26 16:03:05 -04:00
Ashley Wulber
71df657777
feat: add methods for loading raw data 2024-03-14 16:42:24 -04:00
Héctor Ramón Jiménez
4bd0f74db5
Require new patched dependencies in root crate
Some checks failed
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
2024-02-13 02:48:30 +01:00
Héctor Ramón Jiménez
3801f265ca
Bump versions 🎉 2024-02-13 02:45:43 +01:00
Héctor Ramón Jiménez
40447db331
Bump versions 🎉 2024-01-18 08:59:51 +01:00
Ian Douglas Scott
869737dadc Use HasDisplayHandle instead of deprecated HasRawDisplayHandle
Currently `connect` is unsafe because it doesn't take ownership of the
display or have a lifetime bound.
2024-01-16 21:37:13 -08:00
Ian Douglas Scott
bf49c91331 Update to raw-window-handle 0.6 2024-01-16 21:12:14 -08:00
Ian Douglas Scott
555678e6ed Update examples to winit 0.29 2024-01-16 21:09:18 -08:00
Ian Douglas Scott
d6224e1b03 Update clipboard-win 2024-01-16 20:45:19 -08:00
Héctor Ramón Jiménez
233844934e
Bump version 🎉 2023-04-11 06:22:16 +02:00
Héctor Ramón Jiménez
5fb572e9fe
Upgrade edition to 2021 in Cargo.toml 2023-04-11 06:21:59 +02:00
Héctor Ramón Jiménez
2e45dd1cbc
Update winit to 0.28 2023-04-11 06:20:36 +02:00
Héctor Ramón
02979730ba
Merge pull request #20 from TobTobXX/update-raw-window-handle
Update raw-window-handle to v0.5
2023-04-11 06:18:16 +02:00
Héctor Ramón Jiménez
18cc5b91ff
Bump version 🎉 2023-01-12 16:08:10 +01:00
Jeremy Soller
9fc98bdd49 Use dummy platform for Redox OS 2023-01-11 09:28:47 -07:00
TobTobXX
1392da8339
Update raw-window-handle to v0.5
Update raw-window-handle to v0.5. This mainly consisted of using the
newly added RawDisplayHandle trait instead of the previously used
RawWindowHandle trait. For the Linux implementation, this also included
updating winit to v0.27
2022-07-27 15:29:12 +02:00
Héctor Ramón Jiménez
c97306d269
Bump versions 🎉 2022-05-10 20:21:39 +02:00
Héctor Ramón Jiménez
34f08b2093
Bump version 🎉 2022-01-27 17:05:46 +07:00
Héctor Ramón Jiménez
9a5cac87bf
Remove clipboard_dummy crate 2022-01-27 16:41:00 +07:00
Andra Antariksa
0f74d59198 Add dummy platform 🌮 2021-11-10 20:54:49 +07:00
Héctor Ramón
fc11e948eb Bump version 🎉 2021-05-18 20:00:01 +07:00
Héctor Ramón
a451ebe895
Merge pull request #14 from daxpedda/x11rb-improvements-2
More `x11rb` improvements
2021-03-11 00:56:50 +01:00
daxpedda
25e67b760b
More improvements 2021-03-10 21:28:59 +01:00
Héctor Ramón Jiménez
eec369da57 Bump versions 🎉 2021-03-09 03:01:10 +01:00
Héctor Ramón Jiménez
aeda90d4ef Bump versions 🎉 2021-02-11 22:52:00 +01:00
aentity
95ac897439 update smithay_clipboard to 0.6 and dev winit to 0.23 2020-10-21 22:35:51 -07:00
Héctor Ramón Jiménez
5f78242246 Update smithay_clipboard and clipboard-win 2020-08-06 11:05:37 +02:00
Héctor Ramón Jiménez
f5293f9b3b Bump version 2020-03-12 07:25:57 +01:00
Héctor Ramón Jiménez
60df607d3f Update winit dev-dependency 2020-03-12 07:25:48 +01:00
Héctor Ramón Jiménez
5849b06b9c Bump versions 2020-03-12 07:14:21 +01:00
Héctor Ramón Jiménez
f697ee10bd Remove clipboard_windows and simplify modules 2020-03-12 07:12:02 +01:00
Héctor Ramón Jiménez
22c6dd6c04 Add information to cargo manifests 2019-12-19 06:32:29 +01:00
Héctor Ramón Jiménez
23004b960f Remove copypasta and maintain our own fork 2019-12-19 05:47:36 +01:00
Héctor Ramón Jiménez
d5b529563f Bump version 2019-12-18 06:41:49 +01:00
Héctor Ramón Jiménez
7070c91d26 Use copypasta for now 2019-12-18 06:41:02 +01:00
Héctor Ramón Jiménez
6f71824857 Start with an initial draft 2019-12-18 05:55:42 +01:00