2020-01-07 Rico Tzschichholz Release 0.47.2 tests: Fix make distcheck vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.96.0+448a4023 2020-01-06 Jeremy Philippe glib-2.0: Reset errno before calling strto*() functions. Standard library functions only set errno on error and these particular functions return an "in-band" error indicator (the error indicator is also a normal return value). 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. 2019-12-21 Rico Tzschichholz compiler: Add "--depfile" option writing package dependencies to given file This is meant to be used by build systems before invoking rebuilds 2019-12-21 Jeremy Philippe vala: Allow to override base interface properties explicitly 2019-12-09 Rico Tzschichholz vapi: Update GIR-based bindings vala: Check before accessing "name" of parent_symbol which might be null 2019-12-06 Rico Tzschichholz glib-2.0: Add new symbols from 2.64 glib-2.0: Add to_string() for GLib.PollFd and GLib.Pid codegen: Don't attribute *_get_type_once() with G_GNUC_CONST Follow up on 6b03920e39bc3900148d02ea5c2ddc13d6e91091 2019-12-05 Rico Tzschichholz codegen: Improve *_get_type() fast path (requires glib >= 2.58) Uses G_GNUC_NO_INLINE if glib >= 2.58 is targetted otherwise the compiler is free to inline the separate *_get_type_once() function. Follows the changes introduced in glib by https://gitlab.gnome.org/GNOME/glib/commit/e924f777369710221c3e0a9d7bf40392a27d1fa4 See https://gitlab.gnome.org/GNOME/glib/issues/541 and https://gitlab.gnome.org/GNOME/vala/issues/879 codegen: Remove unreachable code in TypeRegisterFunction.init_from_type() Not used since 79b1a3e39a3d2bac9fbe40c99336b3b89e374571 2019-12-03 Rico Tzschichholz vala: Don't allow "va_list" as return-type or type of fields Fixes https://gitlab.gnome.org/GNOME/vala/issues/884 2019-12-02 Rico Tzschichholz vala: Improve error message for unsupported inner types and declarations 2019-11-27 Rico Tzschichholz gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.96.0+9f69c7f3 webkit2gtk-4.0: Update to 2.27.3 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. 2019-11-26 Rico Tzschichholz codegen: Fix precondition in creation method of structs vala: Include type_name to default implementation of CCode.to_string() 2019-11-25 Rico Tzschichholz scanner: Improve check of "\u" escape sequence scanner: "\x" requires two hex digits at most and ignore leading zero #2 vala: Drop Namespace.remove_struct() 2019-11-24 Rico Tzschichholz vala: Let the parser have set namespace members as static ... and move error reporting for invalid members into check() parser: Implicit "main" method of main-block is public and static scanner: "\x" requires two hex digits at most tests: Add "member-access" tests to increase coverage tests: Add "scanner" tests to increase coverage tests: Extend "float and integer" tests to increase coverage 2019-11-21 Rico Tzschichholz pango: Update to 1.44+ vapi: Update GIR-based bindings gtk4: Update to 3.96.0+5e11a2ae gstreamer: Update from 1.17.0+ git master vala: Add a basic parameter check for [Print] methods and add tests to increase coverage Introdruced with ea8cd97480a7a560cfd8ae3f060f63638b7d9de4 2019-11-19 Rico Tzschichholz tests: Fix and make fast-vapi test actually fatal vala: Keep formal_target_type when transforming method-call/object-creation Fixes https://gitlab.gnome.org/GNOME/vala/issues/835 2019-11-18 Rico Tzschichholz vala: Improve handling of "void" as generic type Fixes https://gitlab.gnome.org/GNOME/vala/issues/878 vala: VoidType is actually compatible with itself See https://gitlab.gnome.org/GNOME/vala/issues/878 2019-11-17 Rico Tzschichholz codegen: Use result of CCodeBaseModule.get_this_type() vala: Check "this_parameter" if available vala: Unify "this_parameter" creation using SemanticAnalyzer.get_this_type() vala: Allow SemanticAnalyzer.get_this_type() to handle more symbols and append possible type-parameters to match get_data_type_for_symbol() Suported symbol types are Method, Property, Constructor and Destructor gidl/girparser: Creation methods must not be marked as static vala: scope "owner" of constructor/destructor subroutines is already set 2019-11-16 Rico Tzschichholz tests: Add "invalid address-of" test to increase coverage 2019-11-15 Rico Tzschichholz vala: Don't require constant initializer in fast-vapi Regression of 984c034256de3830d6daa0ab6f5eff108dea09bb Extend --fast-vapi test by using --use-fast-vapi See https://github.com/dino/dino/issues/646 and https://gitlab.gnome.org/GNOME/vala/issues/461 2019-11-14 Rico Tzschichholz codegen: Share generate_struct_*() helpers between classes and interfaces codegen: Fix vfunc signature of delegate-typed property in interface vala: Report error for async creation expression without yield codegen: Fix support of dynamic DBus methods 2019-11-12 Rico Tzschichholz test: Add "GLib.Closure parameter" test to increase coverage test: Add "GLib.Log constants" tests to increase coverage