ComplexSpaces
a9c2d68c18
Update wl-clipboard-rs
2025-02-13 18:47:36 -06:00
ComplexSpaces
e824bc8324
Cleanup Windows pointer casting
2025-02-13 18:26:00 -06:00
ComplexSpaces
543484f77c
Check multiple windows-sys versions in CI
...
This is to prevent accidental breakage due to the new version range
2025-02-13 18:26:00 -06:00
ComplexSpaces
9d6a0b9b42
Update windows-sys version compatibility
...
Co-authored-by: Exotik850 <kidkool850@gmail.com>
2025-02-13 18:26:00 -06:00
ComplexSpaces
c474298e4b
Remove unneeded Result from image_from_pixels
2025-02-13 14:17:07 -06:00
Mads Marquart
108cc38269
Update to objc2 v0.6 ( #173 )
...
This includes using the new crate `objc2-core-graphics`, which notably
does not have the `CustomData` helper that `core-graphics`. This is
probably for the better, as it allows us to avoid a double-boxing of the
data.
2025-02-13 12:44:37 -07:00
ComplexSpaces
431702b657
Bump Ubuntu runner version for cargo-semver-checks ( #174 )
2025-02-12 22:16:21 -07:00
Gae24
4b91bfe93e
Implement Get::html() for all platforms ( #163 )
...
* implement get html operation
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
2025-02-12 22:01:02 -07:00
Hamir Mahal
e458e1a26c
style: simplify some statements for readability
2024-12-26 13:28:02 -07:00
ComplexSpaces
782b98c1e3
Cleanup unneeded lifetimes
2024-12-26 12:26:29 -07:00
ComplexSpaces
5350a8fb91
Bump env_logger
...
This removes `atty` and `winapi` from CI's test
builds.
2024-10-19 10:45:23 -05:00
ComplexSpaces
6b45272702
Release 3.4.1
2024-09-12 09:34:21 -06:00
Oscar Hinton
dd43f44ace
Add support for excluding macos clipboard items from history ( #159 )
...
* Adds support for excluding macos clipboard items from history
2024-08-27 12:10:21 -06:00
ComplexSpaces
ee39c47896
Fix new lints for CI
2024-08-24 15:36:59 -06:00
ComplexSpaces
151e679ee5
Release 3.4.0
2024-04-29 01:02:49 -05:00
ComplexSpaces
610e29ba81
Remove direct thiserror dependency
2024-04-28 04:08:29 -05:00
Roman Vlasenko
83740b7ab0
Copy image as PNG file on Windows ( #141 )
...
* Add image to Windows dependencies
* Set image data as PNG file on Windows
2024-04-28 01:57:04 -05:00
Mads Marquart
0bff1e07ea
Use objc2 and its framework crates
...
`objc2` is a replacement for `objc`/`objc_id` that contains a bunch of safety improvements, including `msg_send_id!` which automatically upholds memory management rules (`Id::from_ptr`/`Id::from_retained_ptr` is no longer necessary).
Additionally, we use the framework crates `objc2-foundation` and `objc2-app-kit`, which provide for example the `NSPasteboard` type, which has the methods that arboard needs already defined, and with the correct types, ensuring that passing e.g. `Id<NSArray>` and thus accidentally giving away ownership over the array won't happen again.
These crates are automatically generated, ensuring that if you need some obscure API in the future, it's very likely to be there already.
2024-04-27 15:53:32 -05:00
ComplexSpaces
1cca83d7e5
Revert "add timeout to RustConnection::connect to X11 server"
...
This reverts commit efedfb9e20
.
2024-04-27 15:38:04 -05:00
ComplexSpaces
b4646f6c5f
Increase version of clipboard-win used by default
2024-04-22 14:11:27 -05:00
Noel
e2846f9288
Fix clippy errors
2024-04-12 15:13:45 -05:00
Noel
2f4b502508
Move WaitConfig
to src/platform/linux/mod.rs, use WaitConfig
inside struct Set
2024-04-12 15:13:45 -05:00
Noel
6cf324cc44
Added WaitConfig
, fix wait_until
note in docs
2024-04-12 15:13:45 -05:00
Noel
eabb191df0
add notice for X11 in SetExtLinux#wait_until
docs
2024-04-12 15:13:45 -05:00
Noel
bc9fd24915
update docs
2024-04-12 15:13:45 -05:00
Noel
c5c798b3a1
Add SetExtLinux#wait_until(Instant)
...
This was added to allow to wait until the contents of the clipboard were updated but won't block forever. The `wait_until` method will wait
until the deadline was reached.
2024-04-12 15:13:45 -05:00
rhysd
bb2e898d83
Bump up MSRV to 1.67.1
2024-04-11 20:26:50 -05:00
rhysd
e5d3df7017
Fix CI for Rust 1.61 doesn't use rustc 1.61 compiler
2024-04-11 20:26:50 -05:00
TÖRÖK Attila
f6fc4ea691
Update image to 0.25.1
2024-04-09 16:06:49 -05:00
ComplexSpaces
dc8a4bd4f2
Release 3.3.2
2024-03-02 13:39:56 -06:00
ComplexSpaces
f716441fe6
Bump Ubuntu version used in CI
...
Ubuntu 20 isn't the latest LTS version anymore
2024-03-02 12:51:51 -06:00
ComplexSpaces
2d77eee554
Add cargo-semver-checks to CI
2024-03-02 12:51:51 -06:00
ComplexSpaces
d1ef0918de
Enable unreachable_pub lint as a warning
...
CI will make these a hard error in the future
2024-03-02 12:51:51 -06:00
ComplexSpaces
3f21b88baa
Correctly mark windows::image_data functions as pub(super) and not pub
2024-03-02 12:51:51 -06:00
ComplexSpaces
77e0e078eb
Release 3.3.1
2024-02-12 17:48:25 -06:00
Magnus Larsen
409bd98978
Update x11rb to 0.13 and core-graphics to 0.23
2024-02-08 23:55:12 -06:00
Rob Ede
bd91f9c438
Increase error documentation on Clipboard type
2024-01-22 11:05:21 -06:00
Rob Ede
a648570ce9
Update CI actions
2024-01-02 11:02:59 -07:00
Rob Ede
0d6725d97f
Spell check docs
2023-12-29 12:06:59 -07:00
Linda_pp
a100f2d77c
Update clipboard-win to v5 and replace winapi with windows-sys ( #123 )
...
* Refactor Windows code to be more idiomatic
2023-12-04 14:52:14 -06:00
ComplexSpaces
1b8df75ee2
Bump to Rust 2021 edition
2023-11-21 22:15:39 -06:00
ComplexSpaces
e3f54c3049
Document MSRV of 1.61
2023-11-21 22:15:39 -06:00
rhysd
8c475cfd14
Make winapi crate optional
2023-11-21 22:09:09 -06:00
ComplexSpaces
11e395c6d5
Release 3.3.0
2023-11-20 16:18:25 -06:00
ComplexSpaces
b2b0809632
Add support for explicit clipboard monitor excluding on Windows
2023-11-20 15:51:01 -06:00
ComplexSpaces
f801e67e70
Bump Miri toolchain version and resolve used warnings
2023-10-08 17:27:56 -05:00
ComplexSpaces
9bc6fcd3f8
Return a more clear error message when X11 connections timeout
2023-10-08 17:27:56 -05:00
ComplexSpaces
d755392b56
Unify logging dependencies by using env_logger everywhere
...
There is no reason to depend on two different dev dependency loggers
2023-10-08 17:27:56 -05:00
dAxpeDDa
48117d9688
Update wl-clipboard-rs
to v0.8
2023-10-08 16:06:38 -05:00
dAxpeDDa
1e7d475d6e
Update x11rb
to v0.12
2023-10-08 16:06:38 -05:00