]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
4 years agotests: Extend "GArray" tests to increase coverage
Rico Tzschichholz [Sun, 11 Apr 2021 18:45:59 +0000 (20:45 +0200)] 
tests: Extend "GArray" tests to increase coverage

4 years agoRelease 0.50.6 0.50.6
Rico Tzschichholz [Thu, 8 Apr 2021 09:09:12 +0000 (11:09 +0200)] 
Release 0.50.6

4 years agorest-0.7: Fix OAuthProxyAuthCallback binding
Rico Tzschichholz [Wed, 31 Mar 2021 13:03:57 +0000 (15:03 +0200)] 
rest-0.7: Fix OAuthProxyAuthCallback binding

4 years agocodegen: Don't call *_instance_init() in compact class chainup
Rico Tzschichholz [Wed, 7 Apr 2021 16:14:16 +0000 (18:14 +0200)] 
codegen: Don't call *_instance_init() in compact class chainup

Found by -fsanitize=address

4 years agolibusb: Fix some bindings errors
Rico Tzschichholz [Tue, 6 Apr 2021 19:40:58 +0000 (21:40 +0200)] 
libusb: Fix some bindings errors

4 years agolibusb-1.0: Fix some bindings errors
Rico Tzschichholz [Tue, 6 Apr 2021 19:40:58 +0000 (21:40 +0200)] 
libusb-1.0: Fix some bindings errors

4 years agox11: Fix some bindings errors
Rico Tzschichholz [Tue, 6 Apr 2021 19:40:58 +0000 (21:40 +0200)] 
x11: Fix some bindings errors

4 years agozlib: Fix some bindings errors
Rico Tzschichholz [Tue, 6 Apr 2021 19:40:58 +0000 (21:40 +0200)] 
zlib: Fix some bindings errors

4 years agopixman-1: Fix some bindings errors
Rico Tzschichholz [Tue, 6 Apr 2021 19:40:58 +0000 (21:40 +0200)] 
pixman-1: Fix some bindings errors

4 years agocodegen: Don't override valid target/destroy of previous lambda argument
Rico Tzschichholz [Tue, 6 Apr 2021 11:00:16 +0000 (13:00 +0200)] 
codegen: Don't override valid target/destroy of previous lambda argument

This does not enable proper support for delegates sharing a data argument,
but allows this special case.

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

4 years agocodegen: Always use CCodeConstant for NULL
Rico Tzschichholz [Tue, 6 Apr 2021 11:00:16 +0000 (13:00 +0200)] 
codegen: Always use CCodeConstant for NULL

4 years agocodegen: Fix default value of get_ccode_destroy_notify_pos() and make use of it
Rico Tzschichholz [Tue, 6 Apr 2021 11:00:16 +0000 (13:00 +0200)] 
codegen: Fix default value of get_ccode_destroy_notify_pos() and make use of it

4 years agojavascriptcoregtk-4.0,webkit2gtk-web-extension-4.0: Fix some binding errors
Rico Tzschichholz [Mon, 5 Apr 2021 17:06:40 +0000 (19:06 +0200)] 
javascriptcoregtk-4.0,webkit2gtk-web-extension-4.0: Fix some binding errors

4 years agogirwriter: Don't use instance-parameter inside callback (2)
Rico Tzschichholz [Mon, 5 Apr 2021 17:06:40 +0000 (19:06 +0200)] 
girwriter: Don't use instance-parameter inside callback (2)

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

4 years agogirwriter: Don't use instance-parameter inside callback
Rico Tzschichholz [Thu, 1 Apr 2021 13:33:43 +0000 (15:33 +0200)] 
girwriter: Don't use instance-parameter inside callback

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

4 years agotests/girwriter: Add tests for implicit parameters in virtual-method/callback
Rico Tzschichholz [Thu, 1 Apr 2021 13:33:43 +0000 (15:33 +0200)] 
tests/girwriter: Add tests for implicit parameters in virtual-method/callback

4 years agocodegen: Improve handling of ellipsis parameter in get_ccode_name()
Rico Tzschichholz [Thu, 1 Apr 2021 13:33:43 +0000 (15:33 +0200)] 
codegen: Improve handling of ellipsis parameter in get_ccode_name()

4 years agogirwriter: namespace expects "c:symbol-prefixes" attribute
Rico Tzschichholz [Wed, 31 Mar 2021 13:03:57 +0000 (15:03 +0200)] 
girwriter: namespace expects "c:symbol-prefixes" attribute

