Evan Nemerson [Mon, 4 Aug 2014 17:25:07 +0000 (10:25 -0700)]
Replace WebKit 3.0 bindings with 4.0.
WebKitGTK+ is bumping their API version to 4.0 starting with 2.5.1.
These bindings haven't been part of a stable Vala release, so it should
be safe to just bump the version we distribute, too, instead of adding
4.0 alongside 3.0.
The librsvg bindings distributed with Vala have been deprecated in
favor of those distributed with librsvg for some time now. By
removing them from the gir-bindings target we can avoid API changes
and keep CI working while still updating the GIR for valadoc.org.
Simon Werbeck [Fri, 27 Jun 2014 23:41:52 +0000 (01:41 +0200)]
Set G_SIGNAL_DEPRECATED on annotated signals
When using the [Deprecated] attribute on a signal, the corresponding
signal flag is now set upon signal creation. This requires that
--target-glib is set accordingly
Luca Bruno [Sat, 28 Jun 2014 08:42:14 +0000 (10:42 +0200)]
codewriter: Do not write (unowned string)[] for constants
The element type of a constant array is forced to be unowned
in the parser. Therefore we don't write (unowned string) to avoid
breaking vapi parsing uselessly with older valac versions.
Evan Nemerson [Mon, 2 Jun 2014 17:18:26 +0000 (10:18 -0700)]
gstreamer-rtsp-server-1.0: update bindings
The previous bindings only worked for an unstable pre-release version
of gstreamer-rtsp-server-1.0. The new (stable) version is not
backwards compatible, so neither can the Vala bindings be. Since we
had to break backwards compatibilitiy, why not go big? I've taken the
opportunity to move the bindings into the Gst.RTSPServer namespace to
better match the other gstreamer bindings, as well as other assorted
less-disruptive clean-ups.
Evan Nemerson [Thu, 12 Jun 2014 15:12:24 +0000 (08:12 -0700)]
glib-2.0: add static methods back into Sequence, marked as deprecated
They are, it seems, usable by calling them as if they were instance
methods. However, doing so causes a warning from valac ("Access to
static member ... with an instance reference").
Evan Nemerson [Fri, 6 Jun 2014 04:15:10 +0000 (21:15 -0700)]
glib-2.0: add GLib.HashSet
This is basically just a convenience wrapper around GLib.HashTable
where the key and value are set to the same value, providing a set
data type instead of a map.
Evan Nemerson [Sat, 31 May 2014 04:15:13 +0000 (21:15 -0700)]
glib-2.0: remove HashTable.get_keys_as_array
This was causing a syntax error when trying to compile Vala with an
older version of valac (whatever is in gnome-continuous). It looks
like we should hold off on adding stuff with this syntax until
next cycle.
Evan Nemerson [Mon, 26 May 2014 02:42:00 +0000 (19:42 -0700)]
girparser: don't deprecate children of deprecated containers
GObject Introspection doesn't support marking entire types as
deprecated, so we end up with a lot of places where the type isn't
deprecated, but every method, property, field, signal, etc. in it is,
which causes a lot of spew during compilation. This patch allows us
to easily deprecate a type in metadata and any extra deprecation
information on child symbols will be omitted.
Evan Nemerson [Mon, 26 May 2014 02:39:48 +0000 (19:39 -0700)]
girparser: support return_void metadata argument
This allows us to generate backwards compatible signatures for
functions with a void return value and a single out param for a struct
from metadata files instead of resorting to *-custom.vala.
Evan Nemerson [Wed, 28 May 2014 19:13:05 +0000 (12:13 -0700)]
gstreamer-1.0: update to latest git.
Using bindings some libraries, such as gstreamer-audio-1.0, will break
compatibility with gstreamer 1.0 since gstreamer didn't include
single-include headers until 1.2.
Evan Nemerson [Wed, 28 May 2014 04:42:10 +0000 (21:42 -0700)]
libsoup-2.4: deprecate Buffer.new and MessageBody.append
These functions require the user to correctly specify a Soup.MemoryUse
argument, but that's easy to get wrong without understanding how the
memory is managed. Alternatives for these functions which will always
transfer ownership of the memory have been in place since 2.32, so
from now on we will emit a warning when someone tries to use the old
versions.