2021-01-11 Rico Tzschichholz Release 0.40.25 2021-01-09 Rico Tzschichholz codegen: Fix assignment of casted struct value to property Usage of address-of operator requires lvalue access. Therefore use a temporary variable to be passed to property setter. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1126 2021-01-03 Rico Tzschichholz tests: Add "gtktemplate" test to increase coverage Backported from 0.48 tests: Add "fast-vapi" test to increase coverage Backported from 0.48 gio-2.0: Fix DBusSubtreeIntrospectFunc binding tests: Add "string switch" test to increase coverage tests: Add more "array field initializer" tests to increase coverage codegen: Don't leak memory on internal value comparison of property setter codegen: Don't leak memory of already assigned out-parameter on error Fixes https://gitlab.gnome.org/GNOME/vala/issues/1123 codegen: Use CCodeInvalidExpression instead of place holders tests: Add "array creation" tests to increase coverage vala: Ownership transfer of inline-allocated array is not allowed Fixes https://gitlab.gnome.org/GNOME/vala/issues/931 2021-01-03 Ulrich Küttler vala: SliceExpression need to return heap-allocated or unowned references Fixes https://gitlab.gnome.org/GNOME/vala/issues/1120 2021-01-03 Rico Tzschichholz vala: value_type of PointerIndirection expressions must not be owned A member-access making the wrong assumption of a previous copy resulted in a double free. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1118 vala: Add missing TraverseVisitor.visit_addressof_expression() webkit2gtk-4.0: Update to 2.30.3 2021-01-03 Chris White gstreamer-1.0: Fix direction of Gst.Iterator.fold() ret parameter See https://gitlab.gnome.org/GNOME/vala/issues/1014 gstreamer-1.0: Fix direction of GLib.Value typed parameters Use `out` for functions that take an uninitialized GLib.Value. Use `ref` for functions that take a GLib.Value initialized with a particular type. Remove unused Gst.ControlBindingConvert Note that the destination is nullable, but not expressly marked as such, in gst_value_intersect, gst_value_subtract and gst_message_parse_property_notify. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1014 2021-01-03 Rico Tzschichholz vala: Report an error if gio-2.0 is missing for DBus support manual: Update from wiki.gnome.org tests: Add "translated string constant" test to increase coverage tests: Add "constructor with inner error" test to increase coverage tests: Add more "delegate" tests to increase coverage 2021-01-03 Arne Hoch linux: Add missing struct in cname for Spi.IocTransfer There is no typedef, so "struct spi_ioc_transfer" needs to be used. 2021-01-03 Rico Tzschichholz vapigen: Avoid superfluous cast 2021-01-03 Reuben Thomas posix: Add freopen binding, as FILE.reopen() 2021-01-03 Rico Tzschichholz glib-2.0: Improve GenericArray.length property 2021-01-03 Corentin Noël codegen: Report internal error for unsupported collection type in foreach glib-2.0: Add GenericArray.find_custom() as variant of find_with_equal_func() This allows the needle to be a different type as the actual element type. The implementation of ArraySearchFunc is more customizable this way. 2021-01-03 Rico Tzschichholz vala: Use DataType.compatible() to check for string concatenation Make the checks match the ones performed by the code-generator to prevent invalid c-code to be created. See https://gitlab.gnome.org/GNOME/vala/issues/1100 libvaladoc/girimporter: Skip "docsection" elements in See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226 curses: Correctly use [PrintfFormat] attribute vala: CodeNode.source_reference is optional, so let the API respect that codegen: Update outdated array _size_ variable of captured local-variable Fixes https://gitlab.gnome.org/GNOME/vala/issues/1090 2021-01-03 Reuben Thomas glib-2.0: Add return codes to FileStream.putc/puts(), like posix The corresponding C functions return a status code; make the GLib types the same as the Posix types. This gives these functions the correct type signature for use where a putc-like function is required. 2021-01-03 Rico Tzschichholz alsa: Fix PcmDevice.set_poll_descriptors_revents() binding Fixes https://gitlab.gnome.org/GNOME/vala/issues/1092 vala: Allow markup-reader to accept spaces around '=' of attribute assignment gio-2.0: Fix binding of Resolver.lookup_service*() codegen: Don't use inferred type for temp-value to access generic property Fixes https://gitlab.gnome.org/GNOME/vala/issues/1088 libvaladoc: Don't filter-out generic type-parameters of delegates 2021-01-03 Reuben Thomas doc/vala-gen-introspect.1: fix a typo 2021-01-03 Rico Tzschichholz posix: Declare fstat, stat, lstat and fstatat as public Fixes https://gitlab.gnome.org/GNOME/vala/issues/1086 rest-0.7: Fix ParamsIter.next() binding Thanks to Rasmus Thomsen vala: Issue an error on void initializer for local-variable Don't use broken and unsupported cast expression as statement