In addition to ef9c592dac6ee3a6db39e924de423e23e5f4a4ef

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

4 years agogio-2.0: Fix TlsPassword.get_value() binding
Rico Tzschichholz [Wed, 31 Mar 2021 13:03:57 +0000 (15:03 +0200)] 
gio-2.0: Fix TlsPassword.get_value() binding

4 years agogtk+-3.0: Fix ModuleInitFunc binding
Rico Tzschichholz [Wed, 31 Mar 2021 13:03:57 +0000 (15:03 +0200)] 
gtk+-3.0: Fix ModuleInitFunc binding

4 years agovala: Mark tranformed static member-access as qualified
Rico Tzschichholz [Sat, 20 Mar 2021 21:52:57 +0000 (22:52 +0100)] 
vala: Mark tranformed static member-access as qualified

Regression of 1084348f3a6d1113dfc09b3bb5ca6b94a0d812e9

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

4 years agolibvaladoc/girimporter: parse_constant() use "c:identifier" attribute first
Rico Tzschichholz [Sat, 20 Mar 2021 15:19:35 +0000 (16:19 +0100)] 
libvaladoc/girimporter: parse_constant() use "c:identifier" attribute first

4 years agolibvaladoc/girimporter: Don't guess length of xml header, iterate forward to <repository>
Rico Tzschichholz [Sat, 20 Mar 2021 15:19:35 +0000 (16:19 +0100)] 
libvaladoc/girimporter: Don't guess length of xml header, iterate forward to <repository>

If e.g. the xml header is missing, it resulted in errors like:

    error: expected start element of `repository'
    error: unsupported GIR version (null) (supported: 1.2)

4 years agogirparser: Don't guess length of xml header, iterate forward to <repository>
Rico Tzschichholz [Fri, 19 Mar 2021 15:00:49 +0000 (16:00 +0100)] 
girparser: Don't guess length of xml header, iterate forward to <repository>

If e.g. the xml header is missing, it resulted in errors like:

    error: expected start element of `repository'
    error: unsupported GIR version (null) (supported: 1.2)

4 years agoRelease 0.50.5 0.50.5
Rico Tzschichholz [Thu, 18 Mar 2021 16:01:39 +0000 (17:01 +0100)] 
Release 0.50.5

4 years agowebkit2gtk-4.0: Update to 2.31.91
Rico Tzschichholz [Thu, 18 Mar 2021 13:02:07 +0000 (14:02 +0100)] 
webkit2gtk-4.0: Update to 2.31.91

4 years agovapi: Fix a couple of attribute typos
Rico Tzschichholz [Tue, 16 Mar 2021 16:10:52 +0000 (17:10 +0100)] 
vapi: Fix a couple of attribute typos

4 years agogio-2.0: Add some missing NoWrapper and CCode.has_typedef attributes
Rico Tzschichholz [Tue, 16 Mar 2021 14:34:02 +0000 (15:34 +0100)] 
gio-2.0: Add some missing NoWrapper and CCode.has_typedef attributes

4 years agogirparser: Add support for NoWrapper metadata for methods
Rico Tzschichholz [Tue, 16 Mar 2021 14:34:02 +0000 (15:34 +0100)] 
girparser: Add support for NoWrapper metadata for methods

4 years agocodegen: Include "glib.h" for deprecated symbols (GOBJECT)
Rico Tzschichholz [Tue, 16 Mar 2021 11:41:24 +0000 (12:41 +0100)] 
codegen: Include "glib.h" for deprecated symbols (GOBJECT)

It is required for G_GNUC_DEPRECATED in declarations of
enums, delegates, methods, property accessors and structs.

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

4 years agogtk4-unix-print: Switch to gir
Rico Tzschichholz [Mon, 15 Mar 2021 15:02:29 +0000 (16:02 +0100)] 
gtk4-unix-print: Switch to gir

Use a temporary symlink to Gtk-4.0.gir which includes the required
symbol defintions.

4 years agogirparser: Handle empty "<type/>" element and report an error
Rico Tzschichholz [Mon, 15 Mar 2021 15:02:29 +0000 (16:02 +0100)] 
girparser: Handle empty "<type/>" element and report an error

4 years agogtk4: Update to 4.1.2
Rico Tzschichholz [Mon, 15 Mar 2021 15:02:29 +0000 (16:02 +0100)] 
gtk4: Update to 4.1.2

