vala:wip/issue/658

Last commit made on 2023-03-19
Get this branch:
git clone -b wip/issue/658 https://git.launchpad.net/vala

Branch merges

Branch information

Name:
wip/issue/658
Repository:
lp:vala

Recent commits

b163979... by Nick Schrader <email address hidden>

vala: Add support for anonymous delegates

  void foo (delegate(string, int) => int d) {
    ...
  }

Fixes https://gitlab.gnome.org/GNOME/vala/issues/658

ed68b9f... by Rico Tzschichholz

vala: Set proper value-type of unary ref/out expression in initializers

So the expected pointer-type for these expressions is available in AST.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1421

a902d7e... by Rico Tzschichholz

codegen: Add declaration for register call of dynamic DBus interfaces

The call was added without the required extern declaration

Found by -Werror=implicit-function-declaration

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1422

137f276... by Rico Tzschichholz

sdl2: Improve Keyboard.get_state() and drop custom implementation

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1420

aec28d7... by Rico Tzschichholz

tests: Drop superfluous GLIB_2_56 preprocessing

dad5521... by Corentin Noël

gtk4: Add sealed to all the final types

Allows to know in advance if a type can be subclassed or not

Required until https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4575 is merged
or the right heuristic is implemented on Vala side.

c98e033... by Rico Tzschichholz

codegen: Use g_object_class_override_property to implement generic interface properties

This caused the criticals like:

    GLib-GObject-CRITICAL **: Read/writable property 'data' on class 'Foo' has type
    'gchararray' which is not exactly equal to the type 'gpointer' of the property on
    the interface 'IFoo'

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1419

c209318... by Rico Tzschichholz

codegen: Add cast to accessor calls for generic property implementations

Found by -Werror=int-conversion

d5ecd13... by Rico Tzschichholz

codegen: Consistently handle GLib.Error as boxed type

Use G_TYPE_ERROR and GBoxed API for all error domains.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1418

2485098... by Rico Tzschichholz

vala: Correctly handle pre/post-increment expression as index of element access

Regression of cb1828cfc5273aca752de9b39a77e0cd53305e61

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1417