]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
4 years agotests: Add "GenericArray foreach" tests to increase coverage wip/foreach
Corentin Noël [Mon, 9 Nov 2020 14:17:37 +0000 (15:17 +0100)] 
tests: Add "GenericArray foreach" tests to increase coverage

4 years agovala: Additionally look for "length" property for "foreach with index"
Rico Tzschichholz [Mon, 9 Nov 2020 14:06:20 +0000 (15:06 +0100)] 
vala: Additionally look for "length" property for "foreach with index"

4 years agoglib-2.0: Make PtrArray a subclass of GenericArray
Rico Tzschichholz [Mon, 9 Nov 2020 12:59:35 +0000 (13:59 +0100)] 
glib-2.0: Make PtrArray a subclass of GenericArray

4 years agoposix: Add POSIX, GNU and BSD Regex APIs
Reuben Thomas [Thu, 29 Oct 2020 09:46:28 +0000 (09:46 +0000)] 
posix: Add POSIX, GNU and BSD Regex APIs

The POSIX and GNU APIs are closely related in GNU’s implementation, so it
makes sense to put them here. GNU regex also provides the old BSD APIs,
which are just a couple of function calls, so provide them too.

4 years agoposix: Add freopen binding, as FILE.reopen()
Reuben Thomas [Mon, 2 Nov 2020 22:04:56 +0000 (22:04 +0000)] 
posix: Add freopen binding, as FILE.reopen()

4 years agoglib-2.0: Improve GenericArray.length property
Rico Tzschichholz [Mon, 9 Nov 2020 14:23:51 +0000 (15:23 +0100)] 
glib-2.0: Improve GenericArray.length property

4 years agocodegen: Report internal error for unsupported collection type in foreach
Corentin Noël [Mon, 9 Nov 2020 12:52:53 +0000 (13:52 +0100)] 
codegen: Report internal error for unsupported collection type in foreach

4 years agovala: Accept "unowned var" as type for foreach variable declaration
Rico Tzschichholz [Mon, 9 Nov 2020 16:02:50 +0000 (17:02 +0100)] 
vala: Accept "unowned var" as type for foreach variable declaration

In addition to 39331e235f1183223c8ea685e3501ab4ca932c8f

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

4 years agovala: Avoid taking extra reference of foreach collection for index iteration
Rico Tzschichholz [Mon, 9 Nov 2020 14:38:38 +0000 (15:38 +0100)] 
vala: Avoid taking extra reference of foreach collection for index iteration

4 years agogstreamer: Update from 1.19.0+ git master
Rico Tzschichholz [Sat, 7 Nov 2020 19:20:47 +0000 (20:20 +0100)] 
gstreamer: Update from 1.19.0+ git master

4 years agogtk4: Update to 3.99.4+0d82faa2
Rico Tzschichholz [Fri, 6 Nov 2020 20:11:07 +0000 (21:11 +0100)] 
gtk4: Update to 3.99.4+0d82faa2

4 years agogirwriter: Infer gir_namespace/version from target GIR filename
Rico Tzschichholz [Mon, 29 Apr 2019 14:48:55 +0000 (16:48 +0200)] 
girwriter: Infer gir_namespace/version from target GIR filename

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

4 years agoPerform runtime version check of libvala
Rico Tzschichholz [Wed, 8 Jul 2020 09:42:02 +0000 (11:42 +0200)] 
Perform runtime version check of libvala

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

4 years agotests: Actually export PKG_CONFIG_PATH and LD_LIBRARY_PATH in tests extra
Rico Tzschichholz [Thu, 5 Nov 2020 12:55:58 +0000 (13:55 +0100)] 
tests: Actually export PKG_CONFIG_PATH and LD_LIBRARY_PATH in tests extra

4 years agoglib-2.0: Add GenericArray.find_custom() as variant of find_with_equal_func()
Corentin Noël [Tue, 3 Nov 2020 16:22:48 +0000 (17:22 +0100)] 
glib-2.0: Add GenericArray.find_custom() as variant of find_with_equal_func()

This allows the needle to be a different type as the actual element type.
The implementation of ArraySearchFunc<G,T> is more customizable this way.

4 years agotestrunner: A lot of simplifications
Reuben Thomas [Wed, 4 Nov 2020 00:05:01 +0000 (00:05 +0000)] 
testrunner: A lot of simplifications

4 years agotests: Use Automake’s parallel test driver to speed up running tests
Reuben Thomas [Tue, 3 Nov 2020 23:11:34 +0000 (23:11 +0000)] 
tests: Use Automake’s parallel test driver to speed up running tests

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

