]>
git.ipfire.org Git - thirdparty/vala.git/log
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
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:29:30 +0000 (14:29 +0200)]
Release 0.34.8
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
David Lechner [Fri, 24 Oct 2014 02:31:03 +0000 (21:31 -0500)]
gio-2.0: Fix async DBusObjectManagerClient.new/new_for_bus constructors
Passing null is allowed for get_proxy_type_func parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=739100
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 [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 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
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
Rico Tzschichholz [Wed, 22 Mar 2017 13:13:26 +0000 (14:13 +0100)]
vala: Perform arguments-check against actual .end() method-signature
This results in error message referring to the actual expected signature.
https://bugzilla.gnome.org/show_bug.cgi?id=684208
Marvin W [Mon, 20 Mar 2017 17:50:06 +0000 (18:50 +0100)]
method: Always consider compatible with itself
This is even the case with unresolved types.
https://bugzilla.gnome.org/show_bug.cgi?id=773135
Rico Tzschichholz [Mon, 20 Mar 2017 21:27:18 +0000 (22:27 +0100)]
Release 0.34.7
Marvin W [Tue, 14 Mar 2017 17:04:07 +0000 (18:04 +0100)]
codegen: Properly null-out source on ownership-transfer of delegates
Rico Tzschichholz [Tue, 14 Mar 2017 14:41:01 +0000 (15:41 +0100)]
gio-2.0: Add/"Unlock" missing GTask symbols
Alistair Thomas [Thu, 9 Mar 2017 21:33:50 +0000 (21:33 +0000)]
valac: State default output directory is current working directory
https://bugzilla.gnome.org/show_bug.cgi?id=740303
Rico Tzschichholz [Sun, 12 Mar 2017 19:32:26 +0000 (20:32 +0100)]
signalmodule: Handle nullable ValueTypes properly and treat them as pointer
Nullable value-types are actually pointers to heap-allocated structures.
Therefore a pointer-based marshaller is required for those types.
https://bugzilla.gnome.org/show_bug.cgi?id=758816
Rico Tzschichholz [Sun, 12 Mar 2017 18:59:20 +0000 (19:59 +0100)]
codegen: Add some missing to predefined marshallers from glib
g_cclosure_marshal_VOID__BOXED
g_cclosure_marshal_VOID__VARIANT
g_cclosure_marshal_BOOLEAN__BOXED_BOXED
Ole André Vadla Ravnås [Tue, 14 Mar 2017 19:44:45 +0000 (20:44 +0100)]
vala: Fix MemberAccess.is_non_null() for EnumValue constants
This is because an EnumValue object does not have a type reference.
https://bugzilla.gnome.org/show_bug.cgi?id=780050
Rico Tzschichholz [Tue, 24 Jan 2017 13:33:31 +0000 (14:33 +0100)]
vala: Non-null initializers are not allowed for owned namespace fields
https://bugzilla.gnome.org/show_bug.cgi?id=777697
Rico Tzschichholz [Mon, 3 Oct 2016 10:39:03 +0000 (12:39 +0200)]
gio-2.0 Update SettingsBackend related bindings
Rico Tzschichholz [Sun, 12 Mar 2017 20:55:42 +0000 (21:55 +0100)]
poppler-glib: Update to 0.52.0
Alistair Thomas [Sun, 12 Mar 2017 19:29:48 +0000 (19:29 +0000)]
manual: Add language="vala" attribute to Devhelp version