]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Wed, 30 Sep 2020 06:41:05 +0000 (08:41 +0200)]
WIP vala: Allow explicit access to class members using the "class" keyword
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
Reuben Thomas [Thu, 15 Oct 2020 20:28:20 +0000 (21:28 +0100)]
doc/vala-gen-introspect.1: fix a typo
Rico Tzschichholz [Thu, 15 Oct 2020 07:14:03 +0000 (09:14 +0200)]
testrunner: Add "-Werror=return-local-addr" flag
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
Rico Tzschichholz [Mon, 12 Oct 2020 16:13:32 +0000 (18:13 +0200)]
rest-0.7: Fix ParamsIter.next() binding
Thanks to Rasmus Thomsen
Jeremy Philippe [Wed, 7 Oct 2020 11:41:40 +0000 (13:41 +0200)]
codegen: Reduce get_delegate_target/get_delegate_target_destroy_notify calls
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
Rico Tzschichholz [Tue, 6 Oct 2020 16:40:28 +0000 (18:40 +0200)]
glib-2.0: Fix return-type of Uri.parse_params() binding
Rico Tzschichholz [Mon, 5 Oct 2020 12:16:29 +0000 (14:16 +0200)]
gtk4: Update to 3.99.2+
2b036744
Rico Tzschichholz [Sat, 3 Oct 2020 16:20:43 +0000 (18:20 +0200)]
gtk4: Attribute Gsk.ShaderArgsBuilder.free_to_args with DestroysInstance
Rico Tzschichholz [Sat, 3 Oct 2020 14:24:50 +0000 (16:24 +0200)]
gtk4: Update to 3.99.2+
949f22b8
Rico Tzschichholz [Tue, 29 Sep 2020 12:47:48 +0000 (14:47 +0200)]
vala: Issue an error on void initializer for local-variable
Rico Tzschichholz [Tue, 29 Sep 2020 16:39:45 +0000 (18:39 +0200)]
Don't use broken and unsupported cast expression as statement
Rico Tzschichholz [Tue, 29 Sep 2020 12:13:34 +0000 (14:13 +0200)]
Bump version suffix to 0.52
Rico Tzschichholz [Mon, 28 Sep 2020 11:19:27 +0000 (13:19 +0200)]
Release 0.50.1
Rico Tzschichholz [Mon, 28 Sep 2020 10:44:12 +0000 (12:44 +0200)]
libvaladoc: 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
Rico Tzschichholz [Mon, 28 Sep 2020 08:32:00 +0000 (10:32 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 28 Sep 2020 08:32:00 +0000 (10:32 +0200)]
gstreamer: Update from 1.19.0+ git master
Rico Tzschichholz [Mon, 28 Sep 2020 08:32:00 +0000 (10:32 +0200)]
gtk4: Update to 3.99.1+
15b635d7
Rico Tzschichholz [Sun, 27 Sep 2020 21:45:27 +0000 (23:45 +0200)]
testrunner: Filter external -0X flags to preserve current default -O0
Rico Tzschichholz [Sun, 27 Sep 2020 17:27:57 +0000 (19:27 +0200)]
build: Stop passing obsolete --use-header
Rico Tzschichholz [Sun, 27 Sep 2020 12:30:39 +0000 (14:30 +0200)]
testrunner: Pass --enable-checking to increase coverage
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
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
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
Nick Schrader [Sat, 26 Sep 2020 11:57:13 +0000 (13:57 +0200)]
vala: Prioritize the usage of an existing with-variable instance
Rico Tzschichholz [Tue, 22 Sep 2020 13:56:15 +0000 (15:56 +0200)]
webkit2gtk-4.0: Update to 2.30.1
Rico Tzschichholz [Tue, 22 Sep 2020 13:54:52 +0000 (15:54 +0200)]
gtk4: Update to 3.99.1+
ee75bae8
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
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
Rico Tzschichholz [Thu, 17 Sep 2020 13:16:59 +0000 (15:16 +0200)]
gtk4: Update to 3.99.1+
35c3a60c
Rico Tzschichholz [Sat, 12 Sep 2020 15:01:44 +0000 (17:01 +0200)]
gtk4: Update to 3.99.1+
9afdb41b
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
Rico Tzschichholz [Thu, 10 Sep 2020 19:40:38 +0000 (21:40 +0200)]
Release 0.50.0
Rico Tzschichholz [Thu, 10 Sep 2020 15:13:54 +0000 (17:13 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 10 Sep 2020 15:13:26 +0000 (17:13 +0200)]
gstreamer: Update from 1.18.0+ git master
Rico Tzschichholz [Thu, 10 Sep 2020 13:09:44 +0000 (15:09 +0200)]
poppler-glib: Update to 20.09.0
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
Rico Tzschichholz [Fri, 4 Sep 2020 06:54:28 +0000 (08:54 +0200)]
Release 0.49.92
Rico Tzschichholz [Wed, 2 Sep 2020 18:48:59 +0000 (20:48 +0200)]
gtk4: Update to 3.99.0+
6c9fe63a
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
Rico Tzschichholz [Sat, 29 Aug 2020 18:37:57 +0000 (20:37 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 29 Aug 2020 16:47:56 +0000 (18:47 +0200)]
gtk4: Update to 3.99.0+
02d57f1f
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
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
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
Rico Tzschichholz [Mon, 24 Aug 2020 15:36:05 +0000 (17:36 +0200)]
girparser: Additionally fallback to "glib:type-name" to retrieve the cname
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
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()
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
Rico Tzschichholz [Sun, 23 Aug 2020 13:57:06 +0000 (15:57 +0200)]
Release 0.49.91
Rico Tzschichholz [Sun, 23 Aug 2020 10:53:49 +0000 (12:53 +0200)]
gio-2.0: Socket.receive*.buffer parameters are not "out"
Rico Tzschichholz [Sun, 23 Aug 2020 08:02:52 +0000 (10:02 +0200)]
glib-2.0: Update GLib.Uri API (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)
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
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
Rico Tzschichholz [Sat, 22 Aug 2020 12:23:41 +0000 (14:23 +0200)]
gtk4: Resolve a few conflicts of methods with virtual-methods
Rico Tzschichholz [Wed, 19 Aug 2020 15:42:37 +0000 (17:42 +0200)]
vala: Add ObjectCreationExpression.to_string()
Rico Tzschichholz [Wed, 19 Aug 2020 13:58:37 +0000 (15:58 +0200)]
vala: Additionally break on ObjectCreationExpression in "tainted" check
Rico Tzschichholz [Wed, 19 Aug 2020 07:04:21 +0000 (09:04 +0200)]
Fix various typos in comments and strings
See https://gitlab.gnome.org/GNOME/vala/issues/1063
Rico Tzschichholz [Wed, 19 Aug 2020 06:35:52 +0000 (08:35 +0200)]
manual: Update from wiki.gnome.org
Alistair Thomas [Tue, 27 Oct 2015 18:23:09 +0000 (18:23 +0000)]
codegen: Always include base_struct declaration if available
This fixes inheritance of structs across source files while not using
a header file.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/464
Rico Tzschichholz [Mon, 17 Aug 2020 14:37:59 +0000 (16:37 +0200)]
codegen: Don't append unreachable clean-up section of Block
Found by -Werror=unreachable-code
Improvements for https://gitlab.gnome.org/GNOME/vala/issues/838
Fixes https://gitlab.gnome.org/GNOME/vala/issues/169
Rico Tzschichholz [Mon, 17 Aug 2020 14:33:44 +0000 (16:33 +0200)]
Revert "codegen: Don't append unreachable clean-up section of Block"
This reverts commit
8f3a0a0b64e0c7fbcc9231c3058247920dd6eeda .
Rico Tzschichholz [Sat, 15 Aug 2020 18:31:41 +0000 (20:31 +0200)]
doc: Update AUTHORS in manpages
Rico Tzschichholz [Sat, 15 Aug 2020 13:23:46 +0000 (15:23 +0200)]
Release 0.49.90
Rico Tzschichholz [Sat, 15 Aug 2020 10:39:09 +0000 (12:39 +0200)]
gtk4: Update to 3.99.0+
e6e2d6b4
Rico Tzschichholz [Sat, 15 Aug 2020 10:38:54 +0000 (12:38 +0200)]
pango: Update from 1.46.0
Rico Tzschichholz [Sat, 15 Aug 2020 10:38:45 +0000 (12:38 +0200)]
gstreamer: Update from 1.17.2+ git master
Rico Tzschichholz [Sat, 15 Aug 2020 10:38:11 +0000 (12:38 +0200)]
webkit2gtk-4.0: Update to 2.29.91
Rico Tzschichholz [Thu, 13 Aug 2020 21:00:44 +0000 (23:00 +0200)]
vala: Set parent_node for child nodes of lambda-expression
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1062
Rico Tzschichholz [Thu, 13 Aug 2020 17:05:49 +0000 (19:05 +0200)]
tests: Add "pre-post-increment with side effect" tests to increase coverage
See https://gitlab.gnome.org/GNOME/vala/issues/1061
Rico Tzschichholz [Thu, 13 Aug 2020 17:05:49 +0000 (19:05 +0200)]
Force usage of temporary variables for "tainted" member accesses
This is required to handle the side effect of postfix- and unary-
increment/decrement expressions.
Regression of
32ffc862417be39d42a1b8eeb3d0748b3e138aff
and
b9035aaf17a9a97a070812a8ee83251fd3893b1e
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1061
Rico Tzschichholz [Thu, 13 Aug 2020 17:05:49 +0000 (19:05 +0200)]
vala: Move transformation of unary increment/decrement to codegen
In preparation for https://gitlab.gnome.org/GNOME/vala/issues/1061
Rico Tzschichholz [Fri, 26 Oct 2018 12:08:59 +0000 (14:08 +0200)]
Add TraverseVisitor for traversing the tree with a callback
This will allow cleaning up virtual methods of code nodes
and more stateful to stateless code conversion.
Rico Tzschichholz [Tue, 11 Aug 2020 08:03:14 +0000 (10:03 +0200)]
tests: Don't rely on undefined use-after-free behaviour of glibc
Makes this check work with musl >= 1.2.1
https://bugzilla.gnome.org/show_bug.cgi?id=736774
Rico Tzschichholz [Mon, 10 Aug 2020 11:18:08 +0000 (13:18 +0200)]
tests: Add "nested namespace" girwriter test to increase coverage
See https://gitlab.gnome.org/GNOME/vala/issues/1059
Rico Tzschichholz [Mon, 10 Aug 2020 09:56:47 +0000 (11:56 +0200)]
tests: Add "constant and union" gir test to increase coverage
Rico Tzschichholz [Mon, 10 Aug 2020 09:56:47 +0000 (11:56 +0200)]
tests: Add "property accessor with try statement" test to increase coverage
Rico Tzschichholz [Mon, 10 Aug 2020 09:56:47 +0000 (11:56 +0200)]
tests: Add more "invalid" tests to increase coverage
Rico Tzschichholz [Mon, 10 Aug 2020 11:43:49 +0000 (13:43 +0200)]
Revert "girwriter: Use appropriate get_ccode_* functions"
This reverts commit
7b0498d4f4fcaa3bd9e04d65560324847136f0ac .
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1059
Rico Tzschichholz [Mon, 10 Aug 2020 06:04:13 +0000 (08:04 +0200)]
Release 0.49.2
Rico Tzschichholz [Sun, 9 Aug 2020 19:17:23 +0000 (21:17 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 9 Aug 2020 19:16:53 +0000 (21:16 +0200)]
gstreamer: Update from 1.17.2+ git master
Rico Tzschichholz [Sun, 9 Aug 2020 14:59:23 +0000 (16:59 +0200)]
gtk4: Update to 3.99.0+
358b698e
Jeremy Philippe [Sun, 9 Aug 2020 12:10:37 +0000 (14:10 +0200)]
posix: Declare WRDE_APPEND constant as public
Rico Tzschichholz [Sun, 9 Aug 2020 14:43:28 +0000 (16:43 +0200)]
posix: Add missing "has_typedef" attribute for some delegates
Rico Tzschichholz [Fri, 7 Aug 2020 19:45:22 +0000 (21:45 +0200)]
goocanvas-2.0: Fix some field ownerships and types
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1057
Rico Tzschichholz [Fri, 7 Aug 2020 16:54:51 +0000 (18:54 +0200)]
codegen: Support non-virtual signals with default handler
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1056
Rico Tzschichholz [Thu, 6 Aug 2020 20:03:43 +0000 (22:03 +0200)]
tests: Add "return in construct/destructor" tests to increase coverage
Rico Tzschichholz [Thu, 6 Aug 2020 20:29:35 +0000 (22:29 +0200)]
tests: Add "enum typed property" tests to increase coverage
Rico Tzschichholz [Thu, 6 Aug 2020 09:09:52 +0000 (11:09 +0200)]
vala: Switch context if with-variable is not owned by with-statement ifself
See https://gitlab.gnome.org/GNOME/vala/issues/1043
Rico Tzschichholz [Thu, 6 Aug 2020 12:47:58 +0000 (14:47 +0200)]
gtk4: Update to 3.99.0+
83e9b5b4
Rico Tzschichholz [Wed, 5 Aug 2020 15:45:39 +0000 (17:45 +0200)]
vala: Mark tranformed member-access as qualified
Regression of
866258f688d781f3536892b8f93abdd3112198ec
See https://gitlab.gnome.org/GNOME/vala/issues/57
Rico Tzschichholz [Wed, 5 Aug 2020 06:21:14 +0000 (08:21 +0200)]
gio-2.0: Include "gio/gsettingsbackend.h" for GLib.SettingsBackend members
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1054
Rico Tzschichholz [Wed, 5 Aug 2020 06:21:14 +0000 (08:21 +0200)]
girparser: Add support for string "feature_test_macro" metadata
Rico Tzschichholz [Wed, 5 Aug 2020 05:27:53 +0000 (07:27 +0200)]
codegen: Include header for base-symbols when connecting vfuncs
This eases the handling of types which are split over different headers.
Rico Tzschichholz [Tue, 4 Aug 2020 13:26:27 +0000 (15:26 +0200)]
pango: Update from 1.45.4+