4 years agovala: Use DataType.compatible() to check for string concatenation
Rico Tzschichholz [Sun, 1 Nov 2020 20:16:49 +0000 (21:16 +0100)] 
vala: Use DataType.compatible() to check for string concatenation

Make the checks match the ones performed by the code-generator to prevent
invalid c-code to be created.

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

4 years agovapi: Add SDL 2.x bindings
Mario Daniel Ruiz Saavedra [Fri, 7 Aug 2020 19:32:08 +0000 (14:32 -0500)] 
vapi: Add SDL 2.x bindings

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

4 years agovapi: Remove SDL 1.x bindings
Mario Daniel Ruiz Saavedra [Fri, 7 Aug 2020 19:28:04 +0000 (14:28 -0500)] 
vapi: Remove SDL 1.x bindings

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

4 years agovaladoc: Correctly set verbose flag on CodeContext
Rico Tzschichholz [Tue, 27 Oct 2020 06:56:47 +0000 (07:56 +0100)] 
valadoc: Correctly set verbose flag on CodeContext

4 years agolibvaladoc/girimporter: Skip "docsection" elements in <namespace>
Rico Tzschichholz [Tue, 27 Oct 2020 06:56:47 +0000 (07:56 +0100)] 
libvaladoc/girimporter: Skip "docsection" elements in <namespace>

See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226

4 years agovala: Make use of new printf-like API of Report.*()
Rico Tzschichholz [Mon, 26 Oct 2020 15:10:37 +0000 (16:10 +0100)] 
vala: Make use of new printf-like API of Report.*()

4 years agocodegen: Make use of new printf-like API of Report.*()
Rico Tzschichholz [Mon, 26 Oct 2020 15:10:37 +0000 (16:10 +0100)] 
codegen: Make use of new printf-like API of Report.*()

4 years agovala: Convert Report.*() to real printf-like functions
Rico Tzschichholz [Mon, 26 Oct 2020 15:10:37 +0000 (16:10 +0100)] 
vala: Convert Report.*() to real printf-like functions

This simplifies code on the caller side.

4 years agovaladoc: Refactor setup of main runtime
Rico Tzschichholz [Mon, 26 Oct 2020 15:10:37 +0000 (16:10 +0100)] 
valadoc: Refactor setup of main runtime

4 years agocurses: Correctly use [PrintfFormat] attribute
Rico Tzschichholz [Sun, 25 Oct 2020 18:24:11 +0000 (19:24 +0100)] 
curses: Correctly use [PrintfFormat] attribute

4 years agovaladoc: Don't call CodeContext.pop() on empty stack
Rico Tzschichholz [Sun, 25 Oct 2020 16:50:26 +0000 (17:50 +0100)] 
valadoc: Don't call CodeContext.pop() on empty stack

Otherwise this results in an expected assertion.

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

4 years agovala: CodeNode.source_reference is optional, so let the API respect that
Rico Tzschichholz [Sat, 24 Oct 2020 12:11:43 +0000 (14:11 +0200)] 
vala: CodeNode.source_reference is optional, so let the API respect that

4 years agocodegen: More use of delegate_target_type and delegate_target_destroy_type (2)
Jeremy Philippe [Fri, 23 Oct 2020 13:40:18 +0000 (15:40 +0200)] 
codegen: More use of delegate_target_type and delegate_target_destroy_type (2)

4 years agocodegen: Update outdated array _size_ variable of captured local-variable
Rico Tzschichholz [Thu, 22 Oct 2020 19:22:15 +0000 (21:22 +0200)] 
codegen: Update outdated array _size_ variable of captured local-variable

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

4 years agogtkmodule: Support "binding" to bind GtkCallback to class of given property
Rico Tzschichholz [Thu, 22 Oct 2020 09:02:57 +0000 (11:02 +0200)] 
gtkmodule: Support "binding" to bind GtkCallback to class of given property

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

4 years agocurses: Add Terminfo API set, function keycodes F(n) and minor changes
Reuben Thomas [Wed, 21 Oct 2020 19:59:41 +0000 (21:59 +0200)] 
curses: Add Terminfo API set, function keycodes F(n) and minor changes

Some terminfo-related API were already bound (mvcur, vidattr, vidputs);
move these all together, and add missing symbols (all from term.h).
Bind the “F(n)” macro for function key codes.
Annotate VidputsPutcFunc for correct C generation.
Add attribute A_ITALIC (ncurses extension).

