NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #1446 most downloaded on crates.io
Rust bindings for the Gio library
Latest stable
0.22.10
Last release 2 months ago
19 Sep 2026
Ships fairly regularly
a new release about every 4 weeks
Most releases are documented
notes for 52 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
10 years old
81 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
``` BiagioFesta: gio: Disconnect the cancelled handler when Cancellable::future() is dropped gio: Disconnect the cancelled handler when CancellableFut
BiagioFesta:
gio: Disconnect the cancelled handler when Cancellable::future() is dropped
gio: Disconnect the cancelled handler when CancellableFuture is done
gio: Connect the cancelled handler only once per CancellableFuture
Colin Kinloch:
glib: Add `From<Cow<'a, B>> for Variant`
Sebastian Dröge:
Update gir-files
Regenerate with latest gir-files
glib: Fix allocation size calculation in boxed inline to_glib_full_from_slice()
glib: Fix to_glib_container() to actually work by simply calling g_list_copy()
glib: Fix `PtrSlice::from(Slice)` on empty ptr slices
ci: Switch to typos main branch from master
Update Cargo.lock
Update versions to 0.22.10
Sungjin Kim:
glib: Fix double-free in StrV::clear() by writing NULL terminator
``` Bilal Elmoussaoui: Bump syn to 3.0
Bilal Elmoussaoui:
Bump syn to 3.0
Sebastian Dröge:
Update gir / gir-files
Regenerate with latest gir / gir-files
Fix some Rust 1.97 clippy warnings
deny: Allow duplicated syn 2.0 dependency
cairo-sys: Update to system-deps 8
pango: Add new enums
pango: Add bindings for new width attribute
pangocairo: Add new pango RenderComponent API
pango: Add v1_58 feature
pangocairo: Mark cairo context parameter as const
gio: Manually implement new UnixFDList API with correct types
glib: Add new nanosecond timeout source API
glib-macros: Use `TypeFlags::empty()` instead of `::NONE`
glib: Use `RegexMatchFlags::empty()` instead of `DEFAULT`
gio: Only require gio 2.89 for v2_90
gio: Only return the result from spawn_blocking() from the task completion callback
glib: Drain any remaining, pending sources after `MainContext::block_on()`
gio: Fix new 1.98 clippy warning
cairo: Update to system-deps 9
Update Cargo.lock
deny: Remove syn 2 override
glib: Re-add default flags member for RegexMatchFlags / RegexCompileFlags without version guard
Update versions to 0.22.9
Sophie Herold:
security: Update crossbeam-epoch to 0.9.20
Yang Lin:
fix: `g_free` alignments return from `pango_tab_array_get_tabs`
fix: call `g_free` on the return value of `g_filename_from_utf8` after the end of its lifetime
fix: Pack the return value early so that the `rustc` compiler can generate the `drop` glue on the error path when `matches!(status, err)`
fix: definitely memory leak happens on the paths of `from_glib_none` and `from_glib_full`
Zachary S:
glib: Use Ref(Mut)::filter_map in BoxedAnyObject::try_borrow(_mut).
Ángel Guzmán Maeso:
gio: Don't require the arguments of run() to be valid UTF-8
Your coding agent can read these notes before it upgrades. Set up the MCP server →
``` Alba Mendez: fix typo in ObjectExt::property_value docs
Alba Mendez:
fix typo in ObjectExt::property_value docs
Sebastian Dröge:
Update gir / gir-files
Regenerate with latest gir / gir-files
gio: Add forgotten socket_msg_flags modules to lib.rs
Add various missing Gir.toml checks
Remove various unused dependencies
gio: Fix code style
gio-unix: Fix order of types in Gir.toml
gio: Add missing `unsafe`
Add AI contribution policy section to the README.md
Update Cargo.lock
Update versions to 0.22.8
Tau Gärtli:
Add safe wrapper for g_log_writer_default_set_debug_domains
Tomoaki Kawada:
glib: gate `BookmarkFile` with `cfg(feature = "v2.76")`
glib: remove `g_bookmark_file_copy` polyfill
glib: require `A: 'static` in `Variant::from_data[_with_type][_trusted]`
…of new clippy warnings glib-win32: Add back deprecated versions of package installation directory functions Update versions to 0.22.6
Dario Marino Saccavino:
gio-unix: Do not expose DesktopAppInfo on macos
Sebastian Dröge:
glib: Move compile tests from trybuild2 to trybuild
glib-macros: Move compile tests from trybuild2 to trybuild
Update Cargo.lock
glib-win32: Fix docs build
Regenerate with latest gir-files
win32: Mark `get_package_installation_directory_of_module()` as manual
glib: Add new `v2_90` version feature
glib: Fix a couple of new clippy warnings
glib-win32: Add back deprecated versions of package installation directory functions
Update versions to 0.22.6
github-actions[bot]:
Update gir-files
`` Arun Mani J: glib: Create safe bindings for BookmarkFile`
Arun Mani J:
glib: Create safe bindings for `BookmarkFile`
Martin Nordholts:
gio: Add "D-Bus" and "DBus" to Cargo.toml keywords and description
gio: Remove "gio" from package.keywords
Sebastian Dröge:
Update versions to 0.22.5
``` Bilal Elmoussaoui: glib: Allow setting FINAL/DEPRECATED flags ci: Only run compile tests on glib crate Fix typos job
Bilal Elmoussaoui:
glib: Allow setting FINAL/DEPRECATED flags
ci: Only run compile tests on glib crate
Fix typos job
Ignacio Casal Quinteiro:
glib-win32: fix export of function
Sebastian Dröge:
Update gir / gir-files
Regenerate with latest gir / gir-files
rustfmt: Update to 2024 edition
glib: Make sure to acquire the main context and make it thread default in `MainContext::block_on()`
glib: Add various `#[allow(deprecated)]` to `glib::wrapper!` for when the parent class/interface is deprecated
Update versions to 0.22.4
``` Julian Sparber: glib: Implement From for StrV glib: Implement From for PtrSlice
Julian Sparber:
glib: Implement From<PtrSlice<GStringPtr> for StrV
glib: Implement From<StrV> for PtrSlice<GStringPtr>
Sebastian Dröge:
gio: Mark `Socket::from_raw_socket()` as unsafe
Wladimir Palant:
glib-macros: Silence “redundant closure” clippy warning in closure!/closure_local!
` Sebastian Dröge: gio: Re-add accidentally removed UNIX APIs that are still part of gio itself gio: Remove non-existing UNIX functions from Gir.toml
Sebastian Dröge:
gio: Re-add accidentally removed UNIX APIs that are still part of gio itself
gio: Remove non-existing UNIX functions from Gir.toml
``` Bernhard M. Wiedemann: glib-macros: Use BTreeMap instead of HashMap
Bernhard M. Wiedemann:
glib-macros: Use BTreeMap instead of HashMap
Biagio Festa:
glib-macros/async_test: unwrap result when setting default context
glib-macros/async_test: dont move main context within closure
glib/bytes: relax start offset constraint for `from_bytes`
Bilal Elmoussaoui:
ci: Switch from gsvbuild to MSVC
Generate bindings for win32/unix GLib/Gio
Build new crates on CI
gio/unix: Remove the manual fallback for MountEntry
glib: Lower host dep requirement
glib/unix: Add missing futures feature
gio/unix: Ignore a clippy lint
gio: Comment out a test & drop UnixFdMessage
gio/tests: Remove no longer useful headers
gio: Move various config options to gio-unix
glib: Remove no longer needed manual ffi functions
glib/sys: Don't generate UnixPipe
Regenerate with fixed GIR files
glib/source: Fix imports on Win32
glib/win32: Add missing imports
gio/win32: Manually implement streams
gio/win32: Add a type for GNetworkMonitorBase and drop duplicated manual ones
gio/win32: Add missing dep
deny: Drop no longer needed skips
Add missing licenses
Adapt to rust nightly docs changes
gio: Move test to gio-unix
gdk-pixbuf: Ignore another clippy lint
Fix docs for new crates
Force update windows-sys for new crates
win32: Always depend on windows-sys
win32: Guard std::os::windows usage
gio/win32: Add missing feature
Re-export preludes
glib: Use 'static lifetime for nick/name
Use 'a lifetime instead
glib: Mark push_thread_default as renamed
Casey Jao:
Clarify the GObject subclass mechanism
Add missing comment markers
Update glib/src/subclass/mod.rs
Clarify Rust-C analogy for external interface
Improve diagram
Fix alignment
François Laignel:
gio: fix compilation with beta toolchain
Guillaume Gomez:
Update `trybuild2` version to `1.3.0`
Marc-André Lureau:
glib: fix GStringBuilder::copy_into
glib-macros: make proc-macro-crate optional
glib: add 'futures' feature
workspace: use glib default-features = false
Maximiliano Sandoval:
image: Add python3-requests
binding_group: Rename transform fns to with_value
binding_group: Add lifetimes to BindingBuilder fns
binding_group: Add transforms with concrete types
binding_group: Add test for concrete transforms
Philipp Jungkamp:
gio: Fix segfault in ListStore::find_with_equal_func
gio: Add exit_code methods to ApplicationCommandLine
gio: Remove {set,get}_exit_status from Gir generation
gio: Fix ApplicationCommandLineExtManual draft
glib: Add logging bridge for structured logs
Renyi Zhao:
glib: Fix misuse of operator in subtract_days
pango: Fix out-of-bounds access in itemize functions
graphene: Fix UB in intersect_triangle by validating t_out before assume_init
cairo: Add bounds check for nth in region_get_rectangle to prevent UB
cairo: Fix integer overflow in create_for_data's len check
glib: Fix UB in spawn_async_with_pipes by validating success before assume_init
Rose Davidson:
cairo: Fix return type for cairo_script_create_for_stream.
cairo: write-to-stream callbacks should accept const pointers to data
Sebastian Dröge:
Post release version bump
Deploy 0.21 docs and drop 0.15 docs
glib: Fix new clippy warnings
glib: Only build regex compiletests if the corresponding feature is enabled
glib: Fix segfault in `List::retain()`
glib: Compare lengths in `<StrV as PartialEq<[&str]>>::eq` too
glib: Null-terminate on every iteration in `PtrSlice::extend_from_slice`
glib: Avoid more integer overflows when reserving space in `PtrSlice` / `Slice` / `StrV`
Update Cargo.lock
gio: Make etag in `File::replace_contents_async()` optional
glib-macros: Make main context the thread-default one in `#[async_test]`
pango: Generate new `FontColor` enum
pango: Add new `v1_57` feature
ci: Don't build pango with `--all-features` for now
glib: Fix pointer signedness
gio: `DataInputStream::read_line_async()` can return `None` slices
gio: Use correct finish function for `DataInputStream::read_line_utf8_async()`
Update Cargo.lock
Allows windows-sys 0.61 too
Update Cargo.lock
deny: Update
pango: Fix off-by-one in assertion for `pango::itemize()`
glib: Update expected compiler error texts in compiletests for rustc 1.90
glib: Fix some new 1.90 clippy warnings
Update dependencies
glib: Fix typo in comment
gio: Fix typo in docs
Update MSRV to 1.86
Update all dependencies
Switch MSRV CI to 1.86
glib: Fix typo in docs
ci: Only run glib-macros tests on stable
gio: Remove pointless, empty build.rs
glib: Fix `Regex::match` API
glib: Add some missing debug assertions to the `Regex` API
gio: Fix GSettings test
Update gir
Regenerate with latest gir
Remove `--cfg docsrs` from the Cargo.tomls
Update docs.rs hacks in cairo-sys build.rs
Don't pass `--cfg docsrs` via RUSTFLAGS on the CI
glib: Clean up `Regex` tests
Update various dependencies
glib-sys: Add type aliases for all the GLib types
Update MSRV to 1.92
Fix new clippy warnings
Update Cargo.lock
Update versions to 0.22.0-alpha.1
Add missing package metadata to Unix/Win32 crates
Add more missing package metadata to Unix/Win32 crates
Lower local workspace dependencies to any alpha version
Add workspace dependencies for Unix/Win32 crates
Untangle Win32/Unix crate dependencies some more
gio-win32: Fix FFI crate name
Run `cargo fix --edition`
Update to edition 2024
Change various code to avoid too early dropped temporaries
glib-macros: Fix downgrade macro
gio: Remove unnecessary parenthesis around type
Remove unnecessary unsafe blocks
Update gir
Regenerate with latest gir
gio: Fix indentation
glib: Allow wrapper macro to expand unsafe blocks
Fix a couple of new clippy warnings
Update versions to 0.22.0-alpha.2
Update Cargo.lock
Update to `resolver = "3"`
glib: Mark `setenv()` / `unsetenv()` as unsafe
Update GLib 2.88 version requirement to >= 2.87 and 2.86 to >= 2.86
glib-unix: Mark g_closefrom() as unsafe
gio: Generate new API
gio: Add missing v2_88 feature
ci: Run glib/gio tests with v2_88
Update Cargo.lock
Update versions to 0.22.0-alpha.2
cairo: Use dynamically linked x11-dl crate instead of x11
glib: Move some Windows-specific unsafe code in unsafe functions into unsafe blocks
Update gir
Regenerate with latest gir
gio: Add back `Socket::from_raw_fd()` / `::from_raw_socket()`
Update gir
Regenerate with latest gir
Update dependencies
Update versions to 0.22.0
Sebastian Wiesner:
Impl AsFd for FileDescriptorBased
Implement Display for ObjectPath
Add subscribe_to_signal
Use "named" parameters for subscribe_to_signal
Add receive_signal and receive_signal_parameters
Add simple example about DBus signals
Tau Gärtli:
Generate Gio.DBusObjectManagerClient
Move customized auto-generate code to manual
Combine impls
Mark as send+sync
Ignore C APIs
Manually implement interface-proxy-properties-changed
Suppress doc alias from checker
Split constructors to simplify signature
Update gir and no longer needed remove manual impls
Regen other crates
Split sync methods into overloads with and without fn
Split async+callback methods into overloads with and without fn
Overloads for new_for_bus
gio: Make DBusProxy subclassable
gio: Add object manager example
Thibault Saunier:
glib: Add Error::with_domain constructor and code getter
Tomoaki Kawada:
glib: Fix overflow in `StrV::reserve` when checking capacity
glib: Fix overflow in `StrV::extend_from_slice` when checking capacity
glib: Null-terminate on every iteration in `StrV::extend_from_slice`
glib: Compare lengths in `<StrVRef as PartialEq<[&str]>>::eq`
Zachary S:
glib: Don't drop `T` if `ThreadGuard<T>` is dropped on the wrong thread.
glib: Don't double-panic if `ThreadGuard::into_inner` is called on the wrong thread.
fbrouille:
Add gio::IOModule and gio::IOModuleScope
Add gio::File
Fix gio::file::measure_disk_usage
Add an example for gio::Vfs implementation
Add gio::subclass::FileEnumerator async vfuncs
Nothing published for this version
Nothing published for this version
Nothing published for this version
`` Biagio Festa: glib/bytes: relax start offset constraint for from_bytes`
Biagio Festa:
glib/bytes: relax start offset constraint for `from_bytes`
Bilal Elmoussaoui:
ci: Add rustfmt component where needed
Sebastian Dröge:
Update gir
Regenerate with latest gir
glib: Fix typo in docs
ci: Only run glib-macros tests on stable
gio: Remove pointless, empty build.rs
glib: Fix `Regex::match` API
glib: Add some missing debug assertions to the `Regex` API
gio: Fix GSettings test
Remove `--cfg docsrs` from the Cargo.tomls
Update docs.rs hacks in cairo-sys build.rs
Don't pass `--cfg docsrs` via RUSTFLAGS on the CI
Update Cargo.lock
glib: Clean up `Regex` tests
Update versions to 0.21.5
``` Bernhard M. Wiedemann: glib-macros: Use BTreeMap instead of HashMap
Bernhard M. Wiedemann:
glib-macros: Use BTreeMap instead of HashMap
Marc-André Lureau:
glib: fix GStringBuilder::copy_into
Sebastian Dröge:
glib: Fix typo in comment
gio: Fix typo in docs
Update dependencies
Update versions to 0.21.4
Sebastian Wiesner:
gio: Implement Display for ObjectPath
gio: Add subscribe_to_signal
gio: Use "named" parameters for subscribe_to_signal
gio: Add receive_signal and receive_signal_parameters
gio: Add simple example about DBus signals
Tau Gärtli:
gio: Generate Gio.DBusObjectManagerClient
Thibault Saunier:
glib: Add Error::with_domain constructor and code getter
``` Biagio Festa: glib-macros/async_test: unwrap result when setting default context glib-macros/async_test: dont move main context within closure
Biagio Festa:
glib-macros/async_test: unwrap result when setting default context
glib-macros/async_test: dont move main context within closure
François Laignel:
gio: fix compilation with beta toolchain
Maximiliano Sandoval:
image: Add python3-requests
Renyi Zhao:
glib: Fix misuse of operator in subtract_days
pango: Fix out-of-bounds access in itemize functions
graphene: Fix UB in intersect_triangle by validating t_out before assume_init
cairo: Add bounds check for nth in region_get_rectangle to prevent UB
cairo: Fix integer overflow in create_for_data's len check
glib: Fix UB in spawn_async_with_pipes by validating success before assume_init
Sebastian Dröge:
gio: Make etag in `File::replace_contents_async()` optional
glib-macros: Make main context the thread-default one in `#[async_test]`
gio: `DataInputStream::read_line_async()` can return `None` slices
gio: Use correct finish function for `DataInputStream::read_line_utf8_async()`
Allows windows-sys 0.61 too
Update gir and gir-files
Regenerate with latest gir / gir-files
pango: Generate new `FontColor` enum
pango: Add new `v1_57` feature
ci: Don't build pango with `--all-features` for now
glib: Fix pointer signedness
Update Cargo.lock
deny: Update
Update versions to 0.21.2
``` Philipp Jungkamp: gio: Fix segfault in ListStore::find_with_equal_func
Philipp Jungkamp:
gio: Fix segfault in ListStore::find_with_equal_func
Rose Davidson:
cairo: Fix return type for cairo_script_create_for_stream.
cairo: write-to-stream callbacks should accept const pointers to data
Sebastian Dröge:
Update gir-files
Regenerate with latest gir-files
glib: Fix new clippy warnings
glib: Only build regex compiletests if the corresponding feature is enabled
glib: Fix segfault in `List::retain()`
glib: Compare lengths in `<StrV as PartialEq<[&str]>>::eq` too
glib: Null-terminate on every iteration in `PtrSlice::extend_from_slice`
glib: Avoid more integer overflows when reserving space in `PtrSlice` / `Slice` / `StrV`
Update Cargo.lock
Update versions to 0.21.1
cairo: Require cairo-sys-rs >= 0.21.1
Sebastian Wiesner:
Impl AsFd for FileDescriptorBased
Tomoaki Kawada:
glib: Fix overflow in `StrV::reserve` when checking capacity
glib: Fix overflow in `StrV::extend_from_slice` when checking capacity
glib: Null-terminate on every iteration in `StrV::extend_from_slice`
glib: Compare lengths in `<StrVRef as PartialEq<[&str]>>::eq`
Zachary S:
glib: Don't drop `T` if `ThreadGuard<T>` is dropped on the wrong thread.
glib: Don't double-panic if `ThreadGuard::into_inner` is called on the wrong thread.
dependabot[bot]:
build(deps): bump criterion from 0.6.0 to 0.7.0
…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…
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`
`` Carlos Martín Nieto: examples: add some docs to the example using the Properties macro glib-macros: Properties: copy property docs to getter glib-m
Carlos Martín Nieto:
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
Sebastian Dröge:
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
Update Cargo.lock
tests: Add Cargo.lock
Update version to 0.20.12
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
``` Sebastian Dröge: Update version to 0.20.11
Sebastian Dröge:
Update version to 0.20.11
Sophie Herold:
Revert "gio: manually implement content_type_guess"
``` Bilal Elmoussaoui: ignore typ typo gobject: Work around wrongly added v2_82 feature glib: Implement Deref/DerefMut for ThreadGuard
Bilal Elmoussaoui:
ignore typ typo
gobject: Work around wrongly added v2_82 feature
glib: Implement Deref/DerefMut for ThreadGuard
David Hewitt:
gio: manually implement content_type_guess
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
Sebastian Dröge:
Update gir
Update gir-files
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`
glib: Add From<AsRef<str>> impl for GStringPtr
pango: Implement `pango_shape()` bindings manually and ignore `pango_shape_item()` for now
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
Regenerate with latest gir / gir-files
Update Cargo.lock
Update version to 0.20.10
Sebastian Wiesner:
Wrap IntoFuture around Cancellable::future
Derive Debug and Clone for variant DictEntry
Wesley Moore:
cairo: Fix some typos in Error Display impl
quo: glib: Deprecate SendWeakRef::new() because implementation is unsound gio: Fix order of arguments to g_dbus_connection_register_object_with_closur…
Christopher Head (2):
Fix incorrect documentation
Re-export CancelledHandlerId
Philipp Jungkamp:
glib: Implement ToGlibContainerFromSlice for CStr and CString
gio: Use manual `env: &[OsString]` parameter for SubprocessLauncher::set_environ
Sebastian Dröge:
Fix some new clippy warnings
glib: Fix expected compiler error text for Rust 1.84
pango: Add bindings for `Font::languages()`
Update gir / gir-files
Regenerate with latest gir / gir-files
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 versions to 0.20.9
Update Cargo.lock
Sebastian Wiesner:
Rewrite DBus registration example with inheritance
Bind dbus_register vfunc
Bind dbus_unregister vfunc
Bind name_lost vfunc
Use DBus errors in example
jgcodes2020:
vector operator overloads
matrix multiplication and transforms
more matrix operations, quaternion operations
cargo fmt
fix clippy warnings
ogios:
add_full for unix fd
quo:
glib: Deprecate SendWeakRef::new() because implementation is unsound
gio: Fix order of arguments to g_dbus_connection_register_object_with_closures()
gio: Add DBus RegistrationBuilder.property()/set_property() tests
``` Bilal Elmoussaoui: Generate all the missing Gio bindings Fix new beta clippy warnings Ignore manual_c_str_literals clippy warning
Bilal Elmoussaoui:
Generate all the missing Gio bindings
Fix new beta clippy warnings
Ignore manual_c_str_literals clippy warning
Paolo Borelli:
windows: use a range for windows-rs dependency
ci: bump gvsbuild version
Sebastian Dröge:
glib: Add `Bytes::into_data() and `Bytes::from_bytes()` bindings
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
gio: Export `RegistrationBuilder` from the crate root
gio: Work around GLib memory leak in g_dbus_connection_register_object_with_closures()
Update Cargo.lock
deny: Update unicode license name
Update version to 0.20.7
Sebastian Wiesner:
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
``` François Laignel: glib: fix userdata mutability for FnMut callbacks
François Laignel:
glib: fix userdata mutability for FnMut callbacks
Sebastian Dröge:
Update gir
Regenerate with latest gir
pango: Fix `LayoutLine::x_ranges()` bindings
Update Cargo.lock
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
Update versions to 0.20.6
Update glib-sys / gio-sys dependency version
Sebastian Wiesner:
Fix typo to get Github actions to pass
``` BiagioFesta: glib-macros: add test macro for async-glib-context tests
BiagioFesta:
glib-macros: add test macro for async-glib-context tests
Bilal Elmoussaoui:
Re-export v2.84 feature
ci: Bump tested glib/gio version
Re-sync version requirements
Fina Wilke:
changelog: Fix typo
Sebastian Dröge (11):
glib: Add glib-macros / glib 0.20.3 dependency
glib-macros: Derived boxed types are not `TransparentPtrType` but `TransparentType`
glib: collections: Add some more debug assertions about type sizes
Update Cargo.lock
glib: Work around Rust <1.80 borrow checker issues
Update gir and gir-files
Regenerate with latest gir / gir-files
Update branch from master to main
Update versions to 0.20.5
Sebastian Wiesner:
gio: Safely and correctly convert InetAddress to IpAddr
glib: structured logging: Remove duplicated metadata
erer1243:
cairo: use crate::Borrowed when not using glib
``` Fina Wilke: glib-macros: Remove &mut to static mut in object_subclass
Fina Wilke:
glib-macros: Remove &mut to static mut in object_subclass
Sebastian Dröge:
Update gir
Regenerate with latest gir
Update Cargo.lock
Update versions to 0.20.4
Tomoaki Kawada:
glib: Make `<Variant as HasParamSpec>::BuilderFn` generic over lifetimes
eri:
generate gir without link attribute
``` Andrey Kutejko: Implement std::Extend for glib::List Implement std::Extend for glib::SList
Andrey Kutejko:
Implement std::iter::Extend for glib::List
Implement std::iter::Extend for glib::SList
Carlos Martín Nieto:
glib: link to the Properties macro instead of mentioning Props
Guillaume Gomez:
Remove `thiserror` dependency
Sebastian Dröge:
Update gir
Fix code style
Fix various Rust 1.80 clippy warnings
Regenerate with latest gir
deny: Update to new format
Update Cargo.lock
Update versions to 0.20.1
…to include proper headers ... glib-sys: remove deprecated lock types ... glib-sys: re-generate bindings and tests
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 #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 #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
``` Bilal Elmoussaoui: glib: Requires Upgrade on Downgrade::Weak type glib: Mark GParamSpec types as manual glib: Don't use macros to generate ParamSp
Bilal Elmoussaoui:
glib: Requires Upgrade on Downgrade::Weak type
glib: Mark GParamSpec types as manual
glib: Don't use macros to generate ParamSpec structs
Fix various nightly clippy warnings
Fina Wilke:
glib-macros: Fix links in property macros docs
docs: Fix broken links
glib: Make links in README.md work in both web and rustdoc
Paolo Borelli:
ci: bump gvsbuild
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
Fix cargo fmt
Derive TransparentPtrType trait for Boxed
strv: add From implementation from a String array
Regen with the latest gir from 0.19 branch
gio: sync test with master
Sebastian Dröge:
glib: Extend `spawn_from_within()` test to actually use a future that compiles with the normal `spawn()`
gio: Properly export Win32InputStream / Win32OutputStream traits
…to include proper headers ... glib-sys: remove deprecated lock types ... glib-sys: re-generate bindings and tests ```
Bilal Elmoussaoui:
Revert "glib: Auto generate various win32 functions"
glib/gio: Remove no longer used version/ignore
glib: Ignore new unsafe functions
Fina Wilke:
glib-macros/properties: Allow structs with no properties
glib::wrapper: Add docs for impls generated by the wrapper macro
Kévin Commaille:
glib-macros: Improve error message when Properties struct doesn't have at least one #[property(…)]
Sebastian Dröge:
Update version to 0.19.4
Update gir
Update gir-files
Regenerate with updated gir / gir-files
glib: Use `time_t` correctly for manual bindings
glib-sys: Map `glib_sys::GPid` directly to `libc::pid_t`
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
Update Cargo.lock
ci: Update gvsbuild git reference
glib: Re-add and rename manual Win32 API additions
Update versions to 0.19.5
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
``` Bilal Elmoussaoui: Fix nightly clippy warnings gio: Stop re-exporting all the types in prelude gio: Move guards to trait definitions gio/socket: R
Bilal Elmoussaoui:
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
Fabio Valentini:
glib: fix UB in VariantStrIter::impl_get
Maximiliano Sandoval:
Document values of Continue and Break
Sebastian Dröge:
Work around rustdoc-stripper bug
Fix glib compiletest expected output for Rust 1.77
Update Cargo.lock
Revert "deny: Add heck 0.4 to the ignore list"
Update version to 0.19.4
Ville Hakulinen:
docs: `construct` attribute for `glib::Properties`
docs: fix typo
``` Matthew Waters: pango: add some missing AttrInt constructors.
Matthew Waters:
pango: add some missing AttrInt constructors.
Paolo Borelli:
macros: allow to specify #[default] for glib::flags
Sebastian Dröge:
glib: Add `Quark::from_static_str()`
glib: Use `Self` instead of `Quark` in a few places
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
glib: Don't misuse `slice::get_unchecked()`
Update versions to 0.19.3
Ville Hakulinen:
gio: correctly free argument list items
tests: skip failing test on windows
``` Bilal Elmoussaoui: chore: Drop no longer needed deny skips docs: Move metadata back to packages
Bilal Elmoussaoui:
chore: Drop no longer needed deny skips
docs: Move metadata back to packages
L. E. Segovia:
cairo: Fix version of the v1_18 feature
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
Update Cargo.lock
Update version to 0.19.2
Full Changelog: https://github.com/gtk-rs/gtk-rs-core/compare/0.19.1...0.19.2
glib: Remove deprecated paramspec constructors by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1230
glib::derived_properties by @Hofer-Julian in https://github.com/gtk-rs/gtk-rs-core/pull/1143PollableInputStream / PollableOutputStream ret… by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1159resolver = "2" for the workspace by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1162g_unichar APIs by @RealKC in https://github.com/gtk-rs/gtk-rs-core/pull/1146#[doc(hidden)] from once_cell and bitflags re-export by @RealKC in https://github.com/gtk-rs/gtk-rs-core/pull/1177as_str() and Deref<Target=&str> by @cgwalters in https://github.com/gtk-rs/gtk-rs-core/pull/1181spawn_future and spawn_future_local convenience functions by @Hofer-Julian in https://github.com/gtk-rs/gtk-rs-core/pull/1201MainContext::channel() by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1216Cargo.lock to git tracking by @GuillaumeGomez in https://github.com/gtk-rs/gtk-rs-core/pull/1221BoxedAnyObject methods as track_caller by @RealKC in https://github.com/gtk-rs/gtk-rs-core/pull/1279proc_macro_error with explicit propagation of syn::Result by @andy128k in https://github.com/gtk-rs/gtk-rs-core/pull/1288once_cell usage with std::sync::OnceLock by @andy128k in https://github.com/gtk-rs/gtk-rs-core/pull/1289Full Changelog: https://github.com/gtk-rs/gtk-rs-core/compare/0.18.0...0.19.0
Sebastian Dröge: glib: Deprecate main context channel gio: Don't wrongly cast DataInputStream byte arrays to a const pointer Update versions to 0.18.4
Guillaume Gomez :
Fix new clippy lints
Sebastian Dröge:
glib: Deprecate main context channel
gio: Don't wrongly cast `DataInputStream` byte arrays to a const pointer
Update versions to 0.18.4
Zander Brown:
gio: return NULL from spawn_blocking's underlying gtask
``` Aaron Erhardt: glib-macros: Mark property getters as #[must_use]
Aaron Erhardt:
glib-macros: Mark property getters as #[must_use]
Bilal Elmoussaoui:
Fix nightly clippy warnings
Brian Vincent:
fix glyph string analysis methods that don't need &mut
Colin Walters:
glib/GStringPtr: Add `as_str()` and `Deref<Target=&str>`
Desuwa:
Add _full and _local_full methods for idle and timeout callbacks.
Eva Pace:
glib-macros: Remove unused imports from Properties doc test
Julian Hofer:
Add `spawn_future` and `spawn_future_local` convenience functions
Kévin Commaille:
gio: Use weak reference to ActionMap when adding action entries
Paolo Borelli:
gio: fix UnixSocketAddress constructor with a path
Sebastian Dröge:
Require a mutable reference for the `glib::List` mutable iterators
glib-macros: Update to proc-macro-crate 2
Switch to `resolver = "2"` for the workspace
Update gir / gir-files to latest 0.18 barnch
Regenerate with latest gir / gir-files
Update versions to 0.18.3
Added bindings for Gio.DBusObjectManager, Gio.DBusObjectManagerClientFlags
glib: Re-introduce an event propagation specific type by @bilelmoussaoui in https://github.com/gtk-rs/gtk-rs-core/pull/1144
param_spec: add ParamSpecEnumBuilder::default_value() by @gdesmott in https://github.com/gtk-rs/gtk-rs-core/pull/974
IntoStrV impls by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/977WeakRef and SendWeakRef useable with the Properties derive macro by @RealKC in https://github.com/gtk-rs/gtk-rs-core/pull/985NULL to g_list_store_find_with_equal_func_full() by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1015IntoGStr impl for String by simply appending a NUL-byte by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1016as_ptr implementation by @mbiggio in https://github.com/gtk-rs/gtk-rs-core/pull/1026IntoGStr for String when capacity allows by @jf2048 in https://github.com/gtk-rs/gtk-rs-core/pull/1034IntoStrV slice by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1037Path / PathBuf in glib::Values by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1071use_derived_properties macro by @yuraiz in https://github.com/gtk-rs/gtk-rs-core/pull/1127--generate-link-to-definition option when generating documentation by @GuillaumeGomez in https://github.com/gtk-rs/gtk-rs-core/pull/1131Full Changelog: https://github.com/gtk-rs/gtk-rs-core/compare/0.17.0...0.18.0
Fix heap buffer overflow due to operator precedence
Ben Kimock:
Benji Smith:
Bilal Elmoussaoui:
v1_52Fina Wilke:
construct_only propertiesconstruct_only attributeJan Alexander Steffens (heftig):
ptr::offset/offset_from for private/impl offsetMaximiliano Sandoval R:
From for constant GStr slicesSebastian Dröge:
glib-macros: Strip out r# prefix from property names inside the GObject
Paskal Sitepu:
r# prefix from property names inside the GObjectProperties macro where keywords are being usedProperties macro to elaborate on usage of keywords as property namesSebastian Dröge:
pango: rename removed clippy lint
Bilal Elmoussaoui:
Jason Francis:
From<GStringPtr> for GStringSeaDve:
ToValue::to_valueValueDelegateStaticType, FromValue, ToValue, HasParamSpec for Box<str>Sebastian Dröge:
v2_76 featurepangocairo-sys: fix package.description in Cargo.toml
Fabio Valentini:
Jason Francis:
FileEnumerator::into_streamIntoGStr for String when capacity allowsMarco Mastropaolo:
gio::SocketControlMessageMarco Melorio:
connect_notify* methods to SignalGroupMatteo Biggio:
g_strv FFI method, use our as_ptr implementationSebastian Dröge:
IntoGStr impl for String by simply appending a NUL-byteValueDelegate derive macroranfdev:
ValueDelegate derive macroHasParamSpec on glib::VariantProperties macronullable attributeglib: Implement PartialEq and PartialOrd for WeakRef
Andrey Kutejko:
PartialEq and PartialOrd for WeakRefBilal Elmoussaoui:
ObjectImpl vfuncs overridesObjectImplJason Francis:
WatchedObject for BorrowedObjectMathieu Duponchelle:
Matteo Biggio:
SimpleAction: take ownership of value without leaking itPaolo Borelli:
HasParamSpec for Vec<String> and StrVHasParamSpec for SharedBoxedStrV::join() methodStrV::contains() methodSeaDve:
Properties macro docsSebastian Dröge:
NULL to g_list_store_find_with_equal_func_full()glib: Deprecate paramspec new() functions in favour of the builder
Aaron Erhardt:
Alberto Ruiz:
animation_get_size()Andrey Kutejko:
Bilal Elmoussaoui:
Make GioFuture handle infallible futuresFrom traits for StrVGuillaume Gomez:
clone! proc macroclone! UI testsJason Francis:
impl From<T> for Variant to move into variantsInto<Variant> for SettingsExtManual::setimpl From<T> for Value for manually implemented typesInto<Value> instead of ToValue when possibleDatagramBasedwritev methodswritev in stream impls for io::Write, AsyncWriteSourceId::as_rawspawn/spawn_localThreadPool push methodsspawn_blocking#[inline] to more GString trait methodsDisplay for GStrGStr::to_bytes to as_bytesGStr and GString constructorsGStr methods constToGlibPtr check interior string nuls in debug modeFrom implementations for GStringToGlibPtr implementations for more string typesGStringBuilder::as_gstr and AsRef<GStr>gformat! for directly formatting into a GStringIntoGStr traitsGString to store small inline stringsIntoGStrGFileDescriptorBasedstrcmp for GStringPtr comparisonsGStr::from_ptr_checked()Matteo Biggio:
ToGlibPtr<*mut _> for boxed typesMaximiliano Sandoval R:
ExitCodeMițca Dumitru:
g_utf8 APIscompile_resourcesPaolo Borelli:
ActionEntry: take proper types instead of stringsSimpleAction: take state by valueStrV for the simple proxy resolver APIStrV for TlsConnectionreorder_itemsStrV for the file_info APIGStr for the manual extension point implementationStrVItem to GStrPtr and make it clonable and transparentkey_file: return PtrSlice<GStrPtr>GStrPtr to GStringPtrGStringPtr: remove impl AsRef, provide explicit to_gstr() and to_str()as_slice constFromIterator for ListStoredefault = value attribute ListModel::iter() infallibleSebastian Dröge:
ObjectBuilder::type_ObjectSubclass::obj() as a shorter alias for instance()g_object_run_dispose()imp.instance() to imp.obj()pango::Language::from_string() infallibleObjectImpl::set_property() and property()Language::get_preferred()v2_76 featureIntoGlibPtr for Option<T>function_name! macro and make use of that for glib::BoolErrorFrom<&GStr> and From<GString> for Cow<GStr>GStr::from_ptr_lossy() and GString::from_ptr_lossy()GStringBuilder as BoxedInline to avoid a useless additional heap allocationGStringBuilder by construction always returns an UTF-8 string and never a NULL pointerGStringBuilder construction to have fewer function callsPhantomData as Stash::Storage if nothing has to be stored except for a lifetime&GStr for ToGlibPtr::to_glib_none()[Type]::to_glib_none() to not have an additional heap allocationVec for [T]::to_glib_none()[T]::to_glib_none()UserDirectory::NDirectories enum variantOsStr::to_str() instead of OsString::into_string() to avoid unnecessary heap allocationsas_ptr() implementation and add new function to borrow values from pointers directlyglib::PtrSlice API more complete and similar to Vecglib::ObjectRefg_malloc() instead of g_malloc0() if we initialize the result anywayToGlibPtrFromSlice impls for shared/boxed/object/boxed-inlineglib::Slice API more complete and similar to VecPtrSlice to Slice and backglib::SList and glib::List API more complete and similar to LinkedListglib::StrV for NULL-terminated string arraysList/SList with Copy typesglib::wrapper! for BoxedInlineglib::wrapper! for BoxedInline with generic parametersFromGlibContainerAsVec implVec FFI translation functionsIntoGlibPtr instead of to_glib_full() in more placesIntoGlibPtr implementation for BoxedInlineValueArray pspec element specOption wrappingValue::from_type_unchecked()Value::from_type_unchecked() where applicableIntoGStr trait in a couple of placesgformat! macro if GString is not in scopeMainContext::spawn_from_within() for spawning non-Send futures from another threadParamSpec::is() helper functionnew() functions in favour of the builderObjectSubclass::instance() / from_instance() in favour of the shorter versionsObjectBuilder a bit more efficientFrom<&String> for GStringObject constructors(Async)InitableBuilder publicGStr manuallyIntoStrV in scope for v2_60 tooTimeZone::adjust_time() instead of ignoring itObject::new_default() to Object::new() and remove deprecated APIOption<Duration> from AnimationIter::delay_time()SystemTime instead of Duration for PixbufAnimation::iter() and PixbufAnimationIter::advance()transfer-none return values in subclassing are staying alive long enough'static &str in File::enumerate_children_async() and enumerate_children_future()NULL debug assertion to from_glib_full() and others for GObjectsValueArray Value traits manually because of the custom paramspecYuraIz:
ranfdev:
#[properties] derive macroconstruct_cell, too experimentalBoxedimpl Parse for ReceivedAttrsPropertyGet for T: HasParamSpec``` Paolo Borelli (1): examples: spawn async gio task on the current thread context
Paolo Borelli (1):
examples: spawn async gio task on the current thread context
Sebastian Dröge (2):
Fix various new beta clippy warnings
Update versions to 0.16.7
Paolo Borelli:
Sebastian Dröge:
``` Bilal Elmoussaoui (1): gio: Add a GioInfallibleFuture
Bilal Elmoussaoui (1):
gio: Add a GioInfallibleFuture
Sebastian Dröge (6):
glib: Implement `IntoGlibPtr` for `Option<T>`
glib: Implement `From<&GStr>` and `From<GString>` for `Cow<GStr>`
glib: Fix docs typo
Update versions to 0.16.6
Bilal Elmoussaoui:
GioInfallibleFutureSebastian Dröge:
IntoGlibPtr for Option<T>From<&GStr> and From<GString> for Cow<GStr>``` Aaron Erhardt (1): image: Rebuild once every week
Aaron Erhardt (1):
image: Rebuild once every week
Colin Walters (1):
Move `g_cancellable_set_error_if_cancelled()` to manual
Guillaume Gomez (3):
regen
Fix clippy lints
Fix new clippy lints
Jason Francis (2):
glib: fix more clippy lints for rust 1.66
glib: update compiletest output errors for rust 1.65
Sebastian Dröge (8):
Move from `imp.instance()` to `imp.obj()`
gio: Require glib 0.16.2 for `ObjectSubclass::obj()`
Update gir
Regenerate with latest gir
Update versions to 0.16.3
Aaron Erhardt:
Colin Walters:
g_cancellable_set_error_if_cancelled() manually to work
around non-standard GError behaviourGuillaume Gomez:
Jason Francis:
Sebastian Dröge:
imp.instance() to imp.obj()ObjectSubclass::obj()``` Bilal Elmoussaoui (3): gio: Add helpers for setting SettingBinding flags glib: Fix docs links gio: Add set_only/get_only helpers to BindingBuilder
Bilal Elmoussaoui (3):
gio: Add helpers for setting SettingBinding flags
glib: Fix docs links
gio: Add set_only/get_only helpers to BindingBuilder
Sebastian Dröge (3):
glib: Add `ObjectSubclass::obj()` as a shorter alias for `instance()`
glib: Add unsafe bindings to `g_object_run_dispose()`
Update versions to 0.16.2
anteater (1):
Correct outdated references to `subclass::simple`
Bilal Elmoussaoui:
SettingBinding flagsset_only/get_only helpers to BindingBuilderSebastian Dröge:
ObjectSubclass::obj() as a shorter alias for instance()g_object_run_dispose()anteater:
subclass::simpleNothing published for this version
``` Ben Kimock (1): Fix off-by-one in GString::from (and missing null)
Ben Kimock (1):
Fix off-by-one in GString::from (and missing null)
Bilal Elmoussaoui (3):
CI: remove -sys conditions tests for windows
gdk_pixbuf: opt-in for gi-docgen
CI: update the gh-package job
Jason Francis (13):
glib: allow unused imports in gobject::auto
cairo: restrict pdf tests to only emit PDF 1.5
Port Dockerfile to fedora rawhide and use system deps from git
ci: Bump versions in image workflow
image: Don't build gdk-pixbuf tests
ci: Bump versions in image workflow
ci: push image to github container repository
dockerfile: disable gdk-pixbuf man pages
ci: add toplevel repo to safe.directory when running checker
ci: bump some more action versions
ci: use set-safe-directory for gtk-rs/checker checkout
Revert "ci: use set-safe-directory for gtk-rs/checker checkout"
ci: don't build full gtk in windows ci
Matteo Biggio (5):
glib: add missing emit_by_name methods
SocketAddressEnumerator: `next` return value should be nullable
translate.rs: free the container memory also when the container is empty
gstring: implement AsRef<Path> for GString and GStr
ProcessLauncher: `close` method should be available on unix only
Maximiliano Sandoval R (4):
Fix GBindingGroup bindings
binding_group: Correct doc for build
binding_group: Add test
Use RefCell::take() when possible
Mițca Dumitru (3):
cairo: Add safety docs for low hanging fruits
gio: Add safety docs for Unix and Win32 streams
glib: Add safety docs for log_writer_default_set_use_stderr
Sebastian Dröge (14):
glib/gio: Implement `FusedFuture` / `FusedStream` in some places
Implement `FusedIterator` for various custom iterators
Fix/silence various new clippy warnings
bindinggroup: Make sure to use NUL-terminated strings for the `source_property` in all cases
bindinggroup: Fix test by making the binding bidirectional as expected from the test
bindingroup: Pass a `String` to the transform function instead of a `*const u8`
bindingroup: Fix transform_to test
bindinggroup: Add test for changing the value type between properties
binding: Add tests for Binding
ci: Fix syntax in windows.yml
Update versions to 0.15.12
ranfdev (7):
remove unused mod_name in define_param_spec!
add common numeric spec impl, common assert_param_name
remove useless from_glib in min_max macro
add #[track_caller] to assert_param_name
fully define a corresponding `Builder` for each `ParamSpec`
reuse new fn in ParamSpecOverride
impl Default for ParamFlags
``` Jason Francis (9): glib-macros: Fix clippy lints glib: Generate docs for BindingGroupBuilder glib: implement ValueTypeOptional for Variant, Varian
Jason Francis (9):
glib-macros: Fix clippy lints
glib: Generate docs for BindingGroupBuilder
glib: implement ValueTypeOptional for Variant, VariantType, BoxedValue
glib: Add safety docs for WatchedObject::borrow
glib: Implement Sync for WatchedObject
Implement ValueTypeOptional for BoxedInline and cairo types
cairo: Fix soundness in ToValueOptional for inline structs
cairo: Implement FromValue for reference types
cairo: Implement GValue wrappers for Matrix
Luca BRUNO (1):
glib/variant: add some more safe wrappers
Mițca Dumitru (5):
gdk_pixbuf: Improve `Pixbuf::pixels` documentation
glib: Remove redundant null-checks before `g_free`
glib: Remove redundant null-checks before `free`-like functions
gio: Remove redudant null-checks before `g_free`
gio: Remover redundant null-checks before `g_strdup`
Paolo Borelli (1):
error: add `matches` method
Rodrigo Rivas Costa (1):
glib: Fix conversion between Variant and OsString/PathBuf.
SeaDve (1):
glib-macros: Remove boxed_nullable and shared_boxed_nullable attribute for glib::Boxed
Sebastian Dröge (12):
glib: Fix build with `v2_72` and require 2.72.0 now
Fix a couple of new clippy warnings
gio: Update serial_test dependency to 0.6
glib: Add `to_glib_full()` for `Path` / `OsStr`
glib: Fix `mkdtemp()` and `mkdtemp_full()`
glib: Add new `ObjectImplRef` and `ObjectImplWeakRef` types
glib: Add getter for `glib::Error` domain quark
ci: Update gvsbuild version
ci: Switch to windows-2019 image
Update versions to 0.15.11
glib: Lower glib-macros version requirement to 0.15.10
ranfdev (1):
remove extend_from_slice position subtraction, add test
``` Jason Francis (6): glib: Add GStr for borrowing GStrings glib: Finish adding all structured logging functions glib: Simplify g_log_inner and g_pri
Jason Francis (6):
glib: Add GStr for borrowing GStrings
glib: Finish adding all structured logging functions
glib: Simplify g_log_inner and g_print_inner
glib: Optimize GlibLogger to avoid some copies
glib: Disable log_structured doc test before v2_50
Use Send+Sync for more Boxed types
Paolo Borelli (3):
Update gir
regen
gio: add AsyncInitable
Sebastian Dröge (5):
Update versions to 0.15.10
glib: Depend on glib-macros 0.15.10
arcnmx (4):
glib: clarify wording on VariantTy fns
glib: impl FromStr for VariantType
glib: VariantTy tuple type iterator
glib: print and parse for Variant
``` Guillaume Gomez (1): Fix clippy lints
Guillaume Gomez (1):
Fix clippy lints
Jason Francis (5):
Add new classes from glib 2.72
Fix broken gnome/gtk doc links
glib: Use "%s" instead of replacing % in log functions
glib: Correctly cast log messages to C char types
Use glib 2.71 for minimum v2_72 pkg-config versions
Sebastian Dröge (2):
Update versions to 0.15.7
ranfdev (3):
make generics work in boxed_inline wrapper macro
fix warning about unnecessary parentheses in boxed_inline
impl `ToValue`, `FromValue` for char
songww (2):
pango: Add LayoutLine.runs()
pango: Add missing getter for GlyphItemIter.
``` Colin Walters (1): translate: Pre-allocate Rust hashmap at correct size
Colin Walters (1):
translate: Pre-allocate Rust hashmap at correct size
Hofer-Julian (1):
glib: add trait `StaticTypeExt` with method `type_ensure`
Jason Francis (1):
glib-macros: Pass a pointer for watched objects into closure macro
Sebastian Dröge (14):
Update versions to 0.15.5
Handle empty slices correctly
Update gir-files
glib: Mark `UnicodeScript::Math` as available in 2.72
gio: Implement `File::move_async` manually
glib: Ignore aligned allocation functions
glib: Fix handling of closures that provide a return value pointer that is initialized to `G_TYPE_INVALID`
glib: Add an `Object` specific value type checker
glib: Don't use `from_glib_full()` for the individual items of an array for boxed inline types
Regenerate
Update versions to 0.15.6
arcnmx (6):
glib: Variant::from_dict_entry
glib: VariantType::new_dict_entry
glib: VariantType::new_array
glib: VariantType::new_maybe
glib: VariantType::new_tuple
glib: impl AsRef<Variant> for Variant
songww (1):
Add missing pango attrs
``` Matteo Biggio (1): gtask: fix memory leak in when calling g_task_return_value
Matteo Biggio (1):
gtask: fix memory leak in when calling g_task_return_value
Sebastian Dröge (5):
Update gir-files
Regenerate with latest gir-files
gio: Add version to `CredentialsType::Win32Pid`
Update versions to 0.15.5
arcnmx (8):
glib: Pointer type
glib: give a name to c_void
glib: basic Pointer tests
glib: impl FromGlib<gconstpointer> for Pointer
glib: explicitly alias Pointer as `ffi::gpointer`
glib: dynamic type APIs for Variants and Values
glib: `Variant::as_maybe()`
glib: remove all translate traits from pointers
``` Paolo Borelli (1): gio: add Initable::with_type
Paolo Borelli (1):
gio: add Initable::with_type
Sebastian Dröge (14):
Update manual implementations to not require `Send` closures for GIO-style async functions
Update gir-files
glib/gio: Remove unnecessary overrides
gio: Add `v2_72` feature
gio: Add 2.72 marker to `G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD`
Update gir
Regenerate with latest gir
Update versions to 0.15.4
gio: Use correct callback type for `File::copy_async()`
glib: Pass module path instead of `None` for the function
glib: Never pass `NULL` to `g_log_structured_standard()`
gio/gdk-pixbuf: Depend on glib 0.15.3 for `ThreadGuard` API
``` Andrey Kutejko (1): glib-macros: Remove redundant allocations
Andrey Kutejko (1):
glib-macros: Remove redundant allocations
Andy Russell (1):
glib: implement To/FromVariant for OS strings and paths (#483)
Paolo Borelli (1):
glib: Add more documentation on how to replace g_signal_connect_object
Sebastian Dröge (5):
glib: Add an object builder
glib: Provide `ThreadGuard` and `thread_id()` as public API
gio: Use `ThreadGuard` from glib instead of providing a separate implementation
Update versions to 0.15.3
ranfdev (2):
glib-macros: use bool::then in subclass macro
glib-macros: reduce subclass macro size
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.