]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
3 years agoRelease 0.52.11 0.52 0.52.11
Rico Tzschichholz [Mon, 21 Feb 2022 09:03:31 +0000 (10:03 +0100)] 
Release 0.52.11

3 years agomanual: Update from wiki.gnome.org
Rico Tzschichholz [Fri, 28 Jan 2022 13:25:13 +0000 (14:25 +0100)] 
manual: Update from wiki.gnome.org

3 years agolibsoup-2.4: Cherry-pick bindings fixes from 0.56
Rico Tzschichholz [Mon, 14 Feb 2022 13:47:18 +0000 (14:47 +0100)] 
libsoup-2.4: Cherry-pick bindings fixes from 0.56

3 years agolibgeoclue-2.0: Fix Simple.with_thresholds() contructor binding
Rico Tzschichholz [Fri, 14 Jan 2022 13:37:12 +0000 (14:37 +0100)] 
libgeoclue-2.0: Fix Simple.with_thresholds() contructor binding

3 years agovala: Show source location when reporting deprecations
Rico Tzschichholz [Mon, 27 Dec 2021 06:44:31 +0000 (07:44 +0100)] 
vala: Show source location when reporting deprecations

3 years agovala: Clear SemanticAnalyzer.current_{symbol,source_file} when not needed anymore
Rico Tzschichholz [Wed, 9 Feb 2022 20:32:09 +0000 (21:32 +0100)] 
vala: Clear SemanticAnalyzer.current_{symbol,source_file} when not needed anymore

3 years agovala: Free empty stack list for code contexts
Rico Tzschichholz [Wed, 9 Feb 2022 16:36:14 +0000 (17:36 +0100)] 
vala: Free empty stack list for code contexts

While having the stack list created on demand, make sure to destroy it
when it is not required anymore. Otherwise it will be leaked without an
option to avoid that to happen.

3 years agogtkmodule: Recurse inner classes of ObjectTypeSymbols
Rico Tzschichholz [Tue, 8 Feb 2022 23:05:24 +0000 (00:05 +0100)] 
gtkmodule: Recurse inner classes of ObjectTypeSymbols

3 years agotest/gtktemplate: Use correct class name
Rico Tzschichholz [Tue, 8 Feb 2022 23:05:24 +0000 (00:05 +0100)] 
test/gtktemplate: Use correct class name

3 years agoparser: Clean up creation of constant declaration
Rico Tzschichholz [Sun, 6 Feb 2022 13:29:55 +0000 (14:29 +0100)] 
parser: Clean up creation of constant declaration

3 years agovala: Move dynamic property errors to semantic analyzer pass
Rico Tzschichholz [Sun, 6 Feb 2022 07:57:35 +0000 (08:57 +0100)] 
vala: Move dynamic property errors to semantic analyzer pass

3 years agovala: Make sure to drop our "trap" jump target in case of an error
Rico Tzschichholz [Fri, 4 Feb 2022 08:32:11 +0000 (09:32 +0100)] 
vala: Make sure to drop our "trap" jump target in case of an error

Otherwise this can result in an infinite loop in FlowAnalyzer.intersect()

Improve source reference for jump out of finally block

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

3 years agocodegen: Use correct target/destroy of delegate field initializer
Rico Tzschichholz [Mon, 31 Jan 2022 15:37:44 +0000 (16:37 +0100)] 
codegen: Use correct target/destroy of delegate field initializer

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

3 years agotests: Generic type inference for static methods only in compact classes
Rico Tzschichholz [Sun, 30 Jan 2022 17:07:23 +0000 (18:07 +0100)] 
tests: Generic type inference for static methods only in compact classes

3 years agovala: Add missing TraverseVisitor.visit_data_type()
Rico Tzschichholz [Sun, 30 Jan 2022 17:07:23 +0000 (18:07 +0100)] 
vala: Add missing TraverseVisitor.visit_data_type()

3 years agovala: Transform assignment of an array element as needed
wxx [Tue, 30 Nov 2021 18:54:04 +0000 (02:54 +0800)] 
vala: Transform assignment of an array element as needed

Fixes https://gitlab.gnome.org/GNOME/vala/issues/889
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1258

3 years agov4l2: Update V4l2.Capabilities and fix some inline arrays
Nikola Hadžić [Tue, 25 Jan 2022 09:07:04 +0000 (10:07 +0100)] 
v4l2: Update V4l2.Capabilities and fix some inline arrays

