From: Rico Tzschichholz Date: Fri, 9 Aug 2013 10:59:32 +0000 (+0200) Subject: gio-unix-2.0: Update to 2.37.5 X-Git-Tag: 0.21.2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb88eb9b7d474e978265d110487b1c7fe64bc5f4;p=thirdparty%2Fvala.git gio-unix-2.0: Update to 2.37.5 --- diff --git a/vapi/gio-unix-2.0.vapi b/vapi/gio-unix-2.0.vapi index af0e44f6d..cbd31a2d0 100644 --- a/vapi/gio-unix-2.0.vapi +++ b/vapi/gio-unix-2.0.vapi @@ -10,13 +10,21 @@ namespace GLib { public DesktopAppInfo.from_filename (string filename); [CCode (has_construct_function = false)] public DesktopAppInfo.from_keyfile (GLib.KeyFile key_file); + public string get_action_name (string action_name); + public bool get_boolean (string key); public unowned string get_categories (); public unowned string get_filename (); public unowned string get_generic_name (); public bool get_is_hidden (); + public unowned string[] get_keywords (); public bool get_nodisplay (); public bool get_show_in (string desktop_env); + public unowned string get_startup_wm_class (); + public unowned string get_string (string key); + public bool has_key (string key); + public void launch_action (string action_name, GLib.AppLaunchContext launch_context); public bool launch_uris_as_manager (GLib.List uris, GLib.AppLaunchContext launch_context, GLib.SpawnFlags spawn_flags, GLib.SpawnChildSetupFunc user_setup, void* user_setup_data, GLib.DesktopAppLaunchCallback pid_callback, void* pid_callback_data) throws GLib.Error; + public unowned string[] list_actions (); public static void set_desktop_env (string desktop_env); public string filename { get; construct; } } @@ -24,11 +32,23 @@ namespace GLib { public class UnixConnection : GLib.SocketConnection { [CCode (has_construct_function = false)] protected UnixConnection (); - public unowned GLib.Credentials receive_credentials (GLib.Cancellable? cancellable = null) throws GLib.Error; + public GLib.Credentials receive_credentials (GLib.Cancellable? cancellable = null) throws GLib.Error; + public async GLib.Credentials receive_credentials_async (GLib.Cancellable? cancellable = null) throws GLib.Error; public int receive_fd (GLib.Cancellable? cancellable = null) throws GLib.Error; public bool send_credentials (GLib.Cancellable? cancellable = null) throws GLib.Error; + public async bool send_credentials_async (GLib.Cancellable? cancellable = null) throws GLib.Error; public bool send_fd (int fd, GLib.Cancellable? cancellable = null) throws GLib.Error; } + [CCode (cheader_filename = "gio/gunixcredentialsmessage.h")] + public class UnixCredentialsMessage : GLib.SocketControlMessage { + [CCode (has_construct_function = false, type = "GSocketControlMessage*")] + public UnixCredentialsMessage (); + public unowned GLib.Credentials get_credentials (); + public static bool is_supported (); + [CCode (has_construct_function = false, type = "GSocketControlMessage*")] + public UnixCredentialsMessage.with_credentials (GLib.Credentials credentials); + public GLib.Credentials credentials { get; construct; } + } [CCode (cheader_filename = "gio/gunixfdmessage.h")] public class UnixFDMessage : GLib.SocketControlMessage { [CCode (has_construct_function = false, type = "GSocketControlMessage*")] @@ -41,11 +61,10 @@ namespace GLib { public GLib.UnixFDList fd_list { get; construct; } } [CCode (cheader_filename = "gio/gunixinputstream.h")] - public class UnixInputStream : GLib.InputStream, GLib.PollableInputStream { + public class UnixInputStream : GLib.InputStream, GLib.PollableInputStream, GLib.FileDescriptorBased { [CCode (has_construct_function = false, type = "GInputStream*")] public UnixInputStream (int fd, bool close_fd); public bool get_close_fd (); - public int get_fd (); public void set_close_fd (bool close_fd); public bool close_fd { get; set; } public int fd { get; construct; } @@ -68,11 +87,13 @@ namespace GLib { [CCode (cname = "g_unix_mount_guess_can_eject")] public bool guess_can_eject (); [CCode (cname = "g_unix_mount_guess_icon")] - public unowned GLib.Icon guess_icon (); + public GLib.Icon guess_icon (); [CCode (cname = "g_unix_mount_guess_name")] - public unowned string guess_name (); + public string guess_name (); [CCode (cname = "g_unix_mount_guess_should_display")] public bool guess_should_display (); + [CCode (cname = "g_unix_mount_guess_symbolic_icon")] + public GLib.Icon guess_symbolic_icon (); [CCode (cname = "g_unix_mount_is_readonly")] public bool is_readonly (); [CCode (cname = "g_unix_mount_is_system_internal")] @@ -97,19 +118,20 @@ namespace GLib { public unowned string get_device_path (); public unowned string get_fs_type (); public unowned string get_mount_path (); + public unowned string get_options (); public bool guess_can_eject (); - public unowned GLib.Icon guess_icon (); - public unowned string guess_name (); + public GLib.Icon guess_icon (); + public string guess_name (); + public GLib.Icon guess_symbolic_icon (); public bool is_loopback (); public bool is_readonly (); public bool is_user_mountable (); } [CCode (cheader_filename = "gio/gunixoutputstream.h")] - public class UnixOutputStream : GLib.OutputStream, GLib.PollableOutputStream { + public class UnixOutputStream : GLib.OutputStream, GLib.PollableOutputStream, GLib.FileDescriptorBased { [CCode (has_construct_function = false, type = "GOutputStream*")] public UnixOutputStream (int fd, bool close_fd); public bool get_close_fd (); - public int get_fd (); public void set_close_fd (bool close_fd); public bool close_fd { get; set; } public int fd { get; construct; } diff --git a/vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala b/vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala index 3e6b8c3ac..4b2b8741f 100644 --- a/vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala +++ b/vapi/packages/gio-unix-2.0/gio-unix-2.0-custom.vala @@ -37,11 +37,13 @@ namespace GLib { [CCode (cname = "g_unix_mount_guess_can_eject")] public bool guess_can_eject (); [CCode (cname = "g_unix_mount_guess_icon")] - public unowned GLib.Icon guess_icon (); + public GLib.Icon guess_icon (); [CCode (cname = "g_unix_mount_guess_name")] - public unowned string guess_name (); + public string guess_name (); [CCode (cname = "g_unix_mount_guess_should_display")] public bool guess_should_display (); + [CCode (cname = "g_unix_mount_guess_symbolic_icon")] + public GLib.Icon guess_symbolic_icon (); [CCode (cname = "g_unix_mount_is_readonly")] public bool is_readonly (); [CCode (cname = "g_unix_mount_is_system_internal")] diff --git a/vapi/packages/gio-unix-2.0/gio-unix-2.0.excludes b/vapi/packages/gio-unix-2.0/gio-unix-2.0.excludes new file mode 100644 index 000000000..c79c9d2ac --- /dev/null +++ b/vapi/packages/gio-unix-2.0/gio-unix-2.0.excludes @@ -0,0 +1 @@ +gio/gunixfdlist.h diff --git a/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi b/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi index bc58d4af4..1d8487e2f 100644 --- a/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi +++ b/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi @@ -69,6 +69,12 @@ + + + + + + @@ -149,6 +155,12 @@ + + + + + + @@ -167,6 +179,12 @@ + + + + + + @@ -190,6 +208,20 @@ + + + + + + + + + + + + + + @@ -214,6 +246,12 @@ + + + + + + @@ -227,6 +265,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -241,6 +307,12 @@ + + + + + + @@ -276,6 +348,23 @@ + + + + + + + + + + + + + + + + + @@ -292,6 +381,23 @@ + + + + + + + + + + + + + + + + + @@ -323,54 +429,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -407,6 +465,7 @@ + @@ -464,6 +523,7 @@ + diff --git a/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata b/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata index ef3ff7691..e75983384 100644 --- a/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata +++ b/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata @@ -1,7 +1,13 @@ GLib cprefix="G" lower_case_cprefix="g_" cheader_filename="gio/gunixmounts.h" GDesktopAppInfo cheader_filename="gio/gdesktopappinfo.h" +g_desktop_app_info_get_action_name transfer_ownership="1" +g_desktop_app_info_get_keywords type_name="string[]" +g_desktop_app_info_list_actions type_name="string[]" GFileDescriptorBased cheader_filename="gio/gfiledescriptorbased.h" GUnixConnection cheader_filename="gio/gunixconnection.h" +g_unix_connection_receive_credentials transfer_ownership="1" +g_unix_connection_receive_credentials_finish transfer_ownership="1" +GUnixCredentialsMessage cheader_filename="gio/gunixcredentialsmessage.h" GUnixFDMessage cheader_filename="gio/gunixfdmessage.h" GUnixInputStream cheader_filename="gio/gunixinputstream.h" g_unix_is_mount_path_system_internal name="is_mount_path_system_internal" @@ -19,8 +25,12 @@ g_unix_mount_guess_can_eject hidden="1" g_unix_mount_guess_icon hidden="1" g_unix_mount_guess_name hidden="1" g_unix_mount_guess_should_display hidden="1" +g_unix_mount_guess_symbolic_icon hidden="1" g_unix_mount_is_readonly hidden="1" g_unix_mount_is_system_internal hidden="1" +g_unix_mount_point_guess_icon transfer_ownership="1" +g_unix_mount_point_guess_name transfer_ownership="1" +g_unix_mount_point_guess_symbolic_icon transfer_ownership="1" g_unix_mount_points_changed_since name="mount_points_changed_since" g_unix_mount_points_get hidden="1" GUnixOutputStream cheader_filename="gio/gunixoutputstream.h"