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

4 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

4 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

4 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 agovapi: Update GIR-based bindings
Rico Tzschichholz [Fri, 9 Jul 2021 12:21:37 +0000 (14:21 +0200)] 
vapi: Update GIR-based bindings

4 years agogtk4: Update to 4.3.1+6818eee8
Rico Tzschichholz [Fri, 9 Jul 2021 12:20:07 +0000 (14:20 +0200)] 
gtk4: Update to 4.3.1+6818eee8

4 years agogstreamer: Update from 1.19.0+ git master
Rico Tzschichholz [Fri, 9 Jul 2021 12:19:02 +0000 (14:19 +0200)] 
gstreamer: Update from 1.19.0+ git master

4 years agoglib-2.0: expected_type and return value of VariantDict.lookup_value() is nullable
Princeton Ferro [Wed, 7 Jul 2021 16:51:42 +0000 (16:51 +0000)] 
glib-2.0: expected_type and return value of VariantDict.lookup_value() is nullable

4 years agolinux: Fix i2c-dev constants
Dr. Michael Lauer [Wed, 30 Jun 2021 11:32:10 +0000 (13:32 +0200)] 
linux: Fix i2c-dev constants

This commit enables basic i2c operations (open/read/write/close) from userland.
Further i2c / smbus transfer modes are on the way.

4 years agolinux: Fix some bindings errors
Rico Tzschichholz [Tue, 6 Apr 2021 19:37:31 +0000 (21:37 +0200)] 
linux: Fix some bindings errors

4 years agolinux: Substitute linux/if.h with net/if.h
Dr. Michael Lauer [Mon, 24 May 2021 14:50:24 +0000 (16:50 +0200)] 
linux: Substitute linux/if.h with net/if.h

There is an age-old conflict between linux/if.h (the kernel header) and
net/if.h (the userland header) that leads to compile errors due to
redeclaration of certain network-related structures, see e.g. the following links:

- https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/673073
- https://lists.debian.org/debian-kernel/2017/06/msg00003.html
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824442

FWIW, it still seems to be a very current problem which I just stumbled over _again_.
By now all the relevant structures should have counterparts in net/if.h, so let's try
to just not include the kernel header, but use the userland header instead.

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.52.4 0.52.4
Rico Tzschichholz [Fri, 4 Jun 2021 06:21:11 +0000 (08:21 +0200)] 
Release 0.52.4

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 agogtk+-3.0: Update to 3.24.29+f9fe28ce
Rico Tzschichholz [Wed, 26 May 2021 15:21:52 +0000 (17:21 +0200)] 
gtk+-3.0: Update to 3.24.29+f9fe28ce

4 years agogtk4: Update to 4.3.0+24f0ae1d
Rico Tzschichholz [Wed, 26 May 2021 15:20:19 +0000 (17:20 +0200)] 
gtk4: Update to 4.3.0+24f0ae1d

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 agogstreamer: Update from 1.19.0+ git master
Rico Tzschichholz [Wed, 26 May 2021 15:04:39 +0000 (17:04 +0200)] 
gstreamer: Update from 1.19.0+ git master

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 agovapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 4 May 2021 12:46:10 +0000 (14:46 +0200)] 
vapi: Update GIR-based bindings

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 agodoc: Update man page to include more information on profiles
Alistair Thomas [Sat, 8 May 2021 11:43:43 +0000 (12:43 +0100)] 
doc: Update man page to include more information on profiles

4 years agocodegen: Don't add errornous cast for unknown type_symbol
Rico Tzschichholz [Fri, 7 May 2021 11:46:28 +0000 (13:46 +0200)] 
codegen: Don't add errornous cast for unknown type_symbol

This causes invalid C code for reference transfer of GenericType.

Regression of 7ae2f115a702439bd94bf09867b38019f39d010f

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

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 agoRelease 0.52.3 0.52.3
Rico Tzschichholz [Sat, 1 May 2021 20:36:37 +0000 (22:36 +0200)] 
Release 0.52.3

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 agovala: length-type of arrays must not be nullable (2)
Rico Tzschichholz [Tue, 20 Apr 2021 12:05:55 +0000 (14:05 +0200)] 
vala: length-type of arrays must not be nullable (2)

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

4 years agotests: Add "generics reference transfer" test to increase coverage
Rico Tzschichholz [Sun, 18 Apr 2021 20:33:26 +0000 (22:33 +0200)] 
tests: Add "generics reference transfer" test to increase coverage

4 years agotests: Extend "finally block execution" test to increase coverage
Rico Tzschichholz [Sun, 18 Apr 2021 19:02:21 +0000 (21:02 +0200)] 
tests: Extend "finally block execution" test to increase coverage

In addition to 9f21d0b182edad861f93a91674787b8b3b4fc2c5

