Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 10, 2024

This PR contains the following updates:

Package Type Update Change
glib-build-tools (source) build-dependencies minor 0.19.0 -> 0.21.0

Release Notes

gtk-rs/gtk-rs-core (glib-build-tools)

v0.21.0

Compare Source

Andrey Kutejko:
      Implement std::iter::Extend for glib::List
      Implement std::iter::Extend for glib::SList

BiagioFesta:
      glib-macros: add test macro for async-glib-context tests
      Remove unsafe interface requirement for into ptr conversion

Bilal Elmoussaoui:
      docs: Run on our container image
      Update docs.yml
      Update docs.yml
      Update docs.yml
      Update docs.yml
      Update gir submodule
      Regenerate with latest gir
      Don't seal manual traits that correspond to auto-generated types
      Update gir submodule
      Update gir-files
      Regenerate with latest gir-files
      Re-export v2.84 feature
      ci: Bump tested glib/gio version
      Re-sync version requirements
      Fix new beta clippy warnings
      Ignore manual_c_str_literals clippy warning
      Generate all the missing Gio bindings
      ci: Add an automated update job
      ci: Allow triggering a regen update
      ignore typ typo
      gobject: Work around wrongly added v2_82 feature
      glib: Implement Deref/DerefMut for ThreadGuard
      glib/sys: Add aliases for some gtypes
      glib/sys: Manually implement g_atomic_int_get
      image: Disable glycin loader
      image: Disable docs for gdk-pixbuf as well
      image: Disabe gdk-pixbuf thumbnailer

Carlos Martín Nieto:
      glib: link to the Properties macro instead of mentioning Props
      examples: add some docs to the example using the Properties macro
      glib-macros: Properties: copy property docs to getter
      glib-macros: Properties: allow setting getter and setter docs
      glib-macros: Properties: copy over the doc comments more elegantly
      glib-macros: extend `Properties` docs with the getter-setter docs
      glib-macros: add some generic comments for property notifications
      glib: provide a trait to return a `ParamSpec` builder with builtin default
      gio: update doc links in `DBusMethodInvocation`
      glib: implement `HasParamSpecDefaulted` for enums and char
      glib-macros: add a `default` attribute to `#[property]`
      glib-macros: update docs for `property`'s `default` parameter
      gio: add methods for returning and propagating boolean and int in/from a `Task`
      gio: document the interaction of the `Task` result setter and getters

Christopher Head:
      Fix incorrect documentation
      Re-export CancelledHandlerId

David Hewitt:
      gio: manually implement content_type_guess

Fina Wilke:
      glib-macros: Remove &mut to static mut in object_subclass
      examples: Add additional type bounds to Impl traits
      Add additional type bounds to Impl traits
      Add IsA<Object> trait bound to Impl traits
      changelog: Fix typo
      Update MSRV to 1.80
      Use rust 1.79 implied supertraits to simplify trait bounds
      gio: Add interface bounds to ApplicationImpl
      glib: Add unimplemented diagnostic to IsA linking to the wrapper macro

François Laignel:
      gir: update for fix userdata mutability for FnMut callbacks
      regenerate
      glib: fix userdata mutability for FnMut callbacks

Guillaume Gomez:
      Remove `thiserror` dependency

Kévin Commaille:
      glib-macros: Fix typos in docs

Leo Schaefer:
      Fix bug in bindings of shape_full and shape_with_flags
      Use as_ptr and bring shape_full and shape_with_flags into the same format

Maximiliano Sandoval:
      port log_writer fns to safe-io
      Port Unix*Stream::take_fd to safe-io
      Port spawn_async_with_fds to safe-io
      Make Socket:from_fd use an OwnedFd
      Implement AsFd for Socket

Maximiliano Sandoval R:
      Port launch_uris_as_manager_with_fds to safe-io
      Impl AsFd for Unix Streams
      Port file_open_tmp to safe-io
      unix_fd_list: Port to safe-io
      subprocess_launcher: Take owned fds

Paolo Borelli:
      examples: rename variables for clarity in the virtual_methods example
      examples: use a better type for Pet ffi instances in the virtual_methods example
      windows: use a range for windows-rs dependency
      ci: bump gvsbuild version

