]>
git.ipfire.org Git - thirdparty/vala.git/log
Mark Lee [Thu, 16 Jul 2009 06:33:39 +0000 (23:33 -0700)]
Add support for iterating over GValueArrays via foreach
Implements working support for using ValueArrays in foreach statements. Both
owned and unowned Value element types are implemented, including a testcase.
Example:
void print_array (ValueArray array) {
foreach (Value value in array) {
message ("Value: %s", value.strdup_contents ());
}
}
Fixes bug 588742.
Marc-André Lureau [Sat, 30 May 2009 16:18:59 +0000 (19:18 +0300)]
Owned struct parameters should not be const
This code fails to compile, because vala tries to free() a const value.
public virtual void qset (Quark field, owned Value? value) {
...
}
Mark Lee [Tue, 26 May 2009 08:06:37 +0000 (01:06 -0700)]
GIR writer: add c:prefix support for namespaces
Emit a c:prefix attribute for namespaces, if the cprefix exists,
fixes bug 583862.
Frederik Sdun [Tue, 28 Jul 2009 13:28:40 +0000 (15:28 +0200)]
GValue: Support implicit conversion to nullable GValue
Fixes bug 589155.
Jukka-Pekka Iivonen [Tue, 28 Jul 2009 13:02:44 +0000 (15:02 +0200)]
posix: Add setsid, mknod, and tcgetsid bindings
Fixes bug 589970.
Jürg Billeter [Tue, 28 Jul 2009 10:21:59 +0000 (12:21 +0200)]
Remove unused methods
Jürg Billeter [Tue, 28 Jul 2009 08:51:25 +0000 (10:51 +0200)]
Support delegate properties
Based on patch by Julien Fontanet, fixes bug 543879.
Evan Nemerson [Sun, 26 Jul 2009 20:59:53 +0000 (13:59 -0700)]
Make some functions which return Gtk.IconInfo transfer ownership
Fixes bug #589530
Levi Bard [Mon, 27 Jul 2009 21:11:30 +0000 (23:11 +0200)]
Support locks with static fields
Fixes bug 537461.
Reuben Dunnington [Mon, 27 Jul 2009 20:07:08 +0000 (22:07 +0200)]
gtk+-2.0: Fix gtk_tree_view_get_*_area bindings
Fixes bug 589924.
Evan Nemerson [Mon, 27 Jul 2009 17:56:52 +0000 (10:56 -0700)]
Add libusb-1.0 bindings
Fixes bug 589913.
Evan Nemerson [Mon, 27 Jul 2009 17:45:44 +0000 (10:45 -0700)]
libftdi: Update to libftdi-0.16, adapt to libusb changes
Fixes bug 589911.
Evan Nemerson [Mon, 27 Jul 2009 17:38:10 +0000 (10:38 -0700)]
libusb: Numerous improvements to the API
Fixes bug 589910.
Michael B. Trausch [Sun, 26 Jul 2009 04:06:56 +0000 (00:06 -0400)]
glib-2.0: Add binding for ngettext to support plural strings
Fixes bug 589735.
Signed-off-by: Michael B. Trausch <mike@trausch.us>
Evan Nemerson [Wed, 22 Jul 2009 01:06:42 +0000 (18:06 -0700)]
Make many copy methods transfer ownership
Fixes bug 589309.
Evan Nemerson [Tue, 21 Jul 2009 21:29:11 +0000 (14:29 -0700)]
vapigen: Make quotes around metadata arguments optional
Fixes bug 588171.
Evan Nemerson [Wed, 22 Jul 2009 00:09:00 +0000 (17:09 -0700)]
pango: Various PangoAttribute-related fixes
Fixes bug 587645.
Evan Nemerson [Wed, 22 Jul 2009 00:06:06 +0000 (17:06 -0700)]
vapigen: Support overriding memory management functions in metadata
Fixes bug 589307.
Jürg Billeter [Mon, 27 Jul 2009 19:18:31 +0000 (21:18 +0200)]
glib-2.0: Add FileStream.read_line method
Based on patch by Frederik and Nicolas Joseph, fixes bug 582178.
Evan Nemerson [Wed, 8 Jul 2009 19:26:23 +0000 (12:26 -0700)]
Use (s)size_t instead of (u)long in several string methods
Fixes bug 577352.
Jürg Billeter [Mon, 27 Jul 2009 17:30:41 +0000 (19:30 +0200)]
Report error when initializing constants or fields in bindings
Fixes bug 556197.
Jürg Billeter [Mon, 27 Jul 2009 17:15:31 +0000 (19:15 +0200)]
Add GError parameter for overriding methods where necessary
Check the error types of the base method as well, fixes bug 548283.
Jürg Billeter [Mon, 27 Jul 2009 15:53:36 +0000 (17:53 +0200)]
Only register GObject properties with valid names
Fixes bug 547252.
Jürg Billeter [Mon, 27 Jul 2009 15:34:31 +0000 (17:34 +0200)]
Fix non-GObject interface properties in GObject classes
Fixes bug 539658.
Jürg Billeter [Sun, 26 Jul 2009 12:15:10 +0000 (14:15 +0200)]
Do not use GLib-specific code outside GObject profile
Jaap A. Haitsma [Sun, 26 Jul 2009 10:14:27 +0000 (12:14 +0200)]
Forgot to add librsvg-2.0-custom.vala
in commit
1c8740642f759e82eb936af88a89ab310b9e3e12
Jaap A. Haitsma [Sun, 26 Jul 2009 10:05:45 +0000 (12:05 +0200)]
gconf-2.0: Fix GConf.Client.get_entry binding (bgo#589739)
The "locale" parameter in gconf_client_get_entry can be NULL.
Fixes GNOME Bug #589739.
Patch by Mark Lee <marklee@src.gnome.org>
Thijs Vermeir [Thu, 23 Jul 2009 21:49:15 +0000 (23:49 +0200)]
gstreamer-0.10: add bindings for some GstClockTime methods
Add bindings for GST_TIME_ARGS and GST_CLOCK_TIME_IS_VALID
Alberto Ruiz [Thu, 23 Jul 2009 16:35:27 +0000 (17:35 +0100)]
Scanner has now a public static method to check if a token is a keyword or an identifier. CodeWriter uses that method to figure out whether it should add a @ prefix or not.
Alberto Ruiz [Thu, 23 Jul 2009 11:58:39 +0000 (12:58 +0100)]
Add support for Array parameters with no array_legth (fixes #589446)
Rob Taylor [Tue, 9 Jun 2009 10:50:57 +0000 (11:50 +0100)]
Remove debug statements in the gir parser positional parameter handling
Rob Taylor [Tue, 9 Jun 2009 10:51:15 +0000 (11:51 +0100)]
Make vapigen obey deps files for --pkg arguments.
Rob Taylor [Tue, 9 Jun 2009 10:50:23 +0000 (11:50 +0100)]
debugging for empty struct warning
Rob Taylor [Mon, 8 Jun 2009 22:41:31 +0000 (23:41 +0100)]
Cope with throws in a constructor
Rob Taylor [Mon, 8 Jun 2009 22:35:44 +0000 (23:35 +0100)]
Attempt to correctly generate positional information for closures and array lengths
Rob Taylor [Mon, 8 Jun 2009 15:36:01 +0000 (16:36 +0100)]
support .deps files when using new .gir files.
Didier 'Ptitjes [Tue, 21 Jul 2009 08:11:57 +0000 (10:11 +0200)]
Support taking address of generic variables
Fixes bug 589236.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Florian Brosch [Tue, 21 Jul 2009 11:46:18 +0000 (13:46 +0200)]
- valadoc.org doclet improvements
- html-writer, initial work
- bug fixes
Sebastian Pölsterl [Mon, 20 Jul 2009 19:05:54 +0000 (21:05 +0200)]
gstreamer-0.10: Fixed gst_iterator_find_custom binding
Don't hide user_data parameter.
Fixes bug #589147
Florian Brosch [Sat, 18 Jul 2009 20:15:26 +0000 (22:15 +0200)]
Bug #400882
Jaap A. Haitsma [Sat, 18 Jul 2009 08:56:27 +0000 (10:56 +0200)]
librsvg-2.0: make DimensionData a struct, regenerate bindings
Patch by Evan Nemerson <evan@polussystems.com>
Fixes bug #588652
Jaap A. Haitsma [Sat, 18 Jul 2009 08:51:34 +0000 (10:51 +0200)]
vapigen: allow metadata to set type_id
Patch by Evan Nemerson <evan@polussystems.com>
Fixes bug #588703
Jürg Billeter [Fri, 17 Jul 2009 14:25:50 +0000 (16:25 +0200)]
gio-2.0: Regenerate bindings
Jürg Billeter [Fri, 17 Jul 2009 13:46:37 +0000 (15:46 +0200)]
Fix source filename mangling
Jaap A. Haitsma [Thu, 16 Jul 2009 19:14:03 +0000 (21:14 +0200)]
libgdata: add libgdata bindings
Fixes bug #588719
Patch by Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Jiří Zárevúcky [Thu, 16 Jul 2009 17:58:35 +0000 (19:58 +0200)]
Add support for static properties
Fixes bug 586166.
Jürg Billeter [Thu, 16 Jul 2009 17:45:33 +0000 (19:45 +0200)]
Fix crash when using dynamic properties on unsupported types
Jürg Billeter [Thu, 16 Jul 2009 10:12:41 +0000 (12:12 +0200)]
GIR parser: Support constructors throwing errors
Jürg Billeter [Mon, 13 Jul 2009 12:27:06 +0000 (14:27 +0200)]
Check for valac >= 0.7.0 in autogen.sh
Jaap A. Haitsma [Mon, 13 Jul 2009 05:25:55 +0000 (07:25 +0200)]
gtk+-2.0: regenerate binding with new vapigen
Jürg Billeter [Sun, 12 Jul 2009 14:14:15 +0000 (16:14 +0200)]
glib-2.0: Use locale-independent g_ascii_strtod
Jaap A. Haitsma [Sat, 11 Jul 2009 20:51:22 +0000 (22:51 +0200)]
gio-unix-2.0: Various improvements to UnixMountEntry
Fixes bug 586017
Patch by Evan Nemerson <evan@polussystems.com>
Jaap A. Haitsma [Sat, 11 Jul 2009 17:01:55 +0000 (19:01 +0200)]
gtk+-2.0: Fix TreeView.get_columns binding
Fixes bug #588009
Jaap A. Haitsma [Sat, 11 Jul 2009 16:44:26 +0000 (18:44 +0200)]
glib-2.0: Fix unescape_string and unescape_segment
Fixes bug #588011
Jaap A. Haitsma [Sat, 11 Jul 2009 16:34:06 +0000 (18:34 +0200)]
glib-2.0: Make ByteArray.data use ByteArray.len as length.
Fixes bug 586162
Patch by Evan Nemerson <evan@polussystems.com>
Jürg Billeter [Fri, 10 Jul 2009 22:50:08 +0000 (23:50 +0100)]
Fix crash in scanner
Jaap A. Haitsma [Fri, 10 Jul 2009 17:32:07 +0000 (18:32 +0100)]
gstreamer-netbuffer-0.10: Fix GstNetBuffer binding
Fixes bug 565026.
Evan Nemerson [Mon, 6 Jul 2009 22:06:46 +0000 (15:06 -0700)]
pangocairo: Fix pango_cairo_create_* bindings
pango_cairo_create_{context,layout} transfer ownership,
fixes bug 587840.
Evan Nemerson [Thu, 9 Jul 2009 03:56:20 +0000 (20:56 -0700)]
gdk-2.0: Fix GdkNativeWindow binding
Fixes bug 587157.
Evan Nemerson [Thu, 9 Jul 2009 04:07:14 +0000 (21:07 -0700)]
librsvg-2.0: rsvg_handle_new_from_data takes an array
Fixes bug 583475.
Evan Nemerson [Thu, 9 Jul 2009 04:01:48 +0000 (21:01 -0700)]
gdk-2.0: Fix gdk_property_change binding
The data parameter to gdk_property_change should not include array
length, fixes bug 583235.
Evan Nemerson [Thu, 9 Jul 2009 01:43:55 +0000 (18:43 -0700)]
glib-2.0: Fix GIOFlags binding
Prepend IS_ to IOFlags.READABLE, WRITEABLE, and SEEKABLE,
fixes bug 567387.
Evan Nemerson [Thu, 9 Jul 2009 01:19:18 +0000 (18:19 -0700)]
glib-2.0: Add more GMarkup bindings
Add g_markup_collect_attributes, g_markup_parser_context_push,
g_markup_parser_context_pop, and GMarkupCollectType bindings,
based on patch by Yu Feng, fixes bug 564704.
Evan Nemerson [Wed, 8 Jul 2009 23:30:36 +0000 (16:30 -0700)]
gnome-keyring-1: Fix GNOME_KEYRING_ constant bindings
Fixes bug 556632.
Jürg Billeter [Fri, 10 Jul 2009 14:43:52 +0000 (15:43 +0100)]
glib-2.0: Add GHashTableIter binding
Based on patch by Yu Feng, fixes bug 571779.
Jürg Billeter [Fri, 10 Jul 2009 14:13:29 +0000 (15:13 +0100)]
libpanelapplet-2.0: Fix PanelApplet::change_background binding
Based on patch by Yu Feng, fixes bug 555566.
Evan Nemerson [Wed, 8 Jul 2009 21:21:20 +0000 (14:21 -0700)]
libwnck-1.0: Fix WnckScreen::active_*_changed signals
Fixes part of bug 555566.
Evan Nemerson [Wed, 8 Jul 2009 21:20:38 +0000 (14:20 -0700)]
gtk+-2.0: Fix gtk_container_forall and signal bindings
Fixes part of bug 555566.
Evan Nemerson [Wed, 8 Jul 2009 19:42:58 +0000 (12:42 -0700)]
glib-2.0: Add g_ascii_dtostr and g_ascii_formatd bindings
Fixes bug 541450.
Jürg Billeter [Fri, 10 Jul 2009 11:39:17 +0000 (12:39 +0100)]
Check type of constants
Fixes bug 587947.
Jürg Billeter [Fri, 10 Jul 2009 11:38:50 +0000 (12:38 +0100)]
Check type of field initializers
Vlad Grecescu [Thu, 9 Jul 2009 11:07:37 +0000 (12:07 +0100)]
Write constructors with --dump-tree
Fixes bug 581663.
Jaap A. Haitsma [Sun, 7 Jun 2009 15:46:40 +0000 (17:46 +0200)]
Add VALAFLAGS
Fixes bug 585070.
Matias De la Puente [Tue, 2 Jun 2009 17:42:00 +0000 (14:42 -0300)]
glib-2.0: Add Windows compatibility functions
Fixes bug 584636.
Signed-off-by: Matias De la Puente <mfpuente.ar@gmail.com>
Jürg Billeter [Wed, 8 Jul 2009 17:55:55 +0000 (18:55 +0100)]
glib-2.0: Set type_id for GQuark
Fixes bug 584306.
Jukka-Pekka Iivonen [Wed, 8 Jul 2009 17:34:58 +0000 (18:34 +0100)]
posix: Add math functions
Jukka-Pekka Iivonen [Wed, 8 Jul 2009 17:29:11 +0000 (18:29 +0100)]
posix: Add signal functions
Fixes bug 584145.
Mark Lee [Mon, 8 Jun 2009 06:58:49 +0000 (23:58 -0700)]
vapigen: Do not doubly-link to the static libgee
In the Vala Team PPA, it was reported that the vapigen binary did not run,
due to the fact that Gee classes were being registered multiple times. The
problem was fixed by removing the explicit reference to libgee in LDADD, as
it is already included via libvala.
Fixes bug 585120.
Jürg Billeter [Wed, 8 Jul 2009 13:06:53 +0000 (14:06 +0100)]
Fix short and ushort properties in GObject classes
Fixes bug 587493.
Jordan Yelloz [Fri, 19 Jun 2009 07:59:14 +0000 (00:59 -0700)]
GIR parser: Fix case for cprefix
Jürg Billeter [Wed, 8 Jul 2009 10:40:04 +0000 (11:40 +0100)]
Fix GTypeModule-based plugins
Michael B. Trausch [Tue, 7 Jul 2009 12:36:43 +0000 (13:36 +0100)]
Add gnet-2.0 bindings
Jürg Billeter [Tue, 7 Jul 2009 12:35:53 +0000 (13:35 +0100)]
GAsync: Fix critical warning
Jürg Billeter [Fri, 3 Jul 2009 15:42:09 +0000 (16:42 +0100)]
GAsync: Remove unused result variable from coroutines
Didier 'Ptitjes [Sun, 31 May 2009 02:37:33 +0000 (04:37 +0200)]
GAsync: Implement the finish function
The finish function returns the values stored in the closure as out
parameters and method return value.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Jaap A. Haitsma [Sat, 4 Jul 2009 14:58:56 +0000 (16:58 +0200)]
GlyphInfo, GlyphGeometry, GlyphVisAttr must be struct not class.
Florian Brosch [Sat, 4 Jul 2009 12:08:20 +0000 (14:08 +0200)]
.
Florian Brosch [Sat, 4 Jul 2009 12:05:04 +0000 (14:05 +0200)]
- valac 4.7.5
- initial valadoc.org doclet changes for the new webside
Didier 'Ptitjes [Tue, 9 Jun 2009 09:19:49 +0000 (11:19 +0200)]
GAsync: Fix uncaught error's return statement
FALSE must be returned in coroutines, independent of the return
type.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Sun, 31 May 2009 02:35:48 +0000 (04:35 +0200)]
GAsync: Fix closure's field names
Parameter names must be escaped like other Vala variables.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Tue, 2 Jun 2009 03:50:58 +0000 (05:50 +0200)]
GAsync: Fix generated sync method variant
Yield statements must be ignored in synchronous variant.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Thu, 30 Apr 2009 12:34:42 +0000 (14:34 +0200)]
D-Bus: Add DBusModule.get_type_signature method
Replace DataType.get_type_signature() calls.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Tue, 2 Jun 2009 14:31:08 +0000 (16:31 +0200)]
GIR writer: Fix g-i names for base types
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Jürg Billeter [Wed, 1 Jul 2009 19:34:11 +0000 (20:34 +0100)]
GIR parser: Fix callback parameters in virtual methods
Jürg Billeter [Fri, 3 Jul 2009 08:04:31 +0000 (09:04 +0100)]
gio-2.0: Regenerate bindings
Jaap A. Haitsma [Wed, 1 Jul 2009 05:51:23 +0000 (07:51 +0200)]
Add g_file_hash and g_file_equal as HashFunc and EqualFunc
Fixes bug #587412
Patch by Jens Georg <mail@jensge.org>
Jürg Billeter [Tue, 30 Jun 2009 06:26:22 +0000 (08:26 +0200)]
Report error for invalid escape sequences
Fixes bug 587375.
Jürg Billeter [Sun, 28 Jun 2009 20:45:29 +0000 (22:45 +0200)]
Post-release version bump
Jürg Billeter [Sun, 28 Jun 2009 20:35:06 +0000 (22:35 +0200)]
Release 0.7.4
Jürg Billeter [Sun, 28 Jun 2009 20:18:25 +0000 (22:18 +0200)]
Fix GStrv properties in bindings
Fixes bug 587068.