2020-07-30 Rico Tzschichholz Release 0.46.12 2020-07-29 Rico Tzschichholz webkit2gtk-4.0: Update to 2.29.4 girwriter: Use appropriate get_ccode_* functions This will pick up possible CCode.*name attributes girwriter: Don't include symbols outside of a namespace Additionally report a warning for symbols which doesn't fulfill this rule. Fixes https://gitlab.gnome.org/GNOME/vala/issues/241 codegen: Properly destroy elements of an inline struct array Fixes https://gitlab.gnome.org/GNOME/vala/issues/365 2020-07-26 Rico Tzschichholz gtk+-3.0: Update to 3.24.21+ffe2df7b girparser: Skip 'docsection' elements in See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226 vala: Check error-type accessibility of creation methods and delegates codegen: Check param for null before using it Regression of 5490b0b21a4089d803d51c91311430d60d266f7b This caused criticals like: vala_get_ccode_array_length: assertion 'node != NULL' failed See https://gitlab.gnome.org/GNOME/vala/issues/929 vala: Allow prototype access to signal with emitter Fixes https://gitlab.gnome.org/GNOME/vala/issues/1040 tests: Add "access vfunc pointer" test to increase coverage 2020-07-26 Jean Pierre Dudey girwriter: Write c:symbol-prefix on supported elements This specifies the symbol prefix, e.g.: window in gtk_window_new Fixes https://gitlab.gnome.org/GNOME/vala/issues/1038 girwriter: Write c:type="void" when name="none" This is to match g-ir-scanner behaviour of using the c:type to identify void return value. girwriter: Add c:identifier-prefixes to c:prefix is deprecated and c:identifier-prefixes should be used. 2020-07-26 Rico Tzschichholz vala: Improve check of expression passed to yield Report a proper error and fix codegen cricical when a signal is given: vala_ccode_function_add_expression: assertion 'expression != NULL' failed See https://gitlab.gnome.org/GNOME/vala/issues/1039 tests: Fix "methods/extern" test with -Werror=address and gcc 5.4.0 gtk+-3.0: Resolve conflicts of signals with properties girparser: Warn about conflicting signals and properties vala: Fix code indentation libvaladoc: Support exporting the `class` modifier on fields 2020-07-26 Corentin Noël libvaladoc: Support exporting the `class` modifier on methods 2020-07-26 Rico Tzschichholz vala: Tranform instance member-access to a static one if possible There is a warning issued already and this cleans up the AST to prevent unwanted behaviour in the code-generator, which resulted in the invocation of "CCodeBaseModule.emit_temp_var()" and criticals like: vala_ccode_function_add_declaration: assertion 'self != NULL' failed vala_ccode_function_add_assignment: assertion 'self != NULL' failed Fixes https://gitlab.gnome.org/GNOME/vala/issues/270 vala: Fully qualify member-access when using-directive was used to resolve Fixes https://gitlab.gnome.org/GNOME/vala/issues/57 tests: Add "pre/post-increment" tests to increase coverage codegen: Inline allocated and constant arrays are never NULL Found by -Werror=tautological-pointer-compare vapi: Disable deprecation warnings when checking bindings webkit2gtk-4.0: Update to 2.29.3 vala: Handle parameter initializer without value-type This caused criticals like: vala_data_type_compatible: assertion 'self != NULL' failed See https://gitlab.gnome.org/GNOME/vala/issues/1029 codegen: Properly compare string if binary-expression contains string-literal Found by -Werror=address tests: Add "unique namespace" test A namespace symbol is unique for a given name in its CodeContext. This means attributes are inherited accross all occurances. tests: Extend "default gtype" tests to increase coverage vala: Return copy of constant type in get_value_type_for_symbol() vala: Recursive check of assignment target to recognize constants See https://gitlab.gnome.org/GNOME/vala/issues/944 vala: Property must be writable when invoking ReturnsModifiedPointer method Fixes https://gitlab.gnome.org/GNOME/vala/issues/1023 vala: Don't allow "resize" invocation on variable with unowned array type Fixes https://gitlab.gnome.org/GNOME/vala/issues/928 glib-2.0: Add AtomicUint, an alternation of AtomicInt for uint Fixes https://gitlab.gnome.org/GNOME/vala/issues/915 vala: Improve error handling of nested initializer lists This avoids reporting consequential errors. tests: Don't use invalid syntax to declare local variable with array type See https://gitlab.gnome.org/GNOME/vala/issues/942 vala: Avoid subsequent critical caused by invalid array type for constant