]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
5 years agovaladoc/tests: Use type for property which is compatible with owned getter
Rico Tzschichholz [Thu, 10 Oct 2019 09:13:08 +0000 (11:13 +0200)] 
valadoc/tests: Use type for property which is compatible with owned getter

5 years agoRelease 0.44.9 0.44.9
Rico Tzschichholz [Wed, 9 Oct 2019 11:05:41 +0000 (13:05 +0200)] 
Release 0.44.9

5 years agogtk+-3.0: Fix ownership mismatch of ColorButton.rgba property-accessor
Rico Tzschichholz [Sun, 15 Sep 2019 06:41:03 +0000 (08:41 +0200)] 
gtk+-3.0: Fix ownership mismatch of ColorButton.rgba property-accessor

Regression of 9a5cc9e58e160d8bb5308fe5bfc8b433d8c269f5 in combination with
our gtk+-3.0 metadata:

    // Keep properties non-abstract as before
    *#interface.*#property abstract=false

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

5 years agoRegenerate GIDL-based bindings to fix getter ownership of struct properties
Rico Tzschichholz [Thu, 16 May 2019 17:43:41 +0000 (19:43 +0200)] 
Regenerate GIDL-based bindings to fix getter ownership of struct properties

5 years agoRegenerate GIR-based bindings to fix getter ownership of struct properties
Rico Tzschichholz [Thu, 9 May 2019 17:06:11 +0000 (19:06 +0200)] 
Regenerate GIR-based bindings to fix getter ownership of struct properties

5 years agovala: Trust "value_owned" when writing property getter
Rico Tzschichholz [Thu, 16 May 2019 15:24:05 +0000 (17:24 +0200)] 
vala: Trust "value_owned" when writing property getter

5 years agoRegenerate GIR-based bindings to pick up copy/free attributes
Rico Tzschichholz [Tue, 8 Oct 2019 12:05:17 +0000 (14:05 +0200)] 
Regenerate GIR-based bindings to pick up copy/free attributes

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

5 years agocodegen: Use gtype-boxed API for structs with "g_boxed_free" attribute
Rico Tzschichholz [Tue, 8 Oct 2019 13:07:58 +0000 (15:07 +0200)] 
codegen: Use gtype-boxed API for structs with "g_boxed_free" attribute

See https://gitlab.gnome.org/GNOME/vala/issues/863

5 years agogirparser: Add required copy/free attributes for gtype-boxed structs
Rico Tzschichholz [Tue, 8 Oct 2019 12:04:35 +0000 (14:04 +0200)] 
girparser: Add required copy/free attributes for gtype-boxed structs

See https://gitlab.gnome.org/GNOME/vala/issues/863

5 years agovapi: Perform syntax and semantic check for all bindings on "make check"
Rico Tzschichholz [Sat, 5 Oct 2019 09:15:04 +0000 (11:15 +0200)] 
vapi: Perform syntax and semantic check for all bindings on "make check"

5 years agovala: Don't issue a warning for non-public struct fields in bindings
Rico Tzschichholz [Sat, 5 Oct 2019 10:18:19 +0000 (12:18 +0200)] 
vala: Don't issue a warning for non-public struct fields in bindings

5 years agotokyocabinet: Fix deprecation warnings
Rico Tzschichholz [Sat, 5 Oct 2019 10:17:39 +0000 (12:17 +0200)] 
tokyocabinet: Fix deprecation warnings

5 years agognutls: Fix "use of possibly unassigned parameter" warnings
Rico Tzschichholz [Sat, 5 Oct 2019 08:35:20 +0000 (10:35 +0200)] 
gnutls: Fix "use of possibly unassigned parameter" warnings

5 years agoavahi-client: Fix "use of possibly unassigned parameter" warnings
Rico Tzschichholz [Sat, 5 Oct 2019 08:34:52 +0000 (10:34 +0200)] 
avahi-client: Fix "use of possibly unassigned parameter" warnings

