]>
git.ipfire.org Git - thirdparty/vala.git/log
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
Alistair Thomas [Sat, 11 Mar 2017 21:36:56 +0000 (21:36 +0000)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Wed, 8 Mar 2017 21:55:52 +0000 (22:55 +0100)]
codegen: Fix base-access from within overriding struct-property-accessor
Based on patch by gandalfn
https://bugzilla.gnome.org/show_bug.cgi?id=764481
Alistair Thomas [Sat, 11 Jun 2016 13:02:32 +0000 (14:02 +0100)]
enchant: Minor fixes
Remove superfluous cname_prefix namespace-attribute.
Add get_version() and fix array-length-type of Dict.suggest().
https://bugzilla.gnome.org/show_bug.cgi?id=767522
Rico Tzschichholz [Wed, 8 Mar 2017 09:31:33 +0000 (10:31 +0100)]
gstreamer-1.0: Mark *.make_writable with "ReturnsModifiedPointer"
https://bugzilla.gnome.org/show_bug.cgi?id=759255
Rico Tzschichholz [Wed, 8 Mar 2017 09:28:37 +0000 (10:28 +0100)]
girparser: Add metadata-support for "returns_modified_pointer"
https://bugzilla.gnome.org/show_bug.cgi?id=759255
Rico Tzschichholz [Wed, 8 Mar 2017 08:50:02 +0000 (09:50 +0100)]
gstreamer-1.0: Fix Gst.Base.Adapter.map/take bindings
There is no explicit array-length returned while it is implicitly related
to the in-parameter those methods are taking.
https://bugzilla.gnome.org/show_bug.cgi?id=705987
Rico Tzschichholz [Tue, 7 Mar 2017 18:07:26 +0000 (19:07 +0100)]
gtk+-3.0: Widget.override_* are deprecated since 3.16
https://bugzilla.gnome.org/show_bug.cgi?id=777782
Rico Tzschichholz [Tue, 7 Mar 2017 17:23:50 +0000 (18:23 +0100)]
manual: Update timestamps of directory-targets
Rico Tzschichholz [Tue, 7 Mar 2017 15:49:20 +0000 (16:49 +0100)]
signalmodule: Fix deprecation of signals
Rico Tzschichholz [Tue, 7 Mar 2017 09:37:49 +0000 (10:37 +0100)]
Release 0.34.6
Rico Tzschichholz [Thu, 2 Mar 2017 17:24:47 +0000 (18:24 +0100)]
manual: Actually install files into "bookdir" instead of a subfolder
Alistair Thomas [Tue, 21 Feb 2017 00:02:58 +0000 (00:02 +0000)]
manual: Initial import of manual.xml from wiki.gnome.org
https://bugzilla.gnome.org/show_bug.cgi?id=779090
Alistair Thomas [Thu, 19 Jan 2017 20:57:20 +0000 (20:57 +0000)]
manual: Switch to using DocBook from wiki.gnome.org as source
https://bugzilla.gnome.org/show_bug.cgi?id=779090
Alistair Thomas [Wed, 22 Feb 2017 19:12:54 +0000 (19:12 +0000)]
doc: Rename doc/vala to doc/manual
Clarify contents of directory with new name
Rico Tzschichholz [Sun, 5 Mar 2017 17:00:40 +0000 (18:00 +0100)]
docs: Generate and update manpages
Daniel Espinosa [Thu, 2 Mar 2017 20:30:51 +0000 (14:30 -0600)]
libxml-2.0: Adding missing API and nullable parameters
https://bugzilla.gnome.org/show_bug.cgi?id=779490
Carlos Garnacho [Mon, 6 Mar 2017 13:23:19 +0000 (14:23 +0100)]
codegen: Check there is a return error location before using it
Fixes client-side dbus generation on methods that don't throw any error.
https://bugzilla.gnome.org/show_bug.cgi?id=779652
Carlos Garnacho [Mon, 6 Mar 2017 12:16:45 +0000 (13:16 +0100)]
tests: Add "use_string_marshalling = true" dbus-test
Commit
09e6818d01e introduced the possibility of inserting _error
labels at the end of functions, which make C compilers angry.
This "test" (no actual tests are run, just compile correctness is
checked here) triggers some of these situations.
the "test3" abstract method is trickier though, it doesn't warn
but produces code with early returns, which in practice means
possible leaks.
https://bugzilla.gnome.org/show_bug.cgi?id=778540
Carlos Garnacho [Mon, 6 Mar 2017 12:17:40 +0000 (13:17 +0100)]
codegen: Avoid early return on sync dbus methods returning an error
If there are arguments that need freeing, we need to fall through the
_error label, if there is any.
https://bugzilla.gnome.org/show_bug.cgi?id=778540
Carlos Garnacho [Mon, 6 Mar 2017 10:40:24 +0000 (11:40 +0100)]
codegen: Only add _error path if there's parameters that require unref
Fixes the _error label from being set at the end of a compound statement
if there are no values to unref.
https://bugzilla.gnome.org/show_bug.cgi?id=778540
Rico Tzschichholz [Mon, 27 Feb 2017 15:59:32 +0000 (16:59 +0100)]
memberaccess: Don't resolve base_method/property twice
https://bugzilla.gnome.org/show_bug.cgi?id=779219
Rico Tzschichholz [Wed, 1 Mar 2017 13:20:42 +0000 (14:20 +0100)]
Release 0.34.5
Niko Tyni [Mon, 19 Oct 2015 20:56:36 +0000 (23:56 +0300)]
gtkmodule: Preserve order of required-gtype-classes for reproducibility
The elements of current_required_app_classes end up in the generated
code in g_type_ensure() statements. The order of these can vary
between builds when using a HashSet, breaking reproducibilty.
See https://wiki.debian.org/ReproducibleBuilds
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802528
Rico Tzschichholz [Wed, 1 Mar 2017 21:28:29 +0000 (22:28 +0100)]
glib-2.0: Fix g_bookmark_file_load_from_*/to_file bindings
BookmarkFile.load_from_file, load_from_data_dirs and to_file may
also throw FileError in addition to BookmarkFileError.
Carlos Garnacho [Sat, 18 Feb 2017 14:05:06 +0000 (15:05 +0100)]
tests: Add test for dbus fd passing failures
The server will exhaust all fds before the fd list in the dbus
request is opened. We do expect it to fail in the client.
https://bugzilla.gnome.org/show_bug.cgi?id=778540
Carlos Garnacho [Sat, 18 Feb 2017 14:27:13 +0000 (15:27 +0100)]
dbus: Move send_message() call before _error label
Commit
09e6818d01 changed dbus server paths so requests fell back
to freeing allocated memory on errors. However certain kinds of
dbus replies issue a final g_dbus_connection_send_message() there.
In case of errors, _reply_message will be NULL, and the error paths
would have already issued g_dbus_method_invocation_return_gerror(),
so the g_dbus_connection_send_message() call is both unnecessary and
warns on the NULL argument. So move the DBus reply before the _error
label.
https://bugzilla.gnome.org/show_bug.cgi?id=778540