]>
git.ipfire.org Git - thirdparty/vala.git/log
Alistair Thomas [Thu, 20 Sep 2018 18:54:18 +0000 (19:54 +0100)]
glib-2.0: Add feature_test_macro details for Time struct's methods
Alistair Thomas [Mon, 2 Jul 2018 23:29:23 +0000 (00:29 +0100)]
glib-2.0: Set DateTime.now () to use local time zone as the default
Rico Tzschichholz [Thu, 20 Sep 2018 13:43:06 +0000 (15:43 +0200)]
vapi: Update GIDL-based bindings to fix unsupported type-arguments
Rico Tzschichholz [Thu, 19 Apr 2018 21:58:31 +0000 (23:58 +0200)]
valadoc: Fix some string escaping which gettext complains about
Rico Tzschichholz [Wed, 8 Aug 2018 14:36:38 +0000 (16:36 +0200)]
vala: Check if ArrayType supports its given element-type in analyzer pass
Rico Tzschichholz [Thu, 20 Sep 2018 10:56:38 +0000 (12:56 +0200)]
codegen: Fix typo in is_pure_ccode_expression()
Note that this method is not used anymore and should likely be dropped.
Introduced with
e086fada22eb7221cdbe34d7d4ac41445a50130a
Fixes https://gitlab.gnome.org/GNOME/vala/issues/673
Rico Tzschichholz [Thu, 20 Sep 2018 08:57:43 +0000 (10:57 +0200)]
g-i: Fix use after free in scanner
Fixes https://gitlab.gnome.org/GNOME/vala/issues/674
Rico Tzschichholz [Wed, 19 Sep 2018 10:39:23 +0000 (12:39 +0200)]
x11: Add binding for XCreateSimpleWindow
Rico Tzschichholz [Wed, 19 Sep 2018 10:28:47 +0000 (12:28 +0200)]
libxml-2.0: Add missing context parameter in OutputWriteCallback
Rico Tzschichholz [Wed, 19 Sep 2018 10:28:16 +0000 (12:28 +0200)]
vala: Add Block.get_local_constants()
Rico Tzschichholz [Tue, 18 Sep 2018 16:40:38 +0000 (18:40 +0200)]
gtk+-3.0: Treat Gtk.IconInfo as GLib.Object which it is since 3.8
This change is backwards incompatible!
See https://gitlab.gnome.org/GNOME/vala/issues/663
Rico Tzschichholz [Tue, 18 Sep 2018 15:24:07 +0000 (17:24 +0200)]
codewriter: Use List.sort() instead of custom local implementation
Rico Tzschichholz [Tue, 31 Jul 2018 11:16:48 +0000 (13:16 +0200)]
codegen: Emit G_DEFINE_AUTOPTR_CLEANUP_FUNC() for classes
This requires --target-glib=2.44
Fixes https://gitlab.gnome.org/GNOME/vala/issues/670
Rico Tzschichholz [Thu, 6 Sep 2018 07:41:37 +0000 (09:41 +0200)]
Bump version suffix
Rico Tzschichholz [Mon, 17 Sep 2018 13:49:17 +0000 (15:49 +0200)]
Release 0.42.1
Rico Tzschichholz [Sun, 9 Sep 2018 16:12:03 +0000 (18:12 +0200)]
vapigen: Warn if the library argument doesn't match any package attribute
GIR files can contain a package key referring to the pkg-config name which
is the recommended and even required naming of a vapi.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/669
Rico Tzschichholz [Mon, 17 Sep 2018 12:03:12 +0000 (14:03 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 17 Sep 2018 10:56:37 +0000 (12:56 +0200)]
gtk+-4.0: Update to 3.94.0+
f3e6d00d
Rico Tzschichholz [Mon, 17 Sep 2018 06:47:23 +0000 (08:47 +0200)]
tests: Actually check canonical cname of properties and signals
Rico Tzschichholz [Sun, 16 Sep 2018 17:27:17 +0000 (19:27 +0200)]
test: Add property lock test
Rico Tzschichholz [Sun, 9 Sep 2018 11:46:19 +0000 (13:46 +0200)]
tests: Check uchar[] and uint8[] compatibility
Rico Tzschichholz [Mon, 19 Mar 2018 08:55:32 +0000 (09:55 +0100)]
vapi: Add gnome-desktop-3.0 bindings
Fixes https://gitlab.gnome.org/GNOME/vala/issues/668
Rico Tzschichholz [Sun, 9 Sep 2018 06:21:51 +0000 (08:21 +0200)]
vapi: Remove libgda-4.0, libgda-report-4.0 bindings
Fixes https://gitlab.gnome.org/GNOME/vala/issues/667
Rico Tzschichholz [Fri, 7 Sep 2018 12:33:15 +0000 (14:33 +0200)]
glib-2.0: Add some 2.58 symbols
Rico Tzschichholz [Thu, 6 Sep 2018 06:21:29 +0000 (08:21 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Fri, 31 Aug 2018 16:49:40 +0000 (18:49 +0200)]
Release 0.42.0
Rico Tzschichholz [Thu, 30 Aug 2018 13:02:29 +0000 (15:02 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Tue, 28 Aug 2018 20:53:00 +0000 (22:53 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 28 Aug 2018 20:52:14 +0000 (22:52 +0200)]
webkit2gtk-4.0: Update to 2.21.92
Rico Tzschichholz [Sat, 18 Aug 2018 15:25:41 +0000 (17:25 +0200)]
Release 0.41.92
Rico Tzschichholz [Sat, 18 Aug 2018 08:59:47 +0000 (10:59 +0200)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Fri, 17 Aug 2018 13:12:45 +0000 (15:12 +0200)]
vala: Don't bail early on property with not supported default value
This avoids independent consequential errors.
Rico Tzschichholz [Fri, 17 Aug 2018 12:19:06 +0000 (14:19 +0200)]
codegen: Call ref_sink on Object.new_valist/new_with_properties if needed
Rico Tzschichholz [Fri, 17 Aug 2018 11:24:56 +0000 (13:24 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Fri, 17 Aug 2018 11:24:37 +0000 (13:24 +0200)]
webkit2gtk-4.0: Update to 2.21.91
Rico Tzschichholz [Thu, 16 Aug 2018 06:16:44 +0000 (08:16 +0200)]
glib-2.0: Add float.parse/try_parse()
https://gitlab.gnome.org/GNOME/vala/issues/649
Abderrahim Kitouni [Mon, 13 Aug 2018 17:55:20 +0000 (18:55 +0100)]
build: Correctly quote square brackets in regular expression
Square brackets are quotation characters in autoconf, and need to be
further quoted to appear in the resulting script.
Rico Tzschichholz [Sun, 12 Aug 2018 19:42:47 +0000 (21:42 +0200)]
codegen: Fix floating reference regression with Variants
Let ConditionalExpression sink floating references.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/661
Rico Tzschichholz [Sun, 12 Aug 2018 13:31:38 +0000 (15:31 +0200)]
glib-2.0: Add missing return of Queue.remove*() and add HashTable.foreach_steal()
Rico Tzschichholz [Sat, 11 Aug 2018 10:42:25 +0000 (12:42 +0200)]
Release 0.41.91
Rico Tzschichholz [Fri, 10 Mar 2017 13:57:27 +0000 (14:57 +0100)]
glib-2.0: Add (u)long.parse/try_parse()
https://gitlab.gnome.org/GNOME/vala/issues/649
Rico Tzschichholz [Sun, 13 May 2018 06:35:49 +0000 (08:35 +0200)]
Use dedicated version api of libvala internally as well
Rico Tzschichholz [Sat, 6 Jan 2018 20:02:35 +0000 (21:02 +0100)]
vala: Add consts/methods to retrieve and check library version
https://gitlab.gnome.org/GNOME/vala/issues/304
Rico Tzschichholz [Thu, 9 Aug 2018 11:20:07 +0000 (13:20 +0200)]
gdk-3.0: Atom is an IntegerType
Rico Tzschichholz [Wed, 8 Aug 2018 12:28:47 +0000 (14:28 +0200)]
tests: Add invalid test for "unsupported stacked arrays"
Rico Tzschichholz [Thu, 9 Aug 2018 08:27:24 +0000 (10:27 +0200)]
tests: No, really, stacked arrays are not supported
Rico Tzschichholz [Wed, 8 Aug 2018 15:52:02 +0000 (17:52 +0200)]
vapi: Regenerate GIR-based bindings to fix unsupported type-arguments
Rico Tzschichholz [Thu, 9 Aug 2018 07:54:34 +0000 (09:54 +0200)]
girparser: Actually resolve type-arguments to be able to box them if needed
Rico Tzschichholz [Wed, 8 Aug 2018 07:54:02 +0000 (09:54 +0200)]
Replace `%s` with `%s' in format strings of output messages
Rico Tzschichholz [Sun, 5 Aug 2018 10:44:11 +0000 (12:44 +0200)]
gtk+-4.0: Update to 3.94.0+
4e868584
Rico Tzschichholz [Sun, 5 Aug 2018 10:43:35 +0000 (12:43 +0200)]
gtk+-3.0: Update to 3.23.2+
6b6e53fd
Rico Tzschichholz [Sun, 5 Aug 2018 10:43:16 +0000 (12:43 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Thu, 2 Aug 2018 13:51:53 +0000 (15:51 +0200)]
tests: Deal with libtool differences resulting in lt-valac vs valac in vapi
Rico Tzschichholz [Wed, 1 Aug 2018 15:29:22 +0000 (17:29 +0200)]
tests: Add "gtktemplate" test to increase coverage
Rico Tzschichholz [Sun, 20 May 2018 20:01:23 +0000 (22:01 +0200)]
tests: Add "girwriter" test to increase coverage
Fixes https://gitlab.gnome.org/GNOME/vala/issues/158
Rico Tzschichholz [Tue, 31 Jul 2018 15:00:10 +0000 (17:00 +0200)]
tests: Add more "method" tests to increase coverage
Carlos Garnacho [Tue, 31 Jul 2018 22:29:27 +0000 (00:29 +0200)]
codegen: Free errors after returning them on the GDBusMethodInvocation
Those are being leaked otherwise.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/657
Rico Tzschichholz [Mon, 30 Jul 2018 10:11:06 +0000 (12:11 +0200)]
codegen: Call ref_sink on objects passed to generic type
Regression of
6f1d0947bed9260436e7d2da18977b3925cdb0bd
Fixes https://gitlab.gnome.org/GNOME/vala/issues/655
Rico Tzschichholz [Fri, 27 Jul 2018 14:25:44 +0000 (16:25 +0200)]
glib-2.0: Add Array.remove*() wrapper to avoid leaking generic elements
Rico Tzschichholz [Thu, 26 Jul 2018 10:30:01 +0000 (12:30 +0200)]
Release 0.41.90
Rico Tzschichholz [Thu, 26 Jul 2018 09:12:16 +0000 (11:12 +0200)]
Sync NEWS from 0.40
Rico Tzschichholz [Thu, 26 Jul 2018 09:02:19 +0000 (11:02 +0200)]
codegen: Add source_reference to unsupported floating reference error
Rico Tzschichholz [Thu, 26 Jul 2018 08:25:42 +0000 (10:25 +0200)]
Revert "codegen: Stop taking explicit references on 'this' for captured blocks"
This reverts commit
75e61cfbadb3d98f44835665d25fa3b836cbceb5.
See https://gitlab.gnome.org/GNOME/vala/issues/654
Rico Tzschichholz [Thu, 26 Jul 2018 08:18:32 +0000 (10:18 +0200)]
glib-2.0: Variant.byte() takes an uint8 argument
Rico Tzschichholz [Thu, 26 Jul 2018 08:17:51 +0000 (10:17 +0200)]
glib-2.0: Add Unicode 11.0 symbols
Rico Tzschichholz [Mon, 23 Jul 2018 04:50:48 +0000 (06:50 +0200)]
webkit2gtk-4.0: Update to 2.21.5
Rico Tzschichholz [Mon, 23 Jul 2018 04:49:45 +0000 (06:49 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Mon, 23 Jul 2018 04:49:13 +0000 (06:49 +0200)]
gtk+-4.0: Update to 3.94.0+
20deda2b
Rico Tzschichholz [Thu, 19 Jul 2018 20:39:08 +0000 (22:39 +0200)]
gtk+-3.0: Update to 3.23.1+
5b527d69
Rico Tzschichholz [Mon, 16 Jul 2018 11:31:55 +0000 (13:31 +0200)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Mon, 16 Jul 2018 10:58:41 +0000 (12:58 +0200)]
gstreamer-rtsp-server-1.0: Update from 1.15+ git master
Fixes https://gitlab.gnome.org/GNOME/vala/issues/653
Rico Tzschichholz [Mon, 16 Jul 2018 10:49:37 +0000 (12:49 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Mon, 16 Jul 2018 06:15:39 +0000 (08:15 +0200)]
gtk+-4.0: Update to 3.94.0+
bf5f27c6
Rico Tzschichholz [Fri, 13 Jul 2018 18:14:03 +0000 (20:14 +0200)]
codegen: Don't emit g_type_add_instance_private() for dynamic types
This fixes warnings like "sys:1: Warning: cannot add private field to
invalid (non-instantiatable) type ..."
Regression of
df56f916e52e5efe3876afed59a6190f6cead1c8
Rico Tzschichholz [Fri, 13 Jul 2018 17:50:22 +0000 (19:50 +0200)]
codegen: Move interface_init calls before g_type_add_instance_private()
Rico Tzschichholz [Fri, 13 Jul 2018 18:04:24 +0000 (20:04 +0200)]
Revert "codegen: Don't emit g_type_add_instance_private() in *_register_type()"
This reverts commit
cb669029dbd56e1d60586b39161f4948250c2f56.
Rico Tzschichholz [Fri, 13 Jul 2018 17:14:55 +0000 (19:14 +0200)]
codegen: Don't emit g_type_add_instance_private() in *_register_type()
This fixes warnings like "sys:1: Warning: cannot add private field to
invalid (non-instantiatable) type ..."
Regression of
df56f916e52e5efe3876afed59a6190f6cead1c8
Rico Tzschichholz [Thu, 12 Jul 2018 09:46:35 +0000 (11:46 +0200)]
tests: Add invalid "empty" enum/errordomain tests to increase coverage
Rico Tzschichholz [Thu, 12 Jul 2018 09:25:00 +0000 (11:25 +0200)]
gio-2.0: Add custom IOError.from_errno() to make it work as expected
Fixes https://gitlab.gnome.org/GNOME/vala/issues/253
Rico Tzschichholz [Thu, 12 Jul 2018 09:19:02 +0000 (11:19 +0200)]
parser: Accept "empty" enums/error-domains
This drops the semantic check from the parser. Actual errors will be caught
later by the SemanticAnalyzer.
See https://gitlab.gnome.org/GNOME/vala/issues/253
Rico Tzschichholz [Thu, 12 Jul 2018 09:33:57 +0000 (11:33 +0200)]
vala: Report error for error-domains without any code
Corentin Noël [Tue, 5 Jun 2018 18:08:12 +0000 (19:08 +0100)]
libusb-1.0: Add some missing symbols
Rico Tzschichholz [Thu, 12 Jul 2018 06:51:11 +0000 (08:51 +0200)]
girparser: Handle unsupported aliases which could not be fully processed
This avoids criticals for e.g. aliases of error-domains
Rico Tzschichholz [Wed, 11 Jul 2018 07:47:11 +0000 (09:47 +0200)]
gtk+-4.0: Update to 3.94.0+
7030e08f
Rico Tzschichholz [Wed, 11 Jul 2018 07:46:23 +0000 (09:46 +0200)]
gdk-3.0,gtk+-3.0: Update to 3.23.0+
df045423
Rico Tzschichholz [Sat, 16 Jun 2018 19:58:46 +0000 (21:58 +0200)]
gobject-2.0: Add missing symbols
Rico Tzschichholz [Mon, 9 Jul 2018 11:52:12 +0000 (13:52 +0200)]
test: Add missing '\'s
Rico Tzschichholz [Mon, 9 Jul 2018 10:53:01 +0000 (12:53 +0200)]
codegen: Do not create a shadowing *_private_offset variable in GtkModule
This is globally available since
df56f916e52e5efe3876afed59a6190f6cead1c8
Rico Tzschichholz [Sun, 8 Jul 2018 15:52:50 +0000 (17:52 +0200)]
vala: Report error for invalid base access in method/property of compact class
Rico Tzschichholz [Sun, 8 Jul 2018 13:02:54 +0000 (15:02 +0200)]
codegen: Fix invocation of abstract/virtual methods with NoWrapper in compact classes
Rico Tzschichholz [Thu, 5 Jul 2018 14:03:19 +0000 (16:03 +0200)]
girwriter: Add boolean GIR visible attribute to allow skipping symbols
"visibility = false" will be transformed into introspectable="0" in the
resulting GIR file.
Attributed namespaces will be skipped altogether.
Rico Tzschichholz [Tue, 3 Jul 2018 20:00:41 +0000 (22:00 +0200)]
codegen: Allow TypeModule subclasses as parameter-type in module-init-method
Fixes https://gitlab.gnome.org/GNOME/vala/issues/648
Rico Tzschichholz [Thu, 5 Jul 2018 13:13:52 +0000 (15:13 +0200)]
gobject-2.0: Add lower_case_csuffix attributes to Type* symbols
Rico Tzschichholz [Thu, 5 Jul 2018 10:50:40 +0000 (12:50 +0200)]
Regenerate GIDL-based bindings
Rico Tzschichholz [Thu, 5 Jul 2018 10:43:02 +0000 (12:43 +0200)]
gidl: Properly resolve "time_t"
Rico Tzschichholz [Thu, 5 Jul 2018 06:17:32 +0000 (08:17 +0200)]
codegen: Let methods return -1 on error by default if possible
Fixes https://gitlab.gnome.org/GNOME/vala/issues/526
Rico Tzschichholz [Thu, 5 Jul 2018 05:47:10 +0000 (07:47 +0200)]
codewriter: Output bodies of code-blocks if in VAPIGEN mode
Fixes https://gitlab.gnome.org/GNOME/vala/issues/231
Alistair Thomas [Wed, 4 Jul 2018 19:42:41 +0000 (20:42 +0100)]
valadoc: Use HTML5 doctype in HTML doclet
Rico Tzschichholz [Wed, 4 Jul 2018 16:09:21 +0000 (18:09 +0200)]
glib-2.0: Add Process.spawn_async_with_fds()
Rico Tzschichholz [Wed, 4 Jul 2018 15:52:43 +0000 (17:52 +0200)]
gio-unix-2.0: Add DesktopAppInfo.launch_uris_as_manager_with_fds()