4 years agocurses: Remove initial “w” from some Window method names for consistency
Reuben Thomas [Wed, 21 Oct 2020 19:59:41 +0000 (21:59 +0200)] 
curses: Remove initial “w” from some Window method names for consistency

4 years agoglib-2.0: Add return codes to FileStream.putc/puts(), like posix
Reuben Thomas [Wed, 21 Oct 2020 19:59:41 +0000 (21:59 +0200)] 
glib-2.0: Add return codes to FileStream.putc/puts(), like posix

The corresponding C functions return a status code; make the GLib types
the same as the Posix types.

This gives these functions the correct type signature for use where a
putc-like function is required.

4 years agoalsa: Fix PcmDevice.set_poll_descriptors_revents() binding
Rico Tzschichholz [Wed, 21 Oct 2020 15:04:31 +0000 (17:04 +0200)] 
alsa: Fix PcmDevice.set_poll_descriptors_revents() binding

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

4 years agogtk4: Update to 3.99.3+8880e3bd
Rico Tzschichholz [Wed, 21 Oct 2020 14:49:38 +0000 (16:49 +0200)] 
gtk4: Update to 3.99.3+8880e3bd

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

4 years agovala: Allow markup-reader to accept spaces around '=' of attribute assignment
Rico Tzschichholz [Tue, 20 Oct 2020 22:00:53 +0000 (00:00 +0200)] 
vala: Allow markup-reader to accept spaces around '=' of attribute assignment

4 years agogio-2.0: Fix binding of Resolver.lookup_service*()
Rico Tzschichholz [Tue, 20 Oct 2020 11:38:05 +0000 (13:38 +0200)] 
gio-2.0: Fix binding of Resolver.lookup_service*()

4 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 19 Oct 2020 19:01:55 +0000 (21:01 +0200)] 
vapi: Update GIR-based bindings

4 years agogstreamer: Update from 1.19.0+ git master
Rico Tzschichholz [Mon, 19 Oct 2020 18:55:50 +0000 (20:55 +0200)] 
gstreamer: Update from 1.19.0+ git master

4 years agogtk4: Update to 3.99.3+25a1c421
Rico Tzschichholz [Mon, 19 Oct 2020 18:54:21 +0000 (20:54 +0200)] 
gtk4: Update to 3.99.3+25a1c421

4 years agolibvaladoc: Don't filter-out generic type-parameters of delegates
Rico Tzschichholz [Mon, 19 Oct 2020 11:51:58 +0000 (13:51 +0200)] 
libvaladoc: Don't filter-out generic type-parameters of delegates

4 years agocodegen: Don't use inferred type for temp-value to access generic property
Rico Tzschichholz [Sun, 18 Oct 2020 19:08:46 +0000 (21:08 +0200)] 
codegen: Don't use inferred type for temp-value to access generic property

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

4 years agodoc/vala-gen-introspect.1: fix a typo
Reuben Thomas [Thu, 15 Oct 2020 20:28:20 +0000 (21:28 +0100)] 
doc/vala-gen-introspect.1: fix a typo

4 years agotestrunner: Add "-Werror=return-local-addr" flag
Rico Tzschichholz [Thu, 15 Oct 2020 07:14:03 +0000 (09:14 +0200)] 
testrunner: Add "-Werror=return-local-addr" flag

4 years agoposix: Declare fstat, stat, lstat and fstatat as public
Rico Tzschichholz [Thu, 15 Oct 2020 07:12:28 +0000 (09:12 +0200)] 
posix: Declare fstat, stat, lstat and fstatat as public

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

4 years agorest-0.7: Fix ParamsIter.next() binding
Rico Tzschichholz [Mon, 12 Oct 2020 16:13:32 +0000 (18:13 +0200)] 
rest-0.7: Fix ParamsIter.next() binding

Thanks to Rasmus Thomsen

4 years agocodegen: Reduce get_delegate_target/get_delegate_target_destroy_notify calls
Jeremy Philippe [Wed, 7 Oct 2020 11:41:40 +0000 (13:41 +0200)] 
codegen: Reduce get_delegate_target/get_delegate_target_destroy_notify calls

4 years agocodegen: More use of delegate_target_type and delegate_target_destroy_type
Jeremy Philippe [Wed, 7 Oct 2020 11:41:40 +0000 (13:41 +0200)] 
codegen: More use of delegate_target_type and delegate_target_destroy_type

