]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Tue, 5 Jun 2018 09:05:09 +0000 (11:05 +0200)]
Handle synchronous out-parameters in async methods
Although setting them is not supported yet.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/636
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
Rico Tzschichholz [Sun, 13 Sep 2015 21:27:17 +0000 (22:27 +0100)]
codegen: Fix serializing multidimensional arrays
The same type signature was being used for every dimension of the array.
Based on patch by Abderrahim Kitouni
https://bugzilla.gnome.org/show_bug.cgi?id=735437
Rico Tzschichholz [Sat, 12 May 2018 07:46:45 +0000 (09:46 +0200)]
vapi: Remove mx-1.0 bindings
https://bugzilla.gnome.org/show_bug.cgi?id=796041
Rico Tzschichholz [Tue, 8 May 2018 16:37:12 +0000 (18:37 +0200)]
vala: Transfer floating-reference attribute while casting
https://bugzilla.gnome.org/show_bug.cgi?id=795920
Rico Tzschichholz [Wed, 9 May 2018 06:40:39 +0000 (08:40 +0200)]
codegen: Guard get_default_ref_sink_function() against null base-class
Rico Tzschichholz [Tue, 8 May 2018 15:41:12 +0000 (17:41 +0200)]
gobject-2.0: Make constructor of ParamSpecBoxed public
Dr. Michael Lauer [Fri, 16 Mar 2018 14:33:08 +0000 (15:33 +0100)]
posix: Bind va_list and add string.concat() (POSIX)
This fixes string templates when using the POSIX profile.
Rico Tzschichholz [Mon, 19 Mar 2018 16:04:21 +0000 (17:04 +0100)]
codegen: Support string comparision (POSIX)
Rico Tzschichholz [Mon, 8 May 2017 11:46:22 +0000 (13:46 +0200)]
Reintroduce POSIX profile
This reverts commit
ca020bf04a09fe16e5583eea5a3a341e7796bff5 .
Rico Tzschichholz [Tue, 1 May 2018 18:21:48 +0000 (20:21 +0200)]
gtk+-4.0: Update to 3.93.0+
d506799e
Rico Tzschichholz [Tue, 1 May 2018 10:44:43 +0000 (12:44 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 1 May 2018 10:44:09 +0000 (12:44 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Tue, 1 May 2018 10:40:53 +0000 (12:40 +0200)]
gtk+-4.0: Update to 3.93.0+
2cf55c16
Rico Tzschichholz [Mon, 30 Apr 2018 07:16:28 +0000 (09:16 +0200)]
posix: Add missing cname = "int" to Posix.Signal enum
Michael James Gratton [Sat, 28 Apr 2018 10:46:54 +0000 (20:46 +1000)]
sqlite3: Add additional constants for flags of Database.open_v2()
https://bugzilla.gnome.org/show_bug.cgi?id=795627
Rico Tzschichholz [Fri, 27 Apr 2018 14:56:55 +0000 (16:56 +0200)]
tests: Treat new lock/unlock tests as compile-only which they are
Rico Tzschichholz [Thu, 26 Apr 2018 07:33:58 +0000 (09:33 +0200)]
vala: Transform Struct.*_rank() methods into "rank" property
Rico Tzschichholz [Wed, 25 Apr 2018 17:48:06 +0000 (19:48 +0200)]
Regenerate bindings to accommodate for "unlock" being a keyword now
https://bugzilla.gnome.org/show_bug.cgi?id=795545
Rico Tzschichholz [Wed, 25 Apr 2018 14:08:06 +0000 (16:08 +0200)]
parser: Add support for explicit "unlock" syntax
By providing more control over the internal support for Mutex creation and
usage, this allows a more complex resource control while having an explicit
way to unlock a previously locked lockable.
lock (foo);
...
unlock (foo);
https://bugzilla.gnome.org/show_bug.cgi?id=795545
Rico Tzschichholz [Tue, 24 Apr 2018 21:46:39 +0000 (23:46 +0200)]
codegen: Respect cname ccode-attribute of lockable fields
https://bugzilla.gnome.org/show_bug.cgi?id=795521
Rico Tzschichholz [Wed, 25 Apr 2018 16:21:45 +0000 (18:21 +0200)]
vala: Transform Lockable.*_lock_used() methods into "lock_used" property
Rico Tzschichholz [Wed, 25 Apr 2018 15:43:44 +0000 (17:43 +0200)]
vala: Constants and signals are not lockable
Rico Tzschichholz [Wed, 25 Apr 2018 06:19:23 +0000 (08:19 +0200)]
libarchive: Fix 'buffer' ownership in read_data_block() and ReadCallback()
https://bugzilla.gnome.org/show_bug.cgi?id=795079
Rico Tzschichholz [Tue, 24 Apr 2018 19:00:20 +0000 (21:00 +0200)]
codewriter: Add 'new' to symbols if needed to match the original source
https://bugzilla.gnome.org/show_bug.cgi?id=614686
Rico Tzschichholz [Tue, 24 Apr 2018 06:49:39 +0000 (08:49 +0200)]
webkit2gtk-4.0: Add JSC namespace to javascriptcoregtk-4.0 and fix depends
Make JS namespace deprecated since 2.22 accordingly
https://bugzilla.gnome.org/show_bug.cgi?id=795497
Rico Tzschichholz [Mon, 23 Apr 2018 15:12:03 +0000 (17:12 +0200)]
codegen: Support automatic properties as GtkChild
https://bugzilla.gnome.org/show_bug.cgi?id=787034
Rico Tzschichholz [Mon, 23 Apr 2018 09:44:54 +0000 (11:44 +0200)]
codegen: Reuse already retrieved get_attribute_string ("GtkTemplate", "ui")
Rico Tzschichholz [Mon, 23 Apr 2018 15:09:00 +0000 (17:09 +0200)]
codegen: Avoid ref/unref of AttributeCache when calling get_ccode_attribute()
Corentin Noël [Sun, 8 Apr 2018 18:27:31 +0000 (19:27 +0100)]
libarchive: Update to 3.0
https://bugzilla.gnome.org/show_bug.cgi?id=795079
Rico Tzschichholz [Sun, 15 Apr 2018 16:36:25 +0000 (18:36 +0200)]
libarchive: Add "has_typedef = false" attributes to delegates as needed
https://bugzilla.gnome.org/show_bug.cgi?id=795079
Rico Tzschichholz [Sun, 22 Apr 2018 13:32:44 +0000 (15:32 +0200)]
gtk+-3.0: Update to 3.22.30+
21fddc39
Rico Tzschichholz [Sun, 22 Apr 2018 13:28:12 +0000 (15:28 +0200)]
gtk+-4.0: Update to 3.93.0+
7a09cd4c
Rico Tzschichholz [Sun, 22 Apr 2018 13:27:33 +0000 (15:27 +0200)]
gstreamer: Update from 1.15+ git master
Rico Tzschichholz [Sun, 22 Apr 2018 13:01:23 +0000 (15:01 +0200)]
webkit2gtk-4.0: Update to 2.21.1
Rico Tzschichholz [Sun, 22 Apr 2018 12:54:41 +0000 (14:54 +0200)]
girparser: Deal with missing "name" attribute by falling back on "c:type"
This is simply a last resort to report a meaningfull error.
Rico Tzschichholz [Sun, 22 Apr 2018 08:57:18 +0000 (10:57 +0200)]
glib-2.0: Add TimeZone.offset() constructor
Jeeyong Um [Wed, 18 Apr 2018 12:59:49 +0000 (21:59 +0900)]
vala: Report an error when initializing non-auto properties
https://bugzilla.gnome.org/show_bug.cgi?id=795225
Rico Tzschichholz [Thu, 19 Apr 2018 12:51:12 +0000 (14:51 +0200)]
codegen: *Drop* support for non-auto property initializer in gobjects
Partly reverts
73e553ac3488d641fb08b275bcf2636e3cf0de67
https://bugzilla.gnome.org/show_bug.cgi?id=701978
https://bugzilla.gnome.org/show_bug.cgi?id=795225
Rico Tzschichholz [Mon, 16 Apr 2018 11:09:42 +0000 (13:09 +0200)]
vala: Accessors of abstract properties cannot have bodies
https://bugzilla.gnome.org/show_bug.cgi?id=795225
Rico Tzschichholz [Thu, 19 Apr 2018 14:58:20 +0000 (16:58 +0200)]
vala: Move creation of reference field from parser into property
Rico Tzschichholz [Mon, 16 Apr 2018 08:06:23 +0000 (10:06 +0200)]
Revert "codegen: Handle property initializers of non-gobject classes"
This reverts commit
9b3eedbe81718a7a0bd9e5a97e4796e0eaa65e7f .
Jakub Kaszycki [Fri, 16 Mar 2018 20:16:00 +0000 (21:16 +0100)]
bzlib: Add bzalloc/bzfree fields to Stream
https://bugzilla.gnome.org/show_bug.cgi?id=794409
David Hewitt [Sat, 14 Apr 2018 18:18:22 +0000 (19:18 +0100)]
json-glib-1.0: Mark return-type of gvariant_deserialize*() as nullable
https://bugzilla.gnome.org/show_bug.cgi?id=795265
Rico Tzschichholz [Sun, 15 Apr 2018 11:09:12 +0000 (13:09 +0200)]
vala: Treat floating method-return-type as nullable if error may be thrown
https://bugzilla.gnome.org/show_bug.cgi?id=795265
Rico Tzschichholz [Sun, 15 Apr 2018 11:08:23 +0000 (13:08 +0200)]
codegen: Don't apply ref_sink_function if target_type is floating_reference
Rico Tzschichholz [Sun, 15 Apr 2018 10:57:15 +0000 (12:57 +0200)]
glib-2.0: Mark str parameter of Variant.take_string() as owned
Ole André Vadla Ravnås [Wed, 24 May 2017 01:13:09 +0000 (03:13 +0200)]
codegen: Keep arrays alive during async server method calls
When calling a co-routine it is the caller's responsibility to ensure
that arrays stay alive for the duration of the call. The GDBus server
code emitted did not do this, resulting in use-after-free.
https://bugzilla.gnome.org/show_bug.cgi?id=783002