** Summary changed: - [SRU] Update to vala 0.42.4 in cosmic + [SRU] Update to vala 0.42.5 in cosmic
** Description changed: Upstream changes since 0.42.2: + + Vala 0.42.5 + =========== + * Various improvements and bug fixes: + - codegen: + + Use temp-var for MethodCall with out/ref arguments (#722) + + Use temp-vars for ellipsis out-arguments to fix memory management (#722) + + Add default_value for CType to initialize variables if needed (#724) + + Cast instance parameter for property access in object-initializer + + Don't check boolean values for (in)equality in GTask API (#726) + + Properly set annotations field of GDBus*Info struct to NULL + + Cast instance and result of g_async_initable_new_finish() call + + Use a parameter-map for creation of delegate declaration [#728] + + Emit struct declaration typedef before resolving its fields [#318] + + Don't apply address-of operator on literals when casting to array + - vala: Report invalid instance member access to property (#605) + - girparser: Async methods don't allow out-parameters before in-parameters + - libvaladoc: Build backing Vala.SourceFile for GIRs processed by importer + - libvaladoc/girimporter: Skip "source-position" elements + - valadoc: Specify that the "--driver" option is deprecated [#736] + - compiler: Report deprecated command-line option "--thread" + - build: Don't leak libvalaccode symbols to libvaladoc + - Add a basic CONTRIBUTING.md file that links to the relevant Wiki page + - tests: Fix try_parse() tests to not compare to already free'd memory + + * Bindings: + - clutter-1.0: Fix BindingPool.override_action() + - gdk-3.0,gtk+-3.0: Update to 3.24.3+9c8f1478 + - glib-2.0: Use correct array-length-type for returned arrays (#171) + - gio-2.0: Fix File.replace_contents_bytes_async() (!37) + - gobject-2.0: Minor syncing from GIR + - gobject-2.0: Use correct array-length-type for returned arrays + - gstreamer: Update from 1.15+ git master + - gtk+-4.0: Update to 3.94.0+9b15c690 + - javascriptcoregtk-4.0: Fix GLib.Callback parameters which can't hold target + - libsoup-2.4: Fix Message.add_*_handler() [#731] + - sqlite3: Correct return C type of Statement.column_text & Value.to_text Vala 0.42.4 =========== - * Various improvements and bug fixes: - - codegen: - + Fix method pointer cast if instance isn't at first position - + Transfer ownership of compact class to DestroysInstance method [#645] - + Add destroy function for GLib.Array [#572] - + Fix canonical string for quark of error domains - + Make sure to include declarations for delegate typed parameters - + Don't emit type_id for enum in non GOBJECT profile - + Don't emit unused temp variable for element access assignments - + Actually create method cast for base interface method as needed - + Mark needle parameter of internal array-contains methods as const [#504] - + Emit initializer for enum-value into wanted declaration space [#167] - + Add void to delegate typedef declarations without parameters - + Emit delegate/enum typedefs to type-declaration section [#318] - + Always emit constants with initializer-list [#81] - + Handle non-default AsyncResult parameter position [#709] - - vala: - + Copy instance_pos argument from virtual/abstract base methods [#540483] - + Compact classes don't allow private/class fields and to lock fields - + Use comment which was already retrieved in parse_declaration() - + Add missing re-check guards for Do/For/WhileStatement and SwitchLabel - + Type check for errors require an error expression [#362] - + Make check_arguments() more verbose and don't bail on first error [#438] - + Don't emit member access of assignments on static properties [#573] - + Use clearer error message for automatic properties in interfaces [#656] - + Break possible endless loop in SymbolResolver.get_type_for_struct() [#444] - - girwriter: Write glib-type attributes for Enums/Structs with type_id - - girparser: Skip "source-position" elements and docs in transparent union - - valadoc: - + Match property signature with vala's codewriter - + Sort symbols and members where possible - + Actually assign type_id of Api.Structs - + Add type_id to Api.Enum/Interface - + Skip package dependency if target directory already exists - + Fix a few errors and warnings in stylesheet - + Adjust stylesheet to unbreak Epiphany [#644] - - docs: Use Markdown for README and include build instructions - - testrunner: Pass buildsystem's CC through to valac + * Various improvements and bug fixes: + - codegen: + + Fix method pointer cast if instance isn't at first position + + Transfer ownership of compact class to DestroysInstance method [#645] + + Add destroy function for GLib.Array [#572] + + Fix canonical string for quark of error domains + + Make sure to include declarations for delegate typed parameters + + Don't emit type_id for enum in non GOBJECT profile + + Don't emit unused temp variable for element access assignments + + Actually create method cast for base interface method as needed + + Mark needle parameter of internal array-contains methods as const [#504] + + Emit initializer for enum-value into wanted declaration space [#167] + + Add void to delegate typedef declarations without parameters + + Emit delegate/enum typedefs to type-declaration section [#318] + + Always emit constants with initializer-list [#81] + + Handle non-default AsyncResult parameter position [#709] + - vala: + + Copy instance_pos argument from virtual/abstract base methods [#540483] + + Compact classes don't allow private/class fields and to lock fields + + Use comment which was already retrieved in parse_declaration() + + Add missing re-check guards for Do/For/WhileStatement and SwitchLabel + + Type check for errors require an error expression [#362] + + Make check_arguments() more verbose and don't bail on first error [#438] + + Don't emit member access of assignments on static properties [#573] + + Use clearer error message for automatic properties in interfaces [#656] + + Break possible endless loop in SymbolResolver.get_type_for_struct() [#444] + - girwriter: Write glib-type attributes for Enums/Structs with type_id + - girparser: Skip "source-position" elements and docs in transparent union + - valadoc: + + Match property signature with vala's codewriter + + Sort symbols and members where possible + + Actually assign type_id of Api.Structs + + Add type_id to Api.Enum/Interface + + Skip package dependency if target directory already exists + + Fix a few errors and warnings in stylesheet + + Adjust stylesheet to unbreak Epiphany [#644] + - docs: Use Markdown for README and include build instructions + - testrunner: Pass buildsystem's CC through to valac - * Bindings: - - gio-2.0: Add missing File.new_build_filename() - - glib-2.0: Add missing Array.set_clear_func() binding - - glib-2.0: Avoid double-free in GLib.Array if clear_func is set - - glib-2.0: Add GLib.pointer aka gpointer binding - - gobject-2.0: Attribute all symbols with cheader_filename = "glib-object.h" - - gobject-introspection-1.0: Pick up version attribute fixes - - gdk-x11-3.0,gtk+-3.0: Update to 3.24.2+eb821cb8 - - gtk+-4.0: Update to 3.94.0+a99bd2a4 - - gstreamer: Update from 1.15+ git master - - poppler-glib: Update to 0.71 + * Bindings: + - gio-2.0: Add missing File.new_build_filename() + - glib-2.0: Add missing Array.set_clear_func() binding + - glib-2.0: Avoid double-free in GLib.Array if clear_func is set + - glib-2.0: Add GLib.pointer aka gpointer binding + - gobject-2.0: Attribute all symbols with cheader_filename = "glib-object.h" + - gobject-introspection-1.0: Pick up version attribute fixes + - gdk-x11-3.0,gtk+-3.0: Update to 3.24.2+eb821cb8 + - gtk+-4.0: Update to 3.94.0+a99bd2a4 + - gstreamer: Update from 1.15+ git master + - poppler-glib: Update to 0.71 Vala 0.42.3 =========== * Various improvements and bug fixes: - codegen: + Initialize internal temp-variables used as reference parameter + Improve ccode for fixed-length array parameters (#163) + Fix regex literal compile flags + Add prototype for *_register_type() function + Don't emit *_free() of derived compact classes + Add prototype for *_new() of abstact compact classes - girwriter: Fix ctype of out/ref and array parameters - ccode: Fix typo and actually check "end_decls" (#672) - abstract syntax tree: + Always analyze nodes after they are inserted into the AST + Add source_reference to local variable of catch-clause + Add missing replace_expression() implementations + Fix several construction/parenting issues + DataType for GLib.Error should be should resolved as ErrorType - libvaladoc: Add "unlock" to keywords in Highligher - posix: + Add replacement for G_(BEGIN|END)_DECLS + Don't check for GLib.Variant casting - testrunner: Reset $run_prefix before generating next test script - build: Unconditionally add conditional VALAFLAGS to make bootstrap - doc: Fix build of internal-api-docs - manual: Update from wiki.gnome.org * Bindings: - glib-2.0: Computing length once is enough in string.to_utf8()/splice() - glib-2.0: Add binding for g_test_add() - glib-2.0: Add array length to string.skip (#695) - gio-2.0: Result of DBusMessage.get_header() is unowned - gobject-2.0,gtk+-*.0: Fix some GLib.Value out/ref parameters - gstreamer: Update from 1.15+ git master - gtk+-4.0: Update to 3.94.0+b4b30b49 [Impact] * Affects all valac reverse-dependency on buildtime [Test Case] * Mass-rebuild of rdepends can be found here https://launchpad.net/~ricotz/+archive/ubuntu/cosmic-vala-sru-0-42-3/+packages?batch=200&memo=0&start=0 [Regression Potential] * Not immediately while it requires an rdepend rebuild to manifest. [Other Info] * Regular upstream maintenance releases are likely to happen every 1-2 months -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1803138 Title: [SRU] Update to vala 0.42.5 in cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vala/+bug/1803138/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
