]>
git.ipfire.org Git - thirdparty/vala.git/log
Jürg Billeter [Fri, 3 Aug 2012 07:52:14 +0000 (09:52 +0200)]
Drop POSIX profile
Jürg Billeter [Fri, 3 Aug 2012 07:38:11 +0000 (09:38 +0200)]
Drop Dova profile
Jeremy Whiting [Wed, 11 Jul 2012 17:54:45 +0000 (11:54 -0600)]
Support [GenericAccessors] attribute for interfaces
This adds internal abstract functions to enable access to the element
type from within a generic interface. These functions are implicitly
implemented by all classes that implement interfaces with the
[GenericAccessors] attribute.
Fixes bug 640330.
Simon Werbeck [Thu, 26 Jul 2012 10:00:06 +0000 (12:00 +0200)]
Allow trailing comma in initializer list
Fixes bug 618858.
Jürg Billeter [Thu, 2 Aug 2012 12:43:22 +0000 (14:43 +0200)]
Accept comments in preprocessing directives
Fixes bug 680874.
Jürg Billeter [Thu, 2 Aug 2012 12:33:35 +0000 (14:33 +0200)]
glib-2.0: Use async scope for GThreadFunc
Fixes bug 680931.
Jürg Billeter [Thu, 2 Aug 2012 12:32:47 +0000 (14:32 +0200)]
Support [CCode (scope = "async")] attribute for delegates
Geert Jordaens [Thu, 2 Aug 2012 09:08:01 +0000 (11:08 +0200)]
Improve error message for static access to instance variables
Fixes bug 642254.
Mikkel Kamstrup Erlandsen [Wed, 26 Oct 2011 23:50:35 +0000 (01:50 +0200)]
D-Bus: Support fd passing with GFileDescriptorBased
Fixes bug 662815.
Marc-André Lureau [Thu, 24 May 2012 14:27:48 +0000 (16:27 +0200)]
gobject-2.0: Set bind_property() default flag
Use GLib.BindingFlags.DEFAULT by default.
Fixes bug 676745.
Daiki Ueno [Thu, 15 Mar 2012 04:01:03 +0000 (13:01 +0900)]
codegen: Fix signature of array_contains for inline arrays
Fixes bug 672116.
Jürg Billeter [Wed, 1 Aug 2012 13:48:48 +0000 (15:48 +0200)]
codegen: Fix GMutex finalization with GLib 2.32
Fixes bug 670366.
Simon Werbeck [Wed, 18 Jul 2012 20:11:20 +0000 (22:11 +0200)]
Recompute length when casting between array types
This patch makes casting, e.g., from int[] to uchar[] work as expected
by adjusting the array length field.
Fixes bug 515408.
Jürg Billeter [Wed, 1 Aug 2012 09:39:40 +0000 (11:39 +0200)]
codegen: Fix va_start argument in methods throwing errors
Fixes bug 620673.
Jürg Billeter [Wed, 1 Aug 2012 09:23:23 +0000 (11:23 +0200)]
tests: Improve test for bug 620673
Jürg Billeter [Tue, 31 Jul 2012 12:29:37 +0000 (14:29 +0200)]
Deprecate implicit .begin for async methods
Jürg Billeter [Tue, 31 Jul 2012 12:20:16 +0000 (14:20 +0200)]
D-Bus: Add missing gio.h include for GDBus error domains
Siegfried-Angel Gevatter Pujals [Fri, 6 Jul 2012 14:44:39 +0000 (16:44 +0200)]
codegen: Fix variadic constructors
Fixes bug 620675.
Evan Nemerson [Wed, 25 Jul 2012 23:13:34 +0000 (16:13 -0700)]
Update GIR-based bindings.
Evan Nemerson [Wed, 25 Jul 2012 22:37:47 +0000 (15:37 -0700)]
girparser: support class methods
Fixes bug 666800.
Evan Nemerson [Wed, 4 Jul 2012 08:08:46 +0000 (01:08 -0700)]
girparser: add GIR name attribute to reparented types
Jens Georg [Thu, 3 May 2012 17:36:37 +0000 (19:36 +0200)]
vala.m4: Fix calling VALA_CHECK_PACKAGES multiple times
If you call VALA_CHECK_PACKAGES more than once, each call would append
its packages to the list of checked packages.
Also fixes a leading whitespace error.
Fixes bug 675389.
Jens Georg [Thu, 3 May 2012 17:33:01 +0000 (19:33 +0200)]
vala.m4: Fix typo
Fixes bug 675388.
Evan Nemerson [Sat, 21 Jul 2012 19:16:09 +0000 (12:16 -0700)]
gobject-2.0: add Closure.SIZE for sizeof(GClosure)
Evan Nemerson [Sat, 21 Jul 2012 19:04:35 +0000 (12:04 -0700)]
gtk+-3.0: update to 3.5.9
Evan Nemerson [Fri, 20 Jul 2012 00:29:41 +0000 (17:29 -0700)]
gnome-keyring-1: deprecate in favor of bindings distributed upstream
Evan Nemerson [Fri, 20 Jul 2012 08:38:22 +0000 (01:38 -0700)]
gio-2.0: make DataInputStream.read_line*.length default to null
Richard Schwarting [Wed, 18 Jul 2012 15:22:34 +0000 (17:22 +0200)]
glib-2.0: Add g_test_fail binding
Fixes bug 679361.
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.