Releases: gtk-rs/gtk-rs-core
Releases · gtk-rs/gtk-rs-core
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
0.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
0.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
0.18.1
What's Changed
- glib: Re-introduce an event propagation specific type by @bilelmoussaoui in #1144
0.18.0
What's Changed
- param_spec: add ParamSpecEnumBuilder::default_value() by @gdesmott in #974
- glib: Add various
IntoStrV
impls by @sdroege in #977 - Implement Default trait for vectors by @yuraiz in #979
- Improve conversion errors for setters by @ranfdev in #986
- Make
WeakRef
andSendWeakRef
useable with theProperties
derive macro by @RealKC in #985 - properties: impl HasParamSpec for Vec 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
NULL
tog_list_store_find_with_equal_func_full()
by @sdroege in #1015 - glib: Optimize
IntoGStr
impl forString
by 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_ptr
implementation 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
IntoGStr
forString
when 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
IntoStrV
slice 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 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 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
/PathBuf
inglib::Value
s 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_properties
macro 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-definition
option 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
- @tint...
0.17.10
0.17.10
Ben Kimock:
- Fix heap buffer overflow due to operator precedence
Benji Smith:
- Upgrade plain-HTTP links to HTTPS in Cargo.toml files
Bilal Elmoussaoui:
- pango: Lower pkg-config version requirement for
v1_52
- gio: Add missing manual traits
Fina Wilke:
- glib-macros: Allow to omit set for
construct_only
properties - glib-macros: Update docs for the properties macro
construct_only
attribute
Jan Alexander Steffens (heftig):
- glib: Do not use
ptr::offset/offset_from
for private/impl offset
Maximiliano Sandoval R:
- glib: strv: Implement
From
for constantGStr
slices
Sebastian Dröge:
- Fix a couple of trivial clippy warnings
0.16.9
0.17.9
0.17.9
Paskal Sitepu:
- glib-macros: Strip out
r#
prefix from property names inside theGObject
- glib-macros: Add a test for the
Properties
macro where keywords are being used - glib-macros: Update the doc of the
Properties
macro to elaborate on usage of keywords as property names
Sebastian Dröge:
- glib: Enable various smallvec features
- Fix various new Rust 1.69 clippy warnings
- glib: Fix compiletest expected error output for Rust 1.69
0.17.8
0.17.8
Paskal Sitepu:
- glib-macros: Import
ParamSpecBuilderExt
inside the scope ofDerivedObjectProperties::derived_properties
- glib-macros: Disambiguate
TryFrom<usize>::Error
forDerivedPropertiesEnum
- glib-macros: Strip raw identifier prefix from struct members for the
Properties
macro
Sebastian Dröge:
- glib: Allow using
Path
/PathBuf
inglib::Value
s - glib: collections: Fix inverted boolean conditions when deciding whether to reserve new space
- glib: collections: Change early return to assertion in collection reserve functions