celeste
celeste copied to clipboard
Update Rust crate glib to 0.20.0 [SECURITY]
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| glib (source) | dependencies | minor | 0.16.9 -> 0.20.0 |
GitHub Vulnerability Alerts
GHSA-wrw7-89jp-8q8g
The VariantStrIter::impl_get function (called internally by implementations of the Iterator and DoubleEndedIterator traits for this type) was unsound, resulting in undefined behaviour.
An immutable reference &p to a *mut libc::c_char pointer initialized to NULL was passed as an argument to a C function that that mutates the pointer behind &p in-place (i.e. as an out-argument), which was unsound. After changes in recent versions of the Rust compiler, these unsound writes through &p now seem to be completely disregarded when building the glib crate with optimizations.
This subsequently caused all calls of VariantStrIter::impl_get to violate the safety requirements of the std::ffi::CStr::from_ptr function - which requires its argument to be a valid pointer to a C-style string - resulting in crashes due to NULL pointer dereferences.
This was fixed by passing the out-argument pointer explitly as &mut p instead of &p.
This issue has been present since this code was initially added in glib v0.15.0. The mismatch in mutability was likely missed (and not raised as an error by the compiler) because the C function wrapped by VariantStrIter::impl_get is variadic (glib_sys::g_variant_get_child), and the pointer in question is one of the variadic arguments.
Release Notes
gtk-rs/gtk-rs-core (glib)
v0.20.0
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
v0.19.9
Paolo Borelli:
glib-macros: do not emit deprecation warnings for old clone! and closure! in 0.19
glib-macros: make new clone! and closure! syntax a feature
glib-macros: restore stable documentation of clone! and closure!
glib-macros: make tests for new clone! conditional as well
glib: stick to the old clone syntax
Sebastian Dröge:
Update `clone!` and `closure!` macro to new syntax
glib-macros: Fix unit return in `closure!()` macro
glib-macros: Don't produce unnecessary braces in `clone!(async move { x })`
glib-macros: Fix clone tests to work with both the unstable syntax enabled and not
Update Cargo.lock
Update versions to 0.19.9
glib: Depend on glib-macros 0.19.9 for the new feature
v0.19.8
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
v0.19.7
Fina Wilke:
glib-macros: Fix clippy warnings in tests
glib-macros: Properties: Annotate methods with #[allow(dead_code)]
Sebastian Dröge:
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()`
Update Cargo.lock
glib: Convert safety doc comment to a normal comment
Update versions to 0.19.7
v0.19.6
Fina Wilke :
glib: Only implement Send an JoinHandle if the result is Send
Sebastian Dröge:
glib: Don't use `g_object_list_properties()` for setting properties
glib: Add missing `Send` bound to the output type of the `spawn_from_within()` future
Update versions to 0.19.6
misson20000:
glib: Implement Sync for ThreadGuard
v0.19.5
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
v0.19.4
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
v0.19.3
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
v0.19.2
What's Changed
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
v0.19.0
What's Changed
- Fix docs of
glib::derived_propertiesby @Hofer-Julian in #1143 - glib: Re-introduce an event propagation specific type by @bilelmoussaoui in #1144
- Regenerate with latest gir-files by @bilelmoussaoui in #1150
- gio: Set missing annotations for new FileInfo apis by @bilelmoussaoui in #1151
- Add typos workflow by @Hofer-Julian in #1153
- Disentangle docsrs and features by @pentamassiv in #1154
- Added bindings for Gio.DBusObjectManager, Gio.DBusObjectManagerClientFlags by @pentamassiv in #1156
- gio: Fix panics if
PollableInputStream/PollableOutputStreamret… by @sdroege in #1159 - CI: add dependabot for updating the actions by @bilelmoussaoui in #1160
- Switch to
resolver = "2"for the workspace by @sdroege in #1162 - image: Switch to latest fedora stable by @bilelmoussaoui in #1163
- dependabot: Enable cargo support by @bilelmoussaoui in #1165
- Add support for ext_trait in properties macro by @ranfdev in #1149
- build(deps): update criterion requirement from 0.4.0 to 0.5.1 by @dependabot in #1168
- build(deps): update serial_test requirement from 1 to 2 by @dependabot in #1166
- build(deps): update async-tls requirement from 0.11 to 0.12 by @dependabot in #1167
- Fix/silence various 1.72 clippy warnings by @sdroege in #1173
- Use associated type in memory managers by @ranfdev in #1171
- glib: Bind
g_unicharAPIs by @RealKC in #1146 - glib: Remove
#[doc(hidden)]fromonce_cellandbitflagsre-export by @RealKC in #1177 - build(deps): bump actions/checkout from 3 to 4 by @dependabot in #1180
- cairo: Make it docs.rs friendly by @bilelmoussaoui in #1182
- glib-macros: Remove unused imports from Properties doc test by @evaporei in #1193
- glib-macros: Mark property getters as #[must_use] by @AaronErhardt in #1192
- fix glyph string analysis methods that don't need &mut by @bvinc in #1188
- CI: add a cargo deny job by @bilelmoussaoui in #1179
- build(deps): bump docker/login-action from 2 to 3 by @dependabot in #1189
- build(deps): bump docker/build-push-action from 3 to 5 by @dependabot in #1190
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #1195
- glib/GStringPtr: Add
as_str()andDeref<Target=&str>by @cgwalters in #1181 - Regenerate with latest gir/gir-files by @bilelmoussaoui in #1155
- glib-macros: Update to proc-macro-crate 2 by @sdroege in #1198
- Add
spawn_futureandspawn_future_localconvenience functions by @Hofer-Julian in #1201 - glib: Implement object class methods via a trait instead of directly … by @sdroege in #1203
- glib: Allow variable expansion in format strings passed to bool_error & result_from_gboolean by @RealKC in #1210
- gio: Use weak reference to ActionMap when adding action entries by @zecakeh in #1208
- Implement ext trait on IsA<T>, don't generate overridden methods by @ranfdev in #1204
- Add _full and _local_full methods for idle and timeout callbacks that take priority by @awused in #1207
- build(deps): update freetype-rs requirement from 0.32 to 0.34 by @dependabot in #1211
- glib: Implement Regex by @davidmhewitt in #947
- Add object_subclass example by @ranfdev in #1145
- glib: Remove
MainContext::channel()by @sdroege in #1216 - add support of module types by @fbrouille in #1169
- gio: fix UnixSocketAddress constructor with a path by @pbor in #1218
- Add
Cargo.lockto git tracking by @GuillaumeGomez in #1221 - build(deps): bump smallvec from 1.11.1 to 1.11.2 by @dependabot in #1224
- Fix new clippy lints by @GuillaumeGomez in #1227
- Matchinfo lifetime by @zachs18 in #1225
- Move from unmaintained winapi crate to windows-sys by @sdroege in #1226
- glib: Remove deprecated paramspec constructors by @sdroege in #1230
- build(deps): bump proc-macro2 from 1.0.69 to 1.0.70 by @dependabot in #1232
- Simplify pointer casts by @sdroege in #1233
- gio: Don't wrongly cast DataInputStream byte arrays to a const pointer by @sdroege in #1238
- gio: return NULL from spawn_blocking's underlying gtask by @ZanderBrown in #1239
- macros: generate GlibPtrDefault when deriving Boxed and SharedBoxed by @pbor in #1241
- build(deps): bump libc from 0.2.150 to 0.2.151 by @dependabot in #1243
- build(deps): bump once_cell from 1.18.0 to 1.19.0 by @dependabot in #1244
- build(deps): bump syn from 2.0.39 to 2.0.40 by @dependabot in #1247
- build(deps): bump freetype-rs from 0.34.0 to 0.34.1 by @dependabot in #1246
- build(deps): bump trybuild2 from 1.1.0 to 1.2.0 by @dependabot in #1245
- Add support of enums as dynamic types by @fbrouille in #1220
- build(deps): bump syn from 2.0.40 to 2.0.41 by @dependabot in #1252
- build(deps): bump thiserror from 1.0.50 to 1.0.51 by @dependabot in #1253
- Fix / work around a couple of new clippy 1.75 warnings by @sdroege in #1254
- Refactor macros to register dynamic types by @fbrouille in #1255
- build(deps): bump futures-channel from 0.3.29 to 0.3.30 by @dependabot in #1258
- build(deps): bump futures-io from 0.3.29 to 0.3.30 by @dependabot in #1260
- build(deps): bump pkg-config from 0.3.27 to 0.3.28 by @dependabot in #1262
- build(deps): bump futures-util from 0.3.29 to 0.3.30 by @dependabot in #1259
- Fix concurrency issues by @fbrouille in #1256
- build(deps): bump proc-macro2 from 1.0.70 to 1.0.73 by @dependabot in #1266
- build(deps): bump memchr from 2.6.4 to 2.7.1 by @dependabot in #1267
- build(deps): bump thiserror from 1.0.51 to 1.0.53 by @dependabot in #1268
- build(deps): bump syn from 2.0.41 to 2.0.44 by @dependabot in #1269
- build(deps): bump futures from 0.3.29 to 0.3.30 by @dependabot in #1270
- build(deps): bump thiserror from 1.0.53 to 1.0.56 by @dependabot in #1272
- build(deps): bump quote from 1.0.34 to 1.0.35 by @dependabot in #1276
- build(deps): bump proc-macro2 from 1.0.73 to 1.0.76 by @dependabot in #1275
- build(deps): bump tempfile from 3.8.1 to 3.9.0 by @dependabot in #1273
- add support of flags registered as dynamic types by @fbrouille in #1271
- glib: Mark panicky
BoxedAnyObjectmethods astrack_callerby @RealKC in #1279 - build(deps): bump proc-macro-crate from 2.0.0 to 3.0.0 by @dependabot in #1280
- build(deps): bump libc from 0.2.151 to 0.2.152 by @dependabot in #1281
- build(deps): bump smallvec from 1.11.2 to 1.12.0 by @dependabot in #1283
- build(deps): bump serial_test from 2.0.0 to 3.0.0 by @dependabot in #1282
- Replace usage of macro
proc_macro_errorwith explicit propagation ofsyn::Resultby @andy128k in #1288 - build(deps): bump actions/cache from 3 to 4 by @dependabot in #1295
- build(deps): bump freetype-rs from 0.34.1 to 0.35.0 by @dependabot in #1293
- build(deps): bump proc-macro-crate from 3.0.0 to 3.1.0 by @dependabot in #1292
- build(deps): bump pkg-config from 0.3.28 to 0.3.29 by @dependabot in #1291
- build(deps): bump bitflags from 2.4.1 to 2.4.2 by @dependabot in #1290
- Regen with latest gir/gir-files by @bilelmoussaoui in #1285
- Use cargo workspace features by @bilelmoussaoui in #1296
- Replace
once_cellusage with std::sync::OnceLock by @andy128k in #1289 - Use workspace features for ffi types by @bilelmoussaoui in #1297
- glib: prelude cleanup by @bilelmoussaoui in #1095
New Contributors
- @dependabot made their first contribution in #1168
- @evaporei made their first contribution in #1193
- @zecakeh made their first contribution in #1208
- @awused made their first contribution in #1207
- @davidmhewitt made their first contribution in #947
- @fbrouille made their first contribution in #1169
- @zachs18 made their first contribution in #1225
- @ZanderBrown made their first contribution in #1239
Full Changelog: https://github.com/gtk-rs/gtk-rs-core/compare/0.18.0...0.19.0
v0.18.5
Guillaume Desmottes:
glib: improve message on deprecated channel API
Paolo Borelli:
macros: generate GlibPtrDefault when deriving Boxed and SharedBoxed
Sebastian Dröge:
Fix / work around a couple of new clippy 1.75 warnings
Update versions to 0.18.5
v0.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
v0.18.3
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
v0.18.2
What's Changed
- Add typos workflow
- Added bindings for Gio.DBusObjectManager, Gio.DBusObjectManagerClientFlags
- Disentangle docsrs and features
- gio: Fix panics if PollableInputStream / PollableOutputStream
- Add support for ext_trait in properties macro
- glib: Bind g_unichar APIs
- glib: Remove #[doc(hidden)] from once_cell and bitflags re-export
- cairo: Make it docs.rs friendly
- Fix/silence various 1.72 clippy warnings
v0.18.1
What's Changed
- glib: Re-introduce an event propagation specific type by @bilelmoussaoui in #1144
v0.18.0
What's Changed
- param_spec: add ParamSpecEnumBuilder::default_value() by @gdesmott in #974
- glib: Add various
IntoStrVimpls by @sdroege in #977 - Implement Default trait for vectors by @yuraiz in #979
- Improve conversion errors for setters by @ranfdev in #986
- Make
WeakRefandSendWeakRefuseable with thePropertiesderive macro by @RealKC in #985 - properties: impl HasParamSpec for Vec<String> and StrV by @pbor in #995
- glib-macros: slightly improve Properties macro docs by @SeaDve in #994
- glib-macros: allow properties macro generated functions to be unused by @jf2048 in #996
- Derive HasParamSpec for SharedBoxed by @pbor in #999
- strv: add join() method by @pbor in #989
- object: improve downcasting docs by @MathieuDuponchelle in #1005
- More strv fixes by @pbor in #1007
- Implement PartialEq for WeakRef by @andy128k in #1006
- Revert "SimpleAction: take state by value" by @mbiggio in #1011
- Update gir-files by @sdroege in #1013
- glib: add missing ObjectImpl vfuncs overrides by @bilelmoussaoui in #1003
- gio: Don't pass
NULLtog_list_store_find_with_equal_func_full()by @sdroege in #1015 - glib: Optimize
IntoGStrimpl forStringby simply appending a NUL-byte by @sdroege in #1016 - glib: implement WatchedObject for BorrowedObject by @jf2048 in #1017
- impl HasParamSpec on glib::Variant by @ranfdev in #1022
- strv: when calling g_strv ffi method, use our
as_ptrimplementation by @mbiggio in #1026 - glib: Add connect_notify* methods to SignalGroup by @melix99 in #1027
- pangocairo-sys: fix package.description in Cargo.toml by @decathorpe in #1031
- Add nullable attribute on properties macro by @ranfdev in #1023
- Add ValueDelegate macro by @ranfdev in #1000
- gio: add FileEnumerator::into_stream by @jf2048 in #1035
- glib: Only optimize
IntoGStrforStringwhen capacity allows by @jf2048 in #1034 - cairo: Surface::create_similar_image should return an ImageSurface by @tintou in #1036
- glib: Don't include the NULL terminator in the
IntoStrVslice by @sdroege in #1037 - Added subclassing support for gio::SocketControlMessage by @xanathar in #1039
- gio: Make ListStore::new() take a type parameter by @BrainBlasted in #1032
- Fixed unit tests under macOS and possibly other *nix flavors by @xanathar in #1038
- Value delegate improvements by @SeaDve in #1043
- glib: impl StaticType, FromValue, ToValue, HasParamSpec for Box
by @SeaDve in #1044 - Fix CI for rust 1.68 by @jf2048 in #1050
- glib: implement From<GStringPtr> for GString by @jf2048 in #1049
- Fix nightly clippy warnings by @bilelmoussaoui in #1051
- glib: Switch Priority to associated constants by @bilelmoussaoui in #1024
- Update gir files by @sdroege in #1053
- glib-macros: Don't assume edition=2021 by @bilelmoussaoui in #1056
- glib-macros: generate "From<Ident> for Value" on ValueDelegate by @SeaDve in #1055
- glib: Fix building for architectures without 64-bit atomics by @johan-bjareholt in #1057
- Implement bindings for g_win32 functions by @rmnscnce in #1042
- glib-macros: add docs on supported #[property] attributes by @SeaDve in #1062
- glib-macros: enable default features of syn by @decathorpe in #1065
- glib-macros: Specify quoted types explicitly by @felinira in #1068
- glib: Allow using
Path/PathBufinglib::Values by @sdroege in #1071 - glib-macros: Import ParamSpecBuilderExt inside the scope of DerivedObjectProperties::derived_properties by @rmnscnce in #1074
- glib: Fix inverted boolean conditions when deciding whether to reserve new space by @sdroege in #1076
- glib-macros: Disambiguate TryFrom
::Error for DerivedPropertiesEnum by @rmnscnce in #1077 - glib-macros: Strip raw identifier prefix from struct members for the Properties macro by @rmnscnce in #1079
- glib-macros: Strip out r# prefix from property names inside the GObject by @rmnscnce in #1081
- glib: Enable various smallvec features by @sdroege in #1083
- Fix various new Rust 1.69 clippy warnings by @sdroege in #1085
- Split new/with_type in a few more places by @jf2048 in #1086
- pango: Lower pkg-config version requirement for v1_52 by @bilelmoussaoui in #1087
- Update gir: Use docsrs attribute by @AaronErhardt in #1078
- Fix required features not shown in docs by @AaronErhardt in #1092
- properties: Allow to omit set for construct_only properties by @felinira in #1089
- Regenerate with latest gir by @bilelmoussaoui in #1091
- Update syn: v2.0 by @ranfdev in #1096
- Update rust-version = 1.65 by @ranfdev in #1099
- Upgrade http links to https in Cargo.toml by @Benjins-automation in #1101
- Clippy warnings by @sdroege in #1109
- Fix heap buffer overflow due to operator precedence by @saethlin in #1111
- strv: Implement From for constant GStr slices by @A6GibKm in #1114
- glib: Do not use ptr::offset/offset_from for private/impl offset by @heftig in #1115
- Add a std_once_cell feature by @A6GibKm in #1113
- ci: Update gvsbuild version by @mbiggio in #1123
- Regen with latest gir/gir-files by @bilelmoussaoui in #1124
- Update to bitflags2 by @bilelmoussaoui in #1125
- glib: Replace Continue with ControlFlow by @bilelmoussaoui in #1066
- glib: Remove Inhibit and replace it with ControlFlow by @bilelmoussaoui in #1126
- glib-macros: Add
use_derived_propertiesmacro by @yuraiz in #1127 - pango: Mark manual impls as such by @A6GibKm in #1129
- control flow: Fix logic in From implementation by @bilelmoussaoui in #1128
- Implement FromGlibPtrBorrow on boxed and shared-boxed types by @mbiggio in #1122
- Fix clippy lints by @GuillaumeGomez in #1130
- Use
--generate-link-to-definitionoption when generating documentation by @GuillaumeGomez in #1131 - Update MSRV to 1.70 by @sdroege in #1134
- Add retain method to ListStore by @ranfdev in #1133
- fixed missing 512 flag, renamed 256 to USER_0 by @happylinks in #1135
- Add support for NonZeroT types by @ranfdev in #1136
- Remove unused dependency by @Kijewski in #1137
- Don't generate unit tuple in clone macro as default-return value by @GuillaumeGomez in #1138
- Fix panic in gio InputStream by @ranfdev in #1140
- Update gir-files submodule & regen by @bilelmoussaoui in #1142
New Contributors
- @MathieuDuponchelle made their first contribution in #1005
- @tintou made their first contribution in [#
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.
⚠️ 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.20.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)