Philipp Jungkamp:
      glib: Change signal accumulator function signature
      glib: Add signal accumulator to object test
      glib: Implement ToGlibContainerFromSlice for CStr and CString
      gio: Use manual `env: &[OsString]` parameter for SubprocessLauncher::set_environ
      gio: Rework `glib::ExitCode` for `gio::Application`
      Replace `map_or` with `is_none_or` to satisfy clippy

Sebastian Dröge:
      Update versions to 0.21.0
      Build 0.20 docs and drop 0.14 docs
      ci: Fix docs release tag handling
      Fix various Rust 1.80 clippy warnings
      Update gir
      Regenerate with latest gir
      Fix code style
      deny: Update to new format
      glib: Don't use the default main context in the tests
      glib: Make sure to join threads spawned in tests
      deny: Remove proc-macro-crate override
      Update dependencies
      glib: Add `ObjectInterface::Instance` for symmetry with `ObjectSubclass::Instance`
      glib: Assert that the size of the interface type is 0
      Remove deprecated API
      glib: Fix Rust 1.81 clippy warnings
      glib: Collation keys are not necessary valid UTF-8
      Update branch from master to main
      Update gir
      Regenerate with latest gir / gir-files
      Update Cargo.lock
      glib-macros: Derived boxed types are not `TransparentPtrType` but `TransparentType`
      glib: collections: Add some more debug assertions about type sizes
      pango: Fix `LayoutLine::x_ranges()` bindings
      glib: Remove type parameter from `Object::has_property()` and add separate `has_property_with_type()`
      glib: Also check for subtypes in `Object::has_property_with_type()`
      Update gir
      Update gir-files
      Regenerate with latest gir / gir-files
      gio: Clean up and autogenerate `UnixMountEntry` bindings
      glib: Ignore CPP feature constants
      glib: Add correct versions to various new unicode scripts
      glib: Add `Bytes::into_data() and `Bytes::from_bytes()` bindings
      glib: Remove `SignalClassHandlerToken` from default class handler
      Fix / silence various new Rust 1.83 clippy warnings
      gio: Fix nullability of various DBus method call related parameters
      gio: Add test for DBus method calls over a UNIX fd pair
      Update gir
      Update gir-files
      Regenerate with latest gir / gir-files
      ci: Check pango 1.56 feature on the CI
      pango: Update C library version requirements
      Update Cargo.lock
      deny: Update unicode license name
      Update gir-files
      Regenerate with latest gir-files
      gio: Export `RegistrationBuilder` from the crate root
      gio: Work around GLib memory leak in g_dbus_connection_register_object_with_closures()
      Update gir
      Update gir-files
      Regenerate with latest gir / gir-files
      Update Cargo.lock
      gio: Only provide UNIX mount compat API on UNIX platforms
      Fix some new clippy warnings
      glib: Fix expected compiler error text for Rust 1.84
      pango: Add bindings for `Font::languages()`
      glib: Add v2_84 gobject-sys feature
      pango: Ignore FontDescription::set_features_static() and set_variations_static() for now
      gdk-pixbuf: Allow unused imports in auto-generated code
      Update Cargo.lock
      gio: Ignore `g_dbus_connection_register_object_with_closures2()` for now
      glib: Add bindings for `g_intern_string()` and `g_intern_static_string()` to `GStr`
      graphene: Add some `// rustdoc-stripper-ignore-next`
      Update Cargo.lock
      glib: Add From<AsRef<str>> impl for GStringPtr
      pango: Implement `pango_shape()` bindings manually and ignore `pango_shape_item()` for now
      gio: Use `OwnedSocket` / `BorrowedSocket` for Windows APIs on GSocket
      gio: Use `OwnedFd` to close the socket on error instead of `libc::close()`
      gio: Return `BorrowedFd` / `BorrowedSocket` from `Socket::as_fd()` / `as_socket()`
      cairo: Pass a mutable reference when we expect the function to mutate the value
      Fix new clippy 1.86 warnings
      ci: Update to Ubuntu 24.04 for building the image
      ci: Install some more development packages for the image build
      Add 2.86 glib/gio version features
      Use std::io::Error::other() instead of new()
      glib: Use std::hint::black_box() instead of criterion version of it
      tests: Add Cargo.lock
      Update gir
      glib: Manually implement `Source::context()`
      Regenerate with latest gir
      graphene: Add `v1_12` feature
      graphene: Lower 1.12 version dependency to 1.11
      graphene: Add `Box2D` bindings
      ci: Enable v1_12 feature for graphene
      graphene: Rename `Box2D::init_from_rect()` to `from_rect()` for consistency
      glib: Remove nonsense comments about `glib::Slice` pointers being `NULL`-terminated
      glib: Make sure that empty `glib::StrV` / `glib::PtrSlice` returns a valid pointer
      Fix new nightly warning about confusing lifetime flows
      gdk-pixbuf: Add v2_44 version feature
      glib-macros: Fix various new 1.88 clippy warnings
      gio: Fix some new 1.88 clippy warnings
      Update gir
      Regenerate with latest gir
      gio: Manually implement new g_inet_address_new_from_bytes_with_ipv6_info() bindings
      Update Cargo.lock
      Update gir
      Regenerate with latest gir

