]>
git.ipfire.org Git - thirdparty/vala.git/log
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
Rico Tzschichholz [Sun, 11 Jun 2017 10:49:40 +0000 (12:49 +0200)]
gir-importer: Ignore <attribute> tags
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
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 [Wed, 7 Jun 2017 10:40:23 +0000 (12:40 +0200)]
vapi: Update GIR-based bindings
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 [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 [Fri, 2 Jun 2017 17:36:07 +0000 (19:36 +0200)]
gobject-2.0: Add GLib.ParamSpecPointer
Rico Tzschichholz [Tue, 30 May 2017 13:15:00 +0000 (15:15 +0200)]
gtk+-4.0: Update to 3.91.0+
a4e80efe
Rico Tzschichholz [Tue, 23 May 2017 14:45:37 +0000 (16:45 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 18 May 2017 10:11:04 +0000 (12:11 +0200)]
vapi: Update GIR-based bindings
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 10:38:06 +0000 (12:38 +0200)]
Install libvala-0.xx.vapi to "global" vapi directory
This is how libraries with vala bindings are expected to behave and so
should vala itself.
Rico Tzschichholz [Wed, 17 May 2017 09:49:27 +0000 (11:49 +0200)]
codegen: Use *_free_full to free GLib.List, GLib.SList and GLib.Queue
g_list_free_full and g_slist_free_full are available since 2.28.
g_queue_free_full is available since 2.32.
Rico Tzschichholz [Mon, 1 May 2017 09:15:56 +0000 (11:15 +0200)]
Require and target GLib >= 2.40
The next stable release of vala will happen 3.5 years after the
release of GLib 2.40.0.
https://bugzilla.gnome.org/show_bug.cgi?id=782005
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:50 +0000 (17:30 +0200)]
vapi: Update GIR-based bindings
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
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.
https://bugzilla.gnome.org/show_bug.cgi?id=741929
Rico Tzschichholz [Sun, 7 May 2017 07:52:25 +0000 (09:52 +0200)]
gtk+-4.0: Update Container.forall/set_focus_child()
Rico Tzschichholz [Thu, 4 May 2017 18:33:11 +0000 (20:33 +0200)]
glib-2.0: Add bindings for g_ptr_array_find/_find_with_equal_func()
Rico Tzschichholz [Thu, 4 May 2017 20:41:31 +0000 (22:41 +0200)]
vapi: Update GIR-based bindings
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
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 [Fri, 24 Feb 2017 21:22:21 +0000 (22:22 +0100)]
codewriter: Update timestamps of generated c-files if needed
If a changed source-file produces the same ccode we currently leave
existing files untouched. Although it is better to update the modification
timestamp of those to at least meet the one of associated source-file.
https://bugzilla.gnome.org/show_bug.cgi?id=683286
Michael Biebl [Thu, 15 Sep 2016 01:41:00 +0000 (03:41 +0200)]
tests: Use dbus-run-session instead of dbus-launch
dbus-launch is X11-specific and contains a lot of legacy code to
support X11 autolaunching. It should not be part of the Wayland
future.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836067
https://bugzilla.gnome.org/show_bug.cgi?id=771455
Rico Tzschichholz [Wed, 26 Apr 2017 17:36:46 +0000 (19:36 +0200)]
build: Make sure to dist all generated headers
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 11:52:27 +0000 (13:52 +0200)]
build: Use --use-header for libraries
Reduces the size of generated c-sources while avoiding redefinitions.
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
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 [Wed, 12 Apr 2017 11:19:32 +0000 (13:19 +0200)]
compiler: Add --color=WHEN option
It follows the format of other tools like diff and git-diff.
Rico Tzschichholz [Wed, 12 Apr 2017 12:06:22 +0000 (14:06 +0200)]
glib-2.0: Add quark() functions to errordomains
Rico Tzschichholz [Tue, 11 Apr 2017 12:42:46 +0000 (14:42 +0200)]
codegen: Use g_object_notify_by_pspec() to notify property-changes
Rico Tzschichholz [Fri, 14 Apr 2017 18:41:30 +0000 (20:41 +0200)]
build: Make ccode and codegen private API
valac is the only consumer and will statically link these libraries.
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 [Fri, 14 Apr 2017 18:41:30 +0000 (20:41 +0200)]
Bump version suffix
Rico Tzschichholz [Mon, 3 Apr 2017 07:10:17 +0000 (09:10 +0200)]
glib-2.0,gio-2.0,gobject-2.0: Updates from 2.53
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
Rico Tzschichholz [Tue, 21 Mar 2017 15:26:13 +0000 (16:26 +0100)]
Release 0.36.0
Rico Tzschichholz [Tue, 21 Mar 2017 15:25:08 +0000 (16:25 +0100)]
doc: Generate and update manpages
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