]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Tue, 22 May 2018 07:53:59 +0000 (09:53 +0200)]
Release 0.38.10
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 [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 [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 [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: 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 [Tue, 1 May 2018 17:43:26 +0000 (19:43 +0200)]
webkit2gtk-4.0: Cherry-pick some fixes from 0.42
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 [Fri, 13 Apr 2018 22:59:36 +0000 (00:59 +0200)]
gtk+-4.0: Set NoAccessorMethod on Gtk.Radio*.group properties
The type of get/set_group() doesn't match the property type.
Rico Tzschichholz [Fri, 13 Apr 2018 22:59:44 +0000 (00:59 +0200)]
girparser: Add support for NoAccessorMethod metadata
Rico Tzschichholz [Fri, 13 Apr 2018 15:56:14 +0000 (17:56 +0200)]
webkit2gtk-4.0: Update to 2.20.1
Rico Tzschichholz [Mon, 9 Apr 2018 14:57:44 +0000 (16:57 +0200)]
Release 0.38.9
Rico Tzschichholz [Fri, 6 Apr 2018 15:38:13 +0000 (17:38 +0200)]
gstreamer: Cherry-pick some fixes from 0.40
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 16:49:18 +0000 (18:49 +0200)]
gtk+-4.0: Hide dedicated constructors of compact classes bound as structs
https://bugzilla.gnome.org/show_bug.cgi?id=794733
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.40
Rico Tzschichholz [Sun, 25 Mar 2018 19:32:21 +0000 (21:32 +0200)]
webkit2gtk-4.0: Update to 2.20.0
Rico Tzschichholz [Sat, 24 Mar 2018 12:36:58 +0000 (13:36 +0100)]
clutter-1.0: Avoid duplications of implemented interfaces
Rico Tzschichholz [Tue, 20 Mar 2018 09:24:42 +0000 (10:24 +0100)]
tests: Add basic GLib.Node test
Rico Tzschichholz [Sun, 18 Mar 2018 19:50:39 +0000 (20:50 +0100)]
gstreamer-1.0: Add gstreamer-webrtc-1.0 bindings
Rico Tzschichholz [Sun, 18 Mar 2018 15:45:02 +0000 (16:45 +0100)]
gstreamer: Update to 1.13.91
Rico Tzschichholz [Mon, 5 Mar 2018 17:58:33 +0000 (18:58 +0100)]
gstreamer-1.0: Update to 1.13.90
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 [Tue, 20 Mar 2018 22:09:22 +0000 (23:09 +0100)]
valadoc: Bump glib_minor to match 0.38 series
Rico Tzschichholz [Tue, 20 Feb 2018 15:40:07 +0000 (16:40 +0100)]
gstreamer-1.0: Update to 1.13.1+
Rico Tzschichholz [Sat, 17 Feb 2018 08:01:11 +0000 (09:01 +0100)]
gstreamer-1.0: Update to 1.13.1
Rico Tzschichholz [Fri, 2 Mar 2018 14:43:45 +0000 (15:43 +0100)]
gtk+-4.0: Fix TreeView.is_blank_at_pos()
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 [Tue, 13 Feb 2018 11:32:32 +0000 (12:32 +0100)]
purple: Update to 2.12.0
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 [Tue, 20 Feb 2018 11:56:53 +0000 (12:56 +0100)]
codegen: Add source_reference to some store_local/_field() calls
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:57:52 +0000 (09:57 +0100)]
Release 0.38.8
Rico Tzschichholz [Sun, 10 Dec 2017 08:35:24 +0000 (09:35 +0100)]
libvaladoc: Prevent WITH_CGRAPH conditional having an impact on generated sources
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, 7 Feb 2018 16:42:53 +0000 (17:42 +0100)]
gstreamer-1.0: Update from 1.13+ git master
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 [Thu, 8 Feb 2018 11:08:42 +0000 (12:08 +0100)]
codegen: Avoid critical when connecting dynamic signals
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 [Tue, 6 Feb 2018 08:01:12 +0000 (09:01 +0100)]
tests: Add various regression "codegen" tests to increase coverage
Rico Tzschichholz [Mon, 5 Feb 2018 17:14:21 +0000 (18:14 +0100)]
tests: Add "destructors" test to increase coverage
Rico Tzschichholz [Wed, 31 Jan 2018 12:15:16 +0000 (13:15 +0100)]
tests: Additionally add $topbuilddir to PKG_CONFIG_PATH for libvala-*.pc
Rico Tzschichholz [Sun, 4 Feb 2018 10:27:48 +0000 (11:27 +0100)]
Release 0.38.7
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:50:18 +0000 (16:50 +0100)]
Release 0.38.6
Rico Tzschichholz [Mon, 29 Jan 2018 22:06:59 +0000 (23:06 +0100)]
gstreamer-1.0: Update from 1.13+ git master
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
Rico Tzschichholz [Sun, 28 Jan 2018 22:00:03 +0000 (23:00 +0100)]
girparser: Ignore conflicting closure/destroy indexes
Reverse references from closure/destroy parameters back to the callback
break our later logic, so skip this additional information.
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 [Tue, 23 Jan 2018 09:29:29 +0000 (10:29 +0100)]
gtk+-4.0: Only override type of "event" parameters
Rico Tzschichholz [Sun, 21 Jan 2018 19:14:11 +0000 (20:14 +0100)]
libvaladoc: Keep bootstrap-support with valac >= 0.16.1
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:27:58 +0000 (17:27 +0100)]
Release 0.38.5
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