5 years agoxcb: Fix "missing return statement at end of subroutine body" errors
Rico Tzschichholz [Sat, 5 Oct 2019 08:26:09 +0000 (10:26 +0200)] 
xcb: Fix "missing return statement at end of subroutine body" errors

5 years agovala: Fix compatible/disposable check between structs and their subtypes
Rico Tzschichholz [Fri, 4 Oct 2019 12:12:46 +0000 (14:12 +0200)] 
vala: Fix compatible/disposable check between structs and their subtypes

This fixes memory leaks due to missing copy/destroy and improperly created
dup functions and allows direct assignment between structs and their
subtypes.

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

5 years agotests: Add dedicated "delegate without target through varargs" test
Rico Tzschichholz [Thu, 3 Oct 2019 11:34:52 +0000 (13:34 +0200)] 
tests: Add dedicated "delegate without target through varargs" test

5 years agocodegen: Silence warning about copying if delegate doesn't carry its target
Rico Tzschichholz [Wed, 2 Oct 2019 13:07:32 +0000 (15:07 +0200)] 
codegen: Silence warning about copying if delegate doesn't carry its target

5 years agocodegen: Initialize delegate temp-var which is assigned by property getter
Rico Tzschichholz [Wed, 2 Oct 2019 16:19:53 +0000 (18:19 +0200)] 
codegen: Initialize delegate temp-var which is assigned by property getter

Found by -Werror=maybe-uninitialized

5 years agocodegen: Preserve full access to delegate variables and its target/destroy cvalues
Rico Tzschichholz [Wed, 2 Oct 2019 21:23:12 +0000 (23:23 +0200)] 
codegen: Preserve full access to delegate variables and its target/destroy cvalues

Don't unconditionally set delegate_target_destroy_notify_cvalue to NULL for any
variable access.

5 years agoglib-2.0: Set default_value attribute for GLib.pointer
Rico Tzschichholz [Wed, 2 Oct 2019 16:08:18 +0000 (18:08 +0200)] 
glib-2.0: Set default_value attribute for GLib.pointer

5 years agodocs: Mention requirement of autoconf-archive as build-dependency
Rico Tzschichholz [Wed, 2 Oct 2019 17:48:32 +0000 (19:48 +0200)] 
docs: Mention requirement of autoconf-archive as build-dependency

5 years agoccode: Implicitly register declaration for added CCodeFunction
Rico Tzschichholz [Tue, 1 Oct 2019 14:21:21 +0000 (16:21 +0200)] 
ccode: Implicitly register declaration for added CCodeFunction

This will prevent the user's vala source to override implicitly defined
functions of vala's boilerblate for a type.

5 years agocodegen: Accept children after generating type specific declarations
Rico Tzschichholz [Tue, 1 Oct 2019 14:21:21 +0000 (16:21 +0200)] 
codegen: Accept children after generating type specific declarations

5 years agogtk4: Constructors of Gtk.MediaFile needs to be static functions
Rico Tzschichholz [Mon, 15 Jul 2019 13:22:40 +0000 (15:22 +0200)] 
gtk4: Constructors of Gtk.MediaFile needs to be static functions

5 years agogtk4: Update to 3.96.0+bcea9652
Rico Tzschichholz [Mon, 30 Sep 2019 06:50:36 +0000 (08:50 +0200)] 
gtk4: Update to 3.96.0+bcea9652

5 years agovala: Allow to override virtual interface implementations
Rico Tzschichholz [Thu, 26 Sep 2019 09:08:31 +0000 (11:08 +0200)] 
vala: Allow to override virtual interface implementations

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

5 years agovala: Output "params" qualifier of parameters
Rico Tzschichholz [Fri, 13 Sep 2019 11:58:00 +0000 (13:58 +0200)] 
vala: Output "params" qualifier of parameters

5 years agovala: Report dedicated error message for params-array parameter mismatch
Rico Tzschichholz [Fri, 13 Sep 2019 11:54:53 +0000 (13:54 +0200)] 
vala: Report dedicated error message for params-array parameter mismatch

