2019-09-05 Rico Tzschichholz Release 0.46.0 2019-09-04 Rico Tzschichholz vala: Reject unary operations on nullable integer/floating and boolean type Prefer to report a semantic error rather than creating invalid c-code. Fixes https://gitlab.gnome.org/GNOME/vala/issues/772 libvaladoc: Don't traverse into close circles with parent SymbolResolver.resolve_thrown_list() adds error-type nodes which are allowed to be NodeType.ERROR_DOMAIN and NodeType.CLASS. This can result in a cycle on invoking Node.accept_all_children(), Node.parse_comments() or Node.check_comments() Fixes https://gitlab.gnome.org/GNOME/vala/issues/829 2019-09-03 Rico Tzschichholz vala: Exclude nullable simple-type structs from gobject-property support Defining "bool? { owned get; set; }" in a GObject class resulted in: "error: The type `bool' doesn't declare a GValue take function" Fixes a regression of 3af1cfb3bf6b1d3d4a8116382e6eda702f7335bf and reverts to the old behavior for nullable simple-type structs. 2019-09-03 Jeremy Philippe tests: Add regression test for genie struct construction 2019-09-03 Rico Tzschichholz genie: Creation methods should not be static Revealed by ba8122d3a64e44eac44c5254c93fb181df601b0a 2019-09-02 Rico Tzschichholz json-glib-1.0: Change abstract methods of Serializable to virtual All those interface methods have default implementations. Additionally drop superfluous metadata. Fixes https://gitlab.gnome.org/GNOME/vala/issues/840 Add boolean CodeContext.keep_going and corresponding compiler option If keep_going is set then check() will continue after hitting errors in resolver and analyzer. codegen: Don't unconditionally add/return internal "result" variable Found by -Werror=unreachable-code See https://gitlab.gnome.org/GNOME/vala/issues/838 codegen: Don't cause double-free due append_local_free() in uncaught-errors See https://gitlab.gnome.org/GNOME/vala/issues/838 codegen: Don't append unreachable clean-up section of Block Found by -Werror=unreachable-code See https://gitlab.gnome.org/GNOME/vala/issues/838 2019-09-02 Jeremy Philippe glib-2.0: Add missing "DestroysInstance" attributes to Mutex/Locker API glib-2.0: Fix MutexLocker binding glib-2.0: Use 'GStatBuf' as ctype for 'Stat' The documentation of g_stat () states: In Microsoft's compiler, by default struct stat means one with 64-bit time fields while in MinGW struct stat is the legacy one with 32-bit fields. To hopefully clear up this mess, the gstdio.h header defines a type GStatBuf which is the appropriate struct type depending on the platform and/or compiler being used. On POSIX it is just struct stat, but note that even on POSIX platforms, stat() might be a macro. codewriter: Write "weak" modifier for properties 2019-09-02 Rico Tzschichholz girparser/gidlparser: "value_owned = true" by default for property types This represents an internal implementation detail which is available from vala sources and it does not effect the ownership of property accessors. tests: Add dedicated "property ownership" tests 2019-09-01 Rico Tzschichholz gstreamer: Update from 1.17.0+ git master gio-2.0: Drop metadata for NativeSocketAddress 2019-08-29 Rico Tzschichholz tests: Extend "pre- and post-condition" test to increase coverage 2019-08-28 Rico Tzschichholz vala: Move find_parent_type_symbol/get_this_type() to SemanticAnalyzer glib-2.0: Add new symbols from 2.62 vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master Regenerate GIR-based bindings to pick up out/ref instance-parameters gtk4: Regenerate to pick up DestroyInstance attributes Fixes https://gitlab.gnome.org/GNOME/vala/issues/836 girparser: Improve evalution of instance-parameter information See https://gitlab.gnome.org/GNOME/vala/issues/836 2019-08-21 Rico Tzschichholz libsoup-2.4: soup_auth_new is not a constructor but a factory method Fixes https://gitlab.gnome.org/GNOME/vala/issues/791 vapi: Update GIR-based bindings gstreamer: Update from 1.17.0+ git master