]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Tue, 14 Jun 2022 13:31:17 +0000 (15:31 +0200)]
codegen: Make sure to initialize static collections
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
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.
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
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
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
Rico Tzschichholz [Fri, 22 Apr 2022 18:37:06 +0000 (20:37 +0200)]
Release 0.56.1
Rico Tzschichholz [Wed, 20 Apr 2022 12:06:58 +0000 (14:06 +0200)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Wed, 20 Apr 2022 11:58:33 +0000 (13:58 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 20 Apr 2022 11:58:06 +0000 (13:58 +0200)]
gstreamer: Update from 1.21.0+ git main
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
Rico Tzschichholz [Tue, 5 Apr 2022 09:01:11 +0000 (11:01 +0200)]
valadoc: Include path to doclet in error message
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.
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
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
Rico Tzschichholz [Mon, 28 Mar 2022 13:27:45 +0000 (15:27 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 28 Mar 2022 13:27:21 +0000 (15:27 +0200)]
gstreamer: Update from 1.21+ git main
Lorenz Wildberg [Fri, 18 Mar 2022 11:42:30 +0000 (11:42 +0000)]
Add release notes for 0.56
Rico Tzschichholz [Thu, 17 Mar 2022 08:40:46 +0000 (09:40 +0100)]
Release 0.56.0
Rico Tzschichholz [Tue, 8 Mar 2022 17:38:34 +0000 (18:38 +0100)]
vapi: Add webkit2gtk-4.1 bindings
Rico Tzschichholz [Wed, 9 Mar 2022 08:07:19 +0000 (09:07 +0100)]
libarchive: Fix a few binding errors
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
Rico Tzschichholz [Sun, 31 Jan 2021 12:04:53 +0000 (13:04 +0100)]
SDL2_ttf: Fix a few binding errors
Rico Tzschichholz [Wed, 31 Mar 2021 13:02:56 +0000 (15:02 +0200)]
tiff: Fix a few binding errors
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
Rico Tzschichholz [Fri, 4 Mar 2022 13:49:35 +0000 (14:49 +0100)]
Release 0.55.91
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
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
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)]
gstreamer-video-1.0: Fix a few binding errors
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)]
gstreamer-base-1.0: Fix a few bindings errors
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)]
gstreamer-audio-1.0: Fix a few binding errors
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)]
gst-editing-services-1.0: Fix BaseEffect.set_time_translation_funcs()
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)]
gtk4: Fix content_deserialize_async()
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)]
libgrss: Fix FeedItem.get_geo_point() parameters
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)]
libarchive: 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
Rico Tzschichholz [Mon, 28 Feb 2022 11:12:56 +0000 (12:12 +0100)]
girparser: Add support for "copy_/free_function" metadata for compact classes
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.
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.
Rico Tzschichholz [Fri, 25 Feb 2022 16:01:28 +0000 (17:01 +0100)]
Release 0.55.90
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
Rico Tzschichholz [Sun, 18 Nov 2018 20:38:09 +0000 (21:38 +0100)]
girparser: Pick up type_id of 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
Rico Tzschichholz [Thu, 3 Oct 2019 14:50:16 +0000 (16:50 +0200)]
codegen: Default to "has_type_id = false" for external error-domains
Rico Tzschichholz [Tue, 15 Oct 2019 06:27:05 +0000 (08:27 +0200)]
glib-2.0: Add type_id of GLib.Error
Rico Tzschichholz [Tue, 15 Oct 2019 06:18:45 +0000 (08:18 +0200)]
glib-2.0: Annotate error-domains with "has_type_id = false"
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
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
Rico Tzschichholz [Thu, 24 Feb 2022 12:45:18 +0000 (13:45 +0100)]
codegen: Split out GTypeModule.generate_autoptr_cleanup()
Rico Tzschichholz [Tue, 22 Feb 2022 18:18:16 +0000 (19:18 +0100)]
vapi: gtk4-unix-print is GIR-based
Rico Tzschichholz [Tue, 22 Feb 2022 17:03:52 +0000 (18:03 +0100)]
glib-2.0: Update 2.70/72 symbols
Rico Tzschichholz [Tue, 22 Feb 2022 16:39:35 +0000 (17:39 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 22 Feb 2022 16:37:53 +0000 (17:37 +0100)]
gstreamer: Update from 1.21.0+ git main
Rico Tzschichholz [Tue, 22 Feb 2022 13:20:46 +0000 (14:20 +0100)]
vala: Allow delegate without target to be used as constant type
Rico Tzschichholz [Tue, 22 Feb 2022 12:10:20 +0000 (13:10 +0100)]
vala: Keep error-code symbol reference in callable expression context
Rico Tzschichholz [Tue, 22 Feb 2022 12:10:20 +0000 (13:10 +0100)]
vala: Add common CallableExpression.call property API
Rico Tzschichholz [Tue, 22 Feb 2022 12:10:20 +0000 (13:10 +0100)]
vala: Drop unused MemberAccess.creation_member property API
Rico Tzschichholz [Tue, 22 Feb 2022 12:10:20 +0000 (13:10 +0100)]
tests: Extend "direct access to error code" test to increase coverage
Rico Tzschichholz [Tue, 22 Feb 2022 09:56:05 +0000 (10:56 +0100)]
tests: Add invalid "error creation" tests to increase coverage
Rico Tzschichholz [Tue, 22 Feb 2022 09:47:04 +0000 (10:47 +0100)]
tests: Fix objectcreation-no-creation-method.test
Rico Tzschichholz [Tue, 22 Feb 2022 09:43:10 +0000 (10:43 +0100)]
vala: Member reference for ObjectCreationExpression is never null
Rico Tzschichholz [Sat, 12 Feb 2022 11:58:22 +0000 (12:58 +0100)]
tests: Add more Werror=... flags
Rico Tzschichholz [Fri, 11 Feb 2022 18:18:18 +0000 (19:18 +0100)]
vala: Only add catch clause if an inner error is possible
See
d9f702289b4b39683d0c9361e1ea02fd51ecae22
Rico Tzschichholz [Fri, 11 Feb 2022 09:26:41 +0000 (10:26 +0100)]
build: Update git-version-gen to latest upstream
From commit
b5a3c17daa05f6d76f70369e7cbeefe0db012499 of
https://git.savannah.gnu.org/cgit/gnulib.git/log/build-aux/git-version-gen
Rico Tzschichholz [Fri, 11 Feb 2022 09:16:41 +0000 (10:16 +0100)]
build: Update gitlog-to-changelog to latest upstream
From commit
b5a3c17daa05f6d76f70369e7cbeefe0db012499 of
https://git.savannah.gnu.org/cgit/gnulib.git/tree/build-aux/gitlog-to-changelog
Rico Tzschichholz [Thu, 10 Feb 2022 17:07:56 +0000 (18:07 +0100)]
vala: Catch and throw possible inner error of lock statements
See
40c1dbfbfedb6c4a6b88df045eb1c2e7bdd38d93
Fixes https://gitlab.gnome.org/GNOME/vala/issues/83
Rico Tzschichholz [Thu, 10 Feb 2022 13:35:33 +0000 (14:35 +0100)]
Release 0.55.3
Rico Tzschichholz [Wed, 9 Feb 2022 20:32:09 +0000 (21:32 +0100)]
vala: Clear SemanticAnalyzer.current_{symbol,source_file} when not needed anymore
Rico Tzschichholz [Wed, 9 Feb 2022 16:36:14 +0000 (17:36 +0100)]
vala: Free empty stack list for code contexts
While having the stack list created on demand, make sure to destroy it
when it is not required anymore. Otherwise it will be leaked without an
option to avoid that to happen.
Rico Tzschichholz [Wed, 9 Feb 2022 11:13:00 +0000 (12:13 +0100)]
gtkmodule: Recurse inner classes of ObjectTypeSymbols (2)
Rico Tzschichholz [Tue, 8 Feb 2022 23:05:24 +0000 (00:05 +0100)]
gtkmodule: Improve UI parsing and handling of nested objects and properties
Don't restrict GtkCallback to instance methods
Rico Tzschichholz [Tue, 8 Feb 2022 23:05:24 +0000 (00:05 +0100)]
gtkmodule: Recurse inner classes of ObjectTypeSymbols
Rico Tzschichholz [Tue, 8 Feb 2022 23:05:24 +0000 (00:05 +0100)]
test/gtktemplate: Use correct class name
Rico Tzschichholz [Sun, 6 Feb 2022 13:29:55 +0000 (14:29 +0100)]
vala: Remove some public API from symbols and types
Rico Tzschichholz [Sun, 6 Feb 2022 13:29:55 +0000 (14:29 +0100)]
parser: Clean up creation of constant declaration
Rico Tzschichholz [Sun, 6 Feb 2022 07:57:35 +0000 (08:57 +0100)]
parser: Allow usage of dynamic on VarType
dynamic var foo = bar.get_foo();
Fixes https://gitlab.gnome.org/GNOME/vala/issues/187
Rico Tzschichholz [Sun, 6 Feb 2022 07:57:35 +0000 (08:57 +0100)]
codegen: Stop generating wrappers for dynamic property access
Rico Tzschichholz [Sun, 6 Feb 2022 07:57:35 +0000 (08:57 +0100)]
vala: Move dynamic property errors to semantic analyzer pass
Rico Tzschichholz [Fri, 4 Feb 2022 08:32:11 +0000 (09:32 +0100)]
vala: Make sure to drop our "trap" jump target in case of an error
Otherwise this can result in an infinite loop in FlowAnalyzer.intersect()
Improve source reference for jump out of finally block
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1287
Rico Tzschichholz [Fri, 4 Feb 2022 07:01:10 +0000 (08:01 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Fri, 4 Feb 2022 07:01:10 +0000 (08:01 +0100)]
gio-2.0,glib-2.0,gobject-2.0: Update 2.72 symbols
Rico Tzschichholz [Fri, 4 Feb 2022 07:01:10 +0000 (08:01 +0100)]
gtk4: Update to 4.6.0+
06ec4ec1
Rico Tzschichholz [Fri, 4 Feb 2022 07:01:10 +0000 (08:01 +0100)]
gstreamer: Update from 1.19.90+ git main
Rico Tzschichholz [Wed, 2 Feb 2022 08:09:24 +0000 (09:09 +0100)]
tests: Relax dependency of asynchronous/method-main-async.vala on build environment
See
45fe8523ad392f1aaa0f24d83b63e91774938775
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1286
Niels De Graef [Thu, 3 Feb 2022 10:23:33 +0000 (11:23 +0100)]
gtk4: Specify sentinel for GtkAcessible methods
Rico Tzschichholz [Mon, 31 Jan 2022 15:37:44 +0000 (16:37 +0100)]
codegen: Use correct target/destroy of delegate field initializer
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1285
Rico Tzschichholz [Sun, 30 Jan 2022 17:07:23 +0000 (18:07 +0100)]
vala: Improve check of generic type references in static contexts
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1284
Rico Tzschichholz [Sun, 30 Jan 2022 17:07:23 +0000 (18:07 +0100)]
tests: Generic type inference for static methods only in compact classes
Rico Tzschichholz [Sun, 30 Jan 2022 17:07:23 +0000 (18:07 +0100)]
vala: Add missing TraverseVisitor.visit_data_type()
Rico Tzschichholz [Sun, 30 Jan 2022 17:07:23 +0000 (18:07 +0100)]
vala: Some simplifications while TypeParameter is a TypeSymbol
Rico Tzschichholz [Fri, 28 Jan 2022 13:35:11 +0000 (14:35 +0100)]
Release 0.55.2
Rico Tzschichholz [Fri, 28 Jan 2022 13:25:13 +0000 (14:25 +0100)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Wed, 26 Jan 2022 18:34:06 +0000 (19:34 +0100)]
codegen: Write array length of formal parameters with fixed length
"void foo (gint i[3]) { ... }" instead of "void foo (gint* i) { ... }"
wxx [Tue, 30 Nov 2021 18:54:04 +0000 (02:54 +0800)]
vala: Transform assignment of an array element as needed
Fixes https://gitlab.gnome.org/GNOME/vala/issues/889
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1258
Nikola Hadžić [Tue, 25 Jan 2022 09:07:04 +0000 (10:07 +0100)]
v4l2: Update V4l2.Capabilities and fix some inline arrays
Nikola Hadžić [Tue, 25 Jan 2022 09:03:00 +0000 (10:03 +0100)]
posix: Add limits.h binding
Nikola Hadžić [Tue, 25 Jan 2022 09:02:17 +0000 (10:02 +0100)]
alsa: Add/fix *.alloca() functions
Nikola Hadžić [Tue, 25 Jan 2022 09:01:54 +0000 (10:01 +0100)]
vapi: Add linux-media bindings (linux/media.h)
Nahuel Gomez [Tue, 25 Jan 2022 17:23:58 +0000 (14:23 -0300)]
glib-2.0: Fix criticals in string.joinv() with arrays that start with null
Rico Tzschichholz [Tue, 25 Jan 2022 17:10:49 +0000 (18:10 +0100)]
parser: Improve handling of nullable VarType in with-statement