]>
git.ipfire.org Git - thirdparty/vala.git/log
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:05:09 +0000 (08:05 +0200)]
webkit2gtk-4.0: Actually update to 2.18
Rico Tzschichholz [Thu, 5 Oct 2017 12:18:29 +0000 (14:18 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 5 Oct 2017 12:17:07 +0000 (14:17 +0200)]
gstreamer-1.0: Update from 1.13+ git master
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 [Mon, 25 Sep 2017 15:58:39 +0000 (17:58 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 21 Sep 2017 10:29:30 +0000 (12:29 +0200)]
gtk+-4.0: Update to 3.91.2+
d09f6951
Rico Tzschichholz [Fri, 15 Sep 2017 12:55:37 +0000 (14:55 +0200)]
glib-2.0: Add DateTime.from_iso8601()
Rico Tzschichholz [Tue, 19 Sep 2017 14:38:34 +0000 (16:38 +0200)]
vala: Initialize CodeContext.*_directories fields
Rico Tzschichholz [Sat, 8 Jul 2017 11:15:50 +0000 (13:15 +0200)]
codegen: Use array_length_cexpr to support fixed-arrays for return-values
Based on patch by David Lechner
https://bugzilla.gnome.org/show_bug.cgi?id=784691
Rico Tzschichholz [Mon, 27 Mar 2017 12:07:23 +0000 (14:07 +0200)]
codegen: Report warning if property-type is not compatible with GLib.Object
Not all types are supported to be used for "real" Object-properties.
Therefore start to report a warning instead of not registering it silently.
https://bugzilla.gnome.org/show_bug.cgi?id=693932
Rico Tzschichholz [Tue, 12 Sep 2017 10:28:59 +0000 (12:28 +0200)]
glib-2.0: Use type-id/marshaller-type for (u)int16/(u)short from (u)int32
https://bugzilla.gnome.org/show_bug.cgi?id=693932
Rico Tzschichholz [Mon, 11 Sep 2017 17:14:06 +0000 (19:14 +0200)]
Bump version suffix
Rico Tzschichholz [Mon, 11 Sep 2017 06:05:54 +0000 (08:05 +0200)]
Release 0.38.1
Rico Tzschichholz [Mon, 11 Sep 2017 06:00:13 +0000 (08:00 +0200)]
gtk+-4.0: Update to 3.91.2+
b0e8d848
Rico Tzschichholz [Sat, 9 Sep 2017 16:47:20 +0000 (18:47 +0200)]
method: Use prototype-string for return-type mismatch
Include owndership transfer classifier to fix 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 19:50:34 +0000 (21:50 +0200)]
build: Fix vapidir args for libgvc
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()
Rico Tzschichholz [Wed, 6 Sep 2017 16:01:22 +0000 (18:01 +0200)]
libvaladoc: Avoid some lambdas by re-using methods
Rico Tzschichholz [Tue, 14 Mar 2017 13:37:13 +0000 (14:37 +0100)]
doc: Add support to build docs for vala itself
Rico Tzschichholz [Wed, 6 Sep 2017 13:15:08 +0000 (15:15 +0200)]
doclet/html: Allow creation of links without performing browsable-check
Evaluate "--no-browsable-check" argument for html-doclet
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: Fix syntax of several documentation blocks
Jasper Lievisse Adriaanse [Tue, 5 Sep 2017 11:07:25 +0000 (13:07 +0200)]
valadoc: Don't use 'stderr' as variable name
It might clash with the definition in stdio.h, e.g. on OpenBSD.
https://bugzilla.gnome.org/show_bug.cgi?id=787305
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 [Mon, 4 Sep 2017 10:26:57 +0000 (12:26 +0200)]
Release 0.38.0
Rico Tzschichholz [Sun, 3 Sep 2017 19:22:55 +0000 (21:22 +0200)]
gio-2.0: Application.set_default() is not an instance method
Rico Tzschichholz [Sun, 3 Sep 2017 17:34:17 +0000 (19:34 +0200)]
pangocairo: CairoFontMap.set_default() is not an instance method
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, 26 Aug 2017 15:45:10 +0000 (17:45 +0200)]
Improve error while method is incompatible with delegate
Add virtual DataType.to_prototype_string() and use a common implementation
in CallableType for its descendents.
Rico Tzschichholz [Sat, 2 Sep 2017 08:53:41 +0000 (10:53 +0200)]
vala: Add CallableType as base for DelegateType, MethodType, SignalType
Rico Tzschichholz [Wed, 30 Aug 2017 19:10:09 +0000 (21:10 +0200)]
codegen: Add support for "type-func" in ui-files
If "type-func" attribute is given then prefer it over "class" if matching
it to a known object is possible.
https://bugzilla.gnome.org/show_bug.cgi?id=787033
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 [Mon, 28 Aug 2017 06:11:32 +0000 (08:11 +0200)]
Release 0.37.91
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 18:01:20 +0000 (20:01 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 22 Aug 2017 13:31:54 +0000 (15:31 +0200)]
codegen: Use given dup_function for structs
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 [Sat, 26 Aug 2017 12:52:44 +0000 (14:52 +0200)]
libvaladoc: Fix some -Wincompatible-pointer-types warnings
Rico Tzschichholz [Sat, 26 Aug 2017 10:48:38 +0000 (12:48 +0200)]
girparser: Better support of "cprefix" argument in metadata
Rico Tzschichholz [Sat, 26 Aug 2017 10:43:53 +0000 (12:43 +0200)]
girparser: Support "cname" argument in metadata
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, 21 Jun 2017 18:07:22 +0000 (20:07 +0200)]
vapi: Add javascriptcoregtk-4.0 and avoid skips in webkit2gtk*-4.0
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 [Mon, 21 Aug 2017 08:27:56 +0000 (10:27 +0200)]
Release 0.37.90
Rico Tzschichholz [Mon, 21 Aug 2017 08:50:42 +0000 (10:50 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 20 Aug 2017 11:45:36 +0000 (13:45 +0200)]
valadoc/tests: Add ./vala/.libs rather than ./gee/.libs to LD_LIBRARY_PATH
Rico Tzschichholz [Sun, 20 Aug 2017 11:10:09 +0000 (13:10 +0200)]
build: Add missing include of Makefile.common
Rico Tzschichholz [Sun, 20 Aug 2017 10:59:53 +0000 (12:59 +0200)]
doclets: Explicitly link against libvala-*.la
https://bugzilla.gnome.org/show_bug.cgi?id=786534
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 [Sat, 19 Aug 2017 11:05:22 +0000 (13:05 +0200)]
valadoc/tests: Add the source vapi directory to driver-test
https://bugzilla.gnome.org/show_bug.cgi?id=786505
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 [Thu, 10 Aug 2017 09:13:54 +0000 (11:13 +0200)]
g-i: Fix deprecation warnings
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 [Thu, 10 Aug 2017 14:25:51 +0000 (16:25 +0200)]
gtk+-4.0: Make Gsk.Texturer.for_*() static factory methods
Rico Tzschichholz [Wed, 9 Aug 2017 12:59:39 +0000 (14:59 +0200)]
Release 0.37.2
Rico Tzschichholz [Wed, 9 Aug 2017 23:03:00 +0000 (01:03 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 9 Aug 2017 11:25:28 +0000 (13:25 +0200)]
gtk+-4.0: Update to 3.91.2
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
Rico Tzschichholz [Wed, 2 Aug 2017 06:31:21 +0000 (08:31 +0200)]
gtk+-4.0: Update metadata and fix Widget.size_allocate
Rico Tzschichholz [Tue, 1 Aug 2017 15:34:03 +0000 (17:34 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 17 Jul 2017 16:04:33 +0000 (18:04 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Fri, 14 Jul 2017 13:07:07 +0000 (15:07 +0200)]
libvaladoc: Avoid nullable enum as property-type
https://bugzilla.gnome.org/show_bug.cgi?id=784927
Rico Tzschichholz [Sat, 8 Jul 2017 18:52:55 +0000 (20:52 +0200)]
valadoc: Drop superfluous VALA_0_32 conditionals
Fixes tests while bootstapping with valac < 0.31/32
Rico Tzschichholz [Sat, 8 Jul 2017 18:51:18 +0000 (20:51 +0200)]
libvaladoc: Keep bootstrap-support with valac >= 0.16.1
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 [Fri, 7 Jul 2017 12:16:16 +0000 (14:16 +0200)]
glib-2.0: Update Unicode symbols
Rico Tzschichholz [Thu, 18 May 2017 10:19:56 +0000 (12:19 +0200)]
Release 0.37.1
Rico Tzschichholz [Mon, 3 Jul 2017 08:34:42 +0000 (10:34 +0200)]
build: Use --use-header for libvaladoc
Reduces the size of generated c-sources while avoiding redefinitions.
Rico Tzschichholz [Mon, 3 Jul 2017 07:38:40 +0000 (09:38 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 27 Jun 2017 11:09:30 +0000 (13:09 +0200)]
Merge valadoc 0.36.0
Consider valadoc a part of vala's toolchain and therefore let it live in
the main repository.
With this merge there is no need to maintain multiple driver sources since
only one is required from now on.
There is no dependency on gee-0.8 and vala's internal gee copy has made to
be sufficient.
The libvaladoc library will be suffixed with vala's version suffix too.
Besides this renaming the rest of the valadoc file layout is kept the same.
https://bugzilla.gnome.org/show_bug.cgi?id=782782
Rico Tzschichholz [Thu, 1 Jun 2017 12:29:02 +0000 (14:29 +0200)]
libgvc: Add WITH_CGRAPH conditionals
Rico Tzschichholz [Thu, 1 Jun 2017 09:22:27 +0000 (11:22 +0200)]
gee: Add some useful symbols from gee-0.8
Rico Tzschichholz [Thu, 1 Jun 2017 16:10:12 +0000 (18:10 +0200)]
build: Generate libvala-0.XX.vapi in vala
Rico Tzschichholz [Thu, 1 Jun 2017 17:08:38 +0000 (19:08 +0200)]
Drop superfluous inheriting from GLib.Object
Rico Tzschichholz [Tue, 27 Jun 2017 10:21:44 +0000 (12:21 +0200)]
Prepare valadoc source-tree for merge
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, 21 Jun 2017 07:58:50 +0000 (09:58 +0200)]
glib-2.0: Add bindings for g_ascii_string_to_(un)signed()
Rico Tzschichholz [Tue, 20 Jun 2017 10:49:54 +0000 (12:49 +0200)]
webkit2gtk-4.0: Update to 2.17.4
Rico Tzschichholz [Fri, 24 Mar 2017 06:56:25 +0000 (07:56 +0100)]
codegen: Don't allow assigning delegate if no target/closure is available
https://bugzilla.gnome.org/show_bug.cgi?id=598869
Rico Tzschichholz [Mon, 19 Jun 2017 12:43:14 +0000 (14:43 +0200)]
codegenerator: Add source_reference parameter to CodeGenerator.store_*()
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
Rico Tzschichholz [Sat, 17 Jun 2017 14:42:51 +0000 (16:42 +0200)]
vapi: Update GIR-based bindings
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