2020-04-06 Rico Tzschichholz Release 0.48.3 gio-2.0: Update to 2.65.0~a136776e Preserve signature of DBusSignalCallback gstreamer: Update from 1.17.0+ git master gtk4: Update to 3.98.2+11495027 codegen: Don't pass CCodeCastExpression to NULL-aware free macro This resulted in invalid C code: error: lvalue required as left operand of assignment Fixes https://gitlab.gnome.org/GNOME/vala/issues/953 2020-04-06 Corentin Noël tests: Add "g-interface-info" dbus test to increase coverage tests: Extend "DBus signals" test to increase coverage This adds code coverage for generating multiple signals, tests for arrays and ensures that the private signals are not leaking. 2020-04-06 Rico Tzschichholz vala: Warn about usage of override to implement abstract interface methods Fixes criticals in GAsyncModule.visit_method() vala_symbol_get_parent_symbol: assertion 'self != NULL' failed which were introduced with 12db9b7eeb1f53975010d89839d554b5fcf99831 codegen: Correctly handle transformation of translated string-literal constants The required header includes were not emited to the correct declaration space. codegen: Include "glib.h" for G_BEGIN_DECLS/G_END_DECLS usage 2020-04-04 Rico Tzschichholz vala: Parse standalone integer/real literals as expression statement Issue an error in the semantic check to forbid such statements. Parsing such an errornous expression-statement failed since 5464767cfa5a8dbbc5f46293693ca627b8fcc46d Fixes https://gitlab.gnome.org/GNOME/vala/issues/961 tests: Extend "array foreach" test to increase coverage vala: Consider boolean types are compatible with each other tests: Add "expression as argument" tests to increase coverage codegen: Correct field declaration for captured inline-allocated array Also pass proper size to memset for local temp variables of inline-allocated arrays in asynchronous context. Fixes https://gitlab.gnome.org/GNOME/vala/issues/954 codegen: Don't free value if property setter takes ownership Correctly handle owned property accessor in object initializer. In addition to c0e955db075d3d155782c167a0abb81e0dce5f59 See https://gitlab.gnome.org/GNOME/vala/issues/953 tests: Add "local clash with implicit this" test to increase coverage tests: Add "switch enum" test to increase coverage codegen: Avoid critical trying to serialize an unsupported type to Variant Fixes https://gitlab.gnome.org/GNOME/vala/issues/952 vala: Handle all ctors and dtors in CodeWriter vala: Handle unlock() statement in CodeWriter 2020-04-04 Simon Werbeck vala: Support struct initializer list in non-constant array A struct initializer list contained in an array initializer list is now transformed to a struct creation expression. The pre-existing logic ensures that constant expressions are not transformed. Fixes https://gitlab.gnome.org/GNOME/vala/issues/949 2020-04-04 Rico Tzschichholz codegen: Append initializer for "_*_size_" of array field in internal struct Fixes https://gitlab.gnome.org/GNOME/vala/issues/914 tests: Add "throw in loops" tests to increase coverage