2021-03-18 Rico Tzschichholz Release 0.50.5 webkit2gtk-4.0: Update to 2.31.91 vapi: Fix a couple of attribute typos gio-2.0: Add some missing NoWrapper and CCode.has_typedef attributes girparser: Add support for NoWrapper metadata for methods codegen: Include "glib.h" for deprecated symbols (GOBJECT) It is required for G_GNUC_DEPRECATED in declarations of enums, delegates, methods, property accessors and structs. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1155 gtk4-unix-print: Switch to gir Use a temporary symlink to Gtk-4.0.gir which includes the required symbol defintions. girparser: Handle empty "" element and report an error gtk4: Update to 4.1.2 linux: Provide Input.Event.input_event_sec/input_event_usec fields Mark Input.Event.time as deprecated See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f Fixes https://gitlab.gnome.org/GNOME/vala/issues/1152 vala: Improve error for incompatible expressions in conditional expression girparser: Allow overriding of "Compact" attribute for classes gtk4: Add Gtk.INVALID_LIST_POSITION Fixes https://gitlab.gnome.org/GNOME/vala/issues/1151 gsl: Fix some binding errors gnutls: Fix some binding errors 2021-03-13 Rico Tzschichholz gtk4: Update to 4.1.1+fe45f283 libwnck-3.0: Update to 3.36.0 vala: Replace all type parameter occurances in parameters for signal delegate Improves 36999b5ffd63cc56a8648791b02bf07e7da88077 codegen: Drop inner casts before converting between generics and integers Found by -Wpointer-to-int-cast codegen: Don't add generics arguments/parameters to async finish method codegen: Don't ever create null-aware free macro for GenericType tests: Add "string concat" test for POSIX to increase coverage codegen: Fix access to captured generics in async method of interfaces Fixes https://gitlab.gnome.org/GNOME/vala/issues/537 codegen: Use the one available source_reference for internal error This will at least provide some pointer to where things are going wrong. In addition to 837d593e00d1a3ca8a6f2d13fb1514bed7672965 See https://gitlab.gnome.org/GNOME/vala/issues/436 codegen: Free intermediate temp-variables of postcondition expression and not clearing "temp_ref_values" caused invalid references later. Fixes https://gitlab.gnome.org/GNOME/vala/issues/80 codegen: Report error for missing type-arguments of HashTable (de)serialization Fixes https://gitlab.gnome.org/GNOME/vala/issues/1147 vala: Check (optional) type-arguments of array creation expression vala: Check array type of declarations for errornous type-arguments vala: Move type-argument/-parameter count check to DataType.check_type_arguments() gio-2.0: Add some missing type-arguments glib-2.0: Add some missing type-arguments vala: Add missing null-check in DataType.get_type_signature() If an instance struct field can not be resolved to a valid type-signature then bail. This fixes criticals like: g_string_insert_len: assertion 'len == 0 || val != NULL' failed gdbus: Don't leak memory of deserialized arguments on error in wrapper method Found by -fsanitize=address gtk4: Update to 4.1.1+f8f90d85 vala: Fix ownership inheritance of "unowned var" in foreach statement tests: Add more "gir" tests to increase coverage testrunner: Include Gio-2.0/gio-2.0 for GIR tests too codegen: Inherit GType from base struct of SimpleType structs GValue functions and marshaller type are inherited from base structs already. This avoids invalid C code which referenced an unavailable GType. tests: Add more "gir" tests to increase coverage Regenerate GIR-based bindings to pick up missing class methods girparser: Evaluate "glib:type-struct" twice to pick up reparented structs codegen: "_first_array" parameter for params-array is variadic too Not following this resulted in mismatching signature assumptions between caller and callee if the callable throws an error. tests: Extend "pre-post increment" test to increase coverage tests: Add some tests to increase coverage vala: Fix build with valac < 0.44 vala: Report warning if --target-glib=auto was not evaluated successfully and don't try to process the valid "auto" string any further. codegen: More use of get_ccode_type_name() Regenerate GIR-based bindings to pick up missing type_cname attributes girparser: Reuse populated Node.gtype_struct_for instead of resolving again This fixes the discovery of non-default type_cname for re-parented symbols. Correct Bindings NEWS for 0.50.4