4 years agolinux: Provide Input.Event.input_event_sec/input_event_usec fields
Rico Tzschichholz [Sun, 14 Mar 2021 12:16:58 +0000 (13:16 +0100)] 
linux: Provide Input.Event.input_event_sec/input_event_usec fields

Mark Input.Event.time as deprecated

See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f

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

4 years agovala: Improve error for incompatible expressions in conditional expression
Rico Tzschichholz [Sun, 14 Mar 2021 11:38:16 +0000 (12:38 +0100)] 
vala: Improve error for incompatible expressions in conditional expression

4 years agogirparser: Allow overriding of "Compact" attribute for classes
Rico Tzschichholz [Sun, 14 Mar 2021 07:26:42 +0000 (08:26 +0100)] 
girparser: Allow overriding of "Compact" attribute for classes

4 years agogtk4: Add Gtk.INVALID_LIST_POSITION
Rico Tzschichholz [Sun, 14 Mar 2021 07:06:22 +0000 (08:06 +0100)] 
gtk4: Add Gtk.INVALID_LIST_POSITION

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

4 years agogsl: Fix some binding errors
Rico Tzschichholz [Fri, 12 Mar 2021 09:15:03 +0000 (10:15 +0100)] 
gsl: Fix some binding errors

4 years agognutls: Fix some binding errors
Rico Tzschichholz [Fri, 12 Mar 2021 09:15:03 +0000 (10:15 +0100)] 
gnutls: Fix some binding errors

4 years agogtk4: Update to 4.1.1+fe45f283
Rico Tzschichholz [Sat, 13 Mar 2021 20:45:40 +0000 (21:45 +0100)] 
gtk4: Update to 4.1.1+fe45f283

4 years agolibwnck-3.0: Update to 3.36.0
Rico Tzschichholz [Wed, 10 Mar 2021 17:51:52 +0000 (18:51 +0100)] 
libwnck-3.0: Update to 3.36.0

4 years agovala: Replace all type parameter occurances in parameters for signal delegate
Rico Tzschichholz [Wed, 10 Mar 2021 11:12:06 +0000 (12:12 +0100)] 
vala: Replace all type parameter occurances in parameters for signal delegate

Improves 36999b5ffd63cc56a8648791b02bf07e7da88077

4 years agocodegen: Drop inner casts before converting between generics and integers
Rico Tzschichholz [Wed, 10 Mar 2021 11:12:06 +0000 (12:12 +0100)] 
codegen: Drop inner casts before converting between generics and integers

Found by -Wpointer-to-int-cast

4 years agocodegen: Don't add generics arguments/parameters to async finish method
Rico Tzschichholz [Tue, 9 Mar 2021 14:52:30 +0000 (15:52 +0100)] 
codegen: Don't add generics arguments/parameters to async finish method

4 years agocodegen: Don't ever create null-aware free macro for GenericType
Rico Tzschichholz [Tue, 9 Mar 2021 14:52:30 +0000 (15:52 +0100)] 
codegen: Don't ever create null-aware free macro for GenericType

4 years agotests: Add "string concat" test for POSIX to increase coverage
Rico Tzschichholz [Tue, 9 Mar 2021 14:52:30 +0000 (15:52 +0100)] 
tests: Add "string concat" test for POSIX to increase coverage

4 years agocodegen: Fix access to captured generics in async method of interfaces
Rico Tzschichholz [Tue, 9 Mar 2021 08:51:21 +0000 (09:51 +0100)] 
codegen: Fix access to captured generics in async method of interfaces

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

4 years agocodegen: Use the one available source_reference for internal error
Rico Tzschichholz [Tue, 9 Mar 2021 06:59:25 +0000 (07:59 +0100)] 
codegen: Use the one available source_reference for internal error

This will at least provide some pointer to where things are going wrong.

In addition to 837d593e00d1a3ca8a6f2d13fb1514bed7672965

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

4 years agocodegen: Free intermediate temp-variables of postcondition expression
Rico Tzschichholz [Tue, 9 Mar 2021 06:24:48 +0000 (07:24 +0100)] 
codegen: Free intermediate temp-variables of postcondition expression

and not clearing "temp_ref_values" caused invalid references later.

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

4 years agocodegen: Report error for missing type-arguments of HashTable (de)serialization
Rico Tzschichholz [Sun, 7 Mar 2021 16:19:01 +0000 (17:19 +0100)] 
codegen: Report error for missing type-arguments of HashTable (de)serialization

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