3 years agoalsa: Add/fix *.alloca() functions
Nikola Hadžić [Tue, 25 Jan 2022 09:02:17 +0000 (10:02 +0100)] 
alsa: Add/fix *.alloca() functions

3 years agoglib-2.0: Fix criticals in string.joinv() with arrays that start with null
Nahuel Gomez [Tue, 25 Jan 2022 17:23:58 +0000 (14:23 -0300)] 
glib-2.0: Fix criticals in string.joinv() with arrays that start with null

3 years agocodegen: Access of stack allocated struct is guaranteed to be non null
Rico Tzschichholz [Mon, 24 Jan 2022 09:17:46 +0000 (10:17 +0100)] 
codegen: Access of stack allocated struct is guaranteed to be non null

Found by -Werror=address with GCC 12

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

3 years agocodegen: Don't uncoditionally null check callback_func for GLib.Closure
Rico Tzschichholz [Mon, 24 Jan 2022 09:17:46 +0000 (10:17 +0100)] 
codegen: Don't uncoditionally null check callback_func for GLib.Closure

Found by -Werror=address with GCC 12

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

3 years agocodegen: Access of inline allocated array is guaranteed to be non null
Rico Tzschichholz [Sun, 23 Jan 2022 17:46:48 +0000 (18:46 +0100)] 
codegen: Access of inline allocated array is guaranteed to be non null

and improve null check for container in slice expression

Found by -Werror=address with GCC 12

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

3 years agovala: Implement missing YieldStatement.accept()
Rico Tzschichholz [Tue, 18 Jan 2022 17:42:11 +0000 (18:42 +0100)] 
vala: Implement missing YieldStatement.accept()

3 years agoparser: Reduce the source reference of main block method to its beginning
Rico Tzschichholz [Tue, 18 Jan 2022 13:33:15 +0000 (14:33 +0100)] 
parser: Reduce the source reference of main block method to its beginning

The end contains broken information which lead to a crash while trying to
report this multi-line source reference.

3 years agocodegen: Avoid symbol clashes with "va_*" from "stdarg.h"
Alvarito050506 [Mon, 17 Jan 2022 19:00:16 +0000 (16:00 -0300)] 
codegen: Avoid symbol clashes with "va_*" from "stdarg.h"

A few more symbol clashes with the va_* macros from stdarg.h, that seem to
happen only in some systems, like Alpine Linux or NetBSD.

3 years agovala: Require lvalue access of delegate target/destroy "fields"
Rico Tzschichholz [Sun, 16 Jan 2022 18:25:51 +0000 (19:25 +0100)] 
vala: Require lvalue access of delegate target/destroy "fields"

In addition to c054da918a40f8ef93c1a006034fb6ab4717c135

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

3 years agocodegen: Generated SimpleType structs don't have a type id
Rico Tzschichholz [Sun, 9 Jan 2022 18:49:27 +0000 (19:49 +0100)] 
codegen: Generated SimpleType structs don't have a type id

Set "CCode.has_type_id" in CCodeStructModule.generate_struct_declaration()
like in GTypeModule.visit_struct() for SimpleType structs which might be
executed too late.

In addition to 2e798fc3f8e9af25a4c231c2561894d9f0a0be50

3 years agoRelease 0.52.10 0.52.10
Rico Tzschichholz [Sun, 9 Jan 2022 13:05:45 +0000 (14:05 +0100)] 
Release 0.52.10

3 years agogstreamer: Cherry-pick bindings fixes from 0.56
Rico Tzschichholz [Wed, 15 Dec 2021 15:27:56 +0000 (16:27 +0100)] 
gstreamer: Cherry-pick bindings fixes from 0.56

3 years agogirparser: Avoid possibily creating duplicated attributes
Rico Tzschichholz [Wed, 15 Dec 2021 20:42:53 +0000 (21:42 +0100)] 
girparser: Avoid possibily creating duplicated attributes

Don't append an attribute without checking if there is an existing one.
In case the attribute already exists append the new key/value pairs.

3 years agotests: Add "type-parameter property clash" test to increase coverage
Rico Tzschichholz [Tue, 14 Dec 2021 09:38:37 +0000 (10:38 +0100)] 
tests: Add "type-parameter property clash" test to increase coverage

This needs to be handled gracefully. So throwing an error is no option.

3 years agocodegen: Use a dedicated EmitContext for _variant_get*() functions
Rico Tzschichholz [Mon, 13 Dec 2021 18:35:47 +0000 (19:35 +0100)] 
codegen: Use a dedicated EmitContext for _variant_get*() functions

