]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Fri, 19 Jan 2018 16:27:26 +0000 (17:27 +0100)]
compiler: Implicitly enable hide-internal with abi-stability
See https://gitlab.gnome.org/GNOME/vala/issues/598
Rico Tzschichholz [Wed, 17 Jan 2018 12:09:06 +0000 (13:09 +0100)]
codegen: Add public/private separator comments to type/instance structs
See https://gitlab.gnome.org/GNOME/vala/issues/598
Rico Tzschichholz [Wed, 17 Jan 2018 11:55:59 +0000 (12:55 +0100)]
ccode: Allow adding of comments to a CCodeStruct
See https://gitlab.gnome.org/GNOME/vala/issues/598
Rico Tzschichholz [Wed, 17 Jan 2018 13:30:59 +0000 (14:30 +0100)]
tests: Add second pass with --abi-stability
Rico Tzschichholz [Wed, 17 Jan 2018 14:10:37 +0000 (15:10 +0100)]
codegen: Add "padding" CCode attributes for classes/interfaces
New CCode attribute are:
* "class_padding" and "instance_padding" of integer type
* "class_padding_ctype" and "instance_padding_ctype" of string type
The *_ctype attributes default to "void *" and for *_padding > 0 a field
will be appended to the respective struct, e.g. "void * _vala_padding[3];".
See https://gitlab.gnome.org/GNOME/vala/issues/598
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()
Rico Tzschichholz [Wed, 4 Jul 2018 15:42:25 +0000 (17:42 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 4 Jul 2018 15:41:39 +0000 (17:41 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Wed, 27 Jun 2018 07:07:20 +0000 (09:07 +0200)]
gtk+-4.0: Update to 3.94.0+
14620423
Alistair Thomas [Mon, 25 Jun 2018 17:57:08 +0000 (18:57 +0100)]
vala: Allow read-only properties
See https://gitlab.gnome.org/GNOME/vala/merge_requests/10
David Hewitt [Mon, 25 Jun 2018 23:50:33 +0000 (23:50 +0000)]
vala: Break reference chain between DataType and Symbol if possible
See https://gitlab.gnome.org/GNOME/vala/issues/635
Alistair Thomas [Wed, 27 Jun 2018 18:57:42 +0000 (19:57 +0100)]
libvaladoc: Change link to Valadoc wiki page for HTML doclet
See https://gitlab.gnome.org/GNOME/vala/merge_requests/12
Alistair Thomas [Thu, 28 Jun 2018 16:16:04 +0000 (17:16 +0100)]
doc: Fix links in the Manual
The DocBook source for the Vala Reference Manual is now only
available through HTTPS. Update the XSLT so links are correctly
translated to in document links again.
Rico Tzschichholz [Thu, 21 Jun 2018 11:24:51 +0000 (13:24 +0200)]
gtk+-4.0: Change type of Gdk.Key.* constants to uint
Rico Tzschichholz [Thu, 21 Jun 2018 11:24:14 +0000 (13:24 +0200)]
gdk-3.0: Change type of Gdk.Key.* constants to uint
Fixes https://gitlab.gnome.org/GNOME/vala/issues/643
Rico Tzschichholz [Thu, 21 Jun 2018 11:23:13 +0000 (13:23 +0200)]
clutter-1.0: Change type of Clutter.Key.* constants to uint
Rico Tzschichholz [Thu, 21 Jun 2018 11:21:51 +0000 (13:21 +0200)]
girparser: Allow changing the type of constants using metadata
See https://gitlab.gnome.org/GNOME/vala/issues/643
Rico Tzschichholz [Wed, 20 Jun 2018 12:14:54 +0000 (14:14 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 20 Jun 2018 12:13:03 +0000 (14:13 +0200)]
gtk+-4.0: Update to 3.93.0+
29fee2e8
Alistair Thomas [Sat, 16 Jun 2018 18:42:03 +0000 (19:42 +0100)]
glib-2.0: Make Source.attach() use the default MainContext by default
Alistair Thomas [Sat, 16 Jun 2018 18:58:16 +0000 (19:58 +0100)]
glib-2.0: Source.dispatch() accepts a null SourceFunc
Alistair Thomas [Sat, 16 Jun 2018 18:26:14 +0000 (19:26 +0100)]
codegen: Fix warning for source_funcs parameter of g_source_new()
Rico Tzschichholz [Mon, 18 Jun 2018 09:34:25 +0000 (11:34 +0200)]
codegen: Avoid using deprecated "g_type_class_add_private"
Rico Tzschichholz [Sat, 16 Jun 2018 14:05:47 +0000 (16:05 +0200)]
codegen: Actually treat GLib.Source as compact class
Make sure to not create a new dedicated struct for derived types and
reference them as GSource.
See https://gitlab.gnome.org/GNOME/vala/issues/641
Rico Tzschichholz [Sat, 16 Jun 2018 08:36:10 +0000 (10:36 +0200)]
codegen: Custom abstract methods of GLib.Source are handled differently
Regression of
28b4f45b709622e821e86655f245fdcb75d3afaf
Fixes https://gitlab.gnome.org/GNOME/vala/issues/641
Rico Tzschichholz [Thu, 14 Jun 2018 10:46:38 +0000 (12:46 +0200)]
girwriter: construct-only properties don't have a setter method
Rico Tzschichholz [Thu, 14 Jun 2018 17:32:02 +0000 (19:32 +0200)]
girwriter: Output deprecated="1"
Rico Tzschichholz [Thu, 14 Jun 2018 18:02:32 +0000 (20:02 +0200)]
girwriter: Don't write any custom attributes
Fixes https://gitlab.gnome.org/GNOME/vala/issues/608
Rico Tzschichholz [Thu, 14 Jun 2018 06:09:48 +0000 (08:09 +0200)]
tests: Add invalid array initializer tests to increase coverage
Rico Tzschichholz [Thu, 14 Jun 2018 06:02:31 +0000 (08:02 +0200)]
tests: Add invalid assignment tests to increase coverage
Rico Tzschichholz [Wed, 13 Jun 2018 17:57:21 +0000 (19:57 +0200)]
tests: Add more invalid class tests to increase coverage
Rico Tzschichholz [Wed, 13 Jun 2018 16:04:46 +0000 (18:04 +0200)]
vala: Drop unreachable code
Rico Tzschichholz [Wed, 13 Jun 2018 15:53:21 +0000 (17:53 +0200)]
tests: Add invalid "duped constructor/destructor" test to increase coverage
Rico Tzschichholz [Wed, 13 Jun 2018 15:16:38 +0000 (17:16 +0200)]
tests: Add invalid "type-argument" tests to increase coverage
Rico Tzschichholz [Wed, 13 Jun 2018 13:34:18 +0000 (15:34 +0200)]
gtk+-4.0: Update to 3.93.0+
b1f934d3
Rico Tzschichholz [Wed, 13 Jun 2018 13:33:52 +0000 (15:33 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Wed, 13 Jun 2018 13:33:19 +0000 (15:33 +0200)]
webkit2gtk-4.0: Update to 2.21.4
Rico Tzschichholz [Wed, 13 Jun 2018 13:20:14 +0000 (15:20 +0200)]
Revert "libvaladoc: Avoid superfluous references of Rule"
This reverts commit
85d3dffc0e8dfaf6549a730be918aece7afff951 .
Rico Tzschichholz [Tue, 12 Jun 2018 10:26:31 +0000 (12:26 +0200)]
libvaladoc: Avoid superfluous references of Rule
Rico Tzschichholz [Tue, 12 Jun 2018 10:21:40 +0000 (12:21 +0200)]
libvaladoc: Avoid superfluous references of MarkupWriter
Rico Tzschichholz [Tue, 12 Jun 2018 10:10:24 +0000 (12:10 +0200)]
libvaladoc: Avoid superfluous references of SignatureBuilder
Rico Tzschichholz [Tue, 12 Jun 2018 08:02:25 +0000 (10:02 +0200)]
libvaladoc: Replace void* with corresponding Vala API
Rico Tzschichholz [Tue, 12 Jun 2018 16:10:02 +0000 (18:10 +0200)]
Revert "Fix make check"
This reverts commit
c0a23c28e964e41798a22fe2866508ad2b37110e .
Rico Tzschichholz [Tue, 12 Jun 2018 15:48:46 +0000 (17:48 +0200)]
valadoc: Fix TreeBuilder.create_array() for stacked Arrays
Rico Tzschichholz [Wed, 6 Jun 2018 14:49:41 +0000 (16:49 +0200)]
codegen: Consistently use gpointer for delegate targets
Corentin Noël [Fri, 26 Jan 2018 14:47:00 +0000 (15:47 +0100)]
valadoc: Use a more modern stylesheet and icons
The icons used in the documentation were recently completely rewritten
by Daniel Foré for valadoc.org. I just rendered the icons from
https://github.com/Valadoc/valadoc-org to PNG using Inkscape.
The stylesheet is also derived from the valadoc.org one to keep a
consistent design across all the Vala resources.
Rico Tzschichholz [Fri, 8 Jun 2018 05:19:59 +0000 (07:19 +0200)]
glib-2.0: Make Bytes.slice() use the memory-efficient Bytes.from_bytes()
Fixes https://gitlab.gnome.org/GNOME/vala/issues/638
Rico Tzschichholz [Fri, 8 Jun 2018 04:58:37 +0000 (06:58 +0200)]
glib-2.0: Fix Bytes.with_free_func()
Rico Tzschichholz [Wed, 6 Jun 2018 11:22:53 +0000 (13:22 +0200)]
codegen: Unify some delegate-type check patterns
Rico Tzschichholz [Sun, 3 Jun 2018 20:07:10 +0000 (22:07 +0200)]
vapi: Add gst-editing-services-1.0 bindings
Rico Tzschichholz [Sun, 3 Jun 2018 20:17:17 +0000 (22:17 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Sun, 3 Jun 2018 20:37:06 +0000 (22:37 +0200)]
gdk-pixbuf-2.0: Update to 2.37.0~
5ec6746e
Rico Tzschichholz [Sun, 3 Jun 2018 20:21:13 +0000 (22:21 +0200)]
gio-2.0: Update to 2.57.1+
05fe1106
Rico Tzschichholz [Sun, 3 Jun 2018 20:19:47 +0000 (22:19 +0200)]
gtk+-3.0: Update to 3.22.30+
9ac7f906
Rico Tzschichholz [Sun, 3 Jun 2018 20:19:26 +0000 (22:19 +0200)]
gtk+-4.0: Update to 3.93.0+
f4c1a404
Rico Tzschichholz [Sat, 2 Jun 2018 15:20:24 +0000 (17:20 +0200)]
glib-2.0: Do not mark simple-type out-parameters as nullable
Fixes g_utf8_*, g_ucs4_* and g_utf16_ bindings which were introduced with
5c5245d1ca3616c0d4f861efff07418ddc67e294
Fixes https://gitlab.gnome.org/GNOME/vala/issues/634
Alistair Thomas [Thu, 31 May 2018 14:42:38 +0000 (15:42 +0100)]
gio-2.0: Mark ActionEntry.parameter_type/state fields as nullable
Fixes https://gitlab.gnome.org/GNOME/vala/issues/632
Rico Tzschichholz [Thu, 31 May 2018 09:26:30 +0000 (11:26 +0200)]
gio-2.0: Delegate fields of DBus*VTable do not have implicit target fields
Rico Tzschichholz [Wed, 30 May 2018 10:50:30 +0000 (12:50 +0200)]
gio-2.0: Apply delegate_target = false on ActionEntry callbacks and make them weak
They break struct ABI and the "require_copy/destroy" check in codegen
while being defined with target.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/630
Rico Tzschichholz [Thu, 31 May 2018 09:21:49 +0000 (11:21 +0200)]
girparser: Add support for bool delegate_target
https://gitlab.gnome.org/GNOME/vala/issues/520
Rico Tzschichholz [Wed, 30 May 2018 15:02:42 +0000 (17:02 +0200)]
codegen: Handle delegate_target attribute of fields
Delegate fields without a delegate target don't require special handling
on copy/destroy.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/520
Rico Tzschichholz [Wed, 30 May 2018 12:09:50 +0000 (14:09 +0200)]
gio-2.0: Add default to all io_priority parameters
Rico Tzschichholz [Wed, 30 May 2018 09:24:44 +0000 (11:24 +0200)]
xcb: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:23:23 +0000 (11:23 +0200)]
pango: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:22:16 +0000 (11:22 +0200)]
libsoup-2.4: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:20:44 +0000 (11:20 +0200)]
gtk+-3.0: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:17:43 +0000 (11:17 +0200)]
gtk+-2.0: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:15:13 +0000 (11:15 +0200)]
gio-2.0: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:10:16 +0000 (11:10 +0200)]
gdk-pixbuf-2.0: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:09:21 +0000 (11:09 +0200)]
gdk-3.0: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:07:24 +0000 (11:07 +0200)]
gdk-2.0: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:05:59 +0000 (11:05 +0200)]
clutter-gtk-1.0: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:04:48 +0000 (11:04 +0200)]
clutter-1.0: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Wed, 30 May 2018 09:02:55 +0000 (11:02 +0200)]
atk: Drop vala-specific deprecations <= vala-0.22
Rico Tzschichholz [Mon, 28 May 2018 12:08:00 +0000 (14:08 +0200)]
Update bugtracker links to https://gitlab.gnome.org/GNOME/vala/issues
Rico Tzschichholz [Tue, 22 May 2018 07:42:49 +0000 (09:42 +0200)]
webkit2gtk-4.0: Update to 2.21.2
Rico Tzschichholz [Mon, 21 May 2018 19:47:16 +0000 (21:47 +0200)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Mon, 21 May 2018 19:33:16 +0000 (21:33 +0200)]
codegen: Avoid critical for array in-parameters with custom length-type
Regression of
049b9b3943831e6dd242889a8196bd88b7858268
Rico Tzschichholz [Mon, 21 May 2018 16:57:42 +0000 (18:57 +0200)]
tests: Drop fatal assert on big-endian archs
The assert isn't required to verify this specific fix, but obviously shows
another underlying issue.
https://bugzilla.gnome.org/show_bug.cgi?id=796313
Rico Tzschichholz [Sun, 20 May 2018 17:09:21 +0000 (19:09 +0200)]
glib-2.0: Fix IConv.iconv()
https://bugzilla.gnome.org/show_bug.cgi?id=634753
Rico Tzschichholz [Sun, 20 May 2018 15:07:59 +0000 (17:07 +0200)]
codegen: Fix casting of length for "ref" array parameters
Rico Tzschichholz [Sun, 20 May 2018 10:55:58 +0000 (12:55 +0200)]
javascriptcoregtk-4.0: buffer of String.get_utf8_cstring() is not "ref"
https://bugzilla.gnome.org/show_bug.cgi?id=788113
Rico Tzschichholz [Sat, 19 May 2018 20:52:40 +0000 (22:52 +0200)]
compiler: Warn if --gir is used without --library
https://bugzilla.gnome.org/show_bug.cgi?id=708693