]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
2 years agovapi: Update gnome-desktop-3.0 and gnome-desktop-4
Fina Wilke [Thu, 19 Jan 2023 17:08:27 +0000 (18:08 +0100)] 
vapi: Update gnome-desktop-3.0 and gnome-desktop-4

2 years agovala: Better handling of [NoReturn] call inside finally clause
Rico Tzschichholz [Mon, 6 Feb 2023 17:52:11 +0000 (18:52 +0100)] 
vala: Better handling of [NoReturn] call inside finally clause

This caused the following criticals:

  vala_flow_analyzer_jump_target_construct_finally_clause: assertion 'last_block != NULL' failed
  vala_flow_analyzer_jump_target_get_is_exit_target: assertion 'self != NULL' failed
  vala_flow_analyzer_jump_target_get_is_error_target: assertion 'self != NULL' failed
  vala_flow_analyzer_jump_target_get_is_finally_clause: assertion 'self != NULL' failed

2 years agocodegen: Cast vfunc of property accessors by using cast_method_pointer()
Rico Tzschichholz [Sun, 5 Feb 2023 18:33:15 +0000 (19:33 +0100)] 
codegen: Cast vfunc of property accessors by using cast_method_pointer()

Found by -Wincompatible-function-pointer-types

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

2 years agocodegen: Cast return value of generic type accessor functions
Rico Tzschichholz [Sun, 5 Feb 2023 18:33:15 +0000 (19:33 +0100)] 
codegen: Cast return value of generic type accessor functions

Found by -Wincompatible-function-pointer-types

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

2 years agocodegen: Perform required cast while assigning and passing function pointers
Rico Tzschichholz [Sun, 5 Feb 2023 18:33:15 +0000 (19:33 +0100)] 
codegen: Perform required cast while assigning and passing function pointers

Found by -Wincompatible-function-pointer-types

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

2 years agovala: Allow more general usage of PropertyAccessor.get_method()
Rico Tzschichholz [Sun, 5 Feb 2023 18:33:15 +0000 (19:33 +0100)] 
vala: Allow more general usage of PropertyAccessor.get_method()

2 years agovala: Inherit more important attributes for PropertyAccessor method
Rico Tzschichholz [Sun, 5 Feb 2023 18:33:15 +0000 (19:33 +0100)] 
vala: Inherit more important attributes for PropertyAccessor method

2 years agocodegen: Correctly handle fixed-length array initialization of fields in classes
Rico Tzschichholz [Wed, 4 Jan 2023 21:47:01 +0000 (22:47 +0100)] 
codegen: Correctly handle fixed-length array initialization of fields in classes

2 years agovala: Allow to use store_field() for initializations
Rico Tzschichholz [Wed, 4 Jan 2023 21:47:01 +0000 (22:47 +0100)] 
vala: Allow to use store_field() for initializations

2 years agotests: Split up gir parser tests into dedicated files
Rico Tzschichholz [Wed, 25 May 2022 14:48:51 +0000 (16:48 +0200)] 
tests: Split up gir parser tests into dedicated files

2 years agocodegen: Perform required casts for generic types of return-values and in/out-parameters
Rico Tzschichholz [Tue, 31 Jan 2023 14:43:57 +0000 (15:43 +0100)] 
codegen: Perform required casts for generic types of return-values and in/out-parameters

Found by -Werror=int-conversion

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

2 years agovala: Improve missing exponent check for real literals
Rico Tzschichholz [Mon, 30 Jan 2023 13:56:07 +0000 (14:56 +0100)] 
vala: Improve missing exponent check for real literals

2 years agovala: Improve compatibility type checks of array elements in assignments
Rico Tzschichholz [Mon, 30 Jan 2023 10:39:11 +0000 (11:39 +0100)] 
vala: Improve compatibility type checks of array elements in assignments

2 years agotests: Extend string.replace() test to increase coverage
Rico Tzschichholz [Wed, 18 Jan 2023 13:13:13 +0000 (14:13 +0100)] 
tests: Extend string.replace() test to increase coverage