3 years agovala: Report statement parsing error if it is not meant to be an expression
Rico Tzschichholz [Mon, 13 Dec 2021 11:38:01 +0000 (12:38 +0100)] 
vala: Report statement parsing error if it is not meant to be an expression

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

3 years agotests: Add more "chain up" tests to increase coverage
Rico Tzschichholz [Sun, 12 Dec 2021 17:47:53 +0000 (18:47 +0100)] 
tests: Add more "chain up" tests to increase coverage

3 years agovala: Set is_yield_expression in async context when chaining up to async base ctor
Rico Tzschichholz [Sun, 12 Dec 2021 17:47:53 +0000 (18:47 +0100)] 
vala: Set is_yield_expression in async context when chaining up to async base ctor

vala-CRITICAL **: vala_member_access_get_inner: assertion 'self != NULL' failed
vala-CRITICAL **: vala_member_access_get_member_name: assertion 'self != NULL' failed

Avoid these spurious criticals and trigger the currently expected error.

3 years agocodegen: Correctly handle chain up of struct creation methods
Rico Tzschichholz [Sat, 11 Dec 2021 09:34:03 +0000 (10:34 +0100)] 
codegen: Correctly handle chain up of struct creation methods

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

3 years agovala: NullLiteral is not a valid argument for string concatenation
wxx [Sat, 4 Dec 2021 09:17:47 +0000 (17:17 +0800)] 
vala: NullLiteral is not a valid argument for string concatenation

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

3 years agogtkmodule: Handle nested closure elements and bind them accordingly
Rico Tzschichholz [Mon, 6 Dec 2021 21:23:28 +0000 (22:23 +0100)] 
gtkmodule: Handle nested closure elements and bind them accordingly

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

3 years agotests/girwriter: Use the actual expected output of our girwriter
Lorenz Wildberg [Mon, 29 Nov 2021 21:31:28 +0000 (21:31 +0000)] 
tests/girwriter: Use the actual expected output of our girwriter

3 years agobuild: Update git-version-gen to latest upstream
Rico Tzschichholz [Wed, 1 Dec 2021 16:11:42 +0000 (17:11 +0100)] 
build: Update git-version-gen to latest upstream

From commit 378351df7e63daca234c581f086b542026e07a27 of
https://git.savannah.gnu.org/cgit/autoconf.git/tree/build-aux/git-version-gen

3 years agovapigen.m4: use $PKG_CONFIG_SYSROOT_DIR
Alexander Kanavin [Fri, 23 Oct 2015 13:13:54 +0000 (16:13 +0300)] 
vapigen.m4: use $PKG_CONFIG_SYSROOT_DIR

This is necessary in cross-compiling environments, where directories
returned by pkg-config should be prefixed with sysroot location.

3 years agoglib-2.0: Always use the actual C type for CCode.array_length_type
Rico Tzschichholz [Tue, 30 Nov 2021 12:37:29 +0000 (13:37 +0100)] 
glib-2.0: Always use the actual C type for CCode.array_length_type

3 years agoRelease 0.52.9 0.52.9
Rico Tzschichholz [Sat, 8 Jan 2022 18:41:43 +0000 (19:41 +0100)] 
Release 0.52.9

3 years agocodegen: Clear existing length values when revisiting a slice expression
Rico Tzschichholz [Wed, 5 Jan 2022 19:45:10 +0000 (20:45 +0100)] 
codegen: Clear existing length values when revisiting a slice expression

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

3 years agotests: Add "async signal handler" test to increase coverage
Rico Tzschichholz [Wed, 5 Jan 2022 07:25:19 +0000 (08:25 +0100)] 
tests: Add "async signal handler" test to increase coverage

3 years agocodegen: Cast given default-value of struct with possible member initializer
Rico Tzschichholz [Mon, 3 Jan 2022 12:59:36 +0000 (13:59 +0100)] 
codegen: Cast given default-value of struct with possible member initializer

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

3 years agocodegen: Allow boxing of non-external SimpleType structs
Rico Tzschichholz [Mon, 3 Jan 2022 08:07:00 +0000 (09:07 +0100)] 
codegen: Allow boxing of non-external SimpleType structs

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

3 years agogio-2.0: Add custom MemoryOutputStream.with_*data() wrappers
Rico Tzschichholz [Tue, 28 Dec 2021 12:18:46 +0000 (13:18 +0100)] 
gio-2.0: Add custom MemoryOutputStream.with_*data() wrappers

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

