]>
git.ipfire.org Git - thirdparty/vala.git/log
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()
Rico Tzschichholz [Fri, 8 Dec 2017 23:19:06 +0000 (00:19 +0100)]
Improve error message for missing type-parameter on enclosing type
https://bugzilla.gnome.org/show_bug.cgi?id=587905
Rico Tzschichholz [Fri, 8 Dec 2017 22:21:05 +0000 (23:21 +0100)]
SemanticAnalyser.get_actual_type() should never return null
So better return an InvalidType in case of error.
https://bugzilla.gnome.org/show_bug.cgi?id=587905
George Barrett [Wed, 6 Dec 2017 14:51:05 +0000 (15:51 +0100)]
codegen: Don't create null-safe destroy-wrapper for GenericType
https://bugzilla.gnome.org/show_bug.cgi?id=791283
Rico Tzschichholz [Wed, 6 Dec 2017 17:25:33 +0000 (18:25 +0100)]
tests: Add further "use of generics in constructor" test
https://bugzilla.gnome.org/show_bug.cgi?id=593137
Rico Tzschichholz [Wed, 6 Dec 2017 15:11:10 +0000 (16:11 +0100)]
vala: Don't transform an explicit "null" into a valid format-string
https://bugzilla.gnome.org/show_bug.cgi?id=791215
Rico Tzschichholz [Sat, 2 Dec 2017 17:31:03 +0000 (18:31 +0100)]
girparser: Allow change of parameter names
Philip Withnall [Tue, 5 Dec 2017 11:59:32 +0000 (11:59 +0000)]
glib-2.0: Fix potential null pointer dereference in string.joinv()
The logic in the ‘is the array null or empty’ check was disjunctive
rather than conjunctive. If (str_array == null), the condition would
have short-circuited and tried to evaluate str_array.length, which would
have crashed.
Coverity CID: #
1462389 (spotted when scanning Tracker)
https://bugzilla.gnome.org/show_bug.cgi?id=791257
George Barrett [Thu, 30 Nov 2017 13:05:42 +0000 (00:05 +1100)]
gobject-2.0: Add missing GType constants for fundamentals
At present, only a handful of the G_TYPE_* are declared as constants
GType defines, adding a hurdle to vala programs wanting to use
GObject's fundamental type introspection facilities.
This commit simply adds declarations for all the constant-valued GTypes
listed in the GObject documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=791023
Rico Tzschichholz [Tue, 28 Nov 2017 12:38:46 +0000 (13:38 +0100)]
gtk+-3.0: Update to 3.22.26+
9ce824d3
Evan Nemerson [Mon, 20 Nov 2017 11:25:33 +0000 (12:25 +0100)]
gstreamer-1.0: Bind GST_DEBUG_BIN_TO_DOT_FILE/*_WITH_TS
https://bugzilla.gnome.org/show_bug.cgi?id=785215
Rico Tzschichholz [Mon, 20 Nov 2017 08:04:39 +0000 (09:04 +0100)]
gobject-2.0: Add some missing symbols
G_SIGNAL_FLAGS_MASK, G_SIGNAL_MATCH_MASK, g_source_set_closure,
g_source_set_dummy_callback
Rico Tzschichholz [Mon, 27 Nov 2017 18:46:20 +0000 (19:46 +0100)]
vala: Improve error output of mismatching overriding methods
Include the prototype-string of base-method for easier error finding.
Rico Tzschichholz [Mon, 27 Nov 2017 14:25:02 +0000 (15:25 +0100)]
codegen: Discover invalid member access to instance field
https://bugzilla.gnome.org/show_bug.cgi?id=790903
Rico Tzschichholz [Sun, 19 Nov 2017 15:27:22 +0000 (16:27 +0100)]
vala: Report error for missing type-parameter on enclosing type
Make a qualified guess for the cause of the problem instead of triggering
an assertion.
https://bugzilla.gnome.org/show_bug.cgi?id=587905
Rico Tzschichholz [Sun, 19 Nov 2017 14:29:55 +0000 (15:29 +0100)]
codegen: Enforce name-length >= 3 for structs using GType
https://bugzilla.gnome.org/show_bug.cgi?id=764041
Rico Tzschichholz [Mon, 27 Nov 2017 11:55:28 +0000 (12:55 +0100)]
tests: Invalid Code needs to be recoginized explicitly by an compiler error
Running with G_DEBUG=fatal-warnings makes those fail to easily, so only
pass it to positive test-cases.
Rico Tzschichholz [Sat, 18 Nov 2017 22:49:34 +0000 (23:49 +0100)]
gtk+-3.0: Update to 3.22.26
Rico Tzschichholz [Sat, 18 Nov 2017 16:07:38 +0000 (17:07 +0100)]
vala: Subtype of string is allowed as constant
Alistair Thomas [Tue, 14 Nov 2017 11:31:37 +0000 (11:31 +0000)]
tests: split VALAFLAGS over multiple lines in testrunner.sh
This improves readability of script and makes it easier for out of tree
patches to the script.
https://bugzilla.gnome.org/show_bug.cgi?id=790321
Rico Tzschichholz [Thu, 9 Nov 2017 08:15:33 +0000 (09:15 +0100)]
Release 0.34.12
Daniel Espinosa [Wed, 25 Oct 2017 18:24:13 +0000 (13:24 -0500)]
libxml-2.0: Add DTD methods
https://bugzilla.gnome.org/show_bug.cgi?id=789442
Rico Tzschichholz [Wed, 25 Oct 2017 11:10:41 +0000 (13:10 +0200)]
codegen: Avoid possible conflicts with internal property/signal defines
https://bugzilla.gnome.org/show_bug.cgi?id=788964
Rico Tzschichholz [Wed, 11 Oct 2017 16:59:38 +0000 (18:59 +0200)]
gio-2.0: Expose g_task_get_source_object as Task.get_unowned_source_object
... and some nullable fixes
Rico Tzschichholz [Tue, 10 Oct 2017 12:34:13 +0000 (14:34 +0200)]
Regenerate GIR-based bindings
https://bugzilla.gnome.org/show_bug.cgi?id=788775