2021-12-02 Rico Tzschichholz Release 0.48.20 2021-11-29 Rico Tzschichholz tests: Add missing methods/parameter-ccode-type.vala In addition to 0e097710e37b671b17ed1da330dd83b9e2340602 pango: Cherry-pick bindings fixes from 0.56 gstreamer: Cherry-pick bindings fixes from 0.56 2021-11-29 Lorenz Wildberg tests: Rename colliding test case to avoid conflict 2021-11-29 Rico Tzschichholz gnome-desktop-3.0: Some parameter fixes codegen: Accept CCode.type attribute on parameters Fixes https://gitlab.gnome.org/GNOME/vala/issues/876 codegen: Drop inconsistent space for ObjectType parameters tests: Rename colliding test cases to avoid conflicts vala: Fix signals with generic return In addition to 36999b5ffd63cc56a8648791b02bf07e7da88077 vala: Report error on missing gio-2.0 package for async constructors Fixes https://gitlab.gnome.org/GNOME/vala/issues/1256 tests: Add runtime checks to signals tests and increase coverage tests/girwriter: Increase coverage tests: Add [Profile] method test to increase coverage vala: Add [Profile] as known attribute for methods ccode: Fix CCodeUnaryExpression.write() for PREFIX_INCREMENT/PREFIX_DECREMENT Regression of 0f65d306f5a2eca7ea798e5c835cf66b6e327c8e genie: Accept accessibility and async modifiers on "construct" creation methods Fixes https://gitlab.gnome.org/GNOME/vala/issues/1235 gstreamer-base-1.0: Some parameter fixes Fixes https://gitlab.gnome.org/GNOME/vala/issues/1255 2021-11-29 Nikola Hadžić alsa: Add more API and fix a few things 2021-11-20 Rico Tzschichholz codegen: Add missing check while overriding virtual async interface methods This fixes a couple of criticals and possibly faulty C code. In addition to fc246aa7f8cbc6cb176724246a0187e19fe91198 See https://gitlab.gnome.org/GNOME/vala/issues/852 2021-11-18 Rico Tzschichholz codegen: Check required length of enum type name for GType support Add corresponding tests for types which have support for GType vala: Check for unavailable value-type of variable initializer Regression of 6690ea0e3c6f0d81d849e13548efc8c0809149cc Fixes https://gitlab.gnome.org/GNOME/vala/issues/1253 2021-11-15 Rico Tzschichholz codegen: Add and use CCodeConstantIdentifier for accessing constants If an address to a constant value is required then its identifier needs to be used instead of referring to a temporary copy. Fixes a regression of f1a8f2a4c6771124abd61fd0ebfa991c846575fe Found by -fsanitize=address 2021-11-14 Rico Tzschichholz codegen: Use CCodeConstant for member access of constant symbol This broke assumptions in CCodeBaseModule.is_constant_ccode_expression() tests: Fix mixed up naming of base-type tests for classes tests: Add more "statement" tests for genie to increase coverage 2021-11-14 Yotam Nachum gtkmodule: Improve error message for invalid signal element in ui-file 2021-11-14 Rico Tzschichholz tests: Add more "declaration" tests for genie to increase coverage genie: "exception" is the expected string for TokenType.ERRORDOMAIN genie: Properly handle plain "get" or "set" property accessors Fixes https://gitlab.gnome.org/GNOME/vala/issues/1248 genie: Accept INTERR token before type arguments when parsing type Fixes https://gitlab.gnome.org/GNOME/vala/issues/1245 2021-11-14 Alistair Thomas genie: Amend text of indent and dedent for error messages Fixes https://gitlab.gnome.org/GNOME/vala/issues/497 2021-11-14 Rico Tzschichholz parser: Better handling of misplaced switch sections Fixes https://gitlab.gnome.org/GNOME/vala/issues/1246 parser: Split out Parser.parse_switch_section_statement() vala: Using SignalHandler.disconnect() is required for dynamic signals tests: Extend "dynamic" signal test to increase coverage girparser: Accept "sealed" for transformed records and compact classes 2021-11-14 Lorenz Wildberg vala: Improve error message for invalid handler of dynamic signal 2021-10-24 Rico Tzschichholz tests: Add "throws error code" tests to increase coverage vala: Improve CodeWriter.visit_catch_clause() Properly output general catch clause vala: Implement CodeWriter.visit_foreach_statement() parser: Make sure ErrorCodes are accessible as needed codegen: Use ErrorType.error_domain if possible vala: Report error for non ErrorType in throws tests: Add "no error type in catch" tests to increase coverage vala: Replace and drop UnaryExpression.find_member_access() tests: Add invalid "unary decrement" test to increase coverage tests: Add more invalid "(un)lock" tests to increase coverage vala: Correctly output signature of callable throwing error vala: Really check compatiblity of error types for delegate symbol Fixes https://gitlab.gnome.org/GNOME/vala/issues/1242 2021-10-19 Rico Tzschichholz vala: Set more missing source references of CodeNode instances tests: Split "Variant (de)serialization" test to trigger one error at a time tests: Extend "access virtual signal of interface" test to increase coverage tests: Add more invalid "member access" tests to increase coverage tests: Add "instance access to implicit to_string() method of enum" test tests: Add invalid "target/destroy access" tests to increase coverage parser: Don't bail parsing of yield expression on error Reporting the error is enough to handle this properly. tests: Avoid causing unrelated errors in invalid test cases tests: Add more "type-arguments" tests to increase coverage tests: Rename invalid yield-return test to avoid conflict codegen: Actually free data when using "remove(_all)" on GLib.Queue/(S)List When using e.g. GLib.List.remove() there is no context/feedback whether an item was removed or needed manual free'ing. Replace such calls with custom wrappers where items required free'ing if they were found. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1238 vala: More thorough check of ValueType and set CodeNode.error on failure vala: No need to run return_type.check() twice for method tests: Add more "type-arguments" tests to increase coverage tests/girwriter: Add missing type-argument gee: Add missing type-arguments girparser: Add support for "ref_/ref_sink_/unref_function" metadata for classes Fixes https://gitlab.gnome.org/GNOME/vala/issues/1233 2021-10-19 wxx <769218589@qq.com> vala: Parameter following ellipsis parameter is not allowed Fixes https://gitlab.gnome.org/GNOME/vala/issues/1237 2021-10-04 Rico Tzschichholz vala: Set source references of created DataType instances in OCE This improves error message for expected type arguments. gtk4: Backport fixes from 0.54.2 gio-2.0: Backport fixes from 0.54.2 tests: Add "integer/float literal" tests to increase coverage vala: Accept NullType as generic type argument docs: Add myself to AUTHORS docs: Bump vala version references in README.md build: At least valac 0.16.1 is required 2021-09-23 Rico Tzschichholz codegen: Add type declaration for implicit temporary local variable vala: Don't restrict element type of GLib.Array Fixes https://gitlab.gnome.org/GNOME/vala/issues/1227 2021-09-23 Gustav Hartvigsson valadoc: Correctly format background of inline @link's Tested in Firefox, Chromium and Gnome Web. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1226 2021-09-23 Rico Tzschichholz vala: Warn about unsupported cast to void and drop it Fixes https://gitlab.gnome.org/GNOME/vala/issues/1070 gio-2.0: Unhide a few usable symbols which are marked not introspectable Fixes https://gitlab.gnome.org/GNOME/vala/issues/1222 glib-2.0: Add RefString since 2.58 Thanks to Jiří Janoušek See https://gitlab.gnome.org/GNOME/vala/issues/666 Fixes https://gitlab.gnome.org/GNOME/vala/issues/723 tests: Extend "field access" tests to increase coverage See https://gitlab.gnome.org/GNOME/vala/issues/1221 glib-2.0: Current constants in GLib.Math are part of glib.h Fixes https://gitlab.gnome.org/GNOME/vala/issues/1220