A bitmask enum in the generates code has new methods bits() for conversion
to integer and remove() for removing certain bits.
Update our bundled xcb-proto version. This update brings new documentation and
support for newer versions of the DPMS and Present extensions.
Update $DISPLAY parsing to match new behaviour in libxcb 1.16.
Some variant of x11rb_protocol::parse_display is now also available in
no_std mode.
Better error message if $DISPLAY parsing fails.
Add Image::into_owned() to get an Image instance with 'static.
Change Image::put() to convert the image to the X11 server's native
representation before uploading.
Implement x11rb's RequestConnection for &C, &mut C, Box<C>, Arc<C>,
Rc<C> and Cow<'_, C> where C: RequestConnection.
Fixes:
Fix broken link to x11rb in documentation of x11rb-async.
Strip leading whitespace from documentation comments in code generator.
Fix the dl-libxcb feature on OpenBSD. There is no libxcb.so.2 on this
system and we can simply ask for libxcb.so to be loaded.
x11rb-async always needed at least tracing 0.1.33, but incorrectly declared
compatibility with all 0.1 versions.
Breaking changes:
Indicate not present properties in x11rb's WmClass, WmSizeHints, and
WmHints helpers by introducing an Option in their return value.
Previously, missing properties were reported as a parsing error.
Avoid a Vec in some places in x11rb-protocol by using arrays instead. This
affects the return value of a request's serialize() function, but also some
internal code.
Remove unused read_exact() method in x11rb's Stream trait.
Replace use of nix with rustix and implement io-safety. This e.g. means
that some types no longer implement PartialEq due to rustix's behaviour. FD
passing now uses std::os::unix::io::OwnedFd.
MSRV was bumped from Rust 1.56 to 1.63 for rustix 0.38.
Change some functions in x11rb::rust_connection::stream::DefaultStream to
also return the address that a connection was established to.
Change wrapper types like WindowWrapper not to require a reference to a
connection, but to accept any connection type directly. Due to the new feature
mentioned above, this allows to use these wrappers e.g. with Arc<C>.
Types in x11rb-protocol now implement less commonly used traits like
PartialEq, Eq, PartialOrd, Ord, and Hash only if the new
extra-traits feature is enabled. The Debug impl only produces the name of
the type and not its contents in this case. This change improves compile times
of the crate.
Parsing of requests with the R::try_parse_request function is now gated
behind the new request-parsing feature. This change improves compile times.
... (truncated)
Commits
4b60265 Merge pull request #909 from psychon/prepare-changelog
e49a35a Update the version number for the next release
b8ad2e7 Merge pull request #910 from psychon/update-deps
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on x11rb to permit the latest version.
Changelog
Sourced from x11rb's changelog.
... (truncated)
Commits
4b60265
Merge pull request #909 from psychon/prepare-changeloge49a35a
Update the version number for the next releaseb8ad2e7
Merge pull request #910 from psychon/update-deps5a958d9
Update some dependenciesd043410
Merge pull request #908 from psychon/refactoringse34bd22
Update the changelog for next releasef72f47d
Code generator: Use std::process::ExitCodec9d011b
Refactor generated code generatione3e5849
Merge pull request #907 from psychon/generate-generated-code-doc4e4ae67
Add line breaks to Cargo.toml for readabilityDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show