]>
git.ipfire.org Git - thirdparty/vala.git/log
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
Rico Tzschichholz [Tue, 10 Oct 2017 12:09:10 +0000 (14:09 +0200)]
codegen: Prioritize "array_length=true" over "array_null_terminated=true"
If arrays claim to have an array-length and also are null-terminated then
use and rely on the given length.
Adapt the girparser for this and add "array_length = true" accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=788775
Rico Tzschichholz [Sun, 8 Oct 2017 14:27:33 +0000 (16:27 +0200)]
Release 0.34.11
Rico Tzschichholz [Sat, 7 Oct 2017 10:53:12 +0000 (12:53 +0200)]
libxml-2.0: Fix header of XPath.Context.register_ns()
Rico Tzschichholz [Fri, 6 Oct 2017 12:53:06 +0000 (14:53 +0200)]
girparser: Use properly typed parameters in unresolved_symbol_hash/equal
Rico Tzschichholz [Tue, 11 Oct 2016 13:21:41 +0000 (15:21 +0200)]
codegen: Trigger deprecation warning for NoArrayLength from a better place
Rico Tzschichholz [Mon, 6 Mar 2017 07:51:51 +0000 (08:51 +0100)]
tests: Add "finish_instance = false" test-case
Also references IOSteam.splice_async() as compilation check.
https://bugzilla.gnome.org/show_bug.cgi?id=710103
Florian Brosch [Sun, 20 Oct 2013 15:21:01 +0000 (17:21 +0200)]
gio-2.0: Fix IOStream.splice_async()
Florian Brosch [Tue, 15 Oct 2013 23:38:09 +0000 (01:38 +0200)]
Add "finish_instance" CCode attribute
https://bugzilla.gnome.org/show_bug.cgi?id=710103
Rico Tzschichholz [Fri, 6 Oct 2017 12:02:56 +0000 (14:02 +0200)]
gio-2.0: Cherry-pick some fixes from 0.36
Rico Tzschichholz [Fri, 6 Oct 2017 06:59:26 +0000 (08:59 +0200)]
gstreamer-1.0: Cherry-pick some fixes from 0.38
Rico Tzschichholz [Fri, 6 Oct 2017 06:58:29 +0000 (08:58 +0200)]
gio-2.0: Cherry-pick some fixes from 0.38
Rico Tzschichholz [Fri, 6 Oct 2017 06:57:22 +0000 (08:57 +0200)]
libgvc: Add missing PrintfFormat annotations
Rico Tzschichholz [Fri, 6 Oct 2017 06:28:37 +0000 (08:28 +0200)]
gdk-3.0: Update to 3.22.24
Rico Tzschichholz [Fri, 29 Sep 2017 10:50:09 +0000 (12:50 +0200)]
gnutls: Fix free_function ccode-attribute of Certificate
Remove an extra space which breaks null-safe free-wrapper generation.
Thanks to getzze
https://bugzilla.gnome.org/show_bug.cgi?id=788181
Rico Tzschichholz [Tue, 19 Sep 2017 14:38:34 +0000 (16:38 +0200)]
vala: Initialize CodeContext.*_directories fields
Rico Tzschichholz [Thu, 5 Oct 2017 20:14:52 +0000 (22:14 +0200)]
method: Include owndership transfer classifier for return-type mismatch
Fixes deficiency of
faa7dc16046a4a002ad23c90cf4ca1f9007adaa2
Rico Tzschichholz [Sat, 9 Sep 2017 12:35:55 +0000 (14:35 +0200)]
vala: Update list of used attributes
Rico Tzschichholz [Fri, 8 Sep 2017 12:31:41 +0000 (14:31 +0200)]
codegen: Try to use a more unique internal define for properties
https://bugzilla.gnome.org/show_bug.cgi?id=787436
Rico Tzschichholz [Thu, 7 Sep 2017 20:44:32 +0000 (22:44 +0200)]
glib-2.0: Bind g_convert_with_fallback() and g_convert_with_iconv()
Ole André Vadla Ravnås [Tue, 14 Mar 2017 18:17:15 +0000 (19:17 +0100)]
gvariant: Optimize (de)serialization of arrays with type-signature "ay"
https://bugzilla.gnome.org/show_bug.cgi?id=772426
Rico Tzschichholz [Thu, 7 Sep 2017 13:17:31 +0000 (15:17 +0200)]
Release 0.34.10
Alistair Thomas [Wed, 6 Sep 2017 10:03:19 +0000 (11:03 +0100)]
docs: Clarify SGR as Select Graphic Rendition
Rico Tzschichholz [Wed, 6 Sep 2017 06:49:53 +0000 (08:49 +0200)]
docs: Drop errornous @return documentation on void method
Rico Tzschichholz [Mon, 4 Sep 2017 15:10:28 +0000 (17:10 +0200)]
glib-2.0: Fix MainContext.check()
Rico Tzschichholz [Mon, 4 Sep 2017 14:53:07 +0000 (16:53 +0200)]
glib-2.0: OptionEntry[] params are null-terminated
Rico Tzschichholz [Sun, 3 Sep 2017 13:01:05 +0000 (15:01 +0200)]
gtk+-3.0: Update to 3.22.19+
70b61973
Rico Tzschichholz [Sun, 27 Aug 2017 18:12:16 +0000 (20:12 +0200)]
gtk+-3.0: Update to 3.22.19
Daniel Espinosa [Sun, 3 Sep 2017 03:17:43 +0000 (22:17 -0500)]
libxml-2.0: Bind xmlLastElementChild and xmlPreviousElementSibling
https://bugzilla.gnome.org/show_bug.cgi?id=787201
Rico Tzschichholz [Sat, 26 Aug 2017 19:50:08 +0000 (21:50 +0200)]
codegen: Actually write declaration for GNodeTraverseFunc wrapper
This fixes a very old typo which causes the wrong declaration to be written
and results in a double definition.
https://bugzilla.gnome.org/show_bug.cgi?id=786845
Rico Tzschichholz [Wed, 10 Feb 2016 08:28:38 +0000 (09:28 +0100)]
tests: Add regression test
https://bugzilla.gnome.org/show_bug.cgi?id=761736
Rico Tzschichholz [Thu, 17 Aug 2017 06:12:57 +0000 (08:12 +0200)]
codegen: Don't transfer ownership of local-variable if target-type is unknown
https://bugzilla.gnome.org/show_bug.cgi?id=736774
Rico Tzschichholz [Sun, 27 Aug 2017 08:33:06 +0000 (10:33 +0200)]
testrunner: Pass -X -DGETTEXT_PACKAGE=\"valac\"
Rico Tzschichholz [Wed, 23 Aug 2017 05:52:10 +0000 (07:52 +0200)]
tests: Fix dbus/filedescriptor-errors.test
Avoid the creation of a conflicting "pipe" symbol which is defined
by unistd.h while using posix.
This has been hidden by the current test framework, testrunner.sh,
because that script adds a namespace around each test.
Alistair Thomas [Tue, 22 Aug 2017 19:50:58 +0000 (20:50 +0100)]
tests: Fix test delegates/bug659778.vala
GObject type names must be atleast three characters long
(https://developer.gnome.org/gobject/stable/gtype-conventions.html).
The test for delegates/bug659778.vala uses an enum name of TE, which is
too short and when compiled produces the runtime errors:
GLib-GObject-WARNING **: type name 'TE' is too short
GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
and the test program does not terminate.
This has been hidden by the current test framework, testrunner.sh,
because that script adds a namespace around each test.
https://bugzilla.gnome.org/show_bug.cgi?id=786652
Alistair Thomas [Tue, 22 Aug 2017 15:39:30 +0000 (16:39 +0100)]
Add .editorconfig file
EditorConfig (http://editorconfig.org/) has become the
de facto standard for defining the use of white space in
project files. Code editors then choose the right
settings automatically when a file is edited.
https://bugzilla.gnome.org/show_bug.cgi?id=786620
Rico Tzschichholz [Sat, 19 Aug 2017 15:01:51 +0000 (17:01 +0200)]
vapigen: Mark given source-files as such and force girparser to handle them
E.g. gtk+-4.0 is *one* library with multiple namespaces and gir files. So
we need to handle this case and allow all explicitly given GIR files to be
parsed.
Rico Tzschichholz [Wed, 16 Aug 2017 07:36:52 +0000 (09:36 +0200)]
codegen: Include glib-object.h for Structs with type_id
Rico Tzschichholz [Tue, 15 Aug 2017 21:02:06 +0000 (23:02 +0200)]
codegen: Include glib-object.h for Enums with type_id
Rico Tzschichholz [Mon, 7 Aug 2017 14:26:34 +0000 (16:26 +0200)]
gobject-2.0: Add required type_id attributes to all ParamSpec subclasses
kosmolot [Wed, 2 Aug 2017 03:53:37 +0000 (12:53 +0900)]
libxml-2.0: Update Xml.ParserOption
https://bugzilla.gnome.org/show_bug.cgi?id=785585
Jens Georg [Sat, 25 Feb 2017 19:34:24 +0000 (20:34 +0100)]
libgdata: Make Authorizer.reauth_* methods virtual
Implementations can opt to not implement them
https://bugzilla.gnome.org/show_bug.cgi?id=779229
Rico Tzschichholz [Mon, 26 Jun 2017 15:31:32 +0000 (17:31 +0200)]
Release 0.34.9
Rico Tzschichholz [Mon, 26 Jun 2017 14:43:34 +0000 (16:43 +0200)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Wed, 21 Jun 2017 16:30:17 +0000 (18:30 +0200)]
girwriter: Write length-parameters of arrays with rank > 1
https://bugzilla.gnome.org/show_bug.cgi?id=758019
Rico Tzschichholz [Wed, 21 Jun 2017 11:29:27 +0000 (13:29 +0200)]
girparser: Fix parsing of delegate-alias without target
"has_target" is a ccode-attribute-based property, so don't explicitly set
it and rely on attribute-list-copy. Otherwise there will a fatal duplicated
CCode attribute.
Rico Tzschichholz [Sat, 17 Jun 2017 17:57:49 +0000 (19:57 +0200)]
codegen: Nullable ValueType requires POINTER as marshaller signature
This is missing in https://bugzilla.gnome.org/show_bug.cgi?id=758816
https://bugzilla.gnome.org/show_bug.cgi?id=783897
Luca Bruno [Wed, 24 Dec 2014 22:20:58 +0000 (23:20 +0100)]
codegen: Fix finally blocks with async yields
The Method.yield_count is not correct because in C the finally blocks may
be emitted twice.
Preserve API/ABI for this backport to 0.34.x
https://bugzilla.gnome.org/show_bug.cgi?id=741929
Daniel Espinosa [Fri, 26 May 2017 18:42:55 +0000 (13:42 -0500)]
compiler: Add --gresourcesdir option
In case a gresources.xml is located in a different directory than its
corresponding resources, --gresourcesdir will add additional search
locations for UI files of Gtk+ templates.
https://bugzilla.gnome.org/show_bug.cgi?id=783133
Rico Tzschichholz [Wed, 7 Jun 2017 07:59:06 +0000 (09:59 +0200)]
gio-2.0: Use default 'length = null' for DataInputStream.read_line_utf8*
https://bugzilla.gnome.org/show_bug.cgi?id=783351
Rico Tzschichholz [Fri, 2 Jun 2017 17:36:07 +0000 (19:36 +0200)]
gobject-2.0: Add GLib.ParamSpecPointer
Rico Tzschichholz [Mon, 3 Oct 2016 13:59:30 +0000 (15:59 +0200)]
gobject-2.0: Add a bunch of missing symbols
Additions for ObjectClass, Type, TypeClass, TypeInterface are based on
patch by therebedragons111
https://bugzilla.gnome.org/show_bug.cgi?id=771828
Rico Tzschichholz [Sat, 8 Oct 2016 19:12:59 +0000 (21:12 +0200)]
tests: Add some constructor tests
Rico Tzschichholz [Wed, 17 May 2017 10:51:58 +0000 (12:51 +0200)]
glib-2.0: Always use valid version-string for Version.deprecated_since
Rico Tzschichholz [Sat, 25 Feb 2017 22:50:57 +0000 (23:50 +0100)]
glib-2.0: Mark delegates in Test.add_data_func/add_func() as scope=async
https://bugzilla.gnome.org/show_bug.cgi?id=739725
Rico Tzschichholz [Thu, 8 Jun 2017 10:43:34 +0000 (12:43 +0200)]
glib-2.0: Add missing format-string parameter in string.scanf()
Rico Tzschichholz [Sun, 5 Mar 2017 11:44:38 +0000 (12:44 +0100)]
glib-2.0: Add bindings for GPOINTER_TO_* as from_pointer()
Rico Tzschichholz [Wed, 17 May 2017 07:09:13 +0000 (09:09 +0200)]
gdbus: Don't leak nested HashTable on deserialization
Additionally make sure types derived from string are freed, e.g. ObjectPath
https://bugzilla.gnome.org/show_bug.cgi?id=782719
Rico Tzschichholz [Mon, 20 Mar 2017 10:37:27 +0000 (11:37 +0100)]
tests: Additional basic-types tests for dbus
Rico Tzschichholz [Sat, 13 May 2017 15:30:17 +0000 (17:30 +0200)]
poppler-glib: Update to 0.54.0
Rico Tzschichholz [Fri, 5 May 2017 06:19:28 +0000 (08:19 +0200)]
vala: Don't warn about deprecated symbols if installed_version is older
Marvin W [Tue, 11 Apr 2017 15:19:58 +0000 (17:19 +0200)]
vala: Handle non-null in coalescing expression
https://bugzilla.gnome.org/show_bug.cgi?id=611223
Marvin W [Tue, 11 Apr 2017 15:19:58 +0000 (17:19 +0200)]
testrunner: Respect given VALAFLAGS
https://bugzilla.gnome.org/show_bug.cgi?id=611223