This commit entirely reworks the internal structure of the entire crate, as well as some of its APIs. This crate only accepts a C pointer to a Wayland display object, since the target audience of this crate are libraries without a wayland-client types. Also since seat information is not presented in such clients most of the time, the clipboard entirely relies on its seat tracking.
1.8 KiB
1.8 KiB
Change Log
Unreleased
- Minimal rust version was bumped to 1.40.0
- Add support for
UTF8_STRINGmime type - Clipboard now works only with extern display
- Clipboard now works only with last observed seats, instead of optionally accepting seat names
0.4.0 -- 2020-03-09
- Fix crash when receiving non-utf8 data
- Breaking
loadandload_primarynow returnResult<String>to indicate errors - Fix clipboard dying after TTY switch
0.3.7 -- 2020-02-27
- Only bind seat with version up to 6, as version 7 is not yet supported by SCTK for loading keymaps
0.3.6 -- 2019-11-21
- Perform loaded data normalization for text/plain;charset=utf-8 mime type
- Fix clipboard throttling
0.3.5 -- 2019-09-3
- Fix primary selection storing, when releasing button outside of the surface
0.3.4 -- 2019-08-14
- Add fallback to gtk primary selection, when zwp primary selection is not available
0.3.3 -- 2019-06-14
- Update nix version to 0.14.1
0.3.2 -- 2019-06-13
- Update smithay-client-toolkit version to 0.6.1
0.3.1 -- 2019-06-08
- Fix primary clipboard storing
0.3.0 -- 2019-06-07
- Add support for primary selection through
store_primary()andload_primary()
0.2.1 -- 2019-04-27
- Remove dbg! macro from code
0.2.0 -- 2019-04-27
Clipboard::store()andClipboard::load()now take aOption<String>for the seat name, if no seat name is provided then the name of the last seat to generate an event will be used instead
0.1.1 -- 2019-04-24
- Do a sync roundtrip to register avaliable seats on clipboard creation
- Collect serials from key and pointer events
- Return an empty string for load requests when no seats are avaliable
0.1.0 -- 2019-02-14
Initial version, including:
WaylandClipboardwithnew_threaded()andnew_threaded_from_external()- multi seat support