5 years agotests: Add more "invalid expression" tests to increase coverage
Rico Tzschichholz [Tue, 24 Sep 2019 11:21:44 +0000 (13:21 +0200)] 
tests: Add more "invalid expression" tests to increase coverage

5 years agotests: Add "main block" parser test to increase coverage
Rico Tzschichholz [Tue, 24 Sep 2019 10:28:44 +0000 (12:28 +0200)] 
tests: Add "main block" parser test to increase coverage

5 years agotests: Extent "post-condition" creation method test to increase coverage
Rico Tzschichholz [Tue, 24 Sep 2019 10:18:00 +0000 (12:18 +0200)] 
tests: Extent "post-condition" creation method test to increase coverage

5 years agotests: Add invalid "parser" tests to increase coverage
Rico Tzschichholz [Mon, 23 Sep 2019 17:06:50 +0000 (19:06 +0200)] 
tests: Add invalid "parser" tests to increase coverage

5 years agotests: Add "qualified member/symbol access" tests to increase coverage
Rico Tzschichholz [Mon, 23 Sep 2019 15:38:44 +0000 (17:38 +0200)] 
tests: Add "qualified member/symbol access" tests to increase coverage

5 years agogio-unix-2.0: Fix DesktopAppInfo.get_string(), UnixFDMessage.steal_fds()
Rico Tzschichholz [Sun, 22 Sep 2019 20:14:18 +0000 (22:14 +0200)] 
gio-unix-2.0: Fix DesktopAppInfo.get_string(), UnixFDMessage.steal_fds()

... and DesktopAppInfoLookup.get_default_for_uri_scheme()

Additionally adjust some header references.

5 years agoDirectly use "memmove()" while g_memmove() is deprecated since 2.40
Rico Tzschichholz [Sun, 22 Sep 2019 16:29:43 +0000 (18:29 +0200)] 
Directly use "memmove()" while g_memmove() is deprecated since 2.40

5 years agogobject-2.0: Some cherry-picking from GIR generated binding
Rico Tzschichholz [Sat, 21 Sep 2019 08:49:20 +0000 (10:49 +0200)] 
gobject-2.0: Some cherry-picking from GIR generated binding

5 years agovaladoc: Explicitly pass --pkg libgvc
Rico Tzschichholz [Sun, 22 Sep 2019 15:29:52 +0000 (17:29 +0200)] 
valadoc: Explicitly pass --pkg libgvc

... to deal with a race with valadoc@PACKAGE_SUFFIX@.deps generation

5 years agoRelease 0.44.8 0.44.8
Rico Tzschichholz [Thu, 19 Sep 2019 17:39:44 +0000 (19:39 +0200)] 
Release 0.44.8

5 years agowebkit2gtk-4.0: Update to 2.26.0
Rico Tzschichholz [Thu, 19 Sep 2019 17:48:06 +0000 (19:48 +0200)] 
webkit2gtk-4.0: Update to 2.26.0

5 years agogtk4: Sync from 0.46 branch
Rico Tzschichholz [Thu, 19 Sep 2019 17:39:10 +0000 (19:39 +0200)] 
gtk4: Sync from 0.46 branch

5 years agoglib-2.0: DateTime.from_iso8601() can take a null TimeZone
Arnaud Bonatti [Wed, 18 Sep 2019 00:24:21 +0000 (02:24 +0200)] 
glib-2.0: DateTime.from_iso8601() can take a null TimeZone

5 years agosqlite3: Fix use of possibly unassigned parameter `errmsg'
Rico Tzschichholz [Mon, 16 Sep 2019 08:46:17 +0000 (10:46 +0200)] 
sqlite3: Fix use of possibly unassigned parameter `errmsg'

5 years agogio-unix-2.0: Add UnixMountEntry.get_root_path() since 2.60
Rico Tzschichholz [Sun, 15 Sep 2019 16:10:06 +0000 (18:10 +0200)] 
gio-unix-2.0: Add UnixMountEntry.get_root_path() since 2.60

