]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
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 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

3 years agovala: Correctly output signature of callable throwing error
Rico Tzschichholz [Thu, 21 Oct 2021 15:42:37 +0000 (17:42 +0200)] 
vala: Correctly output signature of callable throwing error

3 years agovala: Really check compatiblity of error types for delegate symbol
Rico Tzschichholz [Thu, 21 Oct 2021 11:34:51 +0000 (13:34 +0200)] 
vala: Really check compatiblity of error types for delegate symbol

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

3 years agovala: Set more missing source references of CodeNode instances
Rico Tzschichholz [Sun, 17 Oct 2021 07:15:58 +0000 (09:15 +0200)] 
vala: Set more missing source references of CodeNode instances

3 years agotests: Split "Variant (de)serialization" test to trigger one error at a time
Rico Tzschichholz [Mon, 18 Oct 2021 10:23:21 +0000 (12:23 +0200)] 
tests: Split "Variant (de)serialization" test to trigger one error at a time

3 years agotests: Extend "access virtual signal of interface" test to increase coverage
Rico Tzschichholz [Mon, 18 Oct 2021 10:23:21 +0000 (12:23 +0200)] 
tests: Extend "access virtual signal of interface" test to increase coverage

3 years agotests: Add more invalid "member access" tests to increase coverage
Rico Tzschichholz [Mon, 18 Oct 2021 10:23:21 +0000 (12:23 +0200)] 
tests: Add more invalid "member access" tests to increase coverage

3 years agotests: Add "instance access to implicit to_string() method of enum" test
Rico Tzschichholz [Mon, 18 Oct 2021 07:19:07 +0000 (09:19 +0200)] 
tests: Add "instance access to implicit to_string() method of enum" test

3 years agotests: Add invalid "target/destroy access" tests to increase coverage
Rico Tzschichholz [Mon, 18 Oct 2021 07:02:33 +0000 (09:02 +0200)] 
tests: Add invalid "target/destroy access" tests to increase coverage

3 years agoparser: Don't bail parsing of yield expression on error
Rico Tzschichholz [Sun, 17 Oct 2021 07:15:58 +0000 (09:15 +0200)] 
parser: Don't bail parsing of yield expression on error

Reporting the error is enough to handle this properly.

3 years agotests: Avoid causing unrelated errors in invalid test cases
Rico Tzschichholz [Sun, 17 Oct 2021 07:15:58 +0000 (09:15 +0200)] 
tests: Avoid causing unrelated errors in invalid test cases

3 years agotests: Add more "type-arguments" tests to increase coverage
Rico Tzschichholz [Sun, 17 Oct 2021 07:15:58 +0000 (09:15 +0200)] 
tests: Add more "type-arguments" tests to increase coverage

3 years agotests: Rename invalid yield-return test to avoid conflict
Rico Tzschichholz [Sun, 17 Oct 2021 07:15:58 +0000 (09:15 +0200)] 
tests: Rename invalid yield-return test to avoid conflict

3 years agocodegen: Actually free data when using "remove(_all)" on GLib.Queue/(S)List
Rico Tzschichholz [Thu, 14 Oct 2021 17:44:55 +0000 (19:44 +0200)] 
codegen: Actually free data when using "remove(_all)" on GLib.Queue/(S)List

When using e.g. GLib.List.remove() there is no context/feedback whether an
item was removed or needed manual free'ing.

Replace such calls with custom wrappers where items required free'ing if
they were found.

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

3 years agovala: More thorough check of ValueType and set CodeNode.error on failure
Rico Tzschichholz [Fri, 15 Oct 2021 10:02:21 +0000 (12:02 +0200)] 
vala: More thorough check of ValueType and set CodeNode.error on failure

3 years agovala: No need to run return_type.check() twice for method
Rico Tzschichholz [Fri, 15 Oct 2021 10:02:21 +0000 (12:02 +0200)] 
vala: No need to run return_type.check() twice for method

