vala:wip/null-conditional

Last commit made on 2019-12-19
Get this branch:
git clone -b wip/null-conditional https://git.launchpad.net/vala

Branch merges

Branch information

Name:
wip/null-conditional
Repository:
lp:vala

Recent commits

e73009f... by Rico Tzschichholz

Add test case

1984952... by Jeremy Philippe <email address hidden>

vala: Add conditional member access.

This implements support for the "null-conditional" operator of C#
(also called "safe navigation" operator).

It supports both plain member access and method calls (including void
method calls, which are simply bypassed if the inner expression is
null).

edf4b3d... by Rico Tzschichholz

vapi: Update GIR-based bindings

6465dbb... by Rico Tzschichholz

vala: Check before accessing "name" of parent_symbol which might be null

e0a963f... by Rico Tzschichholz

glib-2.0: Add new symbols from 2.64

cf4a50c... by Rico Tzschichholz

glib-2.0: Add to_string() for GLib.PollFd and GLib.Pid

804160d... by Rico Tzschichholz

codegen: Don't attribute *_get_type_once() with G_GNUC_CONST

Follow up on 6b03920e39bc3900148d02ea5c2ddc13d6e91091

6b03920... by Rico Tzschichholz

codegen: Improve *_get_type() fast path (requires glib >= 2.58)

Uses G_GNUC_NO_INLINE if glib >= 2.58 is targetted otherwise the
compiler is free to inline the separate *_get_type_once() function.

Follows the changes introduced in glib by
https://gitlab.gnome.org/GNOME/glib/commit/e924f777369710221c3e0a9d7bf40392a27d1fa4

See https://gitlab.gnome.org/GNOME/glib/issues/541
and https://gitlab.gnome.org/GNOME/vala/issues/879

7551bbb... by Rico Tzschichholz

codegen: Remove unreachable code in TypeRegisterFunction.init_from_type()

Not used since 79b1a3e39a3d2bac9fbe40c99336b3b89e374571

8ee44db... by Rico Tzschichholz

vala: Don't allow "va_list" as return-type or type of fields

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