]>
git.ipfire.org Git - thirdparty/vala.git/log
Jürg Billeter [Wed, 18 Jul 2012 11:58:15 +0000 (13:58 +0200)]
udisks2: Regenerate
Jürg Billeter [Wed, 18 Jul 2012 11:55:43 +0000 (13:55 +0200)]
gdk-pixbuf-2.0: Regenerate
Fixes bug 680060.
Jürg Billeter [Wed, 18 Jul 2012 11:53:44 +0000 (13:53 +0200)]
girparser: Fix async creation methods throwing errors
Simon Werbeck [Tue, 27 Mar 2012 22:59:17 +0000 (00:59 +0200)]
Support 'using' directive with nested namespace in fast-vapi
Fixes bug 672960.
Jürg Billeter [Wed, 18 Jul 2012 10:42:23 +0000 (12:42 +0200)]
Fix async object creation expressions
Fixes bug 680063.
Jürg Billeter [Wed, 18 Jul 2012 10:16:12 +0000 (12:16 +0200)]
codegen: Fix access to null-terminated array properties
Fixes bug 623518.
Sébastien Wilmet [Wed, 4 Jul 2012 19:39:01 +0000 (21:39 +0200)]
glib-2.0: add string.get_prev_char()
This is the opposite of string.get_next_char().
There is a difference though, to be more convenient in a loop:
get_next_char() returns the current chararcter, and the next index.
get_prev_char() returns the previous character, and the previous index.
Fixes bug 655185.
Jürg Billeter [Mon, 16 Jul 2012 20:23:50 +0000 (22:23 +0200)]
Release 0.17.3
Jürg Billeter [Mon, 16 Jul 2012 20:14:43 +0000 (22:14 +0200)]
gtk+-2.0, gtk+-3.0: Fix gtk_selection_data_get_targets binding
Fixes bug 679830.
Jürg Billeter [Mon, 16 Jul 2012 19:21:05 +0000 (21:21 +0200)]
codegen: Fix conversion from generic pointer to long integer
Fixes bug 660621.
Jürg Billeter [Mon, 16 Jul 2012 18:55:50 +0000 (20:55 +0200)]
Require and target GLib >= 2.18
This allows valac to use gintptr and guintptr. The next stable release
of vala will happen four years after the release of GLib 2.18.0.
Maciej Piechotka [Mon, 19 Dec 2011 02:24:28 +0000 (03:24 +0100)]
Merge attributes on merge of namespace
On merge the attribute of second namespace were silently ignored. This patch
treats them as they were specified sequentially.
Fixes bug 666478.
Maciej Piechotka [Sat, 7 Jan 2012 03:19:25 +0000 (04:19 +0100)]
codegen: Fix array move when the areas don't overlap
Fixes bug 667452.
Robert Ancell [Tue, 3 Jul 2012 10:17:19 +0000 (22:17 +1200)]
gtk+-3.0: Fix gtk_application_add_accelerator nullable parameter
Dmitry Vagin [Thu, 28 Jun 2012 06:40:20 +0000 (23:40 -0700)]
posix: fix inet_ntop binding, clean up some style issues
Fixes bug 678988.
Dmitry Vagin [Tue, 26 Jun 2012 21:45:20 +0000 (14:45 -0700)]
libpq: fix freeing of Postgres.Notify
Fixes bug 678910.
Evan Nemerson [Tue, 26 Jun 2012 08:38:31 +0000 (01:38 -0700)]
gio-2.0: fix Settings.bind_with_mapping
This method is skipped in the GIR because of the shared user_data
parameter. Vala doesn't support this, either, so to get around it
we have to set has_target = false on the delegates and pass the void*
manually. This also changes the names of the relevant delegates so
there is no collision if/when the issue is resolved in GIO.
Jürg Billeter [Tue, 26 Jun 2012 06:54:34 +0000 (08:54 +0200)]
girparser: Fix criticals on varargs functions
Jürg Billeter [Tue, 26 Jun 2012 06:40:53 +0000 (08:40 +0200)]
girparser: Fix criticals when encountering async creation methods
Jürg Billeter [Tue, 26 Jun 2012 06:34:22 +0000 (08:34 +0200)]
Fix crash due to incorrect copy of attribute list
Fixes bug 678824.
Evan Nemerson [Mon, 25 Jun 2012 22:33:58 +0000 (15:33 -0700)]
gdk-pixbuf-2.0: remove some obsolete metadata
Evan Nemerson [Mon, 25 Jun 2012 21:30:02 +0000 (14:30 -0700)]
GIR parser: allow setting async finish functions in GIR
Evan Nemerson [Mon, 25 Jun 2012 20:55:31 +0000 (13:55 -0700)]
GIR parser: add default value to GCancellable arguments when possible
Florian Müllner [Mon, 25 Jun 2012 15:37:15 +0000 (17:37 +0200)]
vapi: Add missing GVariantTypes to glib-2.0
Alexander Larsson [Mon, 25 Jun 2012 14:17:20 +0000 (16:17 +0200)]
Update vapi file for latest gtk+ git master
Evan Nemerson [Sun, 24 Jun 2012 17:57:59 +0000 (10:57 -0700)]
codegen: allow integer-derived types as generic arguments
Fixes bug 677658.
Jürg Billeter [Sun, 24 Jun 2012 18:50:44 +0000 (20:50 +0200)]
GAsync: Support async creation methods
Fixes bug 659886.
Jürg Billeter [Sun, 24 Jun 2012 18:37:56 +0000 (20:37 +0200)]
codegen: Bring object creation implementation closer to method call
Jürg Billeter [Sun, 24 Jun 2012 16:33:06 +0000 (18:33 +0200)]
gio-2.0: Mark AsyncInitable.init_async as virtual
Evan Nemerson [Sun, 24 Jun 2012 16:09:36 +0000 (18:09 +0200)]
Generate correct unref expressions for subtypes of special cases
Fixes bug 617377.
Jürg Billeter [Sun, 24 Jun 2012 15:32:27 +0000 (17:32 +0200)]
girwriter: Write return value before parameters
Fixes bug 669552.
Jürg Billeter [Sun, 24 Jun 2012 15:23:15 +0000 (17:23 +0200)]
gtk+-2.0, gtk+-3.0: Fix gtk_widget_style_get_property binding
Fixes bug 671896.
Jürg Billeter [Sun, 24 Jun 2012 15:02:01 +0000 (17:02 +0200)]
Report error when accessing constants of outer methods
This is planned to be supported.
https://bugzilla.gnome.org/show_bug.cgi?id=678617
Jürg Billeter [Sun, 24 Jun 2012 07:36:31 +0000 (09:36 +0200)]
Release 0.17.2
Jürg Billeter [Sat, 23 Jun 2012 14:29:32 +0000 (16:29 +0200)]
codegen: Fix memory leak accessing automatic property with owned getter
Fixes bug 678630.
Jürg Billeter [Sat, 23 Jun 2012 14:23:23 +0000 (16:23 +0200)]
codegen: Fix line directives for ref_sink
Fixes bug 678237.
Evan Nemerson [Fri, 4 May 2012 08:43:55 +0000 (01:43 -0700)]
codegen: use glib macros instead of trying to guess correct names
Fixes bugs 675433, 673707, and 675364.
Evan Nemerson [Fri, 22 Jun 2012 19:36:14 +0000 (12:36 -0700)]
libgda-4.0, libgda-report-4.0, librsvg-2.0: deprecate
These libraries now distribute Vala bindings upstream which should be
preferred over those distributed with Vala.
Evan Nemerson [Fri, 22 Jun 2012 19:30:16 +0000 (12:30 -0700)]
vapigen: support deprecated namespace annotations in metadata files
Evan Nemerson [Fri, 22 Jun 2012 19:04:40 +0000 (12:04 -0700)]
Give priority to unversioned vapi directory
This allows bindings distributed with upstream libraries to be
prioritized over bindings distributed with Vala.
Evan Nemerson [Wed, 20 Jun 2012 18:39:33 +0000 (11:39 -0700)]
glib-2.0: make GLib.Pid inherit from int
Partially fixes bug 678420.
Evan Nemerson [Wed, 20 Jun 2012 18:42:49 +0000 (11:42 -0700)]
vapigen.m4: add an argument for the default value
The new argument allows people to specify a default value for enabling
Vala API generation (the default default value remains "auto"). This
is to accomodate projects, such as librsvg, which want more predictable
builds.
Evan Nemerson [Sat, 16 Jun 2012 22:26:57 +0000 (15:26 -0700)]
gdk-3.0: Gdk.EventKey does not have a GType
Fixes bug 678217.
Evan Nemerson [Sat, 16 Jun 2012 06:24:56 +0000 (23:24 -0700)]
bindings: update GIR-based bindings
Jürg Billeter [Thu, 14 Jun 2012 12:26:33 +0000 (14:26 +0200)]
codegen: Fix .begin on async methods returning structs
Jürg Billeter [Thu, 14 Jun 2012 08:56:38 +0000 (10:56 +0200)]
gtk+-3.0: Fix gtk_entry_get_text_area bindings
Sam Thursfield [Wed, 13 Jun 2012 04:54:15 +0000 (21:54 -0700)]
gio-2.0: make Drive and Volume get_sort_key method virtual
Evan Nemerson [Wed, 13 Jun 2012 03:55:48 +0000 (20:55 -0700)]
gdk-x11-2.0, gdk-x11-3.0: fix X11Display.broadcast_startup_message
Fixes bug 677986.
Evan Nemerson [Wed, 13 Jun 2012 02:51:56 +0000 (19:51 -0700)]
clutter-1.0: update bindings to latest git, remove obsolete data
Evan Nemerson [Wed, 13 Jun 2012 00:33:18 +0000 (17:33 -0700)]
girparser: handle multiple symbol prefixes
Evan Nemerson [Tue, 12 Jun 2012 18:48:55 +0000 (11:48 -0700)]
girparser: allow setting base_type of boxed types in metadata
Fixes bug 677906.
Michal Hruby [Tue, 12 Jun 2012 11:57:07 +0000 (13:57 +0200)]
girwriter: Use transfer-ownership=none for InitiallyUnowned based constructors
Alberto Ruiz [Mon, 11 Jun 2012 12:32:11 +0000 (13:32 +0100)]
bindings: Add gir_namespace and gir_version to dbus-glib-1.vapi
Evan Nemerson [Sat, 9 Jun 2012 20:33:47 +0000 (13:33 -0700)]
clutter-1.0: update to latest git
Fixes bug 669815.
Thijs Vermeir [Fri, 8 Jun 2012 11:46:07 +0000 (13:46 +0200)]
codegen: check return value before ref_sink the value
When a function is expected to give back a floating reference, the
caller is trying to ref_sink the reference after calling this function.
But when the function fails and returns NULL, the ref_sink function is
still called. This can lead to a runtime warning as the ref_sink
function is not expecting a NULL value. Additionally remove all
ref_sink_function_void, as this is only for C convenience.
Evan Nemerson [Fri, 8 Jun 2012 02:09:58 +0000 (19:09 -0700)]
gtk+-3.0: update to 3.5.5
Fixes bug 674090.
Evan Nemerson [Fri, 8 Jun 2012 01:42:46 +0000 (18:42 -0700)]
gtk+-2.0, gtk+-3.0: include necessary headers for IMContext(Info) types
Fixes bug 635664.
Evan Nemerson [Fri, 8 Jun 2012 01:14:22 +0000 (18:14 -0700)]
gtk+-2.0, gtk+-3.0: make TreeView.get_tooltip_context.x and y ref
Fixes bug 669507.
Robert Ancell [Fri, 8 Jun 2012 01:07:06 +0000 (18:07 -0700)]
gtk+-3.0: Gtk.Scrollbar constructor allows null adjustment
Fixes bug 669516.
David King [Fri, 8 Jun 2012 01:02:44 +0000 (18:02 -0700)]
gtk+-2.0, gtk+-3.0: fix Gtk.test_init
Fixes bug 669767.
Jesse van den Kieboom [Fri, 8 Jun 2012 00:53:29 +0000 (17:53 -0700)]
gtk+-2.0, gtk+-3.0: add is_ref annotation for TreeStore.remove
Fixes bug 675402.
Jesse van den Kieboom [Fri, 4 May 2012 15:31:39 +0000 (17:31 +0200)]
Added is_out annotation for StyleContext.lookup_color
Fixes bug 675403.
Evan Nemerson [Fri, 8 Jun 2012 00:44:22 +0000 (17:44 -0700)]
gtk+-3.0: hide SelectionData.get_data_with_length length parameter
Fixes bug 676849.
Evan Nemerson [Fri, 8 Jun 2012 00:40:08 +0000 (17:40 -0700)]
gtk+-3.0: add information to generate
2d0e7f49
Evan Nemerson [Fri, 8 Jun 2012 00:20:47 +0000 (17:20 -0700)]
dbus-glib-1: add dbus_g_connection_open binding
Fixes bug 622043.
Alexander Kurtz [Sat, 4 Feb 2012 20:02:28 +0000 (21:02 +0100)]
x11: Enable some fields which were previously commented out.
https://bugzilla.gnome.org/show_bug.cgi?id=669374
Evan Nemerson [Thu, 7 Jun 2012 22:54:53 +0000 (15:54 -0700)]
gstreamer-0.10: correct type id of Gst.TypeFindFactory
Partially fixes bug 675364.
Richard Schwarting [Thu, 7 Jun 2012 22:50:46 +0000 (15:50 -0700)]
libxml-2.0: add missing cnames to some Doc fields
Fixes bug 677354.
Evan Nemerson [Thu, 7 Jun 2012 22:49:48 +0000 (15:49 -0700)]
gdk-3.0: mark Gdk.Atom as derived from uint
Evan Nemerson [Wed, 6 Jun 2012 16:33:32 +0000 (09:33 -0700)]
glib-2.0: add ThreadPool.with_owned_data and ThreadPool.add
This allows for more intuitive use of ThreadPool. The old bindings
are marked as deprecated but kept in place to maintain backwards
compatibility. Fixes bug 676741.
Evan Nemerson [Tue, 5 Jun 2012 22:35:56 +0000 (15:35 -0700)]
gstreamer-0.10: fix Bus.create_watch return value type
Jacques-Pascal Deplaix [Tue, 5 Jun 2012 21:46:42 +0000 (14:46 -0700)]
vte, vte-2.90: fix Vte.Terminal.match_check binding
Fixes bug 676882.
Thijs Vermeir [Tue, 5 Jun 2012 20:42:25 +0000 (22:42 +0200)]
gstreamer-base-0.10: fix gst_push_src_create binding
Thijs Vermeir [Tue, 5 Jun 2012 20:41:18 +0000 (22:41 +0200)]
gstreamer-video-0.10: fix gst_video_get_size_from_caps binding
Richard Schwarting [Sat, 2 Jun 2012 22:26:35 +0000 (15:26 -0700)]
libxml-2.0: add SaveCtxt bindings
Partially fixes bug 677355.
Jürg Billeter [Sat, 2 Jun 2012 16:38:21 +0000 (18:38 +0200)]
Release 0.17.1
Jürg Billeter [Sat, 2 Jun 2012 16:26:09 +0000 (18:26 +0200)]
codegen: Fix assertion failure on empty string switch statement
Fixes bug 677205.
Jürg Billeter [Sat, 2 Jun 2012 16:17:43 +0000 (18:17 +0200)]
Improve assertion messages
Fixes bug 658825.
Jürg Billeter [Sat, 2 Jun 2012 15:40:24 +0000 (17:40 +0200)]
Use SourceLocation in SourceReference
Jürg Billeter [Sat, 2 Jun 2012 15:03:40 +0000 (17:03 +0200)]
GVariant: Fix memory leak when boxing and unboxing variants
Fixes bug 674201.
Jürg Billeter [Sat, 2 Jun 2012 14:09:54 +0000 (16:09 +0200)]
gnome-keyring-1: Fix gnome_keyring_item_get_info_sync binding
Fixes bug 677256.
Jürg Billeter [Sat, 2 Jun 2012 13:49:32 +0000 (15:49 +0200)]
codegen: Fix infinite recursion when using lambda in destructor
Fixes bug 677261.
Jürg Billeter [Sat, 2 Jun 2012 13:31:29 +0000 (15:31 +0200)]
glib-2.0: Fix typo in FileSeek attribute
Evan Nemerson [Fri, 1 Jun 2012 02:38:39 +0000 (19:38 -0700)]
glib-2.0: set FileSeek cname to "int"
Jürg Billeter [Thu, 31 May 2012 08:01:49 +0000 (10:01 +0200)]
Add --enable-gobject-tracing option
Inserts g_object_set_data (object, "vala-creation-function", METHOD)
after object creation.
Jürg Billeter [Wed, 30 May 2012 08:25:35 +0000 (10:25 +0200)]
gio-2.0: Fix g_mount_get_sort_key binding
Fixes bug 677073.
Evan Nemerson [Wed, 30 May 2012 06:58:51 +0000 (23:58 -0700)]
bindings: update numerous bindings to latest versions
clutter-gtk-1.0, gdk-pixbuf-2.0, gio-2.0, json-glib-1.0, libgdata,
libsoup-2.4, libwnck-3.0, and mx-1.0
Jürg Billeter [Tue, 29 May 2012 09:43:19 +0000 (11:43 +0200)]
glib-2.0: Include glib/gstdio.h when using DirUtils or Stat
Alexander Larsson [Tue, 29 May 2012 09:15:15 +0000 (11:15 +0200)]
Update clutter vapi to final Clutter 1.10.
Michal Hruby [Mon, 28 May 2012 19:35:06 +0000 (21:35 +0200)]
gdk-pixbuf-2.0: Rename take_data to with_unowned_data
Michal Hruby [Mon, 28 May 2012 18:46:45 +0000 (20:46 +0200)]
glib-2.0: Add Bytes.new_with_owner with an owned generic argument
Evan Nemerson [Fri, 25 May 2012 17:51:15 +0000 (10:51 -0700)]
gdk-3.0, libsoup-2.4, poppler-glib, rest-0.7, vte-2.90: update
Zeeshan Ali (Khattak) [Fri, 25 May 2012 06:35:26 +0000 (23:35 -0700)]
gdk-pixbuf-2.0: Change ownership of Pixbuf.from_data.data
This also adds a Pixbuf.take_data which behaves like the old version.
This can be helpful for avoiding unnecessary copies, but is easy to
get wrong.
Thanks to Patryk Zawadzki <patrys@pld-linux.org> for help in finding
this issue out. Fixes bug 676695.
Michal Hruby [Fri, 25 May 2012 12:38:30 +0000 (14:38 +0200)]
glib-2.0: Add a few Source methods
Jürg Billeter [Fri, 25 May 2012 10:25:32 +0000 (12:25 +0200)]
codegen: Fix capturing element variable of foreach without iterator
Jürg Billeter [Fri, 25 May 2012 09:39:44 +0000 (11:39 +0200)]
Support virtual interface signals
Fixes bug 676802.
Marc-André Lureau [Wed, 23 May 2012 00:24:31 +0000 (02:24 +0200)]
glib-2.0: annotate nullable GLib.Uri arguments and return values
g_uri_*() functions can take null values, return null as a normal
operation, ex: parse_scheme() returns null when no scheme...
https://bugzilla.gnome.org/show_bug.cgi?id=676609
Evan Nemerson [Tue, 22 May 2012 19:51:53 +0000 (12:51 -0700)]
posix: add statvfs and fstatvfs function bindings
statvfs is called statvfs_exec since just using statvfs would conflict
with the existing statvfs type.
Alexander Larsson [Mon, 14 May 2012 09:01:50 +0000 (11:01 +0200)]
Add direct vfunc accessors for Widget.get_preferred_height/width
These are available as get_preferred_height_internal and get_preferred_width_internal
similarly to the existing get_preferred_height_for_width_internal and
get_preferred_width_for_height_internal methods.
Aaron Andersen [Sun, 13 May 2012 10:28:24 +0000 (12:28 +0200)]
posix: Add parse and to_string methods and string.printf
Fixes bug 666436.