3 years agotests: Add more "type-arguments" tests to increase coverage
Rico Tzschichholz [Fri, 15 Oct 2021 10:02:21 +0000 (12:02 +0200)] 
tests: Add more "type-arguments" tests to increase coverage

3 years agotests/girwriter: Add missing type-argument
Rico Tzschichholz [Fri, 15 Oct 2021 10:02:21 +0000 (12:02 +0200)] 
tests/girwriter: Add missing type-argument

3 years agogee: Add missing type-arguments
Rico Tzschichholz [Fri, 15 Oct 2021 10:21:48 +0000 (12:21 +0200)] 
gee: Add missing type-arguments

3 years agogirparser: Add support for "ref_/ref_sink_/unref_function" metadata for classes
Rico Tzschichholz [Tue, 5 Oct 2021 13:14:27 +0000 (15:14 +0200)] 
girparser: Add support for "ref_/ref_sink_/unref_function" metadata for classes

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

3 years agovala: Parameter following ellipsis parameter is not allowed
wxx [Thu, 14 Oct 2021 09:48:00 +0000 (17:48 +0800)] 
vala: Parameter following ellipsis parameter is not allowed

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

3 years agovala: Set source references of created DataType instances in OCE
Rico Tzschichholz [Tue, 28 Sep 2021 12:13:12 +0000 (14:13 +0200)] 
vala: Set source references of created DataType instances in OCE

This improves error message for expected type arguments.

3 years agogtk4: Backport fixes from 0.54.2
Rico Tzschichholz [Wed, 29 Sep 2021 15:38:33 +0000 (17:38 +0200)] 
gtk4: Backport fixes from 0.54.2

3 years agogio-2.0: Backport fixes from 0.54.2
Rico Tzschichholz [Wed, 29 Sep 2021 15:38:01 +0000 (17:38 +0200)] 
gio-2.0: Backport fixes from 0.54.2

3 years agotests: Add "integer/float literal" tests to increase coverage
Rico Tzschichholz [Tue, 28 Sep 2021 15:36:50 +0000 (17:36 +0200)] 
tests: Add "integer/float literal" tests to increase coverage

3 years agovala: Accept NullType as generic type argument
Rico Tzschichholz [Sun, 26 Sep 2021 11:49:51 +0000 (13:49 +0200)] 
vala: Accept NullType as generic type argument

3 years agodocs: Add myself to AUTHORS
Rico Tzschichholz [Sat, 25 Sep 2021 13:52:51 +0000 (15:52 +0200)] 
docs: Add myself to AUTHORS

3 years agodocs: Bump vala version references in README.md
Rico Tzschichholz [Sat, 25 Sep 2021 13:35:42 +0000 (15:35 +0200)] 
docs: Bump vala version references in README.md

3 years agobuild: At least valac 0.16.1 is required
Rico Tzschichholz [Sat, 25 Sep 2021 13:31:28 +0000 (15:31 +0200)] 
build: At least valac 0.16.1 is required

3 years agocodegen: Add type declaration for implicit temporary local variable
Rico Tzschichholz [Sat, 18 Sep 2021 21:30:31 +0000 (23:30 +0200)] 
codegen: Add type declaration for implicit temporary local variable

3 years agovala: Don't restrict element type of GLib.Array
Rico Tzschichholz [Wed, 15 Sep 2021 12:38:19 +0000 (14:38 +0200)] 
vala: Don't restrict element type of GLib.Array

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

3 years agovaladoc: Correctly format background of inline @link's
Gustav Hartvigsson [Tue, 14 Sep 2021 17:48:03 +0000 (19:48 +0200)] 
valadoc: Correctly format background of inline @link's

Tested in Firefox, Chromium and Gnome Web.

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

3 years agovala: Warn about unsupported cast to void and drop it
Rico Tzschichholz [Tue, 14 Sep 2021 21:28:43 +0000 (23:28 +0200)] 
vala: Warn about unsupported cast to void and drop it

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

