From: Juerg Billeter Date: Tue, 20 Nov 2007 21:54:22 +0000 (+0000) Subject: updated to gio 0.1.2 X-Git-Tag: VALA_0_1_5~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e495dfa8f51a96d5fd844382a427faef1bf15f90;p=platform%2Fupstream%2Fvala.git updated to gio 0.1.2 2007-11-20 Juerg Billeter * vapi/packages/gio-2.0/gio-2.0.gi: updated to gio 0.1.2 * vapi/gio-2.0.vapi: regenerated svn path=/trunk/; revision=690 --- diff --git a/ChangeLog b/ChangeLog index d286d11..85e0fc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2007-11-20 Jürg Billeter + * vapi/packages/gio-2.0/gio-2.0.gi: updated to gio 0.1.2 + + * vapi/gio-2.0.vapi: regenerated + +2007-11-20 Jürg Billeter + * vapigen/valagidlparser.vala: detect out parameters of value types, add support for array return types diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index f1c8393..bedc7b4 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -154,7 +154,7 @@ namespace GLib { } [CCode (ref_function = "g_file_attribute_matcher_ref", unref_function = "g_file_attribute_matcher_unref", cheader_filename = "gio/gvfs.h")] public class FileAttributeMatcher { - public bool enumerate_namespace (string @namespace); + public bool enumerate_namespace (string ns); public weak string enumerate_next (); public bool matches (string attribute); public bool matches_only (string attribute); @@ -218,7 +218,7 @@ namespace GLib { public virtual long fill (long count, GLib.Cancellable cancellable) throws GLib.Error; public virtual void fill_async (long count, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data); public virtual long fill_finish (GLib.AsyncResult result) throws GLib.Error; - public ulong get_availible (); + public ulong get_available (); public ulong get_buffer_size (); public BufferedInputStream (GLib.InputStream base_stream); public BufferedInputStream.sized (GLib.InputStream base_stream, ulong size); @@ -449,7 +449,7 @@ namespace GLib { public class MemoryOutputStream : GLib.OutputStream, GLib.Seekable { public weak GLib.ByteArray get_data (); public MemoryOutputStream (GLib.ByteArray data); - public void set_free_on_close (bool free_on_close); + public void set_free_data (bool free_data); public void set_max_size (uint max_size); [NoAccessorMethod] public weak pointer data { get; set construct; } @@ -539,9 +539,8 @@ namespace GLib { public virtual weak GLib.File get_file_for_path (string path); public virtual weak GLib.File get_file_for_uri (string uri); public static weak GLib.Vfs get_local (); - public virtual weak string get_name (); - public virtual int get_priority (); public virtual weak string get_supported_uri_schemes (); + public virtual bool is_active (); public virtual weak GLib.File parse_name (string parse_name); } [CCode (cheader_filename = "gio/gvfs.h")] @@ -588,14 +587,14 @@ namespace GLib { public interface Drive : GLib.Object { public abstract bool can_eject (); public abstract bool can_mount (); - public abstract void eject (GLib.AsyncReadyCallback callback, pointer user_data); + public abstract void eject (GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data); public abstract bool eject_finish (GLib.AsyncResult result) throws GLib.Error; public abstract weak GLib.Icon get_icon (); public abstract weak string get_name (); public abstract weak GLib.List get_volumes (); public abstract bool has_volumes (); public abstract bool is_automounted (); - public abstract void mount (GLib.MountOperation mount_operation, GLib.AsyncReadyCallback callback, pointer user_data); + public abstract void mount (GLib.MountOperation mount_operation, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data); public abstract bool mount_finish (GLib.AsyncResult result) throws GLib.Error; public signal void changed (); } @@ -700,13 +699,13 @@ namespace GLib { public interface Volume : GLib.Object { public abstract bool can_eject (); public abstract bool can_unmount (); - public abstract void eject (GLib.AsyncReadyCallback callback, pointer user_data); + public abstract void eject (GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data); public abstract bool eject_finish (GLib.AsyncResult result) throws GLib.Error; public abstract weak GLib.Drive get_drive (); public abstract weak GLib.Icon get_icon (); public abstract weak string get_name (); public abstract weak GLib.File get_root (); - public abstract void unmount (GLib.AsyncReadyCallback callback, pointer user_data); + public abstract void unmount (GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data); public abstract bool unmount_finish (GLib.AsyncResult result) throws GLib.Error; public signal void changed (); } diff --git a/vapi/packages/gio-2.0/gio-2.0.gi b/vapi/packages/gio-2.0/gio-2.0.gi index 49ad067..ecd3d04 100644 --- a/vapi/packages/gio-2.0/gio-2.0.gi +++ b/vapi/packages/gio-2.0/gio-2.0.gi @@ -267,7 +267,7 @@ - + @@ -673,7 +673,7 @@ - + @@ -2245,11 +2245,11 @@ - + - + @@ -2838,20 +2838,14 @@ - - - - - - - - + + - - + + @@ -2877,20 +2871,14 @@ - - - - - - - - + + - - + + @@ -3282,6 +3270,7 @@ + @@ -3329,6 +3318,7 @@ + @@ -3363,6 +3353,7 @@ + @@ -3410,6 +3401,7 @@ + @@ -4826,6 +4818,7 @@ + @@ -4866,6 +4859,7 @@ + @@ -4900,6 +4894,7 @@ + @@ -4940,6 +4935,7 @@ +