]>
git.ipfire.org Git - thirdparty/vala.git/log
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
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 15:30:03 +0000 (16:30 +0100)]
signalmodule: Add signal-emitter declaration if needed
https://bugzilla.gnome.org/show_bug.cgi?id=779609
Rico Tzschichholz [Tue, 7 Mar 2017 09:51:30 +0000 (10:51 +0100)]
Release 0.35.7
Rico Tzschichholz [Sun, 5 Mar 2017 17:00:40 +0000 (18:00 +0100)]
docs: Generate and update manpages
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
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 [Sun, 20 Oct 2013 15:19:35 +0000 (17:19 +0200)]
gdk-pixbuf-2.0: Fix Pixbuf.save_to_stream_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
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 [Sun, 5 Mar 2017 22:19:44 +0000 (23:19 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 5 Mar 2017 18:57:41 +0000 (19:57 +0100)]
glib-2.0: Update "g_utf8_make_valid" binding
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
Francisco Serna [Tue, 14 Feb 2017 21:05:13 +0000 (16:05 -0500)]
signalmodule: Add support for array-parameters with rank > 1
https://bugzilla.gnome.org/show_bug.cgi?id=778632
Rico Tzschichholz [Fri, 4 Nov 2016 17:06:37 +0000 (18:06 +0100)]
tests: Add a bunch of chain-up tests
https://bugzilla.gnome.org/show_bug.cgi?id=567269
Rico Tzschichholz [Sun, 5 Mar 2017 11:44:38 +0000 (12:44 +0100)]
glib-2.0: Add bindings for GPOINTER_TO_* as from_pointer()
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
Rico Tzschichholz [Thu, 2 Mar 2017 17:24:47 +0000 (18:24 +0100)]
manual: Actually install files into "bookdir" instead of a subfolder
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.
Rico Tzschichholz [Wed, 1 Mar 2017 13:31:35 +0000 (14:31 +0100)]
gio-2.0: Re-add old bindings for DBus{Connection|ObjectManagerClient|Proxy}
Keep backwards compatibility for those async-constructor which were dropped
with
4123914c1eecf16696d53cc25367440c221be94d
Rico Tzschichholz [Tue, 28 Feb 2017 08:00:24 +0000 (09:00 +0100)]
vapi: Add libgrss bindings
https://bugzilla.gnome.org/show_bug.cgi?id=779318
Daniel Espinosa [Wed, 1 Mar 2017 16:47:54 +0000 (10:47 -0600)]
Set libxml2 method accepting nullable
Rico Tzschichholz [Tue, 28 Feb 2017 17:40:59 +0000 (18:40 +0100)]
codegen: Default to void-return for vfunc pointer cast of *_async methods
This make it match vala's generated code of async-module.
To properly account for non-void *_async methods we require some additional
metadata since only the return-type of *_finish method is known.
Rico Tzschichholz [Tue, 28 Feb 2017 15:19:29 +0000 (16:19 +0100)]
gdk-pixbuf-2.0: Use correct finish-func for Pixbuf.from_stream_at_scale_async()
https://bugzilla.gnome.org/show_bug.cgi?id=779366
Rico Tzschichholz [Tue, 28 Feb 2017 12:49:20 +0000 (13:49 +0100)]
codegen: Fix vfunc pointer cast for async method implementation/override
Rico Tzschichholz [Tue, 28 Feb 2017 10:36:30 +0000 (11:36 +0100)]
codegen: Cast destroy_data for g_cclosure_new to GClosureNotify
Rico Tzschichholz [Mon, 27 Feb 2017 14:45:40 +0000 (15:45 +0100)]
codegen: Cast *_destroy_func arg of generic-types calls to GDestroyNotify
Rico Tzschichholz [Mon, 27 Feb 2017 13:51:25 +0000 (14:51 +0100)]
gobject-2.0: Add some missing "array_length_type" annotations
Rico Tzschichholz [Mon, 27 Feb 2017 10:46:36 +0000 (11:46 +0100)]
Release 0.35.6
Rico Tzschichholz [Sun, 26 Feb 2017 09:29:36 +0000 (10:29 +0100)]
glib-2.0: Add more Error bindings
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 [Sat, 25 Feb 2017 16:37:18 +0000 (17:37 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 25 Feb 2017 12:09:35 +0000 (13:09 +0100)]
codegen: Cast vfunc pointer assigns of abstract overrides
https://bugzilla.gnome.org/show_bug.cgi?id=777958
Rico Tzschichholz [Sat, 25 Feb 2017 12:07:11 +0000 (13:07 +0100)]
codegen: Pass pointer of matching type to property-getter
https://bugzilla.gnome.org/show_bug.cgi?id=777958
Rico Tzschichholz [Fri, 24 Feb 2017 14:00:18 +0000 (15:00 +0100)]
tests: Enable -Werror=int-conversion
Nikolay Orlyuk [Tue, 19 Feb 2013 00:35:29 +0000 (02:35 +0200)]
codegen: Fix instance parameter for property setter in SimpleType structs
Add test-case and fix code generator for call to the setter to pass
instance as a value rather than as a pointer to value.
Based on patches by Nathan Summers.
https://bugzilla.gnome.org/show_bug.cgi?id=657346
Rico Tzschichholz [Thu, 23 Feb 2017 21:59:02 +0000 (22:59 +0100)]
codegen: Don't add static modifier to abstract property setters
https://bugzilla.gnome.org/show_bug.cgi?id=673389
Rico Tzschichholz [Fri, 24 Feb 2017 13:23:45 +0000 (14:23 +0100)]
gtk+-X.0: Mark "iter" param of ListStore.remove() as ref
Rico Tzschichholz [Wed, 22 Feb 2017 19:40:01 +0000 (20:40 +0100)]
cairo: Add bindings for cairo_*_user_data()
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 [Tue, 21 Feb 2017 17:12:00 +0000 (18:12 +0100)]
tests: Add N-D array tests
mrmacete [Tue, 21 Feb 2017 14:34:43 +0000 (15:34 +0100)]
gdbus: Fix memleak using g_task_propagate_pointer
https://bugzilla.gnome.org/show_bug.cgi?id=778993
Rico Tzschichholz [Mon, 20 Feb 2017 15:38:01 +0000 (16:38 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 20 Feb 2017 15:25:02 +0000 (16:25 +0100)]
glib-2.0: Add G_CHECKSUM_SHA384
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
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
Dr. Michael Lauer [Sat, 18 Feb 2017 16:29:39 +0000 (17:29 +0100)]
linux: add non-posix fcntl constants
Fixes bugs 729804 and 729805
https://bugzilla.gnome.org/show_bug.cgi?id=729804
https://bugzilla.gnome.org/show_bug.cgi?id=729805
Vladislav [Sun, 22 Jan 2017 21:46:57 +0000 (23:46 +0200)]
geniescanner: Remove trailing spaces/tabs
https://bugzilla.gnome.org/show_bug.cgi?id=611085
Rico Tzschichholz [Thu, 5 Jan 2017 11:17:21 +0000 (12:17 +0100)]
genieparser: Allow comma-separated identifiers in definition of enums
https://bugzilla.gnome.org/show_bug.cgi?id=776833
Rico Tzschichholz [Thu, 16 Feb 2017 11:00:27 +0000 (12:00 +0100)]
gobject-2.0: Fix bootstrap build with valac < 0.26
Rico Tzschichholz [Wed, 15 Feb 2017 18:48:15 +0000 (19:48 +0100)]
glib-2.0: Mark va_list.arg() with simple-generics to allow int64 or double
Rico Tzschichholz [Tue, 14 Feb 2017 10:32:18 +0000 (11:32 +0100)]
Release 0.35.5
Rico Tzschichholz [Tue, 14 Feb 2017 09:51:35 +0000 (10:51 +0100)]
gobject-2.0: Reinstate required "lower_case_csuffix" of TypeModule
Rico Tzschichholz [Tue, 14 Feb 2017 09:00:44 +0000 (10:00 +0100)]
Release 0.35.4
Rico Tzschichholz [Tue, 14 Feb 2017 09:00:15 +0000 (10:00 +0100)]
gobject-2.0: Fix cheader typo
Rico Tzschichholz [Sat, 4 Feb 2017 12:44:43 +0000 (13:44 +0100)]
sdl: Make Palette and PixelFormat a struct
https://bugzilla.gnome.org/show_bug.cgi?id=778052
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 [Mon, 13 Feb 2017 21:24:17 +0000 (22:24 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 13 Feb 2017 16:30:29 +0000 (17:30 +0100)]
codegen: Don't create duplicated complete-async code
Treat methods with non-void return-type special while they require a return
statement. This does not account for a trailing superfluous "return" which
will still trigger this code-duplication.
https://bugzilla.gnome.org/show_bug.cgi?id=778302
Carlos Garnacho [Sun, 12 Feb 2017 22:10:05 +0000 (23:10 +0100)]
gdbus: Handle errors when extracting fds from dbus messages
On the right situations (eg. fd exhaustion), both
g_dbus_message_get_unix_fd_list() and g_unix_fd_list_get() should be
considered failable here. Add proper error handling to avoid triggering
glib warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=778540
Carlos Garnacho [Sun, 12 Feb 2017 22:02:34 +0000 (23:02 +0100)]
gdbus: Ensure extracted data from the GVariant is freed on error
This will make extracted variables properly freed when extracting those
fails at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=778540
Carlos Garnacho [Sun, 12 Feb 2017 22:08:12 +0000 (23:08 +0100)]
gdbus: Initialize intermediate variables
Those may be left uninitialized after error handling paths are introduced,
so invalid data might be attempted to be freed later on.
https://bugzilla.gnome.org/show_bug.cgi?id=778540
Rico Tzschichholz [Sun, 12 Feb 2017 18:57:38 +0000 (19:57 +0100)]
Fix broken
20a1536f9911c1aadbfbe046bc01afc57bb724a5
https://bugzilla.gnome.org/show_bug.cgi?id=777697
Rico Tzschichholz [Thu, 12 Jan 2017 21:01:52 +0000 (22:01 +0100)]
codegen: Support casting arbitary value-types to arrays
Also calculate a valid length for the resulting array.
This enables easier usage of common uint8[]-based buffer API.
https://bugzilla.gnome.org/show_bug.cgi?id=777194
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 [Fri, 20 Jan 2017 17:09:38 +0000 (18:09 +0100)]
codegen: Fix memory leak when using object initializer for properties
Assigning values to properties this way leads to a ref/copy of the source
and therefore requires a unref/destroy afterwards.
https://bugzilla.gnome.org/show_bug.cgi?id=766739
Rico Tzschichholz [Thu, 9 Feb 2017 14:09:49 +0000 (15:09 +0100)]
glib-2.0: Add uuid_string_* symbols
Michael James Gratton [Mon, 6 Feb 2017 05:47:21 +0000 (16:47 +1100)]
codegen: Don't return void for non-nullable simple-type structs
https://bugzilla.gnome.org/show_bug.cgi?id=778224
Rico Tzschichholz [Sat, 4 Feb 2017 12:12:18 +0000 (13:12 +0100)]
gdk-2.0: Include gdk/gdkkeysyms.h for Gdk.Key
Required since gdk.h doesn't include gdk/gdkkeysyms.h as gdk-3.0 does.
https://bugzilla.gnome.org/show_bug.cgi?id=778173
Rico Tzschichholz [Wed, 1 Feb 2017 18:40:43 +0000 (19:40 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 22 Jan 2017 14:02:28 +0000 (15:02 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 17 Jan 2017 12:23:15 +0000 (13:23 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 17 Jan 2017 11:58:45 +0000 (12:58 +0100)]
vapi: Remove clutter-json-1.0
It went obsolete since Clutter 1.6.0 has been released, 6 years ago.