3 years agogio-2.0: Unhide a few usable symbols which are marked not introspectable
Rico Tzschichholz [Tue, 7 Sep 2021 07:51:06 +0000 (09:51 +0200)] 
gio-2.0: Unhide a few usable symbols which are marked not introspectable

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

3 years agoglib-2.0: Add RefString since 2.58
Rico Tzschichholz [Thu, 1 Nov 2018 17:38:02 +0000 (18:38 +0100)] 
glib-2.0: Add RefString since 2.58

Thanks to Jiří Janoušek

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

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

3 years agotests: Extend "field access" tests to increase coverage
Rico Tzschichholz [Tue, 31 Aug 2021 14:28:05 +0000 (16:28 +0200)] 
tests: Extend "field access" tests to increase coverage

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

3 years agoglib-2.0: Current constants in GLib.Math are part of glib.h
Rico Tzschichholz [Mon, 30 Aug 2021 07:55:32 +0000 (09:55 +0200)] 
glib-2.0: Current constants in GLib.Math are part of glib.h

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

3 years agoRelease 0.48.19 0.48.19
Rico Tzschichholz [Sun, 22 Aug 2021 15:38:50 +0000 (17:38 +0200)] 
Release 0.48.19

3 years agovala: Disallow resize() for constant arrays
wxx [Tue, 3 Aug 2021 15:07:49 +0000 (23:07 +0800)] 
vala: Disallow resize() for constant arrays

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

3 years agogobject-2.0: Fix the Closure.invoke() signature
Ole André Vadla Ravnås [Thu, 8 Jul 2021 23:59:07 +0000 (01:59 +0200)] 
gobject-2.0: Fix the Closure.invoke() signature

The return value must be initialized by the caller, as is clear from
GLib's internal callers, and e.g. dummy_closure_marshal() on the callee
side. So it appears the GLib type annotation is incorrect, as it
specifies `out` but should be `inout`.

3 years agogirwriter: Write missing c:type attribute of compact class record
Rico Tzschichholz [Tue, 10 Aug 2021 12:03:08 +0000 (14:03 +0200)] 
girwriter: Write missing c:type attribute of compact class record

Thanks to Niels De Graef

3 years agoSlightly improve source_reference for get_dup_func_expression()
Rico Tzschichholz [Fri, 6 Aug 2021 06:40:31 +0000 (08:40 +0200)] 
Slightly improve source_reference for get_dup_func_expression()

3 years agogirparser: Add support for "final" class attribute
Rico Tzschichholz [Tue, 27 Jul 2021 12:34:39 +0000 (14:34 +0200)] 
girparser: Add support for "final" class attribute

3 years agogirwriter: Fix position of "result" parameter for struct constructor
Rico Tzschichholz [Thu, 5 Aug 2021 15:14:48 +0000 (17:14 +0200)] 
girwriter: Fix position of "result" parameter for struct constructor

Thanks to Princeton Ferro

3 years agogirwriter: Add explicit writable attribute to all field elements
Princeton Ferro [Thu, 15 Jul 2021 03:52:59 +0000 (23:52 -0400)] 
girwriter: Add explicit writable attribute to all field elements

This addresses issues with bindings to Vala structs.

4 years agovala: Rely on DataType.to_qualified_string() implementation for error-types
Rico Tzschichholz [Sat, 17 Jul 2021 06:35:06 +0000 (08:35 +0200)] 
vala: Rely on DataType.to_qualified_string() implementation for error-types

DataType.type_symbol is properly initialized and can be used.

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

4 years agodocs: Update bootstrap instructions in README.md
satmandu [Thu, 15 Jul 2021 14:55:22 +0000 (14:55 +0000)] 
docs: Update bootstrap instructions in README.md

4 years agocodegen: Fix params-array in constructor for struct
Rico Tzschichholz [Thu, 15 Jul 2021 10:35:41 +0000 (12:35 +0200)] 
codegen: Fix params-array in constructor for struct

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

