Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update x11rb requirement from 0.12.0 to 0.13.0 #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Updates the requirements on x11rb to permit the latest version.

Changelog

Sourced from x11rb's changelog.

Version 0.13.0 (2023-12-09)

New features:

  • 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
  • 5a958d9 Update some dependencies
  • d043410 Merge pull request #908 from psychon/refactorings
  • e34bd22 Update the changelog for next release
  • f72f47d Code generator: Use std::process::ExitCode
  • c9d011b Refactor generated code generation
  • e3e5849 Merge pull request #907 from psychon/generate-generated-code-doc
  • 4e4ae67 Add line breaks to Cargo.toml for readability
  • Additional commits viewable in compare view

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 <dependency name> 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](https://github.com/psychon/x11rb) to permit the latest version.
- [Changelog](https://github.com/psychon/x11rb/blob/master/doc/changelog.md)
- [Commits](psychon/x11rb@v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: x11rb
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Development

Successfully merging this pull request may close these issues.

None yet

0 participants