Sebastian Wiesner:
      Safely and correctly convert InetAddress to IpAddr
      Add test for current output of log impl
      Enable log feature for glib tests
      Remove duplicated call
      Do not use log_structured!
      Write line number without allocation
      Add convenience function to return a result
      Streamline call dispatching in example
      Add helper to return result from a future
      Demo async call handling for gdbus
      Add DBusMethodCall convenience trait
      Fix typo to get Github actions to pass
      Rewrite DBus registration example with inheritance
      Bind dbus_register vfunc
      Bind dbus_unregister vfunc
      Bind name_lost vfunc
      Use DBus errors in example
      Wrap IntoFuture around Cancellable::future
      Derive Debug and Clone for variant DictEntry

Tomoaki Kawada:
      glib-sys: Fix value of `G_VARIANT_TYPE_BYTE_STRING_ARRAY`
      glib: Ensure NULL terminator is present after creating allocation in `StrV::reserve`
      glib: Ensure NULL terminator is present after creating allocation in `PtrSlice::reserve`
      glib: Do not use `end_unsafe` in `<Variant as From<VariantDict>>::from`
      glib-macros: Do not generate import of `Property{Get,Set}` in `Properties`
      glib: Make `<Variant as HasParamSpec>::BuilderFn` generic over lifetimes

Wesley Moore:
      cairo: Fix some typos in Error Display impl
      quartz opt-in

erer1243:
      use crate::Borrowed when not using glib

eri:
      generate gir without link attribute
      generate link attribute only for msvc
      patch doc unused warning
      try manual __imp_ dereference
      detect static library and regenerate gir
      remove g_param_spec_types link alltogether
      suggested fixes
      regenerate with latest gir

fbrouille:
      Implement gio::File::set_attribute
      Implement gio::FileInfo::set_attribute
      Add gio::FileMonitor subclass
      Add glib::StrVRef
      Add gio::Vfs subclass
      Fix gio::FileEnumeratorExt::close(): return value does not indicate success or error
      Add gio::FileEnumerator subclass

jgcodes2020:
      vector operator overloads
      matrix multiplication and transforms
      more matrix operations, quaternion operations
      cargo fmt
      fix clippy warnings

nozwock:
      Clarify usage requirement of `Properties` macro for enum types
      Link to `Properties` macro section on usage with `Enum` derived enums
      Derive `Default` for `MyEnum` in example of `Properties` macro

ogios:
      add_full for unix fd

quo:
      gio: Fix order of arguments to g_dbus_connection_register_object_with_closures()
      gio: Add DBus RegistrationBuilder.property()/set_property() tests
      glib: Remove SendWeakRef::new() because implementation is unsound

yvt:
      glib: Fully transfer ownership in `<Value as From<Vec<GString>>>::from`

v0.20.0

Compare Source

