2019-01-19 Rico Tzschichholz Release 0.43.5 2019-01-18 Corentin Noël valadoc: Specify that the "--driver" option is deprecated Fixes https://gitlab.gnome.org/GNOME/vala/issues/736 2019-01-18 Rico Tzschichholz compiler: Report deprecated command-line option "--thread" 2019-01-17 Rico Tzschichholz glib-2.0: Add Queue.clear_full() since 2.60 2019-01-16 Rico Tzschichholz vapi: Update GIR-based bindings gtk+-4.0: Update to 3.94.0+9b15c690 gdk-3.0,gtk+-3.0: Update to 3.24.3+9c8f1478 gstreamer: Update from 1.15+ git master 2019-01-15 Rico Tzschichholz vala: Multiple lamdba arguments in method call should all use closure scope This does not enable proper support for delegates sharing a data argument, but allows this special case. See https://gitlab.gnome.org/GNOME/vala/issues/59 codegen: Use get_ccode_*name/get_parameter_cexpression() for Parameters codegen: Remove CCodeBaseModule.get_result_cexpression() codegen: Simplify get_*_cexpression() and split out get_cexpression() codegen: Check reserved_identifiers in CCodeAttribute.get_default_name() This is a step for wider usage of get_ccode_name() on variables 2019-01-14 Rico Tzschichholz codegen: Only set "sentinel" CCode attribute for node if requested This should restrict this being set only on Method nodes. codegen: Don't evaluate "pos" CCode attribute early codegen: Simplify some code around get_ccode_delegate_target() invocations codegen: Handle "delegate_target" as proper CCode attribute Check if the given variable actually denotes to a delegate type which accepts a target parameter. codegen: Rely on get_ccode_delegate_target() for delegate variables only codegen: Use get_ccode_delegate_target_name() for fields Replace get_delegate_target_destroy_notify_cname (get_ccode_name (...)) codegen: Add "destroy_notify_cname" CCode attribute and the corresponding helper get_delegate_target_destroy_notify_cname() codegen: Use copies of error_variable of catch-clauses for nested usage Calling visit_local_variable() multiple times on the same instance of a LocalVariable causes issues. 2019-01-13 Rico Tzschichholz libsoup-2.4: Fix Message.add_*_handler() by unhiding user_data parameter See https://gitlab.gnome.org/GNOME/vala/issues/731 codegen: Don't add data parameter for "instance_init" of compact classes See b5260359255637d77ebc367d26c853ac6459f67d 2019-01-12 Rico Tzschichholz vala: Allow direct access to the integer constants of an error-domain Fixes https://gitlab.gnome.org/GNOME/vala/issues/732 2019-01-11 Rico Tzschichholz codegen: Include "stddef.h" in CCodeBaseModule.destroy_value() (POSIX) Fixes https://gitlab.gnome.org/GNOME/vala/issues/730 codegen: Set owner for ValaDestroyNotify (POSIX) Fixes https://gitlab.gnome.org/GNOME/vala/issues/730 2019-01-10 Rico Tzschichholz 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 vapi: Regenerate GIR-based bindings to fix non-standard error position Fixes https://gitlab.gnome.org/GNOME/vala/issues/265 girparser: Recognize error parameter before delegate target parameter Fixes https://gitlab.gnome.org/GNOME/vala/issues/265 codegen: Add "error_pos" CCode attribute and use it as needed This makes it possible to use non-standard error parameter positions within the vala source. Fixes https://gitlab.gnome.org/GNOME/vala/issues/728 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 2019-01-09 Rico Tzschichholz gdk-pixbuf-2.0: Make PixbufSaveFunc usable This delegates does place its target at the end, where vala expects the error parameter. Vala does not support that at this point. See https://gitlab.gnome.org/GNOME/vala/issues/728 atspi-2: Drop superfluous Atspi-2.0-custom.vala atk: Drop superfluous metadata atk: Don't use a custom SignalEmissionHook while it is part of gobject-2.0 2019-01-08 Rico Tzschichholz vala: Async methods don't allow out-parameters before in-parameters out-parameters are always handled in the *_finish implementation and therefore are asynchronous. Report an error for occurances in source and a warning for GIR sources where convert them to pointer-types to create a usuable signature for bindings. Fixes https://gitlab.gnome.org/GNOME/vala/issues/636 gio-2.0: Make DBusInterface[GS]etPropertyFunc usable These delegates don't place their target at the end, but their error parameter. Vala does not support that at this point. Introduced with 1df2c050ba29c84026a14e7ee23fa6bcd00b1044 See https://gitlab.gnome.org/GNOME/vala/issues/728 gio-2.0: Drop superfluous metadata gio-2.0: Use only metadata for DBusConnection.send_message_with_reply() gio-2.0: Use metadata for SocketConnection.factory_create_connection() gio-2.0: Add CancellableSource ctor and update PollableSource ctors 2019-01-07 Rico Tzschichholz vala: Use dedicated error message for assignments to literals