5 years agovala: Run FlowAnalyzer on all given source-files
Rico Tzschichholz [Sat, 14 Sep 2019 17:22:36 +0000 (19:22 +0200)] 
vala: Run FlowAnalyzer on all given source-files

This is a regression triggered by 8f3a0a0b64e0c7fbcc9231c3058247920dd6eeda
where we rely on information gathered by it and its changes to the AST.

Silence "never used" warnings for external-package symbols.

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

5 years agovaladoc: Explicitly pass --pkg libvala@PACKAGE_SUFFIX@ as for doclets/tests
Rico Tzschichholz [Mon, 9 Sep 2019 11:22:09 +0000 (13:22 +0200)] 
valadoc: Explicitly pass --pkg libvala@PACKAGE_SUFFIX@ as for doclets/tests

5 years agoposix: add *at() calls and related constants
Christian Kellner [Tue, 16 Jul 2019 15:54:29 +0000 (17:54 +0200)] 
posix: add *at() calls and related constants

Add missing calls from the *at() call family that was added in
POSIX.1-2008, and related constants.

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

5 years agovala: Reject unary operations on nullable integer/floating and boolean type
Rico Tzschichholz [Wed, 4 Sep 2019 14:12:21 +0000 (16:12 +0200)] 
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

5 years agolibvaladoc: Don't traverse into close circles with parent
Rico Tzschichholz [Tue, 30 Jul 2019 10:54:56 +0000 (12:54 +0200)] 
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

5 years agotests: Add regression test for genie struct construction
Jeremy Philippe [Tue, 3 Sep 2019 01:36:49 +0000 (03:36 +0200)] 
tests: Add regression test for genie struct construction

5 years agogenie: Creation methods should not be static
Rico Tzschichholz [Tue, 3 Sep 2019 07:32:54 +0000 (09:32 +0200)] 
genie: Creation methods should not be static

Revealed by ba8122d3a64e44eac44c5254c93fb181df601b0a

5 years agojson-glib-1.0: Change abstract methods of Serializable to virtual
Rico Tzschichholz [Mon, 2 Sep 2019 19:35:00 +0000 (21:35 +0200)] 
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

5 years agocodegen: Don't unconditionally add/return internal "result" variable
Rico Tzschichholz [Sat, 24 Aug 2019 16:46:42 +0000 (18:46 +0200)] 
codegen: Don't unconditionally add/return internal "result" variable

Found by -Werror=unreachable-code

See https://gitlab.gnome.org/GNOME/vala/issues/838

5 years agocodegen: Don't cause double-free due append_local_free() in uncaught-errors
Rico Tzschichholz [Thu, 29 Aug 2019 14:38:25 +0000 (16:38 +0200)] 
codegen: Don't cause double-free due append_local_free() in uncaught-errors

See https://gitlab.gnome.org/GNOME/vala/issues/838

5 years agocodegen: Don't append unreachable clean-up section of Block
Rico Tzschichholz [Thu, 29 Aug 2019 10:26:52 +0000 (12:26 +0200)] 
codegen: Don't append unreachable clean-up section of Block

Found by -Werror=unreachable-code

See https://gitlab.gnome.org/GNOME/vala/issues/838

5 years agoglib-2.0: Add missing "DestroysInstance" attributes to Mutex/Locker API
Jeremy Philippe [Sun, 1 Sep 2019 23:27:44 +0000 (01:27 +0200)] 
glib-2.0: Add missing "DestroysInstance" attributes to Mutex/Locker API

5 years agoglib-2.0: Fix MutexLocker binding
Jeremy Philippe [Sun, 1 Sep 2019 23:27:44 +0000 (01:27 +0200)] 
glib-2.0: Fix MutexLocker binding

5 years agoglib-2.0: Use 'GStatBuf' as ctype for 'Stat'
Jeremy Philippe [Sun, 1 Sep 2019 22:47:42 +0000 (00:47 +0200)] 
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.

