Commit graph

31 commits

Author SHA1 Message Date
Rodolphe Bréard
9243631c20
Implement the .set_html() method (#69)
Implement the `.set_html()` method
2022-10-16 18:08:01 -05:00
ComplexSpaces
7fd3f07c05 Accept optionally borrowed data instead of String for setting text 2022-07-25 08:18:35 -05:00
Sabrina Jewson
5f0fb88c55
Support waiting on the clipboard to be overwritten on Linux (#43)
* Support waiting on the clipboard to be overwritten on Linux

* Add daemonize example

* Improve docs of ClipboardExtLinux

* Allow daemonize to compile on all platforms

* Use a constant in daemonize example

* Improve wording in docs of clipboard waiting

* Add a builder-like API to reduce combinatorial explosion

* Remove ClipboardExtLinux

This also adds support for setting and getting image data on the primary
and secondary clipboards.
2022-06-08 22:52:03 -05:00
ComplexSpaces
4f3d56a392 Update dev dependencies 2022-03-07 14:55:55 -06:00
Artur Kovacs
b445105c0e Select the wayland protocol at runtime 2021-04-06 21:51:44 +02:00
Artur Kovacs
d5b5277227 Oops. Moving the workflows to the correct folder. 2020-10-25 15:37:14 +01:00
Artur Kovacs
e5416e5360 Update tests for github workflows 2020-10-25 15:30:47 +01:00
Artur Kovacs
2f3fde2147 Ran cargo fmt 2020-09-13 10:02:11 +02:00
Artur Kovacs
c794ff19e8 Improve documentation 2020-09-12 17:28:00 +02:00
Artur Kovacs
fe33977f27 Preparing for publishing 2020-09-06 10:34:43 +02:00
Artur Kovacs
eded7f0947 Changed the hello world example 2020-09-06 10:24:46 +02:00
Artur Kovacs
def8b17675 Improve Debug printing of Error values. 2020-09-06 09:37:32 +02:00
Artur Kovacs
68be7f93cd Removed trait on windows and fixed image function 2020-09-04 20:19:08 +02:00
Artur Kovacs
937d522019 Update readme and remove ClipboardProvider trait 2020-09-03 20:53:50 +02:00
Artur Kovacs
e3fc9a43d7 Implement set_text and get_text on x11 2020-09-03 00:11:31 +02:00
Artur Kovacs
05d292c086 Ran cargo fmt 2020-09-01 21:19:11 +02:00
Artur Kovacs
dd22e33efb Removed the primary selection example. 2020-09-01 21:14:21 +02:00
Artur Kovacs
4df69c8c70 Merge branch 'arboard-add-image' into add-image
# Conflicts:
#	examples/hello_world.rs
#	examples/image.rs
#	examples/primary_selection.rs
#	src/common.rs
#	src/lib.rs
#	src/osx_clipboard.rs
#	src/windows_clipboard.rs
#	src/x11_clipboard.rs
2020-09-01 21:01:26 +02:00
Artur Kovacs
451db2a350 I don't even know if I should commit this. 2020-08-31 22:00:21 +02:00
Artur Kovacs
492556b515 Fix for drop not getting called. 2020-08-31 07:40:38 +02:00
Artur Kovacs
da788d1042 Ran cargo fmt 2020-08-30 14:34:52 +02:00
Artur Kovacs
1410b4e4e6 X11 clipboard impl work in progress. 2020-08-30 14:21:06 +02:00
Artur Kovacs
db8f7be3a3 Add get_image for Windows. 2020-08-23 17:41:57 +02:00
Artur Kovacs
e4545b2231 Implemented set_image on macOS. 2020-07-13 16:21:57 +02:00
Artur Kovacs
429f58e2e2 Add set_image implementation for windows. 2020-06-29 20:26:01 +02:00
Artur Kovacs
c8a13bd62f Merge branch 'tweaks'
# Conflicts:
#	src/common.rs
#	src/nop_clipboard.rs
#	src/osx_clipboard.rs
2020-05-23 16:29:44 +02:00
Artur Kovacs
d40eb89df9 Renamed set/get_contents to set/get_text. Updated the license file structure. 2020-05-23 16:19:17 +02:00
Thomas Kerber
c42dc0a0cf Correct conditional compilation. 2017-09-05 19:49:06 +01:00
Thomas Kerber
31699de32e Add support for x11 primary selection. 2017-09-05 19:31:44 +01:00
Avi Weinstock
9a13971d02 Impl ClipboardProvider for X11ClipboardContext. 2017-03-09 10:40:19 -05:00
Damien Caselli
af3d3718a1
Update README and add an example 2017-03-09 10:50:49 +01:00