4 years agoglib-2.0: Fix return-type of Uri.parse_params() binding
Rico Tzschichholz [Tue, 6 Oct 2020 16:40:28 +0000 (18:40 +0200)] 
glib-2.0: Fix return-type of Uri.parse_params() binding

4 years agogtk4: Update to 3.99.2+2b036744
Rico Tzschichholz [Mon, 5 Oct 2020 12:16:29 +0000 (14:16 +0200)] 
gtk4: Update to 3.99.2+2b036744

4 years agogtk4: Attribute Gsk.ShaderArgsBuilder.free_to_args with DestroysInstance
Rico Tzschichholz [Sat, 3 Oct 2020 16:20:43 +0000 (18:20 +0200)] 
gtk4: Attribute Gsk.ShaderArgsBuilder.free_to_args with DestroysInstance

4 years agogtk4: Update to 3.99.2+949f22b8
Rico Tzschichholz [Sat, 3 Oct 2020 14:24:50 +0000 (16:24 +0200)] 
gtk4: Update to 3.99.2+949f22b8

4 years agovala: Issue an error on void initializer for local-variable
Rico Tzschichholz [Tue, 29 Sep 2020 12:47:48 +0000 (14:47 +0200)] 
vala: Issue an error on void initializer for local-variable

4 years agoDon't use broken and unsupported cast expression as statement
Rico Tzschichholz [Tue, 29 Sep 2020 16:39:45 +0000 (18:39 +0200)] 
Don't use broken and unsupported cast expression as statement

4 years agoBump version suffix to 0.52
Rico Tzschichholz [Tue, 29 Sep 2020 12:13:34 +0000 (14:13 +0200)] 
Bump version suffix to 0.52

4 years agoRelease 0.50.1 0.50.1
Rico Tzschichholz [Mon, 28 Sep 2020 11:19:27 +0000 (13:19 +0200)] 
Release 0.50.1

4 years agolibvaladoc: Fix a couple of C compiler warnings
Rico Tzschichholz [Mon, 28 Sep 2020 10:44:12 +0000 (12:44 +0200)] 
libvaladoc: Fix a couple of C compiler warnings

4 years agog-i: Fix a couple of C compiler warnings
Rico Tzschichholz [Mon, 28 Sep 2020 10:44:12 +0000 (12:44 +0200)] 
g-i: Fix a couple of C compiler warnings

4 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 28 Sep 2020 08:32:00 +0000 (10:32 +0200)] 
vapi: Update GIR-based bindings

4 years agogstreamer: Update from 1.19.0+ git master
Rico Tzschichholz [Mon, 28 Sep 2020 08:32:00 +0000 (10:32 +0200)] 
gstreamer: Update from 1.19.0+ git master

4 years agogtk4: Update to 3.99.1+15b635d7
Rico Tzschichholz [Mon, 28 Sep 2020 08:32:00 +0000 (10:32 +0200)] 
gtk4: Update to 3.99.1+15b635d7

4 years agotestrunner: Filter external -0X flags to preserve current default -O0
Rico Tzschichholz [Sun, 27 Sep 2020 21:45:27 +0000 (23:45 +0200)] 
testrunner: Filter external -0X flags to preserve current default -O0

4 years agobuild: Stop passing obsolete --use-header
Rico Tzschichholz [Sun, 27 Sep 2020 17:27:57 +0000 (19:27 +0200)] 
build: Stop passing obsolete --use-header

4 years agotestrunner: Pass --enable-checking to increase coverage
Rico Tzschichholz [Sun, 27 Sep 2020 12:30:39 +0000 (14:30 +0200)] 
testrunner: Pass --enable-checking to increase coverage

4 years agocodegen: Don't pass CCodeFunctionCall to NULL-aware free macro
Rico Tzschichholz [Sun, 27 Sep 2020 17:21:37 +0000 (19:21 +0200)] 
codegen: Don't pass CCodeFunctionCall to NULL-aware free macro

This resulted in invalid C code:
    error: lvalue required as left operand of assignment

4 years agocodegen: Don't falsly use g_return_val_if_fail() for async creation method
Rico Tzschichholz [Sun, 27 Sep 2020 08:38:41 +0000 (10:38 +0200)] 
codegen: Don't falsly use g_return_val_if_fail() for async creation method

Asynchronous creation methods are represented by 5 functions, "*_new",
"*_new_finish", "*_construct", "*_construct_co" and "*_construct_finish".
The argument checks are emitted in "*_construct" which is a void function
and cannot return any value.