3 years agovala: Correctly replace "in" expression in pre-/postconditions of method
Rico Tzschichholz [Mon, 20 Dec 2021 19:40:30 +0000 (20:40 +0100)] 
vala: Correctly replace "in" expression in pre-/postconditions of method

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

3 years agovala: Non nullable enum types are simple types
Rico Tzschichholz [Thu, 16 Dec 2021 14:31:47 +0000 (15:31 +0100)] 
vala: Non nullable enum types are simple types

Fixes a regression of 5b6345a6386b05aaf3f11cb3572940413eb878a8

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

3 years agovala: Allow unsafe assignment of integer to enum while reporting a notice
Rico Tzschichholz [Thu, 16 Dec 2021 14:31:47 +0000 (15:31 +0100)] 
vala: Allow unsafe assignment of integer to enum while reporting a notice

3 years agoRelease 0.52.8 0.52.8
Rico Tzschichholz [Thu, 2 Dec 2021 12:55:59 +0000 (13:55 +0100)] 
Release 0.52.8

3 years agotests: Add missing methods/parameter-ccode-type.vala
Rico Tzschichholz [Mon, 29 Nov 2021 14:51:49 +0000 (15:51 +0100)] 
tests: Add missing methods/parameter-ccode-type.vala

In addition to 0e097710e37b671b17ed1da330dd83b9e2340602

3 years agopango: Cherry-pick bindings fixes from 0.56
Rico Tzschichholz [Mon, 29 Nov 2021 10:28:06 +0000 (11:28 +0100)] 
pango: Cherry-pick bindings fixes from 0.56

3 years agogstreamer: Cherry-pick bindings fixes from 0.56
Rico Tzschichholz [Mon, 29 Nov 2021 10:27:33 +0000 (11:27 +0100)] 
gstreamer: Cherry-pick bindings fixes from 0.56

3 years agotests: Rename colliding test case to avoid conflict
Lorenz Wildberg [Sat, 27 Nov 2021 21:10:40 +0000 (21:10 +0000)] 
tests: Rename colliding test case to avoid conflict

3 years agognome-desktop-3.0: Some parameter fixes
Rico Tzschichholz [Sun, 28 Nov 2021 11:45:25 +0000 (12:45 +0100)] 
gnome-desktop-3.0: Some parameter fixes

3 years agocodegen: Accept CCode.type attribute on parameters
Rico Tzschichholz [Sat, 27 Nov 2021 18:26:35 +0000 (19:26 +0100)] 
codegen: Accept CCode.type attribute on parameters

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

3 years agocodegen: Drop inconsistent space for ObjectType parameters
Rico Tzschichholz [Sat, 27 Nov 2021 18:26:35 +0000 (19:26 +0100)] 
codegen: Drop inconsistent space for ObjectType parameters

3 years agotests: Rename colliding test cases to avoid conflicts
Rico Tzschichholz [Fri, 26 Nov 2021 22:03:37 +0000 (23:03 +0100)] 
tests: Rename colliding test cases to avoid conflicts

3 years agovala: Fix signals with generic return
Rico Tzschichholz [Fri, 26 Nov 2021 14:34:40 +0000 (15:34 +0100)] 
vala: Fix signals with generic return

In addition to 36999b5ffd63cc56a8648791b02bf07e7da88077

3 years agovala: Report error on missing gio-2.0 package for async constructors
Rico Tzschichholz [Thu, 25 Nov 2021 19:22:00 +0000 (20:22 +0100)] 
vala: Report error on missing gio-2.0 package for async constructors

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

3 years agotests: Add runtime checks to signals tests and increase coverage
Rico Tzschichholz [Thu, 25 Nov 2021 19:22:00 +0000 (20:22 +0100)] 
tests: Add runtime checks to signals tests and increase coverage

3 years agotests/girwriter: Increase coverage
Rico Tzschichholz [Wed, 24 Nov 2021 22:12:54 +0000 (23:12 +0100)] 
tests/girwriter: Increase coverage

3 years agotests: Add [Profile] method test to increase coverage
Rico Tzschichholz [Wed, 24 Nov 2021 20:26:03 +0000 (21:26 +0100)] 
tests: Add [Profile] method test to increase coverage

3 years agovala: Add [Profile] as known attribute for methods
Rico Tzschichholz [Wed, 24 Nov 2021 20:26:03 +0000 (21:26 +0100)] 
vala: Add [Profile] as known attribute for methods

