2020-02-09 Rico Tzschichholz Release 0.40.19 2020-02-05 Rico Tzschichholz testrunner: Invalid tests and therefore expected failures must return 1 vala: Don't ignore errors in Parameter and acknowledge them further This avoids useless subsequent errors and possible criticals while operating on broken AST. 2020-02-04 Rico Tzschichholz vala: Fix base-access check for compact classes (2) See 84de99560ee96afa8cb80db3b342d584a72188cd Correct a few spelling errors in user visible strings vala: Inline allocated arrays require length or initializer Fixes https://gitlab.gnome.org/GNOME/vala/issues/903 tests: Add more "parser" tests to increase coverage 2020-02-04 Princeton Ferro vala: Improve detection of recursive struct declarations Introduced with da2d58c95f39fd142dc845f5df9cdcd55be32476 Fixes https://gitlab.gnome.org/GNOME/vala/issues/902 2020-02-04 Rico Tzschichholz codegen: Handle different type-symbols in visit_base_access() It is required to distinguish between classes, compact classes, structs and simple-type structs. Fixes https://gitlab.gnome.org/GNOME/vala/issues/901 codegen: Skip StructRegisterFunction for boolean/integer/floating types Fixes https://gitlab.gnome.org/GNOME/vala/issues/901 vala: Fix base-access check for compact classes See 84de99560ee96afa8cb80db3b342d584a72188cd gtk+-3.0: Update to 3.24.13+3822ac74 girparser: Apply explicitly given ctype metadata attributes on callables girparser: Improve source_reference of parameters codegen: Cast instance parameter in member-initializer for base-properties This fixes warnings issued with -Wincompatible-pointer-types Fixes https://gitlab.gnome.org/GNOME/vala/issues/899 codegen: Use result value of assignment rather than its computation An inline assignment of an array-length, like int j = --i.length; resulted in a faulty tranformation i_length1 = i_length1 - 1; j = i_length1 - 1; Regression of 80d4bf61e0c3100c839f3fdbcb5218996b6afd5f Fixes https://gitlab.gnome.org/GNOME/vala/issues/895 2020-02-04 Princeton Ferro parser: Extend source_reference of parenthesized expr to cover "( ... )" 2020-02-04 Rico Tzschichholz codegen: Don't set implemenation of interface property to its own A base-class is allowed to provide interface implementations for methods and properties. If those exist without an explicit implementation in the sub-class we then we end up finding the interface property itself. Using that is obviously wrong and causes a cyclic call stack. Fixes https://gitlab.gnome.org/GNOME/vala/issues/891 2020-02-04 Jeremy Philippe genie: Fix parser's inner state when a struct is declared after a class If the struct is declared after a class and has a default creation method, the parser will raise a "missing return type in method ..." error. The cause of the bug is that the global 'class_name' variable is not updated when the parser encounters a struct, so the previous value is used, and if a class has been parsed before, this value will be the name of the class instead of the struct. vala: Allow to override base interface properties explicitly 2020-02-04 Rico Tzschichholz vala: Check before accessing "name" of parent_symbol which might be null glib-2.0: Add to_string() for GLib.PollFd and GLib.Pid vala: Don't allow "va_list" as return-type or type of fields Fixes https://gitlab.gnome.org/GNOME/vala/issues/884 vala: Improve error message for unsupported inner types and declarations test: Add some "method-call" tests to increase coverage vala: Don't report further errors if MemberInitializer.check() failed vala: Don't ignore inner errors in Block and acknowledge them further This avoids useless subsequent errors and possible criticals while operating on broken AST. codegen: Fix precondition in creation method of structs parser: Implicit "main" method of main-block is public and static tests: Add "member-access" tests to increase coverage tests: Add "scanner" tests to increase coverage tests: Extend "float and integer" tests to increase coverage vala: Add a basic parameter check for [Print] methods and add tests to increase coverage Introdruced with ea8cd97480a7a560cfd8ae3f060f63638b7d9de4 2019-11-19 Rico Tzschichholz codegen: Fix value check for constants in fast-vapi vala: Keep formal_target_type when transforming method-call/object-creation Fixes https://gitlab.gnome.org/GNOME/vala/issues/835 vala: VoidType is actually compatible with itself See https://gitlab.gnome.org/GNOME/vala/issues/878