Regression of 43f3e2ca534d082433fbe62aa347b7af443f9f33

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

4 years agovala: Recognize previously inserted implicit access to with-variable
Nick Schrader [Sat, 26 Sep 2020 11:57:13 +0000 (13:57 +0200)] 
vala: Recognize previously inserted implicit access to with-variable

Replaces b2746b9c3a2edc17ae7d27b30123fe0aeec52f82

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

4 years agovala: Prioritize the usage of an existing with-variable instance
Nick Schrader [Sat, 26 Sep 2020 11:57:13 +0000 (13:57 +0200)] 
vala: Prioritize the usage of an existing with-variable instance

4 years agowebkit2gtk-4.0: Update to 2.30.1
Rico Tzschichholz [Tue, 22 Sep 2020 13:56:15 +0000 (15:56 +0200)] 
webkit2gtk-4.0: Update to 2.30.1

4 years agogtk4: Update to 3.99.1+ee75bae8
Rico Tzschichholz [Tue, 22 Sep 2020 13:54:52 +0000 (15:54 +0200)] 
gtk4: Update to 3.99.1+ee75bae8

4 years agoparser: Allow to begin expression with statement keyword
Rico Tzschichholz [Fri, 18 Sep 2020 12:29:31 +0000 (14:29 +0200)] 
parser: Allow to begin expression with statement keyword

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

4 years agovala: Improve parsing of with-statement and allow it as embedded statement
Rico Tzschichholz [Thu, 17 Sep 2020 13:16:59 +0000 (15:16 +0200)] 
vala: Improve parsing of with-statement and allow it as embedded statement

4 years agogtk4: Update to 3.99.1+35c3a60c
Rico Tzschichholz [Thu, 17 Sep 2020 13:16:59 +0000 (15:16 +0200)] 
gtk4: Update to 3.99.1+35c3a60c

4 years agogtk4: Update to 3.99.1+9afdb41b
Rico Tzschichholz [Sat, 12 Sep 2020 15:01:44 +0000 (17:01 +0200)] 
gtk4: Update to 3.99.1+9afdb41b

4 years agogtk4: Don't skip LayoutManager.create_layout_child()
Rico Tzschichholz [Sat, 12 Sep 2020 07:50:32 +0000 (09:50 +0200)] 
gtk4: Don't skip LayoutManager.create_layout_child()

It is marked as not introspectable for some reason.

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

4 years agoRelease 0.50.0 0.50.0
Rico Tzschichholz [Thu, 10 Sep 2020 19:40:38 +0000 (21:40 +0200)] 
Release 0.50.0

4 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 10 Sep 2020 15:13:54 +0000 (17:13 +0200)] 
vapi: Update GIR-based bindings

4 years agogstreamer: Update from 1.18.0+ git master
Rico Tzschichholz [Thu, 10 Sep 2020 15:13:26 +0000 (17:13 +0200)] 
gstreamer: Update from 1.18.0+ git master

4 years agopoppler-glib: Update to 20.09.0
Rico Tzschichholz [Thu, 10 Sep 2020 13:09:44 +0000 (15:09 +0200)] 
poppler-glib: Update to 20.09.0

4 years agocodegen: The actual struct size is required for calloc (POSIX)
Rico Tzschichholz [Mon, 7 Sep 2020 12:07:55 +0000 (14:07 +0200)] 
codegen: The actual struct size is required for calloc (POSIX)

Found by -Werror=array-bounds on ppc64el with gcc 10.2 and musl 1.2

basic_types_arrays.c:1268:2: error: 'memcpy' forming offset [8, 23] is
out of the bounds [0, 8] [-Werror=array-bounds]
 1268 |  memcpy (dup, self, sizeof (Foo));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

4 years agoRelease 0.49.92 0.49.92
Rico Tzschichholz [Fri, 4 Sep 2020 06:54:28 +0000 (08:54 +0200)] 
Release 0.49.92

4 years agogtk4: Update to 3.99.0+6c9fe63a
Rico Tzschichholz [Wed, 2 Sep 2020 18:48:59 +0000 (20:48 +0200)] 
gtk4: Update to 3.99.0+6c9fe63a

4 years agoDon't use locale dependent string functions on syntax strings
Rico Tzschichholz [Wed, 2 Sep 2020 13:13:29 +0000 (15:13 +0200)] 
Don't use locale dependent string functions on syntax strings

Replace usage of string.down() with string.ascii_down(),
and string.up() with string.ascii_up()

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