Bilal Elmoussaoui:
      cairo: Use workspaces
      cairo: Fix ffi glib crate name
      cairo: Add missing version
      Post release version bump
      ci/docs: Deploy 0.19 release
      chore: Drop no longer needed deny skips
      docs: Move metadata back to packages
      glib: Requires Upgrade on Downgrade::Weak type
      Update clone.rs
      glib: Mark GParamSpec types as manual
      glib: Don't use macros to generate ParamSpec structs
      Update gir/gir-files submodules
      Regenerate with latest gir/gir-files
      Revert "glib: Auto generate various win32 functions"
      glib/gio: Remove no longer used version/ignore
      glib: Ignore new unsafe functions
      Fix nightly clippy warnings
      gio: Stop re-exporting all the types in prelude
      gio: Move guards to trait definitions
      gio/socket: Replace c_int import with full qualifier
      gio/tests: Guard variable that is used on windows only builds
      typos: Ignore guid false-positive
      Regenerate with latest gir/gir-files
      pango: Mark Item.get_char_offset param as const
      pango: Re-export v1_54 feature
      ci: Bump pango feature
      pango: Downgrade require version for v1.54
      Fix various nightly clippy warnings
      Update gir submodule
      Regenerate with latest gir
      Adapt to no longer renamed ffi crates
      cairo: Add missing doc aliases
      gio/tests: Remove no longer useful guard
      Revert "build(deps): bump freetype-rs from 0.36.0 to 0.37.0"
      Update dependencies

Carlos Martín Nieto:
      gio: Add a method to get a stream of incoming connections to SocketListener
      gio: add SocketListenerExtManual to Gir.toml

DaKnig:
      spell fix

Fabio Valentini:
      glib: fix UB in VariantStrIter::impl_get

Fina Wilke:
      glib-macros/properties: Allow structs with no properties
      glib::wrapper: Add docs for impls generated by the wrapper macro
      glib-macros: Refactor parsing code of object_subclass/object_interface
      glib: Decouple ObjectInterface impl from interface class struct
      glib: Only implement Send an JoinHandle if the result is Send
      examples: Add example for custom class structs and virtual methods
      glib-macros: Fix clippy warnings in tests
      glib-macros: Properties: Annotate methods with #[allow(dead_code)]
      glib-macros: Fix links in property macros docs
      docs: Fix broken links
      glib: Make links in README.md work in both web and rustdoc

François Laignel:
      ObjectBuilder: add property_if(), property_if_some(), property_from_iter() ... ... & property_if_not_empty()

Kévin Commaille:
      glib-macros: Improve error message when Properties struct doesn't have at least one #[property(…)]

L. E. Segovia:
      cairo: Fix version of the v1_18 feature

Matthew Waters:
      pango: add some missing AttrInt constructors.

Maximiliano Sandoval:
      Document values of Continue and Break

Paolo Borelli:
      macros: allow to specify #[default] for glib::flags
      gio: remove Send + Sync requirements from DBusConnection::register_object
      gio: remove Send + Sync requirements also for other GDBus closures
      gio: explicitely ignore DBusConnection::register_object
      gio: use a builder to register a DBus object
      ci: bump gvsbuild
      Derive TransparentPtrType trait for Boxed
      strv: add From implementation from a String array

Pranjal Kole:
      glib/functions: add compute_checksum_for_string