4 years agoglib-2.0: Add Uri.to_string/to_string_partial() (since 2.66)
Princeton Ferro [Thu, 15 Jul 2021 07:08:11 +0000 (07:08 +0000)] 
glib-2.0: Add Uri.to_string/to_string_partial() (since 2.66)

4 years agocodegen: Use detroy_value() for delete statement
Rico Tzschichholz [Mon, 12 Jul 2021 05:43:32 +0000 (07:43 +0200)] 
codegen: Use detroy_value() for delete statement

It is required to deal with special free functions here.

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

4 years agoRecognize multiple valid CCode.gir_namespace/_version attributes in VAPI files
Rico Tzschichholz [Mon, 28 Jun 2021 18:39:09 +0000 (20:39 +0200)] 
Recognize multiple valid CCode.gir_namespace/_version attributes in VAPI files

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

4 years agotestrunner: Add support for girwriter tests
Rico Tzschichholz [Mon, 28 Jun 2021 18:39:09 +0000 (20:39 +0200)] 
testrunner: Add support for girwriter tests

4 years agogirwriter: Respect GIR.name for constants, errordomains and delegates
Rico Tzschichholz [Fri, 25 Jun 2021 06:58:12 +0000 (08:58 +0200)] 
girwriter: Respect GIR.name for constants, errordomains and delegates

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

4 years agotests/girwriter: Add missing [Flags] annotation
Rico Tzschichholz [Fri, 25 Jun 2021 07:07:16 +0000 (09:07 +0200)] 
tests/girwriter: Add missing [Flags] annotation

4 years agocodegen: Fix variadic constructors for compact classes and structs
Rico Tzschichholz [Wed, 23 Jun 2021 08:56:01 +0000 (10:56 +0200)] 
codegen: Fix variadic constructors for compact classes and structs

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

4 years agocodegen: Implementing GLib.Source.prepare/check is optional since 2.36
Rico Tzschichholz [Wed, 26 May 2021 16:39:20 +0000 (18:39 +0200)] 
codegen: Implementing GLib.Source.prepare/check is optional since 2.36

4 years agocodegen: Allow null to initialize non-null struct inside initializer list
Rico Tzschichholz [Sun, 6 Jun 2021 16:11:02 +0000 (18:11 +0200)] 
codegen: Allow null to initialize non-null struct inside initializer list

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

4 years agoRelease 0.48.18 0.48.18
Rico Tzschichholz [Wed, 9 Jun 2021 11:55:39 +0000 (13:55 +0200)] 
Release 0.48.18

4 years agovapi: Update GLib bindings to 2.66
Rico Tzschichholz [Fri, 4 Jun 2021 14:00:36 +0000 (16:00 +0200)] 
vapi: Update GLib bindings to 2.66

Sync GLib symbol additions with 0.50.9

4 years agoglib-2.0: Add missing has_typedef attributes on SourceFuncs delegates
Rico Tzschichholz [Wed, 26 May 2021 16:21:31 +0000 (18:21 +0200)] 
glib-2.0: Add missing has_typedef attributes on SourceFuncs delegates

4 years agopango: Mark language parameter of AttrIterator.get_font() as out
Rico Tzschichholz [Wed, 26 May 2021 15:17:03 +0000 (17:17 +0200)] 
pango: Mark language parameter of AttrIterator.get_font() as out

4 years agovala: Parameter following params-array parameter is not allowed
Rico Tzschichholz [Wed, 26 May 2021 07:02:52 +0000 (09:02 +0200)] 
vala: Parameter following params-array parameter is not allowed

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

4 years agocodegen/vala: Improve check for GLib.Source derived classes
Rico Tzschichholz [Thu, 20 May 2021 19:24:38 +0000 (21:24 +0200)] 
codegen/vala: Improve check for GLib.Source derived classes

