]>
git.ipfire.org Git - thirdparty/vala.git/log
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
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 [Sat, 18 Mar 2017 15:22:19 +0000 (16:22 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 18 Mar 2017 08:17:54 +0000 (09:17 +0100)]
Release 0.36.0
Alistair Thomas [Mon, 6 Mar 2017 18:44:24 +0000 (18:44 +0000)]
Rework NEWS for 0.36.0 release
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
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
Rico Tzschichholz [Tue, 14 Mar 2017 12:55:47 +0000 (13:55 +0100)]
vala: Make MarkupReader a simple class *not* derived from GLib.Object
MarkupReader contains 3 properties which emit a g_object_notify() on every
set which is not wanted and generates useless overhead.
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 [Tue, 14 Mar 2017 10:49:13 +0000 (11:49 +0100)]
tests: Merge two main methods
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
Rico Tzschichholz [Mon, 13 Mar 2017 12:53:59 +0000 (13:53 +0100)]
Introduce $API_VERSION as base for $PACKAGE_SUFFIX and for usage in manual
This goes along with unbreaking the manual-build with libxslt < 1.1.27.
https://bugzilla.gnome.org/show_bug.cgi?id=779968
Rico Tzschichholz [Mon, 13 Mar 2017 07:22:44 +0000 (08:22 +0100)]
Release 0.35.90
Rico Tzschichholz [Mon, 13 Mar 2017 07:20:27 +0000 (08:20 +0100)]
manual: xsltproc is required for all targets
Rico Tzschichholz [Sun, 12 Mar 2017 21:33:34 +0000 (22:33 +0100)]
codegen: Property equality check can't be applied to non-automatic-bodies
This is check was introduced with
64b9bfc1bc0abfed45ad07a8ebaef8a5f167f848
https://bugzilla.gnome.org/show_bug.cgi?id=779955
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 23:15:31 +0000 (23:15 +0000)]
manual: Add a README about editing the manual
Alistair Thomas [Sat, 11 Mar 2017 22:52:00 +0000 (22:52 +0000)]
manual: Add pdf target that uses WeasyPrint
Alistair Thomas [Sat, 11 Mar 2017 21:33:18 +0000 (21:33 +0000)]
manual: Add print target for single page HTML and CSS paged media styling
Alistair Thomas [Wed, 8 Mar 2017 21:01:41 +0000 (21:01 +0000)]
manual: Add navigation links to top bar
Alistair Thomas [Sun, 5 Mar 2017 20:07:26 +0000 (20:07 +0000)]
manual: Generate section and sub-section numbers
Alistair Thomas [Fri, 3 Mar 2017 19:11:24 +0000 (19:11 +0000)]
manual: Add version information and copyright to manual
The documentation is downloaded from the GNOME wiki. So the same copyright
notice is used. The wiki states (c) The GNOME Project at the bottom of each
page. The license for all new documentation is CC-BY-SA 4.0. See
https://wiki.gnome.org/DocumentationProject/Guide/Licensing
Alistair Thomas [Sat, 11 Mar 2017 21:36:56 +0000 (21:36 +0000)]
manual: Update from wiki.gnome.org
Rico Tzschichholz [Sat, 11 Mar 2017 16:50:08 +0000 (17:50 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 11 Mar 2017 09:34:34 +0000 (10:34 +0100)]
codegen: Accessor of interface-property might be absent
Avoid criticals while unconditionaly trying to chain-up to non-existing
property-accessors without checking for null.
Rico Tzschichholz [Tue, 7 Mar 2017 22:12:37 +0000 (23:12 +0100)]
class: Perform more thorough compatibility check of inherited properties
https://bugzilla.gnome.org/show_bug.cgi?id=779038
Simon Werbeck [Thu, 14 Aug 2014 19:47:44 +0000 (21:47 +0200)]
vala: Disallow private accessors in overridable properties
https://bugzilla.gnome.org/show_bug.cgi?id=603491
Rico Tzschichholz [Thu, 9 Mar 2017 09:53:17 +0000 (10:53 +0100)]
Mark chained relational expressions as stable
https://bugzilla.gnome.org/show_bug.cgi?id=677022
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