4 years agovala: Check (optional) type-arguments of array creation expression
Rico Tzschichholz [Sun, 7 Mar 2021 12:42:16 +0000 (13:42 +0100)] 
vala: Check (optional) type-arguments of array creation expression

4 years agovala: Check array type of declarations for errornous type-arguments
Rico Tzschichholz [Sun, 7 Mar 2021 13:20:43 +0000 (14:20 +0100)] 
vala: Check array type of declarations for errornous type-arguments

4 years agovala: Move type-argument/-parameter count check to DataType.check_type_arguments()
Rico Tzschichholz [Sun, 7 Mar 2021 12:42:16 +0000 (13:42 +0100)] 
vala: Move type-argument/-parameter count check to DataType.check_type_arguments()

4 years agogio-2.0: Add some missing type-arguments
Rico Tzschichholz [Sun, 7 Mar 2021 12:42:16 +0000 (13:42 +0100)] 
gio-2.0: Add some missing type-arguments

4 years agoglib-2.0: Add some missing type-arguments
Rico Tzschichholz [Sun, 7 Mar 2021 12:42:16 +0000 (13:42 +0100)] 
glib-2.0: Add some missing type-arguments

4 years agovala: Add missing null-check in DataType.get_type_signature()
Rico Tzschichholz [Sun, 7 Mar 2021 12:42:16 +0000 (13:42 +0100)] 
vala: Add missing null-check in DataType.get_type_signature()

If an instance struct field can not be resolved to a valid
type-signature then bail.

This fixes criticals like:

    g_string_insert_len: assertion 'len == 0 || val != NULL' failed

4 years agogdbus: Don't leak memory of deserialized arguments on error in wrapper method
Rico Tzschichholz [Sat, 6 Mar 2021 13:06:10 +0000 (14:06 +0100)] 
gdbus: Don't leak memory of deserialized arguments on error in wrapper method

Found by -fsanitize=address

4 years agogtk4: Update to 4.1.1+f8f90d85
Rico Tzschichholz [Sat, 6 Mar 2021 11:38:01 +0000 (12:38 +0100)] 
gtk4: Update to 4.1.1+f8f90d85

4 years agovala: Fix ownership inheritance of "unowned var" in foreach statement
Rico Tzschichholz [Sat, 6 Mar 2021 08:46:32 +0000 (09:46 +0100)] 
vala: Fix ownership inheritance of "unowned var" in foreach statement

4 years agotests: Add more "gir" tests to increase coverage
Rico Tzschichholz [Fri, 5 Mar 2021 18:32:38 +0000 (19:32 +0100)] 
tests: Add more "gir" tests to increase coverage

4 years agotestrunner: Include Gio-2.0/gio-2.0 for GIR tests too
Rico Tzschichholz [Fri, 5 Mar 2021 18:32:38 +0000 (19:32 +0100)] 
testrunner: Include Gio-2.0/gio-2.0 for GIR tests too

4 years agocodegen: Inherit GType from base struct of SimpleType structs
Rico Tzschichholz [Fri, 5 Mar 2021 12:47:28 +0000 (13:47 +0100)] 
codegen: Inherit GType from base struct of SimpleType structs

GValue functions and marshaller type are inherited from base structs
already.

This avoids invalid C code which referenced an unavailable GType.

4 years agotests: Add more "gir" tests to increase coverage
Rico Tzschichholz [Thu, 4 Mar 2021 18:12:15 +0000 (19:12 +0100)] 
tests: Add more "gir" tests to increase coverage

4 years agoRegenerate GIR-based bindings to pick up missing class methods
Rico Tzschichholz [Thu, 4 Mar 2021 18:12:15 +0000 (19:12 +0100)] 
Regenerate GIR-based bindings to pick up missing class methods

4 years agogirparser: Evaluate "glib:type-struct" twice to pick up reparented structs
Rico Tzschichholz [Thu, 4 Mar 2021 18:12:15 +0000 (19:12 +0100)] 
girparser: Evaluate "glib:type-struct" twice to pick up reparented structs

4 years agocodegen: "_first_array" parameter for params-array is variadic too
Rico Tzschichholz [Tue, 2 Mar 2021 16:55:25 +0000 (17:55 +0100)] 
codegen: "_first_array" parameter for params-array is variadic too

Not following this resulted in mismatching signature assumptions between
caller and callee if the callable throws an error.