3 years agoccode: Fix CCodeUnaryExpression.write() for PREFIX_INCREMENT/PREFIX_DECREMENT
Rico Tzschichholz [Wed, 24 Nov 2021 20:26:03 +0000 (21:26 +0100)] 
ccode: Fix CCodeUnaryExpression.write() for PREFIX_INCREMENT/PREFIX_DECREMENT

Regression of 0f65d306f5a2eca7ea798e5c835cf66b6e327c8e

3 years agogenie: Accept accessibility and async modifiers on "construct" creation methods
Rico Tzschichholz [Tue, 23 Nov 2021 13:19:02 +0000 (14:19 +0100)] 
genie: Accept accessibility and async modifiers on "construct" creation methods

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

3 years agogstreamer-base-1.0: Some parameter fixes
Rico Tzschichholz [Tue, 23 Nov 2021 10:06:36 +0000 (11:06 +0100)] 
gstreamer-base-1.0: Some parameter fixes

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

3 years agoalsa: Add more API and fix a few things
Nikola Hadžić [Tue, 21 Sep 2021 21:50:26 +0000 (23:50 +0200)] 
alsa: Add more API and fix a few things

3 years agocodegen: Add missing check while overriding virtual async interface methods
Rico Tzschichholz [Sat, 20 Nov 2021 16:29:22 +0000 (17:29 +0100)] 
codegen: Add missing check while overriding virtual async interface methods

This fixes a couple of criticals and possibly faulty C code.

In addition to fc246aa7f8cbc6cb176724246a0187e19fe91198

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

3 years agocodegen: Check required length of enum type name for GType support
Rico Tzschichholz [Wed, 17 Nov 2021 20:26:39 +0000 (21:26 +0100)] 
codegen: Check required length of enum type name for GType support

Add corresponding tests for types which have support for GType

3 years agovala: Check for unavailable value-type of variable initializer
Rico Tzschichholz [Wed, 17 Nov 2021 17:46:22 +0000 (18:46 +0100)] 
vala: Check for unavailable value-type of variable initializer

Regression of 6690ea0e3c6f0d81d849e13548efc8c0809149cc

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

3 years agocodegen: Add and use CCodeConstantIdentifier for accessing constants
Rico Tzschichholz [Mon, 15 Nov 2021 19:43:19 +0000 (20:43 +0100)] 
codegen: Add and use CCodeConstantIdentifier for accessing constants

If an address to a constant value is required then its identifier needs
to be used instead of referring to a temporary copy.

Fixes a regression of f1a8f2a4c6771124abd61fd0ebfa991c846575fe

Found by -fsanitize=address

3 years agocodegen: Use CCodeConstant for member access of constant symbol
Rico Tzschichholz [Sat, 6 Nov 2021 17:55:38 +0000 (18:55 +0100)] 
codegen: Use CCodeConstant for member access of constant symbol

This broke assumptions in CCodeBaseModule.is_constant_ccode_expression()

3 years agotests: Fix mixed up naming of base-type tests for classes
Rico Tzschichholz [Sat, 6 Nov 2021 17:55:37 +0000 (18:55 +0100)] 
tests: Fix mixed up naming of base-type tests for classes

3 years agotests: Add more "statement" tests for genie to increase coverage
Rico Tzschichholz [Sat, 6 Nov 2021 14:35:12 +0000 (15:35 +0100)] 
tests: Add more "statement" tests for genie to increase coverage

3 years agogtkmodule: Improve error message for invalid signal element in ui-file
Yotam Nachum [Sat, 6 Nov 2021 12:33:07 +0000 (14:33 +0200)] 
gtkmodule: Improve error message for invalid signal element in ui-file

3 years agotests: Add more "declaration" tests for genie to increase coverage
Rico Tzschichholz [Fri, 5 Nov 2021 10:08:23 +0000 (11:08 +0100)] 
tests: Add more "declaration" tests for genie to increase coverage

3 years agogenie: "exception" is the expected string for TokenType.ERRORDOMAIN
Rico Tzschichholz [Thu, 11 Nov 2021 14:51:31 +0000 (15:51 +0100)] 
genie: "exception" is the expected string for TokenType.ERRORDOMAIN

3 years agogenie: Properly handle plain "get" or "set" property accessors
Rico Tzschichholz [Thu, 4 Nov 2021 21:34:47 +0000 (22:34 +0100)] 
genie: Properly handle plain "get" or "set" property accessors

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