5 years agocodewriter: Write "weak" modifier for properties
Jeremy Philippe [Sun, 1 Sep 2019 19:57:01 +0000 (21:57 +0200)] 
codewriter: Write "weak" modifier for properties

5 years agogirparser/gidlparser: "value_owned = true" by default for property types
Rico Tzschichholz [Mon, 2 Sep 2019 07:40:40 +0000 (09:40 +0200)] 
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.

5 years agotests: Add dedicated "property ownership" tests
Rico Tzschichholz [Mon, 2 Sep 2019 08:21:05 +0000 (10:21 +0200)] 
tests: Add dedicated "property ownership" tests

5 years agogio-2.0: Drop metadata for NativeSocketAddress
Rico Tzschichholz [Sun, 1 Sep 2019 12:55:07 +0000 (14:55 +0200)] 
gio-2.0: Drop metadata for NativeSocketAddress

5 years agotests: Extend "pre- and post-condition" test to increase coverage
Rico Tzschichholz [Thu, 29 Aug 2019 15:08:46 +0000 (17:08 +0200)] 
tests: Extend "pre- and post-condition" test to increase coverage

5 years agoRegenerate GIR-based bindings to pick up out/ref instance-parameters
Rico Tzschichholz [Wed, 28 Aug 2019 06:38:05 +0000 (08:38 +0200)] 
Regenerate GIR-based bindings to pick up out/ref instance-parameters

5 years agogtk4: Regenerate to pick up DestroyInstance attributes
Rico Tzschichholz [Mon, 26 Aug 2019 11:10:42 +0000 (13:10 +0200)] 
gtk4: Regenerate to pick up DestroyInstance attributes

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

5 years agogirparser: Improve evalution of instance-parameter information
Rico Tzschichholz [Mon, 26 Aug 2019 11:20:18 +0000 (13:20 +0200)] 
girparser: Improve evalution of instance-parameter information

See https://gitlab.gnome.org/GNOME/vala/issues/836

5 years agogtk4: Sync from 0.46 branch
Rico Tzschichholz [Sun, 8 Sep 2019 07:23:06 +0000 (09:23 +0200)] 
gtk4: Sync from 0.46 branch

5 years agolibsoup-2.4: soup_auth_new is not a constructor but a factory method
Rico Tzschichholz [Wed, 21 Aug 2019 18:29:07 +0000 (20:29 +0200)] 
libsoup-2.4: soup_auth_new is not a constructor but a factory method

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

5 years agovala: Add missing closing brace/bracket in to_string()
Rico Tzschichholz [Sat, 17 Aug 2019 06:48:35 +0000 (08:48 +0200)] 
vala: Add missing closing brace/bracket in to_string()

5 years agovala: Init formal_target_type of ArrayCreationExpr from InitializerList
Rico Tzschichholz [Fri, 16 Aug 2019 13:17:47 +0000 (15:17 +0200)] 
vala: Init formal_target_type of ArrayCreationExpr from InitializerList

formal_target_type is expected to be set when inferring generic type
parameters.

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

5 years agolinux: Add more Input and update UserspaceInput bindings
Rico Tzschichholz [Wed, 7 Aug 2019 06:46:05 +0000 (08:46 +0200)] 
linux: Add more Input and update UserspaceInput bindings

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

5 years agocairo: Add 1.16 symbols
Rico Tzschichholz [Mon, 5 Aug 2019 19:15:42 +0000 (21:15 +0200)] 
cairo: Add 1.16 symbols

5 years agosqlite3: Bind sqlite3_expanded_sql() and sqlite3_normalised_sql()
Michael Gratton [Mon, 5 Aug 2019 13:15:27 +0000 (23:15 +1000)] 
sqlite3: Bind sqlite3_expanded_sql() and sqlite3_normalised_sql()

5 years agovala: Support static methods in error-domains
Rico Tzschichholz [Sun, 28 Jul 2019 15:21:25 +0000 (17:21 +0200)] 
vala: Support static methods in error-domains

Actually generate methods defined inside error-domains and state that
instance methods are not supported yet.