4 years agotests: Extend "pre-post increment" test to increase coverage
Rico Tzschichholz [Wed, 3 Mar 2021 16:59:54 +0000 (17:59 +0100)] 
tests: Extend "pre-post increment" test to increase coverage

4 years agotests: Add some tests to increase coverage
Rico Tzschichholz [Wed, 3 Mar 2021 15:06:34 +0000 (16:06 +0100)] 
tests: Add some tests to increase coverage

4 years agovala: Fix build with valac < 0.44
Rico Tzschichholz [Wed, 3 Mar 2021 16:37:04 +0000 (17:37 +0100)] 
vala: Fix build with valac < 0.44

4 years agovala: Report warning if --target-glib=auto was not evaluated successfully
Rico Tzschichholz [Wed, 3 Mar 2021 16:01:41 +0000 (17:01 +0100)] 
vala: Report warning if --target-glib=auto was not evaluated successfully

and don't try to process the valid "auto" string any further.

4 years agocodegen: More use of get_ccode_type_name()
Rico Tzschichholz [Wed, 3 Mar 2021 09:05:00 +0000 (10:05 +0100)] 
codegen: More use of get_ccode_type_name()

4 years agoRegenerate GIR-based bindings to pick up missing type_cname attributes
Rico Tzschichholz [Wed, 3 Mar 2021 09:05:00 +0000 (10:05 +0100)] 
Regenerate GIR-based bindings to pick up missing type_cname attributes

4 years agogirparser: Reuse populated Node.gtype_struct_for instead of resolving again
Rico Tzschichholz [Wed, 3 Mar 2021 09:05:00 +0000 (10:05 +0100)] 
girparser: Reuse populated Node.gtype_struct_for instead of resolving again

This fixes the discovery of non-default type_cname for re-parented symbols.

4 years agoCorrect Bindings NEWS for 0.50.4
Rico Tzschichholz [Sat, 13 Mar 2021 20:19:09 +0000 (21:19 +0100)] 
Correct Bindings NEWS for 0.50.4

4 years agoRelease 0.50.4 0.50.4
Rico Tzschichholz [Sun, 28 Feb 2021 08:22:05 +0000 (09:22 +0100)] 
Release 0.50.4

4 years agotests: Add some "unary expressions" tests to increase coverage
Rico Tzschichholz [Sat, 27 Feb 2021 11:23:56 +0000 (12:23 +0100)] 
tests: Add some "unary expressions" tests to increase coverage

4 years agovala: Report error for invalid inner operand of unary expressions
Rico Tzschichholz [Sat, 27 Feb 2021 11:23:56 +0000 (12:23 +0100)] 
vala: Report error for invalid inner operand of unary expressions

This fixes criticals like:

    vala_unary_expression_is_integer_type: assertion 'type != NULL' failed

4 years agovala: Set proper source_reference for implicit "this" and "result" variables
Rico Tzschichholz [Sat, 27 Feb 2021 09:34:54 +0000 (10:34 +0100)] 
vala: Set proper source_reference for implicit "this" and "result" variables

4 years agotests: Add more "unsupported creation method" tests to increase coverage
Rico Tzschichholz [Sat, 27 Feb 2021 09:34:54 +0000 (10:34 +0100)] 
tests: Add more "unsupported creation method" tests to increase coverage

4 years agovala: Include "stdlib.h" for Enum.to_string() (POSIX)
Rico Tzschichholz [Fri, 26 Feb 2021 18:19:54 +0000 (19:19 +0100)] 
vala: Include "stdlib.h" for Enum.to_string() (POSIX)

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

4 years agocodegen: Include "string.h" for strcmp() (POSIX)
Rico Tzschichholz [Fri, 26 Feb 2021 18:19:54 +0000 (19:19 +0100)] 
codegen: Include "string.h" for strcmp() (POSIX)

4 years agovala: Improve context check whether property is writeable on assignments
Rico Tzschichholz [Fri, 26 Feb 2021 14:55:09 +0000 (15:55 +0100)] 
vala: Improve context check whether property is writeable on assignments

4 years agocodegen: Don't wrongly emit declaration for default-handler of signals
Rico Tzschichholz [Wed, 24 Feb 2021 08:58:43 +0000 (09:58 +0100)] 
codegen: Don't wrongly emit declaration for default-handler of signals

This is done in GTypeModule.generate_interface_declaration()

