]>
git.ipfire.org Git - thirdparty/vala.git/log
Jürg Billeter [Sat, 6 Jun 2009 16:22:15 +0000 (18:22 +0200)]
Report error for recursive value types
Fixes bug 584573.
Jürg Billeter [Sat, 6 Jun 2009 15:04:02 +0000 (17:04 +0200)]
Convert for loops into simple loops
Jürg Billeter [Sat, 6 Jun 2009 14:20:32 +0000 (16:20 +0200)]
Convert do loops into simple loops
Jürg Billeter [Sat, 6 Jun 2009 13:58:44 +0000 (15:58 +0200)]
Convert while loops into simple loops
Simplifies and fixes bugs in semantic and flow analysis and code
generation. Based on patch by Levi Bard, fixes bug 570091.
Харин Роман [Thu, 4 Jun 2009 15:45:02 +0000 (17:45 +0200)]
cairo: Fix enum bindings
Jürg Billeter [Thu, 4 Jun 2009 14:36:59 +0000 (16:36 +0200)]
Report error when declaring private fields in compact classes
Fixes bug 583300.
Jürg Billeter [Thu, 4 Jun 2009 12:14:09 +0000 (14:14 +0200)]
Support postconditions in normal methods
Fixes bug 529680.
Jürg Billeter [Thu, 4 Jun 2009 11:24:07 +0000 (13:24 +0200)]
Use result variable in C for method results
This eliminates the long C return statements and will help when
adding support for postconditions in normal methods.
Jürg Billeter [Thu, 4 Jun 2009 09:24:27 +0000 (11:24 +0200)]
GValue: Add support for implicit and explicit casts
Based on patch by Andrea Del Signore, fixes bug 528436.
Frédéric-Emmanuel PICCA [Mon, 25 May 2009 12:10:07 +0000 (14:10 +0200)]
gsl: Fix gsl_multiroot_function binding
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 13:48:31 +0000 (16:48 +0300)]
gtk+-2.0: Fix gtk_file_chooser_get_{filenames,uris} bindings
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 16:29:01 +0000 (19:29 +0300)]
gtk+-2.0: GtkTreeRowReference should be immutable
Fixes bug 584632.
Jürg Billeter [Wed, 3 Jun 2009 11:27:55 +0000 (13:27 +0200)]
gio-2.0: Fix g_file_monitor_directory binding
Fixes bug 527793.
Jürg Billeter [Wed, 3 Jun 2009 09:05:29 +0000 (11:05 +0200)]
Check compatibility of generic type arguments
Fixes bug 520952.
Jürg Billeter [Wed, 3 Jun 2009 07:21:36 +0000 (09:21 +0200)]
Add initial support for static methods in generic types
Fixes bug 471512.
Jürg Billeter [Tue, 2 Jun 2009 15:26:29 +0000 (17:26 +0200)]
Add initial support for generic methods
Fixes bug 492483.
Jürg Billeter [Tue, 2 Jun 2009 13:57:06 +0000 (15:57 +0200)]
gio-2.0: Fix g_file_hash binding
Based on patch by Richard Schwarting, fixes bug 578092.
Jürg Billeter [Mon, 1 Jun 2009 20:53:34 +0000 (22:53 +0200)]
gee: Fix memory leak in HashMap.remove and HashSet.remove
Fixes bug 584440.
Łukasz Pankowski [Mon, 1 Jun 2009 08:31:20 +0000 (10:31 +0200)]
glib-2.0: Fix g_key_file_load_from_* bindings
KeyFile.load_from_file, load_from_dirs and load_from_data_dirs may
also throw FileError in addition to KeyFileError. Fixes bug 582517.
Mark Lee [Thu, 21 May 2009 08:10:52 +0000 (01:10 -0700)]
gnome-vfs-2.0: Fix GnomeVFS.MimeApplication bindings
Make sure the proper header is emitted for GnomeVFSMimeApplication.
Mark Lee [Thu, 21 May 2009 06:47:52 +0000 (23:47 -0700)]
gnome-vfs-2.0: GnomeVFS.FileSize binding fixes
GnomeVFSFileSize is a typedef'd uint64, not a compact class.
gnome_vfs_read.bytes_read and gnome_vfs_write.bytes_written are
out parameters.
Jürg Billeter [Mon, 1 Jun 2009 08:22:03 +0000 (10:22 +0200)]
glib-2.0: Revert GLib.KeyFile.to_data change
g_key_file_to_data never throws an error. Revert earlier change and
add explanation as comment.
Mark Lee [Sun, 17 May 2009 19:36:22 +0000 (12:36 -0700)]
gnome-desktop-2.0: Fix gnome_desktop_item_{get,set}_strings bindings
gnome_desktop_item_get_strings and gnome_desktop_item_set_strings
use NULL-terminated string arrays. Fixes bug 582974.
Jürg Billeter [Mon, 1 Jun 2009 06:46:24 +0000 (08:46 +0200)]
D-Bus: Fix array freeing in servers
Fixes bug 566207.
Jürg Billeter [Sun, 31 May 2009 20:32:29 +0000 (22:32 +0200)]
gdk-x11-2.0: Regenerate bindings with new x11 bindings
Based on patch by Alexandre Moreira.
Michael B. Trausch [Sun, 31 May 2009 18:38:50 +0000 (14:38 -0400)]
x11: Enhance X11 bindings and fix some cnames
This patch fixes cnames for the X11 bindings and provides bindings for
new methods which came from my original bindings that I wrote for
AllTray earlier this year.
Signed-off-by: Michael B. Trausch <mike@trausch.us>
Didier 'Ptitjes [Sat, 30 May 2009 14:40:35 +0000 (16:40 +0200)]
GAsync: Add empty statement after labels
C does not allow labels at end of compound statements.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Jürg Billeter [Sun, 31 May 2009 20:14:32 +0000 (22:14 +0200)]
D-Bus: Fix memory leaks in servers
Free allocated memory used for parameters and return values in D-Bus
servers. Based on patch by Sebastian Pölsterl, fixes bug 566207.
Jürg Billeter [Sun, 31 May 2009 17:15:09 +0000 (19:15 +0200)]
Declare types used in implicit casts
Fixes bug 584163.
Jürg Billeter [Sun, 31 May 2009 17:03:52 +0000 (19:03 +0200)]
Fix handling of non-ASCII characters in comments
Jürg Billeter [Sun, 31 May 2009 12:08:35 +0000 (14:08 +0200)]
GAsync: Include gio/gio.h when needed
Didier 'Ptitjes [Sat, 23 May 2009 09:51:13 +0000 (11:51 +0200)]
posix: Add pseudo terminal functions
Add posix_openpt(3), grantpt(3), and unlockpt(3) bindings.
Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Jürg Billeter [Sat, 30 May 2009 18:15:50 +0000 (20:15 +0200)]
D-Bus: Do not crash when calling methods after disconnecting from bus
Throw error instead.
Frederik Sdun [Thu, 28 May 2009 19:07:55 +0000 (21:07 +0200)]
D-Bus: Fix using static methods as async callbacks
Mark Lee [Thu, 28 May 2009 08:43:40 +0000 (01:43 -0700)]
GIR writer: Remove GLib.Regex reference
The GRegex reference prevents compilation with GLib 2.12. The code has
been replaced with equivalent code derived from the string class.
Fixes bug 584098.
Jürg Billeter [Tue, 26 May 2009 18:42:04 +0000 (20:42 +0200)]
Post-release version bump
Jürg Billeter [Tue, 26 May 2009 18:16:09 +0000 (20:16 +0200)]
Release 0.7.3
Jürg Billeter [Tue, 26 May 2009 17:54:26 +0000 (19:54 +0200)]
glib-2.0: Fix time_t binding
Fixes bug 583177.
Mark Lee [Sat, 16 May 2009 10:06:46 +0000 (03:06 -0700)]
glib-2.0: Fix GLib.KeyFile.to_data binding
g_keyfile_to_data should throw a KeyFileError instead of having an optional
out error parameter.
Mark Lee [Mon, 25 May 2009 19:20:11 +0000 (12:20 -0700)]
gdk-2.0: Fix gdk_color_to_string binding
gdk_color_to_string returns a newly allocated string, so it needs to be
annotated as such. Fixes bug 583791.
Travis Watkins [Mon, 18 May 2009 01:10:20 +0000 (20:10 -0500)]
gtk+-2.0: Fix gtk_builder_* and gtk_tree_view_* bindings
Fixes bug 583004.
Víctor Manuel Jáquez Leal [Sun, 17 May 2009 22:16:17 +0000 (00:16 +0200)]
gstreamer-audio-0.10: Fix GstBaseAudio*SlaveMethod enums
Fixes bug 582992.
Mike Massonnet [Mon, 25 May 2009 19:59:32 +0000 (21:59 +0200)]
gtk+-2.0: Fix gtk_notebook_* bindings
Fixes bug 583687.
Mark Lee [Fri, 22 May 2009 19:00:52 +0000 (12:00 -0700)]
gio-2.0: Fix the g_app_info_launch binding
g_app_info_launch.launch_context is nullable, according to the docs.
Fixes bug 583586.
Mark Lee [Mon, 25 May 2009 19:23:53 +0000 (12:23 -0700)]
gtk+-2.0: Fix gtk_alignment_get_padding binding
All of the parameters for gtk_alignment_get_padding are out parameters.
Fixes bug 583828.
Jürg Billeter [Mon, 25 May 2009 08:50:30 +0000 (10:50 +0200)]
gtk+-2.0: Fix GtkTextBuffer:text binding
Jürg Billeter [Mon, 25 May 2009 08:49:48 +0000 (10:49 +0200)]
vapigen: Add accessor_method metadata for properties
Jim Nelson [Sun, 24 May 2009 10:14:16 +0000 (12:14 +0200)]
gdk-pixbuf-2.0: Fix memory leaks
Fix memory leaks in gdk_pixbuf_flip and gdk_pixbuf_rotate_simple
bindings. Fixes bug 582694.
Jürg Billeter [Sun, 24 May 2009 09:42:11 +0000 (11:42 +0200)]
Do not declare construct-only properties in header files
Fixes bug 580386.
Jürg Billeter [Wed, 20 May 2009 15:30:54 +0000 (17:30 +0200)]
glib-2.0: Fix CompareDataFunc parameters
Jürg Billeter [Wed, 20 May 2009 15:14:47 +0000 (17:14 +0200)]
Fix lock statement when used on non-private fields
Fixes bug 579613.
Didier 'Ptitjes [Mon, 30 Mar 2009 17:12:34 +0000 (19:12 +0200)]
GIR writer: Generate <package/> tag
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Mon, 30 Mar 2009 17:07:03 +0000 (19:07 +0200)]
GIR writer: Generate correct GIR namespace name and version
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Mon, 30 Mar 2009 17:01:40 +0000 (19:01 +0200)]
Add --gir option to enable GIR generation
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Michael 'Mickey' Lauer [Fri, 15 May 2009 13:13:24 +0000 (15:13 +0200)]
posix: Add bind(2)
This needs to use variable argument list since the actual parameters
vary with the socket family.
Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Michael 'Mickey' Lauer [Fri, 15 May 2009 13:06:24 +0000 (15:06 +0200)]
posix: Add readlink(2) and ttyname_r(3)
Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Didier 'Ptitjes [Tue, 28 Apr 2009 23:26:50 +0000 (01:26 +0200)]
Fix null pointer access on out parameter clearing
Fixes bug 580667.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Marc-André Lureau [Sun, 10 May 2009 21:49:19 +0000 (00:49 +0300)]
build: Use m4 dir for autoconf macros
Jürg Billeter [Sat, 9 May 2009 16:52:17 +0000 (18:52 +0200)]
Rename gobject directory to codegen
Jukka-Pekka Iivonen [Sat, 9 May 2009 15:44:04 +0000 (17:44 +0200)]
posix: Add poll.h and unistd.h bindings
Matias De la Puente [Tue, 7 Apr 2009 14:40:56 +0000 (11:40 -0300)]
posix: Add sys/select.h bindings
Signed-off-by: Matias De la Puente <mfpuente.ar@gmail.com>
Matias De la Puente [Mon, 6 Apr 2009 19:53:43 +0000 (16:53 -0300)]
posix: Add termios.h bindings
Signed-off-by: Matias De la Puente <mfpuente.ar@gmail.com>
Matias De la Puente [Sat, 9 May 2009 15:17:18 +0000 (17:17 +0200)]
posix: Add more string.h bindings
Jürg Billeter [Sat, 9 May 2009 15:08:45 +0000 (17:08 +0200)]
Fix handling of empty cprefix in CCode attribute of a namespace
Michael 'Mickey' Lauer [Sun, 26 Apr 2009 18:03:00 +0000 (20:03 +0200)]
posix: add setgid(2) and setuid(2)
Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Jürg Billeter [Sat, 9 May 2009 14:55:20 +0000 (16:55 +0200)]
Remove unused CodeContext.memory_management property
Jürg Billeter [Sat, 9 May 2009 14:50:26 +0000 (16:50 +0200)]
Add --vapi command-line option
The --vapi command-line option generates a .vapi file with the
public API.
Jürg Billeter [Sat, 9 May 2009 14:49:59 +0000 (16:49 +0200)]
Remove unused CodeContext.library property
Jürg Billeter [Fri, 8 May 2009 12:19:57 +0000 (14:19 +0200)]
Support enum values as array indices
Jürg Billeter [Fri, 8 May 2009 11:43:34 +0000 (13:43 +0200)]
Fix parameter type declaration of signals
Jürg Billeter [Tue, 5 May 2009 19:54:03 +0000 (21:54 +0200)]
Add initial support for POSIX profile
Add --profile command-line option.
Code compiled with valac --profile posix will not depend on GLib or
GObject. However, many language features are currently not supported
with the POSIX profile.
Frederik [Thu, 7 May 2009 20:21:32 +0000 (22:21 +0200)]
lua: Update bindings
Fixes bug 575707.
Mark Lee [Sun, 5 Apr 2009 22:21:39 +0000 (15:21 -0700)]
gnome-keyring-1: Fix GnomeKeyringNetworkPasswordData binding
The correct unref function for GnomeKeyring.NetworkPasswordData is
gnome_keyring_network_password_free(). Fixes part of bug 578204.
Mark Lee [Sat, 4 Apr 2009 08:18:29 +0000 (01:18 -0700)]
gnome-keyring-1: Fix gnome_keyring_set_network_password_sync binding
The item_id parameter for GnomeKeyring.set_network_password_sync needs
to be annotated as an "out" parameter.
Fixes part of bug 578204.
Mark Lee [Thu, 7 May 2009 19:55:10 +0000 (21:55 +0200)]
gnome-keyring-1: Update to gnome-keyring 2.26.0
Fixes part of bug 578204.
Jürg Billeter [Thu, 23 Apr 2009 22:09:08 +0000 (00:09 +0200)]
Add initial x11, xcb, and cairo-xcb bindings
Fixes bug 515435.
Jürg Billeter [Thu, 7 May 2009 19:34:54 +0000 (21:34 +0200)]
gdk-2.0: Fix GdkEvent binding
Bind GdkEvent as a class instead of a struct. Based on patch by
Evan Nemerson, fixes bug 580862.
Jürg Billeter [Thu, 7 May 2009 17:02:24 +0000 (19:02 +0200)]
Post-release version bump
Jürg Billeter [Thu, 7 May 2009 16:57:33 +0000 (18:57 +0200)]
Release 0.7.2
Didier 'Ptitjes [Wed, 29 Apr 2009 11:48:42 +0000 (13:48 +0200)]
GIR parser: Add c:prefix parsing
Signed-off-by: Mark Lee <marklee@svn.gnome.org>
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Wed, 29 Apr 2009 10:58:57 +0000 (12:58 +0200)]
GIR parser: Fix virtual method and signal parsing
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Wed, 29 Apr 2009 10:15:56 +0000 (12:15 +0200)]
GIR parser: Mark constants as external to not require initializer
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Tue, 28 Apr 2009 22:50:04 +0000 (00:50 +0200)]
GIR parser: Fix allow-none attribute parsing in fields and return values
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Tue, 28 Apr 2009 22:39:23 +0000 (00:39 +0200)]
GIR parser: Fix construct-only attribute parsing for properties
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Tue, 28 Apr 2009 22:32:40 +0000 (00:32 +0200)]
GIR parser: Parse class constants
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Tue, 28 Apr 2009 22:20:46 +0000 (00:20 +0200)]
GIR parser: Fix c:type parsing in types and constructor return value
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Thu, 16 Apr 2009 17:41:20 +0000 (19:41 +0200)]
GIR parser: Handle module GModule in namespace GLib
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Levi Bard [Thu, 7 May 2009 16:15:20 +0000 (18:15 +0200)]
Move delegate typedef to right position
Fixes bug 580513.
Jürg Billeter [Thu, 7 May 2009 15:21:59 +0000 (17:21 +0200)]
Support delegates with delegate parameters and results
Based on patch by Levi Bard, fixes bug 578415.
Levi Bard [Thu, 7 May 2009 15:01:14 +0000 (17:01 +0200)]
Fix initialization of nullable structs
Fixes bug 579758.
Mark Lee [Sat, 2 May 2009 03:12:20 +0000 (20:12 -0700)]
json-glib-1.0: Fix bindings
Fix JsonSerializable, json_serializable_deserialize_property,
json_construct_gobject, json_serialize_gobject, and
json_node_get_value bindings. Fixes bug 581068.
Krzysztof Kotlenga [Thu, 7 May 2009 14:10:32 +0000 (16:10 +0200)]
dbus-glib-1: Add DBusNameFlag binding
Fixes bug 579043.
William Swanson [Mon, 4 May 2009 23:58:51 +0000 (16:58 -0700)]
libgsf-1: Use owned modifier instead of the deprecated # modifier
Fixes bug 581392.
Levi Bard [Thu, 7 May 2009 13:59:22 +0000 (15:59 +0200)]
Fix delegate out parameters
Fixes bug 578412.
Evan Nemerson [Tue, 5 May 2009 05:52:49 +0000 (22:52 -0700)]
gdk-pixbuf-2.0: Fix gdk_pixbuf_copy binding
Make Gdk.Pixbuf.copy() transfer ownership. Based on patch by Qball Cow,
fixes bug 581367.
Ryan Lortie [Thu, 7 May 2009 13:54:33 +0000 (15:54 +0200)]
glib-2.0: Fix g_key_file_to_data binding
Fixes bug 580348.
Jürg Billeter [Thu, 7 May 2009 13:51:49 +0000 (15:51 +0200)]
webkit-1.0: Fix WebKitWebView::hovering_over_link binding
Fixes bug 579191.
Jürg Billeter [Thu, 7 May 2009 13:49:00 +0000 (15:49 +0200)]
gdk-2.0: Fix gdk_pixmap_new binding
Fixes bug 578163.
Feng Yu [Sat, 28 Mar 2009 19:21:32 +0000 (15:21 -0400)]
gtk+-2.0: Add Gtk.Container.forall_internal
Add Gtk.Container.forall_internal to work around the inconsistent
forall binding. Fixes bug 543872.
Jürg Billeter [Thu, 7 May 2009 11:49:47 +0000 (13:49 +0200)]
Fix crash when using `in' operator