Ashley Wulber
9a0816b140
refactor: remove discriminant method
2024-03-25 16:04:12 -04:00
Ashley Wulber
f5908d028a
fix: reorder imports
2024-03-25 16:02:04 -04:00
Ashley Wulber
7db9746658
feat: add conversion from string for MimeType
2024-03-25 15:59:13 -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
50ccb2b60a
cleanup: more clearly document find_allowed
2024-03-25 15:55:47 -04:00
Ashley Wulber
b03e62069f
chore: document allowed mime types order preference
2024-03-25 15:55:47 -04:00
Ashley Wulber
7da622c80b
fix: check primary_selection_manager_state
2024-03-25 15:55:46 -04:00
Ashley Wulber
0d61c088e5
cleanup: add missing . to docs
2024-03-25 15:55:45 -04:00
Ashley Wulber
0d110ddac3
chore: update CHANGELOG
2024-03-25 15:55:20 -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
a74fc5ba67
refactor: Text mimes as their own type
2024-02-28 15:17:37 -05:00
Ashley Wulber
84229d0503
reword some doc comments
2024-02-28 15:06:21 -05:00
Ashley Wulber
7a72dd39f0
fix: doc comment typos
2024-02-28 15:01:39 -05:00
Ashley Wulber
1d5e98d4ea
refactor: remove thiserror from dependencies
2024-02-28 14:59:34 -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
eebb02816e
smithay-clipboard version 0.7.1
2024-02-20 03:30:14 +04:00
Simon Hausmann
ee63d81a57
Fix panic when wayland display connection breaks
...
Instead, terminate the thread and consider the clipboard dead. The
application can now gracefully deal with the situation.
Closes : #52
2024-02-19 13:23:54 +04:00
Kirill Chibisov
858419b586
smithay-clipboard version 0.7.0
2023-10-10 21:33:54 +04:00
Kirill Chibisov
aa877fcacc
chore: update readme
2023-10-10 21:17:54 +04:00
Kirill Chibisov
909b7f6ff3
mime: use text/plain as a fallback
2023-10-10 21:07:27 +04: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
e2ffc4f183
ci: use github actions
2023-10-10 20:15:14 +04:00
Alex Touchet
78e4465d79
Fix crates.io badge
2022-12-24 15:31:44 +03:00
Victor Berger
9f3c0da59b
version 0.6.6
2022-06-20 11:23:42 +02:00
Kirill Chibisov
f89b531897
Bump smithay-client-toolkit version to v0.16.0
2022-06-20 10:43:17 +02:00
Victor Berger
f642b3e86d
Update chat info.
2021-12-20 20:03:16 +01:00
Victor Berger
ad3d40ac85
v0.6.5
2021-10-31 10:47:05 +01: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
Milkey Mouse
2833d93b48
Add dlopen feature
...
If the dlopen feature is disabled, system libraries depended on by
wayland-client and smithay-client-toolkit will be statically linked.
2021-07-13 10:01:35 +02:00
Victor Berger
b2b066c9e5
version 0.6.4
2021-06-25 16:12:44 +02:00
Benjamin Bouvier
fe44fead1c
Bump smithay-client-toolkit to latest version
2021-06-25 15:59:32 +02:00
Christian Duerr
02f60b9884
Fix typo in normalize_to_lf function name
...
It took me a bit to figure out why I couldn't find this function when
searching for it in the repository. Turns out this time it wasn't me
spelled it wrong.
2021-02-24 20:42:07 +01:00
Victor Berger
d5fba32e7c
v0.6.3
2021-02-04 11:18:34 +01:00
Christian Duerr
8ea0580829
Fix serial ID tracking
...
The serial ID tracking was incorrectly reinserting any previously used
seats without updating the serial information, leading to consecutive
clipboard stores being dropped by the compositor.
Fixes #33 .
2021-02-04 11:01:01 +01:00
Victor Berger
7ea43dbd97
v0.6.2
2020-12-17 12:42:54 +01:00
Kirill Chibisov
f6f5b98235
Fix segfault in multithreaded context
...
Dropping libwayland-client's queue in multithreaded context is safe if
and only if there're no alive proxies on it, otherwise it could result
in use-after-free. For more see [1] and [2].
[1] - https://gitlab.freedesktop.org/wayland/wayland/-/issues/13
[2] - https://github.com/Smithay/wayland-rs/issues/359
2020-12-12 18:28:29 +03:00
Kirill Chibisov
276aa84cf5
Fix comment about CRLF normalization
2020-11-12 19:05:17 +03:00
Victor Berger
a4827e5344
version 0.6.1
2020-10-13 15:45:28 +02:00
Kirill Chibisov
da2637af29
Fix crash when failing to write to a clipboard ( #29 )
...
Fix crash when failing to write to a clipboard
2020-10-13 15:25:36 +02:00
Victor Berger
05b6dec99c
version 0.6.0
2020-10-03 15:55:15 +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
eef2ca9f2e
Update SCTK to 0.12
2020-09-30 18:30:51 +03:00
Victor Berger
12b9edc4f3
version 0.5.2
2020-08-30 18:43:21 +02:00
Kirill Chibisov
b88f48fbc0
Update sctk to 0.11.0
2020-08-30 18:37:23 +02: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