|
1 | 1 | # Change Log
|
2 | 2 |
|
3 | 3 | ## [Unreleased]
|
| 4 | + |
| 5 | +## [0.17.0] |
| 6 | + |
| 7 | +Aaron Erhardt: |
| 8 | +- glib-build-tools: Fix reporting of errors |
| 9 | + |
| 10 | +Alberto Ruiz: |
| 11 | +- gdk-pixbuf: check if either width/height is null before assignment in `animation_get_size()` |
| 12 | + |
| 13 | +Andrey Kutejko: |
| 14 | +- glib-build-tools: Do not hard-code path separator |
| 15 | + |
| 16 | +Bilal Elmoussaoui: |
| 17 | +- gio: `Make GioFuture` handle infallible futures |
| 18 | +- glib: Ignore useless new constant |
| 19 | +- glib: Implement more `From` traits for `StrV` |
| 20 | +- clippy: Drop/move certain lints guards |
| 21 | + |
| 22 | +Guillaume Gomez: |
| 23 | +- glib: Greatly improve compiler errors in `clone!` proc macro |
| 24 | +- glib: Add span info into `clone!` UI tests |
| 25 | + |
| 26 | +Jason Francis: |
| 27 | +- glib: `impl From<T> for Variant` to move into variants |
| 28 | +- gio: use `Into<Variant>` for `SettingsExtManual::set` |
| 29 | +- add `impl From<T> for Value` for manually implemented types |
| 30 | +- glib: use `Into<Value>` instead of `ToValue` when possible |
| 31 | +- glib-sys: ignore some unsupported types |
| 32 | +- sys: add a few extra preprocessor bits to fix abi tests |
| 33 | +- gio: support sending/receiving socket control messages |
| 34 | +- gio: implement `DatagramBased` |
| 35 | +- gio: implement output stream `writev` methods |
| 36 | +- gio: support `writev` in stream impls for `io::Write`, `AsyncWrite` |
| 37 | +- cairo: fix some misc warnings |
| 38 | +- glib: remove unsafe from `SourceId::as_raw` |
| 39 | +- glib: support return values and catching panics in `spawn`/`spawn_local` |
| 40 | +- glib: catch panics in `ThreadPool` push methods |
| 41 | +- gio: add `spawn_blocking` |
| 42 | +- gio: fix clippy lints for rust 1.64 |
| 43 | +- glib: Add `#[inline]` to more `GString` trait methods |
| 44 | +- glib: implement `Display for GStr` |
| 45 | +- glib: rename `GStr::to_byte`s to `as_bytes` |
| 46 | +- glib: refactor `GStr` and `GString` constructors |
| 47 | +- glib: bump required Rust version to 1.64 |
| 48 | +- glib: make some `GStr` methods `const` |
| 49 | +- glib: have `ToGlibPtr` check interior string nuls in debug mode |
| 50 | +- glib: add more `From` implementations for `GString` |
| 51 | +- glib: add `ToGlibPtr` implementations for more string types |
| 52 | +- glib: add `GStringBuilder::as_gstr` and `AsRef<GStr>` |
| 53 | +- glib: add `gformat!` for directly formatting into a `GString` |
| 54 | +- glib: add `IntoGStr` traits |
| 55 | +- glib: allow `GString` to store small inline strings |
| 56 | +- glib: convert some functions to use `IntoGStr` |
| 57 | +- gio: bind `GFileDescriptorBased` |
| 58 | +- glib: use `strcmp` for `GStringPtr` comparisons |
| 59 | +- glib: add `GStr::from_ptr_checked()` |
| 60 | + |
| 61 | +Matteo Biggio: |
| 62 | +- glib: implement `ToGlibPtr<*mut _>` for boxed types |
| 63 | + |
| 64 | +Maximiliano Sandoval R: |
| 65 | +- gio: application: Return `ExitCode` |
| 66 | + |
| 67 | +Mițca Dumitru: |
| 68 | +- glib: Bind more `g_utf8` APIs |
| 69 | +- build-tools: Allow passing multiple source dirs to `compile_resources` |
| 70 | + |
| 71 | +Paolo Borelli: |
| 72 | +- gio: `ActionEntry`: take proper types instead of strings |
| 73 | +- gio: `SimpleAction`: take state by value |
| 74 | +- glib-macros: Suggest kebab-case for the error domain in error domain derive macro |
| 75 | +- gio: simplify async initable |
| 76 | +- Bump MSRV to 1.64 everywhere |
| 77 | +- glib-build-tools: fix documentation link |
| 78 | +- gio: use `StrV` for the simple proxy resolver API |
| 79 | +- gio: use `StrV` for `TlsConnection` |
| 80 | +- pango: use the new List api to simplify `reorder_items` |
| 81 | +- gio: settings: implement strv setter and getter manually |
| 82 | +- gio: use `StrV` for the `file_info` API |
| 83 | +- gio: use `GStr` for the manual extension point implementation |
| 84 | +- glib: list: mark as transparent and impl TransparentPtr |
| 85 | +- glib: Rename `StrVItem` to `GStrPtr` and make it clonable and transparent |
| 86 | +- glib: `key_file`: return `PtrSlice<GStrPtr>` |
| 87 | +- glib-macros: further tweak docs |
| 88 | +- glib: Rename `GStrPtr` to `GStringPtr` |
| 89 | +- glib: `GStringPtr`: remove `impl AsRef`, provide explicit `to_gstr()` and `to_str()` |
| 90 | +- glib: strv: make `as_slice` const |
| 91 | +- gio: implement `FromIterator` for `ListStore` |
| 92 | +- glib-macros: move the test foo object out of the unit test function |
| 93 | +- glib: properties: accept `default = value` attribute |
| 94 | +- glib-macros: support overrides in the properties macro |
| 95 | +- gio: make` ListModel::iter()` infallible |
| 96 | + |
| 97 | +Sebastian Dröge: |
| 98 | +- ci: Add 0.16 release |
| 99 | +- glib: Add a getter for `ObjectBuilder::type_` |
| 100 | +- glib: Add `ObjectSubclass::obj()` as a shorter alias for `instance()` |
| 101 | +- glib: Add unsafe bindings to `g_object_run_dispose()` |
| 102 | +- Move from `imp.instance()` to `imp.obj()` |
| 103 | +- pango: Make `pango::Language::from_string()` infallible |
| 104 | +- glib: Document the value guarantees for `ObjectImpl::set_property()` and `property()` |
| 105 | +- pango: Autogenerate `Language::get_preferred()` |
| 106 | +- glib/gio: Add `v2_76` feature |
| 107 | +- cairo: Update to freetype 0.32 |
| 108 | +- glib: Implement `IntoGlibPtr` for `Option<T>` |
| 109 | +- glib: Add `function_name!` macro and make use of that for `glib::BoolError` |
| 110 | +- glib: Use actual function name for structured logging and also log source file/line number |
| 111 | +- glib: Implement `From<&GStr>` and `From<GString>` for `Cow<GStr>` |
| 112 | +- glib: Add `GStr::from_ptr_lossy()` and `GString::from_ptr_lossy()` |
| 113 | +- glib: Fix docs typo |
| 114 | +- glib: Implement `GStringBuilder` as `BoxedInline` to avoid a useless additional heap allocation |
| 115 | +- glib: `GStringBuilder` by construction always returns an UTF-8 string and never a NULL pointer |
| 116 | +- glib: Micro-optimize `GStringBuilder` construction to have fewer function calls |
| 117 | +- Group imports and use prelude |
| 118 | +- Fix various new beta clippy warnings |
| 119 | +- Use `PhantomData` as `Stash::Storage` if nothing has to be stored except for a lifetime |
| 120 | +- glib: Don't create a temporary copy of `&GStr` for `ToGlibPtr::to_glib_none()` |
| 121 | +- glib: Optimize `[Type]::to_glib_none()` to not have an additional heap allocation |
| 122 | +- glib: Only use a single temporary `Vec` for `[T]::to_glib_none()` |
| 123 | +- glib: Make sure to keep the original values alive in `[T]::to_glib_none()` |
| 124 | +- glib: Remove useless `UserDirectory::NDirectories` enum variant |
| 125 | +- gio: Use `OsStr::to_str()` instead of `OsString::into_string()` to avoid unnecessary heap allocations |
| 126 | +- glib: Assert immediately after type registration that the returned type is valid |
| 127 | +- Inline various trivial functions |
| 128 | +- Change some assertions to debug assertions |
| 129 | +- glib: Add new marker traits for transparent types |
| 130 | +- glib: Simplify `as_ptr()` implementation and add new function to borrow values from pointers directly |
| 131 | +- glib: Make `glib::PtrSlice` API more complete and similar to `Vec` |
| 132 | +- glib: Remove a couple of unnecessary trait impls for `glib::ObjectRef` |
| 133 | +- glib: Use plain `g_malloc()` instead of `g_malloc0()` if we initialize the result anyway |
| 134 | +- glib: Optimize `ToGlibPtrFromSlice` impls for shared/boxed/object/boxed-inline |
| 135 | +- glib: Make `glib::Slice` API more complete and similar to `Vec` |
| 136 | +- glib: Add zero-copy conversion from `PtrSlice` to `Slice` and back |
| 137 | +- glib: Make `glib::SList` and `glib::List` API more complete and similar to `LinkedList` |
| 138 | +- glib: Implement `glib::StrV` for `NULL`-terminated string arrays |
| 139 | +- glib: Minor optimization for `List`/`SList` with `Copy` types |
| 140 | +- glib: Remove unnecessary forwarding of attributes in `glib::wrapper!` for `BoxedInline` |
| 141 | +- glib: Fix `glib::wrapper!` for `BoxedInline` with generic parameters |
| 142 | +- glib: Remove an unnecessary `FromGlibContainerAsVec` impl |
| 143 | +- glib: Optimize various from/to `Vec` FFI translation functions |
| 144 | +- glib: Use `IntoGlibPtr` instead of `to_glib_full()` in more places |
| 145 | +- glib: Fix `IntoGlibPtr` implementation for `BoxedInline` |
| 146 | +- glib: Return a reference to the `ValueArray` pspec element spec |
| 147 | +- glib: Get rid of some unnecessary `Option` wrapping |
| 148 | +- glib: Add `Value::from_type_unchecked()` |
| 149 | +- Use `Value::from_type_unchecked()` where applicable |
| 150 | +- glib: Use `IntoGStr` trait in a couple of places |
| 151 | +- glib: Fix usage of `gformat!` macro if `GString` is not in scope |
| 152 | +- glib: Add `MainContext::spawn_from_within()` for spawning non-`Send` futures from another thread |
| 153 | +- gdk-pixbuf: Trust return value nullability |
| 154 | +- glib: Add `ParamSpec::is()` helper function |
| 155 | +- glib: Deprecate paramspec `new()` functions in favour of the builder |
| 156 | +- glib: Deprecate `ObjectSubclass::instance()` / `from_instance()` in favour of the shorter versions |
| 157 | +- glib: Make `ObjectBuilder` a bit more efficient |
| 158 | +- glib: Implement enum paramspec builder variant that builds the default value automatically |
| 159 | +- glib: Add new object constructor for constructing an object with default property values |
| 160 | +- glib: Implement `From<&String> for GString` |
| 161 | +- glib: Deprecate suboptimal `Object` constructors |
| 162 | +- Stop usage of deprecated constructor functions |
| 163 | +- gio: Make `(Async)InitableBuilder` public |
| 164 | +- glib: Implement various traits on `GStr` manually |
| 165 | +- gio: Make sure to have `IntoStrV` in scope for `v2_60` too |
| 166 | +- glib: Manually implement `TimeZone::adjust_time()` instead of ignoring it |
| 167 | +- ci: Only deny clippy warnings with stable clippy |
| 168 | +- glib: Rename `Object::new_default()` to `Object::new()` and remove deprecated API |
| 169 | +- gdk-pixbuf: Return a `Option<Duration>` from `AnimationIter::delay_time()` |
| 170 | +- gdk-pixbuf: Use `SystemTime` instead of `Duration` for `PixbufAnimation::iter()` and `PixbufAnimationIter::advance()` |
| 171 | +- gdk-pixbuf: Ensure that `transfer-none` return values in subclassing are staying alive long enough |
| 172 | +- gio: Don't require a `'static` `&str` in `File::enumerate_children_async()` and `enumerate_children_future()` |
| 173 | +- glib: Add `NULL` debug assertion to `from_glib_full()` and others for GObjects |
| 174 | + |
| 175 | +YuraIz: |
| 176 | +- ci: Enable introspection |
| 177 | +- ci: Install gobject-introspection-devel into image |
| 178 | + |
| 179 | +ranfdev: |
| 180 | +- glib: Add a `#[properties]` derive macro |
| 181 | +- glib: Remove `construct_cell`, too experimental |
| 182 | +- glib-macros: Improve doc about `Boxed` |
| 183 | +- glib: properties: Update syntax for custom flags and other builder fields |
| 184 | +- glib: properties: infer inline get type |
| 185 | +- glib: properties: `impl Parse` for `ReceivedAttrs` |
| 186 | +- glib: properties: improve errors of missing properties, refactor |
| 187 | + |
| 188 | +## [0.16.7] |
| 189 | + |
| 190 | +Paolo Borelli: |
| 191 | +- examples: spawn async gio task on the current thread context |
| 192 | + |
| 193 | +Sebastian Dröge: |
| 194 | +- Fix various new beta clippy warnings |
| 195 | + |
| 196 | +## [0.16.6] |
| 197 | + |
| 198 | +Bilal Elmoussaoui: |
| 199 | +- gio: Add a `GioInfallibleFuture` |
| 200 | + |
| 201 | +Sebastian Dröge: |
| 202 | +- glib: Implement `IntoGlibPtr` for `Option<T>` |
| 203 | +- glib: Implement `From<&GStr>` and `From<GString>` for `Cow<GStr>` |
| 204 | +- glib: Fix docs typo |
| 205 | + |
| 206 | +## [0.16.5] |
| 207 | + |
| 208 | +Bilal Elmoussaoui: |
| 209 | +- pango: Auto generate `Language` |
| 210 | +- pango: Manually implement `Language::to_string()` & `Language::default()` |
| 211 | + |
| 212 | +Sebastian Dröge: |
| 213 | +- pango: Make `pango::Language::from_string()` infallible |
| 214 | + |
| 215 | +ranfdev: |
| 216 | + - glib: Add `CastNone` trait |
| 217 | + |
| 218 | +## [0.16.4] |
| 219 | + |
| 220 | +Bilal Elmoussaoui: |
| 221 | +- gdk-pixbuf: Add `PixbufAnimation` subclassing support |
| 222 | +- gdk-pixbuf: Correct `PixbufAnimationIter` definition |
| 223 | +- gdk-pixbuf: Add `PixbufAnimationIter` subclassing support |
| 224 | +- gdk-pixbuf: Add `PixbufLoader` subclassing support |
| 225 | + |
| 226 | +Colin Walters: |
| 227 | +- glib: Add a doc string for `as_ptr` generated impls |
| 228 | + |
| 229 | +Jason Francis: |
| 230 | +- glib: fix undefined behavior in `types::register_type()` |
| 231 | +- ci: update windows CI to glib 2.74 |
| 232 | + |
| 233 | +Sebastian Dröge: |
| 234 | +- glib: Document the value guarantees for `ObjectImpl::set_property()` and `property()` |
| 235 | + |
| 236 | +## [0.16.3] |
| 237 | + |
| 238 | +Aaron Erhardt: |
| 239 | +- image: Rebuild once every week |
| 240 | + |
| 241 | +Colin Walters: |
| 242 | +- gio: Implement `g_cancellable_set_error_if_cancelled()` manually to work |
| 243 | + around non-standard `GError` behaviour |
| 244 | + |
| 245 | +Guillaume Gomez: |
| 246 | +- Fix clippy lints |
| 247 | + |
| 248 | +Jason Francis: |
| 249 | +- glib: fix more clippy lints for rust 1.66 |
| 250 | +- glib: update compiletest output errors for rust 1.65 |
| 251 | + |
| 252 | +Sebastian Dröge: |
| 253 | +- Move all code from `imp.instance()` to `imp.obj()` |
| 254 | +- gio: Require glib 0.16.2 for `ObjectSubclass::obj()` |
| 255 | + |
| 256 | +## [0.16.2] |
| 257 | + |
| 258 | +Bilal Elmoussaoui: |
| 259 | +- gio: Add helpers for setting `SettingBinding` flags |
| 260 | +- glib: Fix docs links |
| 261 | +- gio: Add `set_only`/`get_only` helpers to `BindingBuilder` |
| 262 | + |
| 263 | +Sebastian Dröge: |
| 264 | +- glib: Add `ObjectSubclass::obj()` as a shorter alias for `instance()` |
| 265 | +- glib: Add unsafe bindings to `g_object_run_dispose()` |
| 266 | + |
| 267 | +anteater: |
| 268 | +- Correct outdated references to `subclass::simple` |
| 269 | + |
| 270 | +## [0.16.1] |
| 271 | + |
| 272 | +Bilal Elmoussaoui |
| 273 | +- glib: Add helpers for setting property binding flags |
| 274 | +- cairo: Fix rectangle getter |
| 275 | + |
| 276 | +Sebastian Dröge |
| 277 | +- glib: Add a getter for `ObjectBuilder::type_` |
| 278 | +- glib: Add `ObjectSubclass::obj()` as a shorter alias for `instance()` |
| 279 | + |
0 commit comments