See https://gitlab.gnome.org/GNOME/vala/issues/829

6 years agoRelease 0.44.7 0.44.7
Rico Tzschichholz [Mon, 5 Aug 2019 07:03:07 +0000 (09:03 +0200)] 
Release 0.44.7

6 years agocodegen: Include required type-definition when casting from generic pointer
Rico Tzschichholz [Fri, 26 Jul 2019 12:03:12 +0000 (14:03 +0200)] 
codegen: Include required type-definition when casting from generic pointer

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

6 years agox11: Fix return type of XInternAtoms and XGetAtomNames bindings
David Hewitt [Wed, 24 Jul 2019 18:27:18 +0000 (18:27 +0000)] 
x11: Fix return type of XInternAtoms and XGetAtomNames bindings

6 years agocodegen: Append line-break after G_DEFINE_AUTOPTR_CLEANUP_FUNC
Rico Tzschichholz [Wed, 24 Jul 2019 06:54:33 +0000 (08:54 +0200)] 
codegen: Append line-break after G_DEFINE_AUTOPTR_CLEANUP_FUNC

In addition to 38781a502b7381ef5383ae282fa33ddda9b493ed

6 years agotests: Add GMutex and GRecMutex test to increase coverage
Rico Tzschichholz [Tue, 23 Jul 2019 07:00:44 +0000 (09:00 +0200)] 
tests: Add GMutex and GRecMutex test to increase coverage

6 years agocodegen: Use G_TYPE_CHECK_INSTANCE_CAST for comparisons with interfaces
Rico Tzschichholz [Mon, 22 Jul 2019 10:49:53 +0000 (12:49 +0200)] 
codegen: Use G_TYPE_CHECK_INSTANCE_CAST for comparisons with interfaces

Avoids "comparison of distinct pointer types lacks a cast" warning for
such cases.

6 years agogirparser: Handle "function-macro" by skipping them
Rico Tzschichholz [Mon, 22 Jul 2019 07:29:37 +0000 (09:29 +0200)] 
girparser: Handle "function-macro" by skipping them

See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/159

6 years agovala: Fix mixup of target_glib_major/minor in set_target_glib_version()
Jim Mason [Sun, 21 Jul 2019 17:04:04 +0000 (18:04 +0100)] 
vala: Fix mixup of target_glib_major/minor in set_target_glib_version()

Introduced with 3d926c1288b3ec4fd692dd1de6b91fb6c2090183

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

6 years agovala: Implicit GValue cast requires GOBJECT profile
Rico Tzschichholz [Fri, 19 Jul 2019 18:02:26 +0000 (20:02 +0200)] 
vala: Implicit GValue cast requires GOBJECT profile

This fixes criticals like
    vala_data_type_get_data_type: assertion 'self != NULL' failed

Regression of 7d771a0c07d63cb7605cbdc28dd8df50719731f8

6 years agovala: NoAccessorMethod checks require GOBJECT profile
Rico Tzschichholz [Fri, 19 Jul 2019 17:56:32 +0000 (19:56 +0200)] 
vala: NoAccessorMethod checks require GOBJECT profile

This fixes criticals like
    vala_class_real_is_subtype_of: assertion 't != NULL' failed

Regression of a6441ec3c27e059d32501a4e09c937ac668f3ad9

6 years agovala: 'construct' is not supported in POSIX profile
Rico Tzschichholz [Fri, 19 Jul 2019 17:53:45 +0000 (19:53 +0200)] 
vala: 'construct' is not supported in POSIX profile

This fixes criticals like
    vala_class_real_is_subtype_of: assertion 't != NULL' failed

Regession of 6c8c75f59024b32230b1c13ea344a568f19b86df

6 years agoposix: Fix return-value of mknod() and c-include for tcgetsid()
Rico Tzschichholz [Fri, 19 Jul 2019 15:58:45 +0000 (17:58 +0200)] 
posix: Fix return-value of mknod() and c-include for tcgetsid()

Introduced with 535f2734d19875ccc1f170841b72eba0c4adad1e