See https://bugzilla.gnome.org/show_bug.cgi?id=579101

4 years agocodegen: Use if-clause for is_in_destructor() condition to be more clear
Rico Tzschichholz [Sun, 18 Apr 2021 19:02:21 +0000 (21:02 +0200)] 
codegen: Use if-clause for is_in_destructor() condition to be more clear

4 years agocodegen: Fix access to captured generics in async method of interfaces (2)
Rico Tzschichholz [Sun, 18 Apr 2021 19:02:21 +0000 (21:02 +0200)] 
codegen: Fix access to captured generics in async method of interfaces (2)

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

4 years agocodegen: Apply gconstpointer to gpointer cast to GenericType only
Rico Tzschichholz [Sun, 18 Apr 2021 19:02:21 +0000 (21:02 +0200)] 
codegen: Apply gconstpointer to gpointer cast to GenericType only

4 years agovala: length-type of arrays must not be nullable
Rico Tzschichholz [Thu, 15 Apr 2021 14:49:14 +0000 (16:49 +0200)] 
vala: length-type of arrays must not be nullable

4 years agoparser: Include INTERR token in source_reference of parsed types
Rico Tzschichholz [Thu, 15 Apr 2021 14:49:14 +0000 (16:49 +0200)] 
parser: Include INTERR token in source_reference of parsed types

4 years agoparser: Allow empty member-initializer and accept trailing comma
Rico Tzschichholz [Thu, 15 Apr 2021 14:49:14 +0000 (16:49 +0200)] 
parser: Allow empty member-initializer and accept trailing comma

4 years agoparser: Minor semantic checks to improve error messages
Rico Tzschichholz [Thu, 15 Apr 2021 14:49:14 +0000 (16:49 +0200)] 
parser: Minor semantic checks to improve error messages

4 years agoRelease 0.52.2 0.52.2
Rico Tzschichholz [Mon, 12 Apr 2021 11:04:09 +0000 (13:04 +0200)] 
Release 0.52.2

4 years agoglib-2.0: Add simple_generics attribute to GenericArray.find_custom()
Nahuel Gomez Castro [Mon, 12 Apr 2021 10:32:12 +0000 (12:32 +0200)] 
glib-2.0: Add simple_generics attribute to GenericArray.find_custom()

4 years agocodegen: Don't free unowned heap allocated struct
Rico Tzschichholz [Mon, 12 Apr 2021 07:21:48 +0000 (09:21 +0200)] 
codegen: Don't free unowned heap allocated struct

Regression of 63551acaf0d83fac8b50904c2759c1098fbfaa71

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 agocodegen: Don't free temp-var for element-access to array with boxed structs (2)
Rico Tzschichholz [Sun, 11 Apr 2021 18:45:59 +0000 (20:45 +0200)] 
codegen: Don't free temp-var for element-access to array with boxed structs (2)

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

4 years agocodegen: Don't free temp-var for element-access to array with boxed structs
Rico Tzschichholz [Sun, 11 Apr 2021 16:05:08 +0000 (18:05 +0200)] 
codegen: Don't free temp-var for element-access to array with boxed structs

Check the symbol_reference of inner element-access as needed.

Regression of 63551acaf0d83fac8b50904c2759c1098fbfaa71

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

4 years agoRelease 0.52.1 0.52.1
Rico Tzschichholz [Thu, 8 Apr 2021 08:36:10 +0000 (10:36 +0200)] 
Release 0.52.1

4 years agotests: Extend "this chainup in compact class" test
Rico Tzschichholz [Thu, 8 Apr 2021 07:22:13 +0000 (09:22 +0200)] 
tests: Extend "this chainup in compact class" test

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 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 agoparser: Stricter mode for chained member initializer with --keep-going
Rico Tzschichholz [Sun, 21 Mar 2021 09:46:16 +0000 (10:46 +0100)] 
parser: Stricter mode for chained member initializer with --keep-going

Regression of 86bc23f2d7295ae3b2f5f79449d2c5a4a7a93a58

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

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 agogsl: Add BLAS module
Akarin [Sat, 13 Mar 2021 04:41:40 +0000 (12:41 +0800)] 
gsl: Add BLAS module

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

4 years agoRelease 0.52.0 0.52.0
Rico Tzschichholz [Wed, 17 Mar 2021 14:59:08 +0000 (15:59 +0100)] 
Release 0.52.0

4 years agovala: Check for unused attributes unconditionally
Rico Tzschichholz [Tue, 16 Mar 2021 17:09:51 +0000 (18:09 +0100)] 
vala: Check for unused attributes unconditionally

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 agogstreamer: Update from 1.19.0+ git master
Rico Tzschichholz [Mon, 15 Mar 2021 15:02:29 +0000 (16:02 +0100)] 
gstreamer: Update from 1.19.0+ git master