]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Thu, 9 Nov 2017 08:34:08 +0000 (09:34 +0100)]
Release 0.36.7
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 [Wed, 11 Oct 2017 16:57:52 +0000 (18:57 +0200)]
gtk+-4.0: Update to 3.92.1
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:23:01 +0000 (16:23 +0200)]
Release 0.36.6
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 07:18:27 +0000 (09:18 +0200)]
gio-2.0: "address" parameter of Socket.receive_message() is optional
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:32:19 +0000 (08:32 +0200)]
webkit2gtk-4.0: Update to 2.18
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 [Tue, 6 Jun 2017 15:45:06 +0000 (17:45 +0200)]
gio-2.0: Add DBusConnection 'closed' signal as 'on_closed'
It was masked by property with same name.
https://bugzilla.gnome.org/show_bug.cgi?id=684358
Rico Tzschichholz [Tue, 6 Jun 2017 15:39:41 +0000 (17:39 +0200)]
codegen: Support renamed signals
The CCode attribute 'cname' needs to be the canonical representation as it
is expected in C.
https://bugzilla.gnome.org/show_bug.cgi?id=731547
Rico Tzschichholz [Thu, 7 Sep 2017 13:35:22 +0000 (15:35 +0200)]
Release 0.36.5
Rico Tzschichholz [Wed, 6 Sep 2017 05:26:57 +0000 (07:26 +0200)]
gtk+-4.0: Update to 3.91.2+
80e32390
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, 3 Sep 2017 12:57:10 +0000 (14:57 +0200)]
gtk+-4.0: Update to 3.91.2+
b5afe757
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, 2 Sep 2017 07:46:33 +0000 (09:46 +0200)]
codegen: Initialize temp-variable for fixed-size arrays to zero first
https://bugzilla.gnome.org/show_bug.cgi?id=787152
Rico Tzschichholz [Sun, 27 Aug 2017 18:12:16 +0000 (20:12 +0200)]
gtk+-3.0: Update to 3.22.19
Rico Tzschichholz [Sun, 27 Aug 2017 07:11:48 +0000 (09:11 +0200)]
codegen: Adjust format-index for printf/scanf-methods which throw errors
If there is no explicit FormatArg annotation while this method throws an
error, it is required to mark the parameter located right before ellipsis
as format-arg to account for the parameter shifting caused by the inserted
GError parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=781061
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 [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 [Mon, 21 Aug 2017 13:09:31 +0000 (15:09 +0200)]
testrunner: Add missing quotes
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 [Sun, 13 Aug 2017 16:53:19 +0000 (18:53 +0200)]
gtk+-4.0: Update to 3.91.2
Rico Tzschichholz [Thu, 10 Aug 2017 14:25:51 +0000 (16:25 +0200)]
gtk+-4.0: Make Gsk.Texturer.for_*() static factory methods
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:13:22 +0000 (17:13 +0200)]
Release 0.36.4
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 12:53:04 +0000 (14:53 +0200)]
compiler: Use API_VERSION instead of stripping PACKAGE_SUFFIX
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 [Wed, 17 May 2017 09:37:56 +0000 (11:37 +0200)]
codegen: NoAccessorMethod attribute is allowed for gobject-properties only
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.36.x
https://bugzilla.gnome.org/show_bug.cgi?id=741929
Rico Tzschichholz [Mon, 12 Jun 2017 20:08:56 +0000 (22:08 +0200)]
gstreamer-1.0: Various binding fixes
Carlos Garnacho [Mon, 12 Jun 2017 15:19:05 +0000 (17:19 +0200)]
codegen: Make the task_complete flag for < 2.44 more similar to >= 2.44
According to the g_task_get_completed() docs (which we rely on for
glib >= 2.44 targets): "This changes from FALSE to TRUE after the task's
callback is invoked, and will return FALSE from inside the callback".
So to make the code paths most similar to >= 2.44 (when
g_task_get_completed is available), wrap the GAsyncReadyCallback with
one of our own, that just invokes the nested callback (if any) and turns
on the flag.
Also remove the code turning on the flag on finish(), it's superfluous
now and there are no guarantees that it will be invoked.
https://bugzilla.gnome.org/show_bug.cgi?id=783543
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 [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 [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
Rico Tzschichholz [Tue, 2 May 2017 13:45:54 +0000 (15:45 +0200)]
Release 0.36.3
Magomed Abdurakhmanov [Tue, 2 May 2017 08:40:14 +0000 (10:40 +0200)]
scanner: Fix calculation of column value for tokens after multiline comment
https://bugzilla.gnome.org/show_bug.cgi?id=652899
Rico Tzschichholz [Fri, 28 Apr 2017 13:31:19 +0000 (15:31 +0200)]
codegen: Unref GLib.AsyncResult on uncaught errors in coroutines
Ignoring the warning of uncaught error in async methods resulted in
leaking a reference to the scopes GLib.AsyncResult.
https://bugzilla.gnome.org/show_bug.cgi?id=641171
Rico Tzschichholz [Tue, 2 May 2017 12:09:41 +0000 (14:09 +0200)]
Revert "codegen: Don't implicitly initialize local variables with an initializer"
This reverts commit
f5c654f76eeb1ee887f3d89eb701cf82f75a430a .
https://bugzilla.gnome.org/show_bug.cgi?id=782056
Rico Tzschichholz [Tue, 25 Apr 2017 16:04:56 +0000 (18:04 +0200)]
Release 0.36.2
Rico Tzschichholz [Tue, 25 Apr 2017 15:58:49 +0000 (17:58 +0200)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Mon, 24 Apr 2017 06:44:09 +0000 (08:44 +0200)]
vala: Enums require at least one value otherwise report an error
Rico Tzschichholz [Wed, 19 Apr 2017 07:45:14 +0000 (09:45 +0200)]
gio-2.0: Tweak metadata to avoid duplicated interface dependencies
Rico Tzschichholz [Tue, 18 Apr 2017 15:09:04 +0000 (17:09 +0200)]
gio-2.0: Fix GLib.Task.report_error/report_new_error()
Rico Tzschichholz [Tue, 18 Apr 2017 14:38:04 +0000 (16:38 +0200)]
gio-2.0: Fix GLib.Task constructor
https://bugzilla.gnome.org/show_bug.cgi?id=781449
Rico Tzschichholz [Wed, 12 Apr 2017 12:06:22 +0000 (14:06 +0200)]
glib-2.0: Add quark() functions to errordomains
Rico Tzschichholz [Fri, 14 Apr 2017 18:41:30 +0000 (20:41 +0200)]
build: Add missing '\'
Rico Tzschichholz [Fri, 14 Apr 2017 18:41:30 +0000 (20:41 +0200)]
build: vapigen and vapicheck don't require ccode
Rico Tzschichholz [Mon, 10 Apr 2017 12:20:25 +0000 (14:20 +0200)]
gstreamer: Update to 1.11.90+
Rico Tzschichholz [Mon, 3 Apr 2017 06:12:02 +0000 (08:12 +0200)]
Release 0.36.1
Rico Tzschichholz [Sun, 2 Apr 2017 11:37:16 +0000 (13:37 +0200)]
vapigen: Add --nostdpkg option like in valac
Rico Tzschichholz [Sat, 1 Apr 2017 15:11:58 +0000 (17:11 +0200)]
gtk+-4.0: Update to 3.90.0
Rico Tzschichholz [Thu, 30 Mar 2017 19:28:49 +0000 (21:28 +0200)]
gtk+-4.0: Update to 3.89.5+
1202082b
Rico Tzschichholz [Thu, 30 Mar 2017 19:08:44 +0000 (21:08 +0200)]
gtk+-2.0,gtk+-3.0: Mark "intersection" param of Widget.intersect() as out
Rico Tzschichholz [Mon, 27 Mar 2017 18:29:24 +0000 (20:29 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 27 Mar 2017 13:27:01 +0000 (15:27 +0200)]
glib-2.0: Add missing version macro and constants
Rico Tzschichholz [Mon, 27 Mar 2017 07:42:44 +0000 (09:42 +0200)]
gstreamer-1.0: Fix Pad.set_*_function() bindings
https://bugzilla.gnome.org/show_bug.cgi?id=750838
Rico Tzschichholz [Mon, 27 Mar 2017 07:40:41 +0000 (09:40 +0200)]
girparser: Add destroy argument for metadata
https://bugzilla.gnome.org/show_bug.cgi?id=750838
Timm Bäder [Sat, 5 Nov 2016 20:50:43 +0000 (21:50 +0100)]
glib-2.0: unichar.to_string doesn't return null
Timm Bäder [Tue, 1 Nov 2016 09:35:47 +0000 (10:35 +0100)]
subroutine: Set parent_node of body block
Rico Tzschichholz [Wed, 22 Mar 2017 18:16:06 +0000 (19:16 +0100)]
codegen: Don't leak target-reference when casting/assigning owned delegates
Regression of
6d07669384cdb70c3c657dba67d5048212f25da9
https://bugzilla.gnome.org/show_bug.cgi?id=780426
Rico Tzschichholz [Wed, 22 Mar 2017 15:04:00 +0000 (16:04 +0100)]
codegen: Fix delegate initializer for instance fields
Set delegate-target to "self" which is available in *_instance_init().
https://bugzilla.gnome.org/show_bug.cgi?id=683925
Rico Tzschichholz [Wed, 22 Mar 2017 13:39:32 +0000 (14:39 +0100)]
vala: Slightly improve lamdba-expression error on target-type mismatch