Sebastian Dröge:
      Fix some new clippy warnings
      glib-macros: Require at least syn 2.0.32
      glib: Fix expected error output of compiletests for 1.76
      glib: Add `Quark::from_static_str()`
      glib: Use `Self` instead of `Quark` in a few places
      Remove Cargo.lock from .gitignore
      Update Cargo.lock
      deny: Add toml_edit / winnow overrides
      glib: Drop the main context future return value sender on finalize
      glib: Fix memory leak in `subclass::shared` tests
      glib: Use `glib::GString` for collate keys
      glib: Avoid heap allocation and copy of input strings for collation
      Update Cargo.lock
      deny: Add heck 0.4 to the ignore list
      glib: Don't misuse `slice::get_unchecked()`
      Downgrade clap
      Revert "deny: Add heck 0.4 to the ignore list"
      Update system-deps to 6.2.2
      Work around rustdoc-stripper bug
      Fix glib compiletest expected output for Rust 1.77
      Update gir
      Update gir-files
      Regenerate with latest gir / gir-files
      glib: Use `time_t` correctly for manual bindings
      glib-sys: Map `glib_sys::GPid` directly to `libc::pid_t`
      Add glib/gio `v2_82` feature
      ci: Update gvsbuild git reference
      graphene: Remove non-existing `v1_12` feature
      pango: Bump version features to released versions
      gio-sys: Hide UNIX specific `Credentials` API on Windows
      gio: Use correct types for UNIX-specific `Credentials` API
      glib: Freeze property notifications while setting multiple properties
      ci: Enable glib-sys / gobject-sys tests
      glib: Re-add and rename manual Win32 API additions
      glib: Use a reference to a pointer of correct mutability for from_glib_ptr_borrow()
      glib: Don't use `g_object_list_properties()` for setting properties
      glib: Move various assertions from `FromValue` to `from_glib_ptr_borrow()`
      glib: Extend `spawn_from_within()` test to actually use a future that compiles with the normal `spawn()`
      glib: Add missing `Send` bound to the output type of the `spawn_from_within()` future
      examples: Remove unnecessary `Debug` impl derive from virtual_methods example
      glib: Convert safety doc comment to a normal comment
      glib-macros: Make subclassable test actually do something at runtime
      glib: Add bindings for `g_value_set_static_string()` and `g_value_set_interned_string()`
      glib: Fix `MatchInfo::next()` handling of returning `FALSE`
      glib: Improve `ValueArray` API, add tests and assertions for invalid usage
      glib: Add unsafe `Value::into_send_value()`
      gio: Move conditionally used imports to the place where they're used
      gio: Properly export Win32InputStream / Win32OutputStream traits
      gio: Remove unused ffi import on Windows
      Update `clone!` and `closure!` macro to new syntax
      glib-macros: Fix unit return in `closure!()` macro
      Merge pull request #&#8203;1438 from sdroege/clone-new-closure-unit-return
      Downgrade clap to 4.4 for MSRV 1.70
      Update gir
      gio: Mark `File::copy_async_with_closures()` and `move_async_with_closures() as ignored
      Regenerate with latest gir
      cairo: Update to system-deps 7
      Update to system-deps 7
      glib-macros: Don't produce unnecessary braces in `clone!(async move { x })`
      Update gir
      Update gir-files
      Regenerate with latest gir / gir-files
      Merge pull request #&#8203;1448 from sdroege/update-gir-files
      glib: Make `TypeData` struct fields private
      examples: Port remaining example to new `clone!` macro syntax
      glib: Add support for registering GTypes with name conflicts
      Update gir
      Update gir-files
      glib-sys: Add version for `q_sort_array()`
      Regenerate with latest gir / gir-files
      Update Cargo.lock
      Update gir-files
      Regenerate with latest gir-files
      Update Cargo.lock

Ville Hakulinen:
      gio: correctly free argument list items
      tests: skip failing test on windows
      docs: `construct` attribute for `glib::Properties`
      docs: fix typo

liushuyu:
      glib-sys: remove the redundant `ignore = true` line
      glib-sys: fix manual.h header to include proper headers ...
      glib-sys: remove deprecated lock types ...
      glib-sys: re-generate bindings and tests

misson20000:
      glib: Implement Sync for ThreadGuard

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from Pandapip1 as a code owner July 10, 2024 16:55
@renovate renovate bot force-pushed the renovate/glib-build-tools-0.x branch 2 times, most recently from 4d9c63f to ad1df3b Compare September 17, 2024 18:42
@renovate renovate bot force-pushed the renovate/glib-build-tools-0.x branch from ad1df3b to e0d5f16 Compare July 20, 2025 08:13
@renovate renovate bot changed the title Update Rust crate glib-build-tools to 0.20.0 Update Rust crate glib-build-tools to 0.21.0 Jul 20, 2025
@renovate renovate bot force-pushed the renovate/glib-build-tools-0.x branch 11 times, most recently from b99d3f6 to 8d76ad6 Compare August 15, 2025 13:31
@renovate renovate bot force-pushed the renovate/glib-build-tools-0.x branch from 8d76ad6 to 14acb97 Compare August 17, 2025 12:52
@renovate renovate bot force-pushed the renovate/glib-build-tools-0.x branch 2 times, most recently from 401750c to 985e37d Compare September 7, 2025 02:26
@renovate renovate bot force-pushed the renovate/glib-build-tools-0.x branch 2 times, most recently from 9c97e21 to 5828942 Compare September 15, 2025 03:21
@renovate renovate bot force-pushed the renovate/glib-build-tools-0.x branch from 5828942 to 683f76b Compare September 25, 2025 13:46
Copy link
Contributor Author

renovate bot commented Sep 25, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 0.21.0
error: failed to acquire package cache lock

Caused by:
  failed to open: /home/ubuntu/.cargo/.package-cache

Caused by:
  failed to create directory `/home/ubuntu/.cargo`

Caused by:
  File exists (os error 17)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants