]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 7 Feb 2018 16:44:38 +0000 (17:44 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 7 Feb 2018 16:44:38 +0000 (17:44 +0100)
vapi/atspi-2.vapi
vapi/gio-2.0.vapi
vapi/libsoup-2.4.vapi

index 1802786564e73f6cd27b59a83ec506b84e596af3..d97ea86d1be1d8014b0c17790a4e69ace4007a21 100644 (file)
@@ -429,11 +429,6 @@ namespace Atspi {
                public weak string keystrings;
                public short len;
        }
-       [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
-       public struct Reference {
-               public weak string name;
-               public weak string path;
-       }
        [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_CACHE_", type_id = "atspi_cache_get_type ()")]
        [Flags]
        public enum Cache {
@@ -494,12 +489,6 @@ namespace Atspi {
                SCREEN,
                WINDOW
        }
-       [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_ERROR_", has_type_id = false)]
-       public enum Error {
-               APPLICATION_GONE,
-               IPC,
-               SYNC_NOT_ALLOWED
-       }
        [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_", type_id = "atspi_event_type_get_type ()")]
        public enum EventType {
                KEY_PRESSED_EVENT,
index 3d05a45b6d3f8f80d378ac51040a622b60aa3562..fee8e5700a37e4e5f4a3911335b1cbe14cbe0035 100644 (file)
@@ -1098,8 +1098,9 @@ namespace GLib {
                public uint16 read_uint16 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
                public uint32 read_uint32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
                public uint64 read_uint64 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
+               [Version (deprecated = true, deprecated_since = "2.56")]
                public string read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
-               [Version (since = "2.20")]
+               [Version (deprecated = true, deprecated_since = "2.56", since = "2.20")]
                public async string read_until_async (string stop_chars, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
                [Version (since = "2.26")]
                public string read_upto (string stop_chars, ssize_t stop_chars_len, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
index 5192257921cbb731daa07f17528deacd80b64631..1e0e8fd3cae69715d52d375dc597cc4adaaf5154 100644 (file)
@@ -854,6 +854,8 @@ namespace Soup {
                [NoWrapper]
                public virtual void auth_required (Soup.Message msg, Soup.Auth auth, bool retrying);
                public virtual void cancel_message (Soup.Message msg, uint status_code);
+               [Version (since = "2.62")]
+               public async GLib.IOStream connect_async (Soup.URI uri, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.SessionConnectProgressCallback? progress_callback) throws GLib.Error;
                [NoWrapper]
                public virtual void flush_queue ();
                public unowned GLib.MainContext? get_async_context ();
@@ -1568,6 +1570,9 @@ namespace Soup {
        public delegate void ServerWebsocketCallback (Soup.Server server, Soup.WebsocketConnection connection, string path, Soup.ClientContext client);
        [CCode (cheader_filename = "libsoup/soup.h", instance_pos = 2.9)]
        public delegate void SessionCallback (Soup.Session session, Soup.Message msg);
+       [CCode (cheader_filename = "libsoup/soup.h", instance_pos = 3.9)]
+       [Version (since = "2.62")]
+       public delegate void SessionConnectProgressCallback (Soup.Session session, GLib.SocketClientEvent event, GLib.IOStream connection);
        [CCode (cheader_filename = "libsoup/soup.h", instance_pos = 2.9)]
        public delegate void SocketCallback (Soup.Socket sock, uint status);
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_ADDRESS_ANY_PORT")]