2019-01-06 Rico Tzschichholz Release 0.43.4 glib-2.0: Add RecMutexLocker since 2.60 valadoc: Update API tests valadoc: Drop duplicated code to add source files and use CodeContext API gobject-2.0: Minor syncing from GIR gdbus: Cast instance and result of g_async_initable_new_finish() call This will silence those incompatible-pointer-types warnings 2019-01-05 Jiří Janoušek sqlite3: Correct return C type of Statement.column_text & Value.to_text 2019-01-05 Rico Tzschichholz codegen: Add missing data parameter to GTypeInfo callbacks Found by -Werror=cast-function-type gdbus: Properly set annotations field of GDBus*Info struct to NULL Found by -Werror=missing-field-initializers tests: Extend "DBus errors" tests to increase coverage 2019-01-05 Alistair Thomas docs: Add a basic CONTRIBUTING.md file that links to the relevant Wiki page 2019-01-05 Rico Tzschichholz gtk+-4.0: Update to 3.94.0+4404afc9 gtk+-3.0: Update to 3.24.2+a8e07254 vapi: Update GIR-based bindings gstreamer: Update from 1.15+ git master codegen: Don't check boolean values for (in)equality in GTask API This resolves any value but 0 to true as it is suppose to be. /* invalid */ if (condition == TRUE) do_foo (); /* valid */ if (another_condition) do_bar (); See https://gitlab.gnome.org/GNOME/glib/issues/1636 2019-01-04 Rico Tzschichholz tests: Fix try_parse() tests to not compare to already free'd memory Found with valgrind codegen: Cast instance parameter for property access in object-initializer This will silence those incompatible-pointer-types warnings 2019-01-03 Jiří Janoušek gio-2.0: Fix File.replace_contents_bytes_async() Closes https://gitlab.gnome.org/GNOME/vala/merge_requests/37 2019-01-02 Rico Tzschichholz Drop leftover deprecated syntax support of += and -= for dynamic signals See https://gitlab.gnome.org/GNOME/vala/issues/676 vala: Drop unused Enum.remove_all_values() libvaladoc: Skip empty Version.replacement attribute to avoid critical gobject-2.0: Use correct array-length-type for returned arrays glib-2.0: Use correct array-length-type for returned arrays As usual length is returned by an implicit out-parameter where the provided target variable must have a matching data type. Discovered by -fstack-protector-all See https://gitlab.gnome.org/GNOME/gitg/issues/171 2019-01-01 Rico Tzschichholz codegen: Always use ccode attribute for ref/unref/free function names 2018-12-31 Rico Tzschichholz vala: Report invalid instance member access to property See https://gitlab.gnome.org/GNOME/vala/issues/605 2018-12-30 Rico Tzschichholz codegen: Add default_value for CType to initialize variables if needed Fixes https://gitlab.gnome.org/GNOME/vala/issues/724 2018-12-27 Rico Tzschichholz build: Don't leak libvalaccode symbols to libvaladoc 2018-12-26 Rico Tzschichholz codegen: Use temp-vars for ellipsis out-arguments to fix memory management Fixes https://gitlab.gnome.org/GNOME/vala/issues/722 codegen: Use temp-var for MethodCall with out/ref arguments Checking arguments of a MethodCall expression is required for varidic methods where checking parameters isn't sufficient. Doing this makes looking for out/ref parameters superfluous. Fixes https://gitlab.gnome.org/GNOME/vala/issues/722 2018-12-20 Rico Tzschichholz vala: Allow explicit interface methods to be virtual codegen: Use properly checked implicit interface implementations Collect implicit interface implementations in AST and avoid doing the same checks twice. This caused double vfunc assignments if an implementation is provided while a method with the same name is available in prerequisite class. See https://bugzilla.gnome.org/show_bug.cgi?id=536863 and https://bugzilla.gnome.org/show_bug.cgi?id=652098 Fixes https://gitlab.gnome.org/GNOME/vala/issues/548 vala: Search in all interfaces for an implementation match and don't bail early The first imcompatible method match doesn't mean there is no match for another interface. This might mean an implementation is missing which will be covered by the semantic check of the parent class. Fixes https://gitlab.gnome.org/GNOME/vala/issues/548 vala: No need to look further if an implementations was found vala: Don't just guess and check for a matching base_interface_method too This fixes class with multiple interfaces which require implementations of methods with conflicting naming while the explicit interface-type reference is not present yet. Extend the present test-case for runtime checking. This will still silently connect matching base-class methods as before as introduced in e1a3ff9470763e7c6ff5a887036390bd418f4e46 Fixes https://gitlab.gnome.org/GNOME/vala/issues/548 vala: Add Method.compatible_no_error() vala: Allow get_actual_type() to be used for expected failures If the passed node_reference is null there won't be any error reporting. The resovled DataType will be an InvalidType on errors as usual. vala: Add GenericType.get_actual_type() 2018-12-18 Rico Tzschichholz vapi: Update GIR-based bindings gtk+-4.0: Update to 3.94.0+a99bd2a4 gtk+-3.0: Update to 3.24.2+eb821cb8 gstreamer: Update from 1.15+ git master webkitgtk-4.0: Update to 2.23.1 poppler-glib: Update to 0.71 2018-12-16 Rico Tzschichholz vala: Array with fixed length don't require explicit instantiation Fixes https://gitlab.gnome.org/GNOME/vala/issues/720 tests: Warnings and criticals should be fatal on compile time too testrunner: Warnings and criticals should be fatal on compile time too