Ashley Wulber
cc9ab6de69
feat: dnd sources
2024-03-25 16:18:46 -04:00
Ashley Wulber
1063256706
wip: dnd offer handling
2024-03-25 16:18:42 -04:00
Ashley Wulber
10e534c1be
wip: Dnd setup
2024-03-25 16:18:18 -04:00
Ashley Wulber
f5908d028a
fix: reorder imports
2024-03-25 16:02:04 -04:00
Ashley Wulber
3118f11b03
feat: load raw clipboard data
2024-03-25 15:55:49 -04:00
Ashley Wulber
23ac0ffc5b
refactor: simplify trait bounds in the public interface
2024-03-25 15:55:48 -04:00
Ashley Wulber
0043c35b92
cleanup: move local imports below mod *
2024-02-28 15:30:06 -05:00
Ashley Wulber
9341cc08e8
cleanup: prettier error handling
2024-02-28 15:27:26 -05:00
Ashley Wulber
4492880de3
cleanup: All private functions go bellow the public ones.
2024-02-28 15:20:43 -05:00
Ashley Wulber
87661a2611
chore: support 1.65
2024-02-27 18:01:11 -05:00
Ashley Wulber
56039608a0
chore: clippy
2024-02-27 17:54:18 -05:00
Ashley Wulber
3e56207b3a
feat: support custom mime types
2024-02-27 17:50:33 -05:00
Kirill Chibisov
31392200dc
Update to SCTK 0.18.0
...
The main highlight is the move to calloop to handle all the requests
which makes it possible to remove all the active polling and clean the
data reading/writing, as well as accepting arbitrary long payloads.
This update also fixes the CI for the repository by moving it to github
actions, sets the minimum rust version, and edition to 2021.
Fixes #46 .
Fixes #44 .
Fixes #34 .
2023-10-10 20:49:56 +04:00
Kirill Chibisov
f807e133c0
Bump 'smithay-client-toolkit' to v0.15
...
This also bumps 'wayland-rs' to 'v0.29'.
2021-08-14 10:54:59 +02:00
Kirill Chibisov
0577a468c3
Mark 'Clipboard::new' as 'unsafe'
...
Since this call takes raw pointer it's generally unsafe.
2020-09-30 19:13:15 +03:00
Kirill Chibisov
8a81be7c0a
Avoid panic on dispatch failure ( #23 )
...
Prevent crash when calling unwrap on either sync_roundtrip
or dispatch_pending, and handle such case by replying downstream
that clipboard is dead.
2020-08-27 13:08:26 +02:00
Kirill Chibisov
597086c42c
Add rustfmt.toml
...
Add rustfmt.toml that is being used by projects under smithay's
umbrella.
2020-08-06 09:38:46 +02:00
Kirill Chibisov
bb652c775b
Update smithay-clipboard to SCTK 0.9.1 ( #16 )
...
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.
2020-05-10 15:40:03 +02:00
Christian Duerr
817340fa14
Update smithay-client-toolkit version ( #5 )
...
* Update smithay-client-toolkit version
* Fix formatting issues
2019-06-13 07:19:39 +08:00
Lucas Timmins
a42fd69ee1
Specify crate:: for pre rust 1.32 compatibility
2019-06-07 10:46:22 +08:00
Lucas Timmins
60e77cd2b0
Add primary selection support
2019-06-07 10:46:22 +08:00
Lucas Timmins
1fa455ab6f
Refactor thread code into threaded.rs
2019-06-07 10:46:22 +08:00
Lucas Timmins
f56bb85124
Remove dbg! macro
2019-04-27 23:35:33 +08:00
Lucas Timmins
4eecc726c0
Sync with server to get seat name
2019-04-27 22:04:41 +08:00
Lucas Timmins
f84c9be419
Update documentation
2019-04-27 19:01:41 +08:00
Lucas Timmins
61ac558555
Take an option of a seat name or use name of latest seat event
2019-04-27 18:52:15 +08:00
Lucas Timmins
2a0cd44962
Cleanup
2019-04-24 01:27:50 +08:00
Lucas Timmins
4f4908166a
Sync roundtrip to register seat
2019-04-24 01:20:59 +08:00
Lucas Timmins
ba9de4e1d8
Get serials from key and pointer events
2019-04-23 20:47:06 +08:00
Lucas Timmins
d2e552405b
Return empty string for load requests with no seat
2019-04-23 18:48:55 +08:00
Lucas Timmins
0ad92d3a0c
Fix docs
2019-02-14 18:01:57 +08:00
trimental
a36d3e3e8e
Multiple seat support and api refactor ( #2 )
...
* Multiple seat support and api refractor
* Remove the need for two GlobalManagers
* Remove unnecessary `Arc<Mutex<_>>` and `if let`s with `unwrap()`
* Use cloned display to create eventloop in `new_threaded()`
* Update docs
* Wrap display to event queue
2019-02-13 23:48:50 +08:00
Lucas Timmins
0e959c7673
Rename to smithay-clipboard
2019-02-10 19:05:47 +08:00
Lucas Timmins
17011ea9f7
Initial commit
2019-02-10 01:28:53 +08:00