Commit graph

126 commits

Author SHA1 Message Date
Ashley Wulber
d099e82a4c fix: send selected action event 2024-06-12 14:35:21 -04:00
Ian Douglas Scott
ab1750a028 Update sctk to 0.19.1 2024-06-11 14:18:16 -07:00
Ashley Wulber
9b995a33a8
fix: add rev for sctk 2024-05-03 11:47:45 -04:00
Ashley Wulber
eefa50c3df
fix: remove a destination surface if it is assigned empty list of rectangles 2024-05-01 11:52:12 -04:00
Ashley Wulber
2263426a09
chore: add rwh-6 feature 2024-03-27 23:46:24 -04:00
Ashley Wulber
a698efe935
cleanup: fmt + clippy 2024-03-27 00:53:02 -04:00
Ashley Wulber
ace619fd01
refactor: add buffer variant to icon argument when starting DnD 2024-03-26 23:22:47 -04:00
Ashley Wulber
efe7a75e7b
refactor: Allow requesting a specific mime type when peeking at the offer 2024-03-26 17:13:38 -04:00
Ashley Wulber
1b6efd066e
refactor: make previous raw methods just allow specific mime types instead 2024-03-26 17:01:52 -04:00
Ashley Wulber
e84ab6d2d8
feat: method for peeking dnd offer data 2024-03-25 18:59:23 -04:00
Ashley Wulber
4c65853f51
cargo fmt 2024-03-25 16:43:11 -04:00
Ashley Wulber
6bc77815ef
chroe: add note 2024-03-25 16:21:41 -04:00
Ashley Wulber
e91be7dfc2
fix: rename Target import 2024-03-25 16:20:04 -04:00
Ashley Wulber
2061b48c40
chore: CHANGELOG 2024-03-25 16:18:48 -04:00
Ashley Wulber
504d07cd83
chore: docs 2024-03-25 16:18:47 -04:00
Ashley Wulber
2c39b92611
chore: clippy 2024-03-25 16:18:47 -04:00
Ashley Wulber
cc9ab6de69
feat: dnd sources 2024-03-25 16:18:46 -04:00
Ashley Wulber
90dc61bb57
clippy 2024-03-25 16:18:45 -04:00
Ashley Wulber
f5384a32c0
chore: refactor dnd offer mimes 2024-03-25 16:18:44 -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
1879b30d49
feat: add conversion from string for MimeType 2024-03-25 16:18:16 -04:00
Ashley Wulber
f03396e009
chore: update CHANGELOG and increment version because of breaking changes 2024-03-25 16:17:48 -04:00
Ashley Wulber
cca54839a3
refactor: make MimeType::find_allowed pub(crate) 2024-03-25 16:17:16 -04:00
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