6 years agowebkit2gtk-4.0: Fix WebContext.initialize_notification_permissions()
Rico Tzschichholz [Thu, 18 Jul 2019 18:52:35 +0000 (20:52 +0200)] 
webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions()

Bind it as WebContext.init_notification_permissions() to avoid conflict.

6 years agoglib-2.0: add MappedFile.from_fd constructor
Christian Kellner [Tue, 16 Jul 2019 16:16:52 +0000 (18:16 +0200)] 
glib-2.0: add MappedFile.from_fd constructor

Add the missing 'g_mapped_file_new_from_fd' constructor, added
with glib 2.32.

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

6 years agoRelease 0.44.6 d7a9dece752dc0cac5527e2d45bd05efb17205da 0.44.6
Rico Tzschichholz [Tue, 16 Jul 2019 09:18:27 +0000 (11:18 +0200)] 
Release 0.44.6

6 years agogtk4: Update to 3.96.0+b05d1676
Rico Tzschichholz [Tue, 9 Jul 2019 09:08:20 +0000 (11:08 +0200)] 
gtk4: Update to 3.96.0+b05d1676

6 years agoglib-2.0: Fix RecMutexLocker binding
Rico Tzschichholz [Tue, 9 Jul 2019 11:22:26 +0000 (13:22 +0200)] 
glib-2.0: Fix RecMutexLocker binding

6 years agoglib-2.0: Add binding for g_strv_equal() (since 2.60)
Rico Tzschichholz [Tue, 9 Jul 2019 08:06:56 +0000 (10:06 +0200)] 
glib-2.0: Add binding for g_strv_equal() (since 2.60)

6 years agocodegen: Real structs are allowed by simple generics and passed as reference
Rico Tzschichholz [Mon, 8 Jul 2019 17:11:19 +0000 (19:11 +0200)] 
codegen: Real structs are allowed by simple generics and passed as reference

Add the required pointer-indirections to fix invalid memory accesses.

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

6 years agobuild: Pass -no-undefined when linking libcodegen
Jeremy Philippe [Fri, 5 Jul 2019 16:26:05 +0000 (18:26 +0200)] 
build: Pass -no-undefined when linking libcodegen

This is required to build under MinGW (and presumably Cygwin).

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

6 years agocodegen: Assign GValue result of function calls to temp-var on copy_value
Rico Tzschichholz [Fri, 5 Jul 2019 14:54:19 +0000 (16:54 +0200)] 
codegen: Assign GValue result of function calls to temp-var on copy_value

Regression of a94a28141e1f222d1da7e72bea4cd2d1e5242f41

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

6 years agoxtst: Fix signature of XTest.fake_relative_motion_event()
Gran PC [Sun, 30 Jun 2019 13:06:39 +0000 (13:06 +0000)] 
xtst: Fix signature of XTest.fake_relative_motion_event()

See https://gitlab.gnome.org/GNOME/vala/merge_requests/67

6 years agoglib-2.0: Bind strcmp0 as GLib.CompareFunc<string?>
Rico Tzschichholz [Mon, 1 Jul 2019 09:10:35 +0000 (11:10 +0200)] 
glib-2.0: Bind strcmp0 as GLib.CompareFunc<string?>

Allows proper usage with experimental non-null

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

6 years agotests: Null-terminate arrays for compatibility test of uint8 and uchar
Rico Tzschichholz [Mon, 17 Jun 2019 10:59:12 +0000 (12:59 +0200)] 
tests: Null-terminate arrays for compatibility test of uint8 and uchar

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

6 years agoRelease 0.44.5 0.44.5
Rico Tzschichholz [Mon, 17 Jun 2019 08:47:30 +0000 (10:47 +0200)] 
Release 0.44.5

6 years agovala: Only warn about imcompatible type of external construct property
Rico Tzschichholz [Mon, 17 Jun 2019 06:05:54 +0000 (08:05 +0200)] 
vala: Only warn about imcompatible type of external construct property

This is to reduce the initial fallout.

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