2018-11-07 Rico Tzschichholz Release 0.40.11 gtk+-4.0: Update to 3.94.0+b4b30b49 gio-2.0: Result of DBusMessage.get_header() is unowned 2018-11-07 Alistair Thomas glib-2.0: Add array length to string.skip Fixes https://gitlab.gnome.org/GNOME/vala/issues/695 2018-11-05 Rico Tzschichholz codegen: Add prototype for *_new() of abstact compact classes Found with -Werror=missing-prototypes codegen: Don't emit *_free() of derived compact classes Found with -Werror=missing-prototypes codegen: Add prototype for *_register_type() function Found with -Werror=missing-prototypes vala: Fix TokenType.HASH.to_string() codegen: Initialize internal temp-variables used as reference parameter When casting Variant to multi-dimensional arrays the length fields are used as out-parameters and needs to be initialized. They are not guaranteed to be all set in _variant_get*() in this case. Fixes tests with -Werror=maybe-uninitialized glib-2.0: Add binding for g_test_add() Fixes https://gitlab.gnome.org/GNOME/vala/issues/524 2018-11-05 Ali Sabil codegen: Fix regex literal compile flags The GRegex GRegexCompileFlags were declared as GRegexMatchFlags, leading to a C compiler warning. 2018-10-30 Rico Tzschichholz glib-2.0: Computing length once is enough in string.to_utf8()/splice() tests: Add more string method tests tests: Make "/errors/errors" test fatal manual: Update from wiki.gnome.org 2018-10-28 Rico Tzschichholz vapigen: Warn if the library argument doesn't match any package attribute GIR files can contain a package key referring to the pkg-config name which is the recommended and even required naming of a vapi. Fixes https://gitlab.gnome.org/GNOME/vala/issues/669 vala: Implement check() for StatementList codegen: Improve ccode for fixed-length array parameters https://gitlab.gnome.org/GNOME/vala/issues/163 gobject-2.0,gtk+-*.0: Fix some GLib.Value out/ref parameters This is required due to GLib.Value being bound as struct. vala: DataType for GLib.Error should be should resolved as ErrorType vala: Fix several AST construction/parenting issues testrunner: Reset $run_prefix before generating next test script tests: Add some "using directive" tests to increase coverage tests: Add "captured unassigned local variable" test tests: Add "assigned local variables" tests tests: Add implicit conversion tests for GLib.Variant 2018-10-28 Luca Bruno vala: Fix and add more to_string() methods to expressions 2018-10-28 Rico Tzschichholz vala: Implement get_*_variables() for ConditionalExpression 2018-10-28 Luca Bruno vala: Add missing replace_expression() implementations 2018-10-28 Rico Tzschichholz vala: Add some missing type copying vala: Add source_reference to local variable of catch-clause 2018-10-28 Luca Bruno vala: Always analyze nodes after they are inserted into the AST 2018-10-28 Rico Tzschichholz girwriter: Fix ctype of out/ref and array parameters tests: Add "method override with compatible delegate parameter" test test: Add some invalid "non-null" tests ccode: Fix typo and actually check "end_decls" Note both begin_decls and end_decls must be either not null or null. Fixes https://gitlab.gnome.org/GNOME/vala/issues/672 codegen: Initialize internal temp-variables used as reference parameter Variables for delegate-targets and array-lengths passed as reference in method calls should be initialized to fix "make check" with -O3. codegen: Make unreachable error an internal error This is meant to be caught in ElementAccess.check() codegen: Replace invalid array-length assert with internal error While the test-suite triggers this assert with an invalid test an explicit crash is not wanted. build: Unconditionally add conditional VALAFLAGS to make bootstrap This avoids another configure pass after an initial build with an older valac <= 0.39.5.8. See https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/44