3 years agogenie: Accept INTERR token before type arguments when parsing type
Rico Tzschichholz [Wed, 3 Nov 2021 17:47:31 +0000 (18:47 +0100)] 
genie: Accept INTERR token before type arguments when parsing type

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

3 years agogenie: Amend text of indent and dedent for error messages
Alistair Thomas [Sat, 25 Apr 2015 17:55:33 +0000 (18:55 +0100)] 
genie: Amend text of indent and dedent for error messages

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

3 years agoparser: Better handling of misplaced switch sections
Rico Tzschichholz [Tue, 2 Nov 2021 12:22:00 +0000 (13:22 +0100)] 
parser: Better handling of misplaced switch sections

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

3 years agoparser: Split out Parser.parse_switch_section_statement()
Rico Tzschichholz [Tue, 2 Nov 2021 12:22:00 +0000 (13:22 +0100)] 
parser: Split out Parser.parse_switch_section_statement()

3 years agovala: Using SignalHandler.disconnect() is required for dynamic signals
Rico Tzschichholz [Mon, 1 Nov 2021 13:02:04 +0000 (14:02 +0100)] 
vala: Using SignalHandler.disconnect() is required for dynamic signals

3 years agotests: Extend "dynamic" signal test to increase coverage
Rico Tzschichholz [Mon, 1 Nov 2021 13:02:04 +0000 (14:02 +0100)] 
tests: Extend "dynamic" signal test to increase coverage

3 years agogirparser: Accept "sealed" for transformed records and compact classes
Rico Tzschichholz [Sat, 30 Oct 2021 07:33:34 +0000 (09:33 +0200)] 
girparser: Accept "sealed" for transformed records and compact classes

3 years agovala: Improve error message for invalid handler of dynamic signal
Lorenz Wildberg [Fri, 29 Oct 2021 10:50:30 +0000 (11:50 +0100)] 
vala: Improve error message for invalid handler of dynamic signal

3 years agoRelease 0.52.7 0.52.7
Rico Tzschichholz [Sat, 30 Oct 2021 08:21:43 +0000 (10:21 +0200)] 
Release 0.52.7

3 years agotests: Add "throws error code" tests to increase coverage
Rico Tzschichholz [Sat, 23 Oct 2021 16:27:29 +0000 (18:27 +0200)] 
tests: Add "throws error code" tests to increase coverage

3 years agovala: Improve CodeWriter.visit_catch_clause()
Rico Tzschichholz [Sat, 23 Oct 2021 13:27:12 +0000 (15:27 +0200)] 
vala: Improve CodeWriter.visit_catch_clause()

Properly output general catch clause

3 years agovala: Implement CodeWriter.visit_foreach_statement()
Rico Tzschichholz [Sat, 23 Oct 2021 13:27:12 +0000 (15:27 +0200)] 
vala: Implement CodeWriter.visit_foreach_statement()

3 years agoparser: Make sure ErrorCodes are accessible as needed
Rico Tzschichholz [Sat, 23 Oct 2021 13:27:12 +0000 (15:27 +0200)] 
parser: Make sure ErrorCodes are accessible as needed

3 years agocodegen: Use ErrorType.error_domain if possible
Rico Tzschichholz [Sat, 23 Oct 2021 13:27:12 +0000 (15:27 +0200)] 
codegen: Use ErrorType.error_domain if possible

3 years agovala: Report error for non ErrorType in throws
Rico Tzschichholz [Sat, 23 Oct 2021 13:27:12 +0000 (15:27 +0200)] 
vala: Report error for non ErrorType in throws

3 years agotests: Add "no error type in catch" tests to increase coverage
Rico Tzschichholz [Sat, 23 Oct 2021 13:27:12 +0000 (15:27 +0200)] 
tests: Add "no error type in catch" tests to increase coverage

3 years agovala: Replace and drop UnaryExpression.find_member_access()
Rico Tzschichholz [Sat, 23 Oct 2021 13:27:12 +0000 (15:27 +0200)] 
vala: Replace and drop UnaryExpression.find_member_access()

3 years agotests: Add invalid "unary decrement" test to increase coverage
Rico Tzschichholz [Sat, 23 Oct 2021 13:27:12 +0000 (15:27 +0200)] 
tests: Add invalid "unary decrement" test to increase coverage

3 years agotests: Add more invalid "(un)lock" tests to increase coverage
Rico Tzschichholz [Sat, 23 Oct 2021 13:27:12 +0000 (15:27 +0200)] 
tests: Add more invalid "(un)lock" tests to increase coverage