]>
git.ipfire.org Git - thirdparty/vala.git/log
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
Rico Tzschichholz [Sat, 19 May 2018 19:28:36 +0000 (21:28 +0200)]
girwriter: Properly output variadic methods and use introspectable="0"
This also fixes several criticals caused by "ellipsis" parameter
Rico Tzschichholz [Sat, 19 May 2018 16:24:43 +0000 (18:24 +0200)]
glib-2.0: Add HashTable.steal_extended(), GenericArray.steal_index(_fast)()
Rico Tzschichholz [Sat, 19 May 2018 16:12:20 +0000 (18:12 +0200)]
gio-unix-2.0: Add UnixMountEntry.get_options()
Rico Tzschichholz [Sat, 19 May 2018 16:04:01 +0000 (18:04 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 19 May 2018 16:02:52 +0000 (18:02 +0200)]
gtk+-4.0: Update to 3.93.0+
3a860719
Rico Tzschichholz [Sat, 19 May 2018 16:02:10 +0000 (18:02 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Thu, 17 May 2018 17:15:52 +0000 (19:15 +0200)]
vala: Remove unused Interface.prepend_prerequisite()
Rico Tzschichholz [Wed, 8 Mar 2017 15:25:23 +0000 (16:25 +0100)]
vala: Allow specifying the nick of enum values
https://bugzilla.gnome.org/show_bug.cgi?id=625209
Stef Walter [Fri, 3 May 2013 06:07:19 +0000 (08:07 +0200)]
Use default_init instead of base_init when registering interfaces
Using base_init() is overly complex, requires multi-initialization
guards, and in the case of vala generated code these are currently
not thread safe.
The recommended approach is to use default_init() to initialize
interfaces. It is called only once, solves thread safety issues.
https://bugzilla.gnome.org/show_bug.cgi?id=699550
Rico Tzschichholz [Wed, 16 May 2018 17:45:44 +0000 (19:45 +0200)]
girwriter: Drop errornous indent
Evgeny Bobkin [Wed, 16 May 2018 12:15:07 +0000 (14:15 +0200)]
genie: Add support for the \uXXXX escape sequence
An additional checks to validate the escape sequences \xYY and \uYYYY
were added, where Y represents a hex digit.
Ported from
04422d716cf226b5e8a6c11306e07adbde26fd67
Rico Tzschichholz [Wed, 16 May 2018 09:13:19 +0000 (11:13 +0200)]
scanner: Accept backreferences \1 through \99 in regex literals
https://bugzilla.gnome.org/show_bug.cgi?id=728574
Rico Tzschichholz [Tue, 15 May 2018 06:17:43 +0000 (08:17 +0200)]
codegen: Avoid critical in get_basic_type_info() when there is no signature
https://bugzilla.gnome.org/show_bug.cgi?id=729517
Rico Tzschichholz [Mon, 14 May 2018 12:13:04 +0000 (14:13 +0200)]
vala: Abstract and virtual methods may not be variadic
The chain-up of the variadic parameter is not possible.
https://bugzilla.gnome.org/show_bug.cgi?id=643088
Rico Tzschichholz [Sun, 13 May 2018 06:38:37 +0000 (08:38 +0200)]
ccode: Properly depend on in-tree built libvala
Rico Tzschichholz [Mon, 14 May 2018 09:06:30 +0000 (11:06 +0200)]
vala: Don't return null if no rank attribute was found
There was already an error message introduced with
3158ae7a0f990b44f114d51498636e669609af0d
https://bugzilla.gnome.org/show_bug.cgi?id=660991
Rico Tzschichholz [Mon, 14 May 2018 07:36:48 +0000 (09:36 +0200)]
genie: Add support for the \v escape charactor
https://bugzilla.gnome.org/show_bug.cgi?id=664689
Rico Tzschichholz [Mon, 14 May 2018 07:31:32 +0000 (09:31 +0200)]
scanner: Accept \R and \N escape sequences in regex literals
https://bugzilla.gnome.org/show_bug.cgi?id=749576
Rico Tzschichholz [Thu, 27 Apr 2017 19:26:44 +0000 (21:26 +0200)]
codegen: Don't include the full absolute path in line directives
Only write source's filename prepended by the path relative to the
directory the valac call origined from.
https://bugzilla.gnome.org/show_bug.cgi?id=769935