4 years agotests: Add more "girparser" tests to increase coverage
Rico Tzschichholz [Sun, 21 Feb 2021 18:34:48 +0000 (19:34 +0100)] 
tests: Add more "girparser" tests to increase coverage

4 years agovala: Infer needle type for "in" expression on enum
Rico Tzschichholz [Sun, 21 Feb 2021 09:40:25 +0000 (10:40 +0100)] 
vala: Infer needle type for "in" expression on enum

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

4 years agotests/girwriter: Increase coverage
Rico Tzschichholz [Sat, 20 Feb 2021 19:04:08 +0000 (20:04 +0100)] 
tests/girwriter: Increase coverage

4 years agogirwriter: Output default handler of signals
Rico Tzschichholz [Sat, 20 Feb 2021 19:04:08 +0000 (20:04 +0100)] 
girwriter: Output default handler of signals

4 years agovala: Generics value holding struct pointer requires casting on access
Rico Tzschichholz [Fri, 19 Feb 2021 13:22:20 +0000 (14:22 +0100)] 
vala: Generics value holding struct pointer requires casting on access

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

4 years agocodegen: Report error for unsupported symbol_reference of MemberInitializer
Rico Tzschichholz [Tue, 16 Feb 2021 21:42:00 +0000 (22:42 +0100)] 
codegen: Report error for unsupported symbol_reference of MemberInitializer

4 years agovala: Capturing va_list parameters/variables is not allowed
Rico Tzschichholz [Tue, 16 Feb 2021 09:33:06 +0000 (10:33 +0100)] 
vala: Capturing va_list parameters/variables is not allowed

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

4 years agocodewriter: Don't write trailing ";" after body of WithStatement
Rico Tzschichholz [Tue, 16 Feb 2021 09:33:06 +0000 (10:33 +0100)] 
codewriter: Don't write trailing ";" after body of WithStatement

4 years agovala: Check type-arguments in base-types/prerequisites of class/interface
Rico Tzschichholz [Sat, 13 Feb 2021 13:47:03 +0000 (14:47 +0100)] 
vala: Check type-arguments in base-types/prerequisites of class/interface

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

4 years agocodegen: Strip all nested occurances of CCodeCastExpression
Rico Tzschichholz [Sun, 7 Feb 2021 18:04:56 +0000 (19:04 +0100)] 
codegen: Strip all nested occurances of CCodeCastExpression

Triggered by 63551acaf0d83fac8b50904c2759c1098fbfaa71

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

4 years agolibvaladoc: Add wrapper for "agedge" of graphviz
Rico Tzschichholz [Sun, 7 Feb 2021 10:02:02 +0000 (11:02 +0100)] 
libvaladoc: Add wrapper for "agedge" of graphviz

4 years agocodegen: Correctly retrieve symbol_reference of nested cast expressions
Rico Tzschichholz [Sun, 7 Feb 2021 07:57:39 +0000 (08:57 +0100)] 
codegen: Correctly retrieve symbol_reference of nested cast expressions

Regression of 63551acaf0d83fac8b50904c2759c1098fbfaa71

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

4 years agogee: Replace Memory.dup() with GLib.malloc() and Memory.copy()
Rico Tzschichholz [Fri, 5 Feb 2021 15:14:45 +0000 (16:14 +0100)] 
gee: Replace Memory.dup() with GLib.malloc() and Memory.copy()

4 years agogstreamer-1.0: Set CCode.type_id of MiniObject to G_TYPE_BOXED
Rico Tzschichholz [Fri, 5 Feb 2021 06:51:34 +0000 (07:51 +0100)] 
gstreamer-1.0: Set CCode.type_id of MiniObject to G_TYPE_BOXED

Fixed https://gitlab.gnome.org/GNOME/vala/issues/1133

4 years agotestrunner: Add "-Werror=return-stack-address" flag
Rico Tzschichholz [Thu, 4 Feb 2021 14:53:55 +0000 (15:53 +0100)] 
testrunner: Add "-Werror=return-stack-address" flag

4 years agotests: Don't leak array if length is -1
Rico Tzschichholz [Thu, 4 Feb 2021 09:55:31 +0000 (10:55 +0100)] 
tests: Don't leak array if length is -1

Found by -fsanitize=address

4 years agocodegen: Chain up to base struct destroy function
Rico Tzschichholz [Thu, 4 Feb 2021 09:55:31 +0000 (10:55 +0100)] 
codegen: Chain up to base struct destroy function

Found by -fsanitize=address