4 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 29 Aug 2020 18:37:57 +0000 (20:37 +0200)] 
vapi: Update GIR-based bindings

4 years agogtk4: Update to 3.99.0+02d57f1f
Rico Tzschichholz [Sat, 29 Aug 2020 16:47:56 +0000 (18:47 +0200)] 
gtk4: Update to 3.99.0+02d57f1f

4 years agolibvaladoc/gtkdoc-importer: Don't let parse_block_taglet() return null
Rico Tzschichholz [Thu, 27 Aug 2020 08:41:47 +0000 (10:41 +0200)] 
libvaladoc/gtkdoc-importer: Don't let parse_block_taglet() return null

This caused criticals like:

  valadoc_taglets_param_set_is_c_self_param: assertion 'self != NULL' failed

4 years agolibvaladoc/gtkdoc-importer: Correctly retrieve "url" from "ulink" elements
Rico Tzschichholz [Thu, 27 Aug 2020 08:02:19 +0000 (10:02 +0200)] 
libvaladoc/gtkdoc-importer: Correctly retrieve "url" from "ulink" elements

This caused criticals like:

  g_uri_parse_scheme: assertion 'uri != NULL' failed

4 years agolibvaladoc/girimporter: Fallback to "name" for callback
Rico Tzschichholz [Thu, 27 Aug 2020 08:02:19 +0000 (10:02 +0200)] 
libvaladoc/girimporter: Fallback to "name" for callback

This caused criticals like:

  valadoc_importer_gir_documentation_importer_attach_comment: assertion 'cname != NULL' failed

4 years agogirparser: Additionally fallback to "glib:type-name" to retrieve the cname
Rico Tzschichholz [Mon, 24 Aug 2020 15:36:05 +0000 (17:36 +0200)] 
girparser: Additionally fallback to "glib:type-name" to retrieve the cname

4 years agolibvaladoc/girimporter: Fallback to "glib:type-name" for class, interface and record
Rico Tzschichholz [Mon, 24 Aug 2020 15:03:43 +0000 (17:03 +0200)] 
libvaladoc/girimporter: Fallback to "glib:type-name" for class, interface and record

This caused criticals like:

  valadoc_importer_gir_documentation_importer_attach_comment: assertion 'cname != NULL' failed

4 years agolibvaladoc/girimporter: Improve parse_symbol_doc() and don't use parse_doc()
Rico Tzschichholz [Mon, 24 Aug 2020 11:14:09 +0000 (13:14 +0200)] 
libvaladoc/girimporter: Improve parse_symbol_doc() and don't use parse_doc()

4 years agolibvaladoc/girimporter: Skip "attribute" elements
Rico Tzschichholz [Sun, 23 Aug 2020 15:50:14 +0000 (17:50 +0200)] 
libvaladoc/girimporter: Skip "attribute" elements

This is the same patch as in commit 6ea19c61015d0dd6cacb581397c8fe37ace9df4a

4 years agoRelease 0.49.91 0.49.91
Rico Tzschichholz [Sun, 23 Aug 2020 13:57:06 +0000 (15:57 +0200)] 
Release 0.49.91

4 years agogio-2.0: Socket.receive*.buffer parameters are not "out"
Rico Tzschichholz [Sun, 23 Aug 2020 10:53:49 +0000 (12:53 +0200)] 
gio-2.0: Socket.receive*.buffer parameters are not "out"

4 years agoglib-2.0: Update GLib.Uri API (since 2.66)
Rico Tzschichholz [Sun, 23 Aug 2020 08:02:52 +0000 (10:02 +0200)] 
glib-2.0: Update GLib.Uri API (since 2.66)

4 years agoglib-2.0: Add GLib.UriParamsIter bindings (since 2.66)
Rico Tzschichholz [Sun, 23 Aug 2020 07:32:47 +0000 (09:32 +0200)] 
glib-2.0: Add GLib.UriParamsIter bindings (since 2.66)

4 years agogio-unix-2.0: Add g_unix_mount_copy and g_unix_mount_point_copy
Rico Tzschichholz [Sun, 23 Aug 2020 07:19:17 +0000 (09:19 +0200)] 
gio-unix-2.0: Add g_unix_mount_copy and g_unix_mount_point_copy

4 years agogio-unix-2.0: Add g_unix_mount_point_at and g_unix_mount_points_get
Rico Tzschichholz [Sun, 23 Aug 2020 07:09:15 +0000 (09:09 +0200)] 
gio-unix-2.0: Add g_unix_mount_point_at and g_unix_mount_points_get