2 years agotests: Add "one-line declaration of local variables" test to increase coverage
Rico Tzschichholz [Thu, 5 Jan 2023 11:29:28 +0000 (12:29 +0100)] 
tests: Add "one-line declaration of local variables" test to increase coverage

2 years agovala,libvaladoc: Properly check for colored terminal output on Windows
wszqkzqk [Tue, 3 Jan 2023 15:12:24 +0000 (23:12 +0800)] 
vala,libvaladoc: Properly check for colored terminal output on Windows

Additionally look for `_isatty()` and adjust for more possible results

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

2 years agoparser: Properly handle chained equality expressions
wszqkzqk [Tue, 13 Dec 2022 13:56:53 +0000 (21:56 +0800)] 
parser: Properly handle chained equality expressions

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

2 years agocodegen: Use a special CCodeBinaryExpression for string comparisons
Rico Tzschichholz [Wed, 14 Dec 2022 16:22:44 +0000 (17:22 +0100)] 
codegen: Use a special CCodeBinaryExpression for string comparisons

This preserves support for recursive replacement of arguments while this
expression was actually transformed into a function call.

2 years agoparser: Move parsing of IS and AS type checks to dedicated function
Rico Tzschichholz [Thu, 22 Dec 2022 15:58:58 +0000 (16:58 +0100)] 
parser: Move parsing of IS and AS type checks to dedicated function

2 years agotests: Add "string relation" tests to increase coverage
Rico Tzschichholz [Tue, 13 Dec 2022 15:04:42 +0000 (16:04 +0100)] 
tests: Add "string relation" tests to increase coverage

2 years agotests: Add "type check comparison" test to increase coverage
Rico Tzschichholz [Thu, 22 Dec 2022 13:27:06 +0000 (14:27 +0100)] 
tests: Add "type check comparison" test to increase coverage

2 years agogtk4: Update workaround for DropTarget.drop() signal conflict
Rico Tzschichholz [Sat, 26 Nov 2022 06:43:06 +0000 (07:43 +0100)] 
gtk4: Update workaround for DropTarget.drop() signal conflict

Deprecate DropTarget.on_drop()

Additionally don't skip Notebook.insert_page_menu()

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

2 years agogitignore: Add built files on Windows
星外之神 [Mon, 12 Dec 2022 01:56:28 +0000 (09:56 +0800)] 
gitignore: Add built files on Windows

2 years agowebkit2gtk-*.*: Update to 2.37.91
Rico Tzschichholz [Sat, 3 Sep 2022 08:05:41 +0000 (10:05 +0200)] 
webkit2gtk-*.*: Update to 2.37.91

2 years agocairo: Drop broken PsSurface.get_levels() which is bound as PsLevel.get_levels()
Rico Tzschichholz [Tue, 6 Dec 2022 11:15:44 +0000 (12:15 +0100)] 
cairo: Drop broken PsSurface.get_levels() which is bound as PsLevel.get_levels()

2 years agocairo: Add missing Cairo.Pattern.get_rgba()
Rico Tzschichholz [Tue, 6 Dec 2022 09:55:27 +0000 (10:55 +0100)] 
cairo: Add missing Cairo.Pattern.get_rgba()

Thanks to Wayne Blaszczyk

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

2 years agovapi: Add webkitgtk-6.0 bindings
Rico Tzschichholz [Sun, 27 Nov 2022 12:51:03 +0000 (13:51 +0100)] 
vapi: Add webkitgtk-6.0 bindings

2 years agogtk4: Require pangocairo which is a dependency of Gdk-4.0
Rico Tzschichholz [Sun, 27 Nov 2022 12:41:49 +0000 (13:41 +0100)] 
gtk4: Require pangocairo which is a dependency of Gdk-4.0

2 years agoFix output decoding error of non-ASCII character on Win32
wszqkzqk [Sun, 27 Nov 2022 02:17:13 +0000 (10:17 +0800)] 
Fix output decoding error of non-ASCII character on Win32

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

2 years agoActually use printf-like way of Report.*()
Rico Tzschichholz [Sun, 20 Nov 2022 09:35:36 +0000 (10:35 +0100)] 
Actually use printf-like way of Report.*()

