2019-03-03 Rico Tzschichholz Release 0.36.18 2019-02-28 Rico Tzschichholz girwriter: Always use get_gir_name() for TypeSymbols poppler-glib: Update to 0.74 girwriter: Support transfer-ownership="container" for arrays gobject-2.0: Add SignalHandler.disconnect_by_data() codegen: Respect array_length_cname attribute for global fields tests: Add regression test for modulo operation on double and float https://bugzilla.gnome.org/show_bug.cgi?id=610660 girparser: Correctly set array_length_type for delegates returning an array Fixes https://gitlab.gnome.org/GNOME/vala/issues/754 clutter-1.0: Drop deprecated from Actor.pick() The signal "pick" was deprecated with 1.12, but not the virtual method. Fixes https://gitlab.gnome.org/GNOME/vala/issues/625 vapi: Drop gdk-x11-3.0 from GIDL_BINDINGS gtk+-unix-print-*.0: Fix PrintJob.get_page_ranges(), Printer.get_hard_margins() gdk-3.0: Fix ownership of FrameClock.get_current_timings/get_timings() g-i: Fix return value on error in start_discriminator() vala: Parser doesn't ensure "protected" to be applied on TypeSymbol members Probably ObjectTypeSymbol should be enforced. vala: Check inferred variable_type of LocalVariables codegen: Replace some unfortunate asserts with internal error reports codegen: Properly handle and catch inner-error of finally-block If all inner-errors are caught there is no jump-out of the current finally- block therefore the control-flow analyzer is happy. To make this work the surrounding inner-error must not be used or changed here. Fixes https://gitlab.gnome.org/GNOME/vala/issues/742 codegen: Don't apply address-of operator on literals when casting to array Regression of 5f316333d6a803e4240b5cccc95a6abd2294137b https://bugzilla.gnome.org/show_bug.cgi?id=777194 girparser: Async methods don't allow out-parameters before in-parameters In vala out-parameters are always handled in the *_finish implementation and therefore are asynchronous. Report a warning for GIR sources where convert them to pointer-types to create usuable signatures for bindings. See https://gitlab.gnome.org/GNOME/vala/issues/636 clutter-1.0: Fix BindingPool.override_action() compiler: Report deprecated command-line option "--thread" libsoup-2.4: Fix Message.add_*_handler() by unhiding user_data parameter See https://gitlab.gnome.org/GNOME/vala/issues/731 codegen: Emit struct declaration typedef before resolving its fields This a regression when compiling a circular dependency of delegates with structs. Regression of 7adb3a45bb8d663c0cfca55af26b7e6f7292b14a See https://gitlab.gnome.org/GNOME/vala/issues/318 codegen: Use a parameter-map for creation of delegate declaration This is required to take instance_pos into account and will allow the error parameter to be put before the target (aka instance) in delegates. See https://gitlab.gnome.org/GNOME/vala/issues/728 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-02-28 Jiří Janoušek sqlite3: Correct return C type of Statement.column_text & Value.to_text 2019-02-28 Rico Tzschichholz 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-02-28 Alistair Thomas docs: Add a basic CONTRIBUTING.md file that links to the relevant Wiki page 2019-02-28 Rico Tzschichholz 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-02-28 Jiří Janoušek gio-2.0: Fix File.replace_contents_bytes_async() Closes https://gitlab.gnome.org/GNOME/vala/merge_requests/37 2019-02-28 Rico Tzschichholz 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 vala: Report invalid instance member access to property See https://gitlab.gnome.org/GNOME/vala/issues/605 codegen: Use temp-vars for ellipsis out-arguments to fix memory management Fixes https://gitlab.gnome.org/GNOME/vala/issues/722 poppler-glib: Update to 0.71