4 years agotests: Extend "generics reference transfer" test to increase coverage
Rico Tzschichholz [Fri, 7 May 2021 11:46:28 +0000 (13:46 +0200)] 
tests: Extend "generics reference transfer" test to increase coverage

4 years agotests: Add "no-reply" DBus test to increase coverage
Rico Tzschichholz [Mon, 17 May 2021 16:56:12 +0000 (18:56 +0200)] 
tests: Add "no-reply" DBus test to increase coverage

4 years agocodegen: Mark entry point method implementation "_vala_main" as static
Rico Tzschichholz [Sun, 9 May 2021 19:28:25 +0000 (21:28 +0200)] 
codegen: Mark entry point method implementation "_vala_main" as static

Thanks to Al Thomas

4 years agocodegen: Replace wrongly hard coded usage of G_OBJECT_GET_CLASS
Rico Tzschichholz [Mon, 3 May 2021 19:12:38 +0000 (21:12 +0200)] 
codegen: Replace wrongly hard coded usage of G_OBJECT_GET_CLASS

This is used by plain GTypeInstance classes as well.

4 years agotests: Refactor "fields" test to increase coverage
Rico Tzschichholz [Mon, 3 May 2021 19:12:38 +0000 (21:12 +0200)] 
tests: Refactor "fields" test to increase coverage

4 years agotests: Add "ThreadPool" test to increase coverage
Rico Tzschichholz [Mon, 3 May 2021 07:34:13 +0000 (09:34 +0200)] 
tests: Add "ThreadPool" test to increase coverage

4 years agocodegen: GArray, GByteArray and GPtrArray are reference counted
Rico Tzschichholz [Mon, 3 May 2021 07:01:04 +0000 (09:01 +0200)] 
codegen: GArray, GByteArray and GPtrArray are reference counted

4 years agotests: Add "properties in structs" test to increase coverage
Rico Tzschichholz [Wed, 28 Apr 2021 19:33:10 +0000 (21:33 +0200)] 
tests: Add "properties in structs" test to increase coverage

4 years agotests: Extend "array field intializer" test to increase coverage
Rico Tzschichholz [Wed, 28 Apr 2021 19:33:10 +0000 (21:33 +0200)] 
tests: Extend "array field intializer" test to increase coverage

4 years agotests: Add "generic array" test to increase coverage
Rico Tzschichholz [Wed, 28 Apr 2021 19:33:10 +0000 (21:33 +0200)] 
tests: Add "generic array" test to increase coverage

4 years agotests: Add "delete" test to increase coverage
Rico Tzschichholz [Wed, 28 Apr 2021 19:33:10 +0000 (21:33 +0200)] 
tests: Add "delete" test to increase coverage

4 years agocodegen: Don't use G_GNUC_INTERNAL on implicit type specific fields
Rico Tzschichholz [Tue, 27 Apr 2021 08:24:55 +0000 (10:24 +0200)] 
codegen: Don't use G_GNUC_INTERNAL on implicit type specific fields

The actual field was never handled that way, so don't apply it at all
when --hide-internal is passed.

Introduced by 970f58989a2863faca11e30fdbcf4da1273a6acd which claimed to
apply it to methods only.

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

4 years agovala: Report a warning for unhandled errors in destructors
Rico Tzschichholz [Sat, 24 Apr 2021 07:11:27 +0000 (09:11 +0200)] 
vala: Report a warning for unhandled errors in destructors

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

4 years agocodegen: Add missing "_return" label and "_inner_error*_" declaration in dtors
Rico Tzschichholz [Sat, 24 Apr 2021 07:11:27 +0000 (09:11 +0200)] 
codegen: Add missing "_return" label and "_inner_error*_" declaration in dtors

4 years agotests: Add more "DBus" tests to increase coverage
Rico Tzschichholz [Mon, 19 Apr 2021 17:15:17 +0000 (19:15 +0200)] 
tests: Add more "DBus" tests to increase coverage