]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Tue, 22 May 2018 08:52:34 +0000 (10:52 +0200)]
Release 0.34.18
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
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 [Sun, 20 May 2018 15:07:59 +0000 (17:07 +0200)]
codegen: Fix casting of length for "ref" array parameters
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 [Wed, 16 May 2018 17:45:44 +0000 (19:45 +0200)]
girwriter: Drop errornous indent
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 09:06:30 +0000 (11:06 +0200)]
vala: Report an error if rank attribute is required but was not found
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 [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 [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
Rico Tzschichholz [Sun, 22 Apr 2018 13:27:33 +0000 (15:27 +0200)]
gstreamer: Cherry-pick some fixes from 0.42
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 [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 [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.
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 10:57:15 +0000 (12:57 +0200)]
glib-2.0: Mark str parameter of Variant.take_string() as owned
Rico Tzschichholz [Sat, 14 Apr 2018 07:01:25 +0000 (09:01 +0200)]
gtk+-*.0: Set NoAccessorMethod on Gtk.Radio*.group properties
The type of get/set_group() doesn't match the property type.
Rico Tzschichholz [Wed, 4 Apr 2018 20:55:46 +0000 (22:55 +0200)]
vala: Fix return-type of BasicBlock.get_successors()
https://bugzilla.gnome.org/show_bug.cgi?id=794979
Rico Tzschichholz [Tue, 27 Mar 2018 21:59:59 +0000 (23:59 +0200)]
gdbus: Fix missing declaration of _fd_list for async methods
https://bugzilla.gnome.org/show_bug.cgi?id=794566
Rico Tzschichholz [Tue, 27 Mar 2018 08:37:32 +0000 (10:37 +0200)]
tests: Add GLib.ParamSpec tests to increase coverage
Rico Tzschichholz [Tue, 27 Mar 2018 08:15:42 +0000 (10:15 +0200)]
glib-2.0: Use g_value_*et_schar instead of depecated g_value_*et_char
g_value_get_char is broken on platforms where the char type is unsigned,
such as ARM and PowerPC.
Rico Tzschichholz [Tue, 27 Mar 2018 07:41:40 +0000 (09:41 +0200)]
gobject-2.0: Add ParamSpecGType
Rico Tzschichholz [Thu, 22 Mar 2018 15:25:49 +0000 (16:25 +0100)]
gtk+-*.0: Fix iter parameter of TextView.backward*/forward*/move_visually()
Those methods are changing the passed iter structure and therefore it needs
be marked as ref for vala taking this into account.
https://bugzilla.gnome.org/show_bug.cgi?id=794345
Rico Tzschichholz [Mon, 26 Mar 2018 09:18:37 +0000 (11:18 +0200)]
gdk-3.0,gtk+-3.0: Update to 3.22.29
Rico Tzschichholz [Sat, 24 Mar 2018 13:06:14 +0000 (14:06 +0100)]
posix: Include sys/sysmacros.h for major(), minor() and makedev()
Relying on sys/types.h is fatal since glibc 2.27 and was deprecated since
glibc 2.25.
https://bugzilla.gnome.org/show_bug.cgi?id=794651
Rico Tzschichholz [Wed, 21 Mar 2018 08:50:06 +0000 (09:50 +0100)]
gobject-2.0: Cherry-pick some changes from 0.38
Rico Tzschichholz [Sat, 24 Mar 2018 12:36:58 +0000 (13:36 +0100)]
clutter-1.0: Avoid duplications of implemented interfaces
Rico Tzschichholz [Mon, 19 Mar 2018 09:53:52 +0000 (10:53 +0100)]
codegen: Don't add target fields for captured delegates without target
Rico Tzschichholz [Mon, 19 Mar 2018 09:46:13 +0000 (10:46 +0100)]
codegen: Don't add length fields for captured fixed-length array variables
Rico Tzschichholz [Fri, 2 Mar 2018 15:46:06 +0000 (16:46 +0100)]
gstreamer-1.0: Cherry-pick some fixes from 0.36
Rico Tzschichholz [Fri, 2 Mar 2018 14:34:39 +0000 (15:34 +0100)]
gtk+-3.0: Fix TreeView.is_blank_at_pos()
Luca Bruno [Sat, 5 Apr 2014 16:47:46 +0000 (18:47 +0200)]
posix: Fix sig*set and sigprocmask parameters to be out/ref
https://bugzilla.gnome.org/show_bug.cgi?id=727425
Rico Tzschichholz [Mon, 26 Feb 2018 17:53:38 +0000 (18:53 +0100)]
vapi: Fix wrong attributes
Rico Tzschichholz [Mon, 26 Feb 2018 17:53:08 +0000 (18:53 +0100)]
libgnome-menu-3.0: Add deps file
Dr. Michael Lauer [Mon, 26 Feb 2018 15:48:31 +0000 (16:48 +0100)]
gitignore: ignore macOS metadata files
Rico Tzschichholz [Sat, 17 Feb 2018 19:56:30 +0000 (20:56 +0100)]
vala: The rank of an array-initializer should match the target's rank
https://bugzilla.gnome.org/show_bug.cgi?id=744923
Simon Werbeck [Sun, 31 Mar 2013 23:16:21 +0000 (01:16 +0200)]
Fix recursive declaration in generic base type
https://bugzilla.gnome.org/show_bug.cgi?id=688732
Rico Tzschichholz [Thu, 15 Feb 2018 14:22:35 +0000 (15:22 +0100)]
vala: Properly handle array-initializers inside struct-initializers
https://bugzilla.gnome.org/show_bug.cgi?id=622178
Rico Tzschichholz [Thu, 15 Feb 2018 17:07:36 +0000 (18:07 +0100)]
codegen: Don't append fixed-length of array fields in initializers
Rico Tzschichholz [Wed, 7 Feb 2018 21:25:09 +0000 (22:25 +0100)]
valac: Always use the given "pkg-config" and respect PKG_CONFIG envar
Rico Tzschichholz [Thu, 15 Feb 2018 08:48:26 +0000 (09:48 +0100)]
Release 0.34.17
Rico Tzschichholz [Thu, 15 Feb 2018 08:30:10 +0000 (09:30 +0100)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Tue, 13 Feb 2018 09:37:03 +0000 (10:37 +0100)]
Don't warn about unused internal methods which are meant to be visible on DBus
https://bugzilla.gnome.org/show_bug.cgi?id=593902
Rico Tzschichholz [Wed, 14 Feb 2018 10:26:35 +0000 (11:26 +0100)]
gio-2.0: Cherry-pick some DBusProxy fixes from 0.40
Rico Tzschichholz [Wed, 14 Feb 2018 10:24:37 +0000 (11:24 +0100)]
gdk-3.0,gtk+-3.0: Update to 3.22.27
Rico Tzschichholz [Wed, 14 Feb 2018 12:44:10 +0000 (13:44 +0100)]
gstreamer-1.0: Cherry-pick some fixes from 0.38
Rico Tzschichholz [Thu, 8 Feb 2018 15:14:42 +0000 (16:14 +0100)]
compiler: Prefix headers for set_cheader_override() if includedir is given
We need to account for changes done by SourceFile.get_cinclude_filename()
https://bugzilla.gnome.org/show_bug.cgi?id=793299
Rico Tzschichholz [Tue, 6 Feb 2018 16:52:55 +0000 (17:52 +0100)]
codegen: Fix GDestroyNotify of delegate parameters in delegate declaration
delegate void Func (owned Func func);
incompatible pointer type: expected ‘void (**)(void *)’ but argument is
of type ‘GDestroyNotify {aka void (*)(void *)}’
https://bugzilla.gnome.org/show_bug.cgi?id=639059
Rico Tzschichholz [Sun, 4 Feb 2018 10:14:52 +0000 (11:14 +0100)]
Release 0.34.16
Rico Tzschichholz [Sun, 4 Feb 2018 09:28:59 +0000 (10:28 +0100)]
codegen: Don't try to infer error argument on async begin methods
Only the async finish method might have an error parameter.
Regression of
527dac8050fe90d7a28619383f11e968ab5c9a77
https://bugzilla.gnome.org/show_bug.cgi?id=793158
Rico Tzschichholz [Tue, 30 Jan 2018 15:26:09 +0000 (16:26 +0100)]
Release 0.34.15
Rico Tzschichholz [Mon, 29 Jan 2018 22:06:59 +0000 (23:06 +0100)]
gstreamer-1.0: Cherry-pick some fixes from 0.38
Rico Tzschichholz [Mon, 29 Jan 2018 21:07:53 +0000 (22:07 +0100)]
Regenerate GIR-based bindings
Rico Tzschichholz [Mon, 29 Jan 2018 16:38:19 +0000 (17:38 +0100)]
girparser: Don't accept methods as property-accessor which throw errors
This should be considered a temporary fix.
https://bugzilla.gnome.org/show_bug.cgi?id=792998
Ernestas Kulik [Sat, 27 Jan 2018 13:42:56 +0000 (15:42 +0200)]
codegen: Fix return-type for cancelled async creation methods of classes
While gcc just puts out a warning clang actually fails due to
-Werror=return-type.
https://bugzilla.gnome.org/show_bug.cgi?id=792942
Rico Tzschichholz [Sat, 27 Jan 2018 18:30:49 +0000 (19:30 +0100)]
tests: Add missing PrintfFormat attribute
https://bugzilla.gnome.org/show_bug.cgi?id=657378
Rico Tzschichholz [Sat, 27 Jan 2018 12:23:53 +0000 (13:23 +0100)]
codegen: Infer error parameter from abstract/virtual method implementations
https://bugzilla.gnome.org/show_bug.cgi?id=614294
Rico Tzschichholz [Wed, 24 Jan 2018 15:12:47 +0000 (16:12 +0100)]
tests: Add test for invalid variadic function
https://bugzilla.gnome.org/show_bug.cgi?id=615450
Rico Tzschichholz [Wed, 24 Jan 2018 13:40:34 +0000 (14:40 +0100)]
vala: Variadic constructors without a real first parameter are not allowed
Rico Tzschichholz [Sat, 20 Jan 2018 09:49:29 +0000 (10:49 +0100)]
Regenerate GIR-based bindings
Rico Tzschichholz [Sat, 20 Jan 2018 09:41:43 +0000 (10:41 +0100)]
girparser: Set NoAccessorMethod for non-readable and construct-only properties
Rico Tzschichholz [Sun, 21 Jan 2018 16:55:12 +0000 (17:55 +0100)]
Release 0.34.14
Dr. Michael Lauer [Tue, 16 Jan 2018 16:06:31 +0000 (17:06 +0100)]
posix: add ctime(3)
Dr. Michael Lauer [Tue, 16 Jan 2018 15:50:26 +0000 (16:50 +0100)]
posix: fix binding of struct hostent. Make clear that gethostbyname(3) can return NULL.
Rico Tzschichholz [Thu, 18 Jan 2018 22:08:30 +0000 (23:08 +0100)]
codewriter: Don't use string.replace() to apply header_to_override
The underlying regex causes faulty replacements.
https://bugzilla.gnome.org/show_bug.cgi?id=731322
Rico Tzschichholz [Thu, 18 Jan 2018 20:00:29 +0000 (21:00 +0100)]
tests: Add test for parameter type checking of async methods
https://bugzilla.gnome.org/show_bug.cgi?id=792660
Rico Tzschichholz [Thu, 18 Jan 2018 19:41:08 +0000 (20:41 +0100)]
vala: Skip default-value positioning check for parameters of coroutines
https://bugzilla.gnome.org/show_bug.cgi?id=644241
Rico Tzschichholz [Thu, 18 Jan 2018 19:38:47 +0000 (20:38 +0100)]
Revert "Do not warn about non-default parameters for coroutines."
Breaks parameter inference for async method overrides.
This reverts commit
dd24a1bfe1a78bf1a37d35f5d8dd6480fd4a8941.
https://bugzilla.gnome.org/show_bug.cgi?id=792660
Rico Tzschichholz [Mon, 15 Jan 2018 13:54:27 +0000 (14:54 +0100)]
test: Drop workaround for fixed bug with compact classes
https://bugzilla.gnome.org/show_bug.cgi?id=533977
Rico Tzschichholz [Fri, 12 Jan 2018 16:47:36 +0000 (17:47 +0100)]
webkit2gtk-web-extension-4.0: Fix DOM.EventTarget interface
Rico Tzschichholz [Thu, 11 Jan 2018 08:38:33 +0000 (09:38 +0100)]
gtk+-3.0: Update to 3.22.26+
6f26d0dc
Rico Tzschichholz [Wed, 10 Jan 2018 15:23:45 +0000 (16:23 +0100)]
libwnck-3.0: Update to 3.24.1
Rico Tzschichholz [Mon, 8 Jan 2018 09:03:10 +0000 (10:03 +0100)]
vapigen: Add coverage build-flags
Rico Tzschichholz [Sun, 7 Jan 2018 10:25:03 +0000 (11:25 +0100)]
vala: Replace if-else-tree with switch
Rico Tzschichholz [Sun, 3 Sep 2017 09:27:21 +0000 (11:27 +0200)]
g-i: Update type qualifiers
Rico Tzschichholz [Sat, 6 Jan 2018 08:53:48 +0000 (09:53 +0100)]
codegen: Add destroy out-param when invoking delegate returned by delegate
https://bugzilla.gnome.org/show_bug.cgi?id=792077
Rico Tzschichholz [Thu, 14 Dec 2017 16:17:13 +0000 (17:17 +0100)]
codegen: Avoid silent casts if not needed
Rico Tzschichholz [Thu, 14 Dec 2017 14:01:12 +0000 (15:01 +0100)]
semanticanalyzer: Directly access local datatypes in check_print_format()
Rico Tzschichholz [Wed, 13 Dec 2017 11:31:42 +0000 (12:31 +0100)]
glib-2.0: Add GLib.OPTION_REMAINING and GLib.OptionFlags.NONE
Rico Tzschichholz [Fri, 5 Jan 2018 15:40:13 +0000 (16:40 +0100)]
gtk+-3.0: Don't hide user_data parameter in Clipboard.set_with_data()
https://bugzilla.gnome.org/show_bug.cgi?id=79223
Rico Tzschichholz [Fri, 5 Jan 2018 15:30:18 +0000 (16:30 +0100)]
gtk+-2.0: Don't hide user_data parameter in Clipboard.set_with_data()
https://bugzilla.gnome.org/show_bug.cgi?id=792237
Alistair Thomas [Wed, 13 Dec 2017 16:10:20 +0000 (16:10 +0000)]
gtk+-2.0: Mark MessageDialog constructor parameter, message_format, as nullable
https://bugzilla.gnome.org/show_bug.cgi?id=791570
Alistair Thomas [Wed, 13 Dec 2017 16:14:46 +0000 (16:14 +0000)]
gtk+-3.0: Mark MessageDialog constructor parameter, message_format, as nullable
https://bugzilla.gnome.org/show_bug.cgi?id=791570
Rico Tzschichholz [Mon, 11 Dec 2017 14:47:14 +0000 (15:47 +0100)]
Release 0.34.13
Rico Tzschichholz [Mon, 11 Dec 2017 08:11:20 +0000 (09:11 +0100)]
Regenerate GIR-based bindings
Rico Tzschichholz [Mon, 11 Dec 2017 08:08:25 +0000 (09:08 +0100)]
girparser: Don't mark simple-type out-parameters with '?' as nullable
Using '?' on simple-types has a different meaning in vala and would create
a boxed-type which is not compatible with the original type.
Rico Tzschichholz [Mon, 11 Dec 2017 08:51:50 +0000 (09:51 +0100)]
gtk+-3.0: Don't mark simple-type out-parameters with '?' as nullable
Rico Tzschichholz [Mon, 11 Dec 2017 09:06:08 +0000 (10:06 +0100)]
gstreamer-1.0: Cherry-pick some fixes from 0.38
Rico Tzschichholz [Fri, 8 Dec 2017 07:38:28 +0000 (08:38 +0100)]
Regenerate GIR-based bindings
Rico Tzschichholz [Fri, 8 Dec 2017 07:35:17 +0000 (08:35 +0100)]
girparser: Accept setters with boolean return-type as valid property-accessor
Rico Tzschichholz [Thu, 7 Dec 2017 16:32:54 +0000 (17:32 +0100)]
girparser: Handle metadata for fields inside a transparent union
Rico Tzschichholz [Thu, 7 Dec 2017 20:36:47 +0000 (21:36 +0100)]
gtk+-3.0: Fix FileChooser.add_choice()