3 years agovala: Report error in real literal if exponent has no digits
星外之神 [Tue, 25 Oct 2022 13:02:32 +0000 (21:02 +0800)] 
vala: Report error in real literal if exponent has no digits

3 years agocodegen: Append VALA_EXTERN also when using fast-vapi
Alberts Muktupāvels [Mon, 10 Oct 2022 11:25:22 +0000 (14:25 +0300)] 
codegen: Append VALA_EXTERN also when using fast-vapi

3 years agopixman-1: Fix instance position of region copy methods
David Hewitt [Sat, 22 Oct 2022 14:30:29 +0000 (15:30 +0100)] 
pixman-1: Fix instance position of region copy methods

3 years agocodegen: Add glib.h include for TRUE/FALSE literal
Rico Tzschichholz [Sun, 2 Oct 2022 11:17:04 +0000 (13:17 +0200)] 
codegen: Add glib.h include for TRUE/FALSE literal

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

3 years agotests: Add "entry point exists" test to increase coverage
Rico Tzschichholz [Wed, 17 Aug 2022 08:31:41 +0000 (10:31 +0200)] 
tests: Add "entry point exists" test to increase coverage

3 years agogtk4: Make Gtk.show_uri_full() an instance method of Gtk.Window
Rico Tzschichholz [Tue, 9 Aug 2022 21:07:45 +0000 (23:07 +0200)] 
gtk4: Make Gtk.show_uri_full() an instance method of Gtk.Window

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

3 years agoglib-2.0: Add `double_hash` and `double_equal`
wszqkzqk [Sun, 25 Sep 2022 13:53:21 +0000 (21:53 +0800)] 
glib-2.0: Add `double_hash` and `double_equal`

3 years agomanual: Update from wiki.gnome.org
Rico Tzschichholz [Thu, 15 Sep 2022 18:46:05 +0000 (20:46 +0200)] 
manual: Update from wiki.gnome.org

3 years agoRelease 0.56.3 0.56.3
Rico Tzschichholz [Sat, 3 Sep 2022 12:27:52 +0000 (14:27 +0200)] 
Release 0.56.3

3 years agovala: Avoid problems with '\' in #line directives on Windows
星外之神 [Sat, 27 Aug 2022 15:26:41 +0000 (23:26 +0800)] 
vala: Avoid problems with '\' in #line directives on Windows

Replace '\' with '/' in SourceFile.relative_path like in CodeContext.realpath().

  F:/msys64/home/x/test/test.vala.c: In function '_vala_main':
  F:/msys64/home/x/test/test.vala.c:12:9: warning: unknown escape sequence: '\M'
     12 | #line 3 "C:\MyFiles\test.vala"
        |         ^~~~~~~~~~~~~~~~~~~~~~

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

3 years agoglib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50
Rico Tzschichholz [Wed, 17 Aug 2022 06:46:18 +0000 (08:46 +0200)] 
glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50

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

3 years agovala: Make try-statement parsing more resilient
Rico Tzschichholz [Mon, 15 Aug 2022 06:36:49 +0000 (08:36 +0200)] 
vala: Make try-statement parsing more resilient

Regression of f5934184d050d1a19f394fdab6f2ee66ff30965f

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

3 years agoatspi-2: Fix a few binding errors
Rico Tzschichholz [Tue, 9 Aug 2022 06:13:38 +0000 (08:13 +0200)] 
atspi-2: Fix a few binding errors

3 years agogidlparser: Set source reference of parameters
Rico Tzschichholz [Mon, 1 Aug 2022 15:04:36 +0000 (17:04 +0200)] 
gidlparser: Set source reference of parameters

3 years agovala: Don't unconditionally expect ObjectType of Class
Rico Tzschichholz [Sat, 30 Jul 2022 09:18:40 +0000 (11:18 +0200)] 
vala: Don't unconditionally expect ObjectType of Class

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

