]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 15 Jun 2019 18:11:36 +0000 (20:11 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 15 Jun 2019 18:11:36 +0000 (20:11 +0200)
vapi/gio-2.0.vapi
vapi/graphene-gobject-1.0.vapi
vapi/libsoup-2.4.vapi
vapi/metadata/Gio-2.0.metadata
vapi/pango.vapi

index 08cf0b668d4e2a2ce3c47e643b1db97995217027..2494bcfe81c138d340b94523c564772bd392fa60 100644 (file)
@@ -1260,7 +1260,7 @@ namespace GLib {
                public void clear_status ();
                public void copy_into (GLib.FileInfo dest_info);
                public GLib.FileInfo dup ();
-               public string get_attribute_as_string (string attribute);
+               public string? get_attribute_as_string (string attribute);
                public bool get_attribute_boolean (string attribute);
                public unowned string get_attribute_byte_string (string attribute);
                public bool get_attribute_data (string attribute, out GLib.FileAttributeType type, out void* value_pp, out GLib.FileAttributeStatus status);
@@ -1416,6 +1416,7 @@ namespace GLib {
        [Compact]
        public class IOExtensionPoint {
                [CCode (cheader_filename = "gio/gio.h", cname = "G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME")]
+               [Version (deprecated = true, deprecated_since = "2.28")]
                public const string DESKTOP_APP_INFO_LOOKUP;
                [CCode (cheader_filename = "gio/gio.h", cname = "G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
                public const string NATIVE_VOLUME_MONITOR;
@@ -2176,6 +2177,7 @@ namespace GLib {
                [CCode (array_length = false, array_null_terminated = true)]
                public string[] list_children ();
                [CCode (array_length = false, array_null_terminated = true)]
+               [Version (deprecated = true, deprecated_since = "2.46")]
                public string[] list_keys ();
                [CCode (array_length = false, array_null_terminated = true)]
                [Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
@@ -2753,7 +2755,7 @@ namespace GLib {
                public async bool communicate_utf8_async (string? stdin_buf, GLib.Cancellable? cancellable, out string? stdout_buf, out string? stderr_buf) throws GLib.Error;
                public void force_exit ();
                public int get_exit_status ();
-               public unowned string get_identifier ();
+               public unowned string? get_identifier ();
                public bool get_if_exited ();
                public bool get_if_signaled ();
                public int get_status ();
index ae7cce4ae02397ffa88bf08ea5c990d80cea23ac..e90ecf2a5e58e9b73ce100f738973d02ba4af598 100644 (file)
@@ -322,6 +322,8 @@ namespace Graphene {
                public bool equal (Graphene.Rect b);
                [Version (since = "1.4")]
                public Graphene.Rect expand (Graphene.Point p);
+               [Version (since = "1.10")]
+               public float get_area ();
                public Graphene.Point get_bottom_left ();
                public Graphene.Point get_bottom_right ();
                public Graphene.Point get_center ();
@@ -346,8 +348,10 @@ namespace Graphene {
                public unowned Graphene.Rect? offset (float d_x, float d_y);
                [Version (since = "1.4")]
                public Graphene.Rect offset_r (float d_x, float d_y);
-               [Version (since = "1.4")]
+               [Version (deprecated = true, deprecated_since = "1.10", since = "1.4")]
                public Graphene.Rect round ();
+               [Version (since = "1.10")]
+               public Graphene.Rect round_extents ();
                [Version (deprecated = true, deprecated_since = "1.4", since = "1.0")]
                public unowned Graphene.Rect? round_to_pixel ();
                [Version (since = "1.10")]
index 8cb58a39f3924fa3cf353e165fe46ce08621dc02..a3fefef2fa58e0091f41277e5bb67506217289af 100644 (file)
@@ -505,6 +505,7 @@ namespace Soup {
                [Version (since = "2.68")]
                public void set_session_policy (string domain, bool include_subdomains);
                public virtual signal void changed (Soup.HSTSPolicy old_policy, Soup.HSTSPolicy new_policy);
+               public virtual signal void hsts_enforced (Soup.Message message);
        }
        [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_hsts_enforcer_db_get_type ()")]
        public class HSTSEnforcerDB : Soup.HSTSEnforcer, Soup.SessionFeature {
index a0e2e67de47e3cc816c4106e0d9706de97fdb6d7..50bcc2b4bcc656e95a31c7dc0e7353e1ba75318d 100644 (file)
@@ -141,9 +141,13 @@ InputStream
   .close abstract vfunc_name="close_fn" throws="GLib.IOError"
   .close_finish throws="GLib.IOError"
   .read abstract vfunc_name="read_fn" throws="GLib.IOError"
+  .read.buffer out=false
   .read_all throws="GLib.IOError"
+  .read_all.buffer out=false
+  .read_all_async.buffer out=false
   .read_all_async.io_priority default=()
   .read_all_async.cancellable default=()
+  .read_async.buffer out=false
   .read_finish throws="GLib.IOError"
   .skip throws="GLib.IOError"
   .skip_finish throws="GLib.IOError"
index f3feb6d4f8b6cc8982dd753624f9f0fafe9f9aba..be83d1adc3b5fc5359be283ea86c784a36eb927b 100644 (file)
@@ -987,7 +987,7 @@ namespace Pango {
                MULTANI,
                OLD_HUNGARIAN,
                SIGNWRITING;
-               [Version (since = "1.4")]
+               [Version (deprecated = true, deprecated_since = "1.44.", since = "1.4")]
                public static Pango.Script for_unichar (unichar ch);
                [Version (since = "1.4")]
                public Pango.Language? get_sample_language ();