3 years agogtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute
Rico Tzschichholz [Tue, 19 Jul 2022 16:22:19 +0000 (18:22 +0200)] 
gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute

3 years agodoap: Demote idle maintainers to authors
Rico Tzschichholz [Thu, 14 Jul 2022 15:27:07 +0000 (17:27 +0200)] 
doap: Demote idle maintainers to authors

Requested by Michael Catanzaro <mcatanzaro@gnome.org>

3 years agoRelease 0.56.2 0.56.2
Rico Tzschichholz [Thu, 14 Jul 2022 14:13:16 +0000 (16:13 +0200)] 
Release 0.56.2

3 years agovapi: Add rest-1.0 bindings
Rico Tzschichholz [Fri, 1 Jul 2022 14:21:23 +0000 (16:21 +0200)] 
vapi: Add rest-1.0 bindings

3 years agovapi: Add geocode-glib-2.0 binding
Rico Tzschichholz [Fri, 1 Jul 2022 14:04:47 +0000 (16:04 +0200)] 
vapi: Add geocode-glib-2.0 binding

3 years agocodegen: Check cname of fields and methods against reserved identfiers
Rico Tzschichholz [Sat, 11 Jun 2022 11:04:00 +0000 (13:04 +0200)] 
codegen: Check cname of fields and methods against reserved identfiers

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

3 years agocodegen: Split reserved identifiers for C and Vala
Rico Tzschichholz [Sat, 11 Jun 2022 11:28:11 +0000 (13:28 +0200)] 
codegen: Split reserved identifiers for C and Vala

3 years agocodegen: Make sure to initialize static collections
Rico Tzschichholz [Tue, 14 Jun 2022 13:31:17 +0000 (15:31 +0200)] 
codegen: Make sure to initialize static collections

3 years agovala: Avoid critical in SourceFile.get_mapped_length()
Rico Tzschichholz [Tue, 14 Jun 2022 10:43:16 +0000 (12:43 +0200)] 
vala: Avoid critical in SourceFile.get_mapped_length()

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

3 years agovapi: Add initial wayland-client binding
Corentin Noël [Fri, 15 Apr 2022 14:06:25 +0000 (16:06 +0200)] 
vapi: Add initial wayland-client binding

Allow to properly use gtk4-wayland.

3 years agoglib2.0: Add abs() to int8/int16/int32/ssize_t
Gustav Hartvigsson [Thu, 2 Jun 2022 09:51:40 +0000 (11:51 +0200)] 
glib2.0: Add abs() to int8/int16/int32/ssize_t

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

3 years agocodegen: Detect usage of static type-parameter in runtime context
Rico Tzschichholz [Tue, 31 May 2022 08:19:46 +0000 (10:19 +0200)] 
codegen: Detect usage of static type-parameter in runtime context

Compact classes doesn't carry runtime information of its type-parameters.
In case this information is required we need report an error.

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

3 years agocodegen: Correctly set array-length for NoAccessorMethods properties
Rico Tzschichholz [Tue, 10 May 2022 16:00:45 +0000 (18:00 +0200)] 
codegen: Correctly set array-length for NoAccessorMethods properties

If value is a null-terminated array then calculate and set its length.

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

3 years agoRelease 0.56.1 0.56.1
Rico Tzschichholz [Fri, 22 Apr 2022 18:37:06 +0000 (20:37 +0200)] 
Release 0.56.1

3 years agomanual: Update from wiki.gnome.org
Rico Tzschichholz [Wed, 20 Apr 2022 12:06:58 +0000 (14:06 +0200)] 
manual: Update from wiki.gnome.org

3 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 20 Apr 2022 11:58:33 +0000 (13:58 +0200)] 
vapi: Update GIR-based bindings

3 years agogstreamer: Update from 1.21.0+ git main
Rico Tzschichholz [Wed, 20 Apr 2022 11:58:06 +0000 (13:58 +0200)] 
gstreamer: Update from 1.21.0+ git main

3 years agogtk4: Split out gtk4-wayland and gtk4-x11 into separate bindings
Rico Tzschichholz [Fri, 15 Apr 2022 14:04:14 +0000 (16:04 +0200)] 
gtk4: Split out gtk4-wayland and gtk4-x11 into separate bindings

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

3 years agovaladoc: Include path to doclet in error message
Rico Tzschichholz [Tue, 5 Apr 2022 09:01:11 +0000 (11:01 +0200)] 
valadoc: Include path to doclet in error message

3 years agogtk4: Fix GLib.Value parameter in ContentProvider.get_value()
m-shinder [Wed, 6 Apr 2022 17:53:52 +0000 (17:53 +0000)] 
gtk4: Fix GLib.Value parameter in ContentProvider.get_value()

Value is `out caller-allocates` and it is also initialized by caller.

3 years agovala: Improve accessibility check inside member initializer
Rico Tzschichholz [Mon, 4 Apr 2022 07:28:34 +0000 (09:28 +0200)] 
vala: Improve accessibility check inside member initializer

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

3 years agovala: Don't allow nullable enum value as real GObject property
Rico Tzschichholz [Tue, 29 Mar 2022 14:33:55 +0000 (16:33 +0200)] 
vala: Don't allow nullable enum value as real GObject property

It is basically a boxed integer value.

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

3 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 28 Mar 2022 13:27:45 +0000 (15:27 +0200)] 
vapi: Update GIR-based bindings

3 years agogstreamer: Update from 1.21+ git main
Rico Tzschichholz [Mon, 28 Mar 2022 13:27:21 +0000 (15:27 +0200)] 
gstreamer: Update from 1.21+ git main

3 years agoAdd release notes for 0.56
Lorenz Wildberg [Fri, 18 Mar 2022 11:42:30 +0000 (11:42 +0000)] 
Add release notes for 0.56

3 years agoRelease 0.56.0 0.56.0
Rico Tzschichholz [Thu, 17 Mar 2022 08:40:46 +0000 (09:40 +0100)] 
Release 0.56.0

3 years agovapi: Add webkit2gtk-4.1 bindings
Rico Tzschichholz [Tue, 8 Mar 2022 17:38:34 +0000 (18:38 +0100)] 
vapi: Add webkit2gtk-4.1 bindings

3 years agolibarchive: Fix a few binding errors
Rico Tzschichholz [Wed, 9 Mar 2022 08:07:19 +0000 (09:07 +0100)] 
libarchive: Fix a few binding errors

3 years agocodegen: Drop confusing warning when accessing interface members
Rico Tzschichholz [Tue, 8 Mar 2022 21:54:09 +0000 (22:54 +0100)] 
codegen: Drop confusing warning when accessing interface members

Making assumptions for member access using the current class is not correct.

Introduced by 0aace7bd6d3ec72e77f4eabbb7d5fffd3b2e86a8

3 years agoSDL2_ttf: Fix a few binding errors
Rico Tzschichholz [Sun, 31 Jan 2021 12:04:53 +0000 (13:04 +0100)] 
SDL2_ttf: Fix a few binding errors

3 years agotiff: Fix a few binding errors
Rico Tzschichholz [Wed, 31 Mar 2021 13:02:56 +0000 (15:02 +0200)] 
tiff: Fix a few binding errors

3 years agoglib-2.0: Fix memory management of TestSuite.add*/get_root() with 2.70
Rico Tzschichholz [Mon, 7 Mar 2022 06:35:46 +0000 (07:35 +0100)] 
glib-2.0: Fix memory management of TestSuite.add*/get_root() with 2.70

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

3 years agoRelease 0.55.91 0.55.91
Rico Tzschichholz [Fri, 4 Mar 2022 13:49:35 +0000 (14:49 +0100)] 
Release 0.55.91

3 years agovapi: Regenerate GIR-based bindings to pick up previously skipped delegate parameters
Rico Tzschichholz [Fri, 4 Mar 2022 10:45:41 +0000 (11:45 +0100)] 
vapi: Regenerate GIR-based bindings to pick up previously skipped delegate parameters

3 years agogirparser: Don't count instance-parameter when checking for backwards closure reference
Rico Tzschichholz [Fri, 4 Mar 2022 10:45:41 +0000 (11:45 +0100)] 
girparser: Don't count instance-parameter when checking for backwards closure reference

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

3 years agogstreamer-video-1.0: Fix a few binding errors
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
gstreamer-video-1.0: Fix a few binding errors

3 years agogstreamer-base-1.0: Fix a few bindings errors
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
gstreamer-base-1.0: Fix a few bindings errors

3 years agogstreamer-audio-1.0: Fix a few binding errors
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
gstreamer-audio-1.0: Fix a few binding errors

3 years agogst-editing-services-1.0: Fix BaseEffect.set_time_translation_funcs()
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
gst-editing-services-1.0: Fix BaseEffect.set_time_translation_funcs()

3 years agogtk4: Fix content_deserialize_async()
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
gtk4: Fix content_deserialize_async()

3 years agolibgrss: Fix FeedItem.get_geo_point() parameters
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
libgrss: Fix FeedItem.get_geo_point() parameters

3 years agolibarchive: Fix a few binding errors
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
libarchive: Fix a few binding errors

3 years agolibgsf-1: Fix a few binding errors
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
libgsf-1: Fix a few binding errors

3 years agogirparser: Add support for "copy_/free_function" metadata for compact classes
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
girparser: Add support for "copy_/free_function" metadata for compact classes

3 years agogirparser: Handle duplicated and unnamed symbols
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)] 
girparser: Handle duplicated and unnamed symbols

Issue warnings and skip such symbols to avoid errors on vala's side.

3 years agog-i: Update gidl binding to include type hierarchy
Princeton Ferro [Sat, 26 Feb 2022 00:36:47 +0000 (19:36 -0500)] 
g-i: Update gidl binding to include type hierarchy

The IdlNode* classes should be declared as subclasses of IdlNode, that
way the compiler can be sure that casting from an IdlNode is safe.

3 years agoRelease 0.55.90 0.55.90
Rico Tzschichholz [Fri, 25 Feb 2022 16:01:28 +0000 (17:01 +0100)] 
Release 0.55.90

3 years agovapi: Regenerate GIR-based bindings to pick up type_id of error domains
Rico Tzschichholz [Sun, 18 Nov 2018 20:46:30 +0000 (21:46 +0100)] 
vapi: Regenerate GIR-based bindings to pick up type_id of error domains

3 years agogirparser: Pick up type_id of error domains
Rico Tzschichholz [Sun, 18 Nov 2018 20:38:09 +0000 (21:38 +0100)] 
girparser: Pick up type_id of error domains

3 years agocodegen: Emit GType definition for error domains
Rico Tzschichholz [Sat, 17 Nov 2018 21:22:03 +0000 (22:22 +0100)] 
codegen: Emit GType definition for error domains

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

3 years agocodegen: Default to "has_type_id = false" for external error-domains
Rico Tzschichholz [Thu, 3 Oct 2019 14:50:16 +0000 (16:50 +0200)] 
codegen: Default to "has_type_id = false" for external error-domains

3 years agoglib-2.0: Add type_id of GLib.Error
Rico Tzschichholz [Tue, 15 Oct 2019 06:27:05 +0000 (08:27 +0200)] 
glib-2.0: Add type_id of GLib.Error

3 years agoglib-2.0: Annotate error-domains with "has_type_id = false"
Rico Tzschichholz [Tue, 15 Oct 2019 06:18:45 +0000 (08:18 +0200)] 
glib-2.0: Annotate error-domains with "has_type_id = false"

3 years agocodegen: Emit G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC() for structs
Rico Tzschichholz [Thu, 24 Feb 2022 12:45:18 +0000 (13:45 +0100)] 
codegen: Emit G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC() for structs

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

3 years agocodegen: Emit G_DEFINE_AUTOPTR_CLEANUP_FUNC() for interfaces with base class
Rico Tzschichholz [Thu, 24 Feb 2022 12:45:18 +0000 (13:45 +0100)] 
codegen: Emit G_DEFINE_AUTOPTR_CLEANUP_FUNC() for interfaces with base class

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