[vala] bindings: update GIR-based bindings to latest git



commit 245cef488b837160aeb731440601b0dfabf8f718
Author: Evan Nemerson <evan nemerson com>
Date:   Wed Jul 9 09:55:53 2014 -0700

    bindings: update GIR-based bindings to latest git

 vapi/atspi-2.vapi                        |   10 +-
 vapi/clutter-1.0.vapi                    |    1 +
 vapi/gio-2.0.vapi                        |   12 ++
 vapi/gobject-introspection-1.0.vapi      |    1 +
 vapi/gstreamer-1.0.vapi                  |   16 +-
 vapi/gstreamer-rtsp-1.0.vapi             |    2 +-
 vapi/gstreamer-rtsp-server-1.0.vapi      |    1 +
 vapi/gstreamer-sdp-1.0.vapi              |  270 +++++++++++++-----------------
 vapi/gtksourceview-3.0.vapi              |  125 ++++++++++++++
 vapi/metadata/GstBase-1.0.metadata       |    2 +-
 vapi/metadata/GstRtspServer-1.0.metadata |    1 -
 vapi/metadata/GstSdp-1.0.metadata        |   19 ++
 12 files changed, 291 insertions(+), 169 deletions(-)
---
diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi
index 4cd7c57..73239ce 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -51,7 +51,7 @@ namespace Atspi {
                public string get_localized_role_name () throws GLib.Error;
                public string get_name () throws GLib.Error;
                public unowned string get_object_locale () throws GLib.Error;
-               public Atspi.Accessible get_parent () throws GLib.Error;
+               public Atspi.Accessible? get_parent () throws GLib.Error;
                public uint get_process_id () throws GLib.Error;
                public GLib.Array<Atspi.Accessible> get_relation_set () throws GLib.Error;
                public Atspi.Role get_role () throws GLib.Error;
@@ -236,7 +236,7 @@ namespace Atspi {
        [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_component_get_type ()")]
        public interface Component : GLib.Object {
                public bool contains (int x, int y, Atspi.CoordType ctype) throws GLib.Error;
-               public Atspi.Accessible get_accessible_at_point (int x, int y, Atspi.CoordType ctype) throws 
GLib.Error;
+               public Atspi.Accessible? get_accessible_at_point (int x, int y, Atspi.CoordType ctype) throws 
GLib.Error;
                public double get_alpha () throws GLib.Error;
                public Atspi.Rect get_extents (Atspi.CoordType ctype) throws GLib.Error;
                public Atspi.ComponentLayer get_layer () throws GLib.Error;
@@ -271,7 +271,7 @@ namespace Atspi {
        }
        [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_hypertext_get_type ()")]
        public interface Hypertext : GLib.Object {
-               public Atspi.Hyperlink get_link (int link_index) throws GLib.Error;
+               public Atspi.Hyperlink? get_link (int link_index) throws GLib.Error;
                public int get_link_index (int character_offset) throws GLib.Error;
                public int get_n_links () throws GLib.Error;
        }
@@ -339,7 +339,7 @@ namespace Atspi {
                public bool add_selection (int start_offset, int end_offset) throws GLib.Error;
                public GLib.HashTable<string,string> get_attribute_run (int offset, bool include_defaults, 
out int start_offset, out int end_offset) throws GLib.Error;
                [Deprecated (since = "2.10")]
-               public string get_attribute_value (int offset, string attribute_name) throws GLib.Error;
+               public string? get_attribute_value (int offset, string attribute_name) throws GLib.Error;
                [Deprecated (since = "2.10")]
                public GLib.HashTable<string,string> get_attributes (int offset, out int start_offset, out 
int end_offset) throws GLib.Error;
                public GLib.Array<Atspi.TextRange> get_bounded_ranges (int x, int y, int width, int height, 
Atspi.CoordType type, Atspi.TextClipType clipTypeX, Atspi.TextClipType clipTypeY) throws GLib.Error;
@@ -357,7 +357,7 @@ namespace Atspi {
                public Atspi.TextRange get_text_after_offset (int offset, Atspi.TextBoundaryType type) throws 
GLib.Error;
                [Deprecated (since = "2.10")]
                public Atspi.TextRange get_text_at_offset (int offset, Atspi.TextBoundaryType type) throws 
GLib.Error;
-               public string get_text_attribute_value (int offset, string attribute_name) throws GLib.Error;
+               public string? get_text_attribute_value (int offset, string attribute_name) throws GLib.Error;
                public GLib.HashTable<string,string> get_text_attributes (int offset, out int start_offset, 
out int end_offset) throws GLib.Error;
                public Atspi.TextRange get_text_before_offset (int offset, Atspi.TextBoundaryType type) 
throws GLib.Error;
                public bool remove_selection (int selection_num) throws GLib.Error;
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index ee3c86a..ca08fc5 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -6676,6 +6676,7 @@ namespace Clutter {
                public bool use_fog { get; set; }
                public bool user_resizable { get; set; }
                public virtual signal void activate ();
+               public signal void after_paint ();
                public virtual signal void deactivate ();
                public virtual signal bool delete_event (Clutter.Event event);
                public virtual signal void fullscreen ();
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 2c54ad1..043266d 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -299,6 +299,7 @@ namespace GLib {
                public uint get_inactivity_timeout ();
                public bool get_is_registered ();
                public bool get_is_remote ();
+               public unowned string get_resource_base_path ();
                public void hold ();
                public static bool id_is_valid (string application_id);
                [NoWrapper]
@@ -319,6 +320,7 @@ namespace GLib {
                public void set_default ();
                public void set_flags (GLib.ApplicationFlags flags);
                public void set_inactivity_timeout (uint inactivity_timeout);
+               public void set_resource_base_path (string resource_base_path);
                public void unmark_busy ();
                public void withdraw_notification (string id);
                public GLib.ActionGroup action_group { set; }
@@ -327,6 +329,7 @@ namespace GLib {
                public uint inactivity_timeout { get; set; }
                public bool is_registered { get; }
                public bool is_remote { get; }
+               public string resource_base_path { get; set; }
                [HasEmitter]
                public virtual signal void activate ();
                public virtual signal int command_line (GLib.ApplicationCommandLine command_line);
@@ -1571,6 +1574,7 @@ namespace GLib {
                public void set_default_action (string detailed_action);
                public void set_default_action_and_target_value (string action, GLib.Variant? target);
                public void set_icon (GLib.Icon icon);
+               public void set_priority (GLib.NotificationPriority priority);
                public void set_title (string title);
                public void set_urgent (bool urgent);
        }
@@ -3023,6 +3027,7 @@ namespace GLib {
                INVALID,
                LINUX_UCRED,
                FREEBSD_CMSGCRED,
+               NETBSD_UNPCBID,
                OPENBSD_SOCKPEERCRED,
                SOLARIS_UCRED
        }
@@ -3293,6 +3298,13 @@ namespace GLib {
                NONE,
                FORCE
        }
+       [CCode (cheader_filename = "gio/gio.h", cprefix = "G_NOTIFICATION_PRIORITY_", type_id = 
"g_notification_priority_get_type ()")]
+       public enum NotificationPriority {
+               NORMAL,
+               LOW,
+               HIGH,
+               URGENT
+       }
        [CCode (cheader_filename = "gio/gio.h", cprefix = "G_OUTPUT_STREAM_SPLICE_", type_id = 
"g_output_stream_splice_flags_get_type ()")]
        [Flags]
        public enum OutputStreamSpliceFlags {
diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi
index 44b5dfa..c5552bd 100644
--- a/vapi/gobject-introspection-1.0.vapi
+++ b/vapi/gobject-introspection-1.0.vapi
@@ -48,6 +48,7 @@ namespace GI {
                public static bool can_throw_gerror (GI.CallableInfo info);
                public static GI.ArgInfo get_arg (GI.CallableInfo info, int n);
                public static GI.Transfer get_caller_owns (GI.CallableInfo info);
+               public static GI.Transfer get_instance_ownership_transfer (GI.CallableInfo info);
                public static int get_n_args (GI.CallableInfo info);
                public static unowned string get_return_attribute (GI.CallableInfo info, string name);
                public static GI.TypeInfo get_return_type (GI.CallableInfo info);
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 431ac92..8735dd7 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -939,12 +939,10 @@ namespace Gst {
        public class DeviceMonitor : Gst.Object {
                [CCode (has_construct_function = false)]
                public DeviceMonitor ();
+               public uint add_filter (string? classes, Gst.Caps? caps);
                public Gst.Bus get_bus ();
-               public Gst.Caps get_caps_filter ();
-               public string get_classes_filter ();
                public GLib.List<Gst.Device> get_devices ();
-               public void set_caps_filter (Gst.Caps caps);
-               public void set_classes_filter (string classes);
+               public bool remove_filter (uint filter_id);
                public bool start ();
                public void stop ();
        }
@@ -956,7 +954,7 @@ namespace Gst {
                [CCode (cname = "gst_device_provider_class_add_metadata")]
                public class void add_metadata (string key, string value);
                [CCode (cname = "gst_device_provider_class_add_static_metadata")]
-               public class void add_static_metadata (string key, string value);
+               public class void add_static_metadata (string key, owned string value);
                public bool can_monitor ();
                public void device_add (owned Gst.Device device);
                public void device_remove (Gst.Device device);
@@ -969,7 +967,7 @@ namespace Gst {
                [CCode (cname = "gst_device_provider_class_set_metadata")]
                public class void set_metadata (string longname, string classification, string description, 
string author);
                [CCode (cname = "gst_device_provider_class_set_static_metadata")]
-               public class void set_static_metadata (string longname, string classification, string 
description, string author);
+               public class void set_static_metadata (owned string longname, owned string classification, 
owned string description, owned string author);
                public virtual bool start ();
                public virtual void stop ();
        }
@@ -984,9 +982,9 @@ namespace Gst {
                public unowned string? get_metadata (string key);
                [CCode (array_length = false, array_null_terminated = true)]
                public string[]? get_metadata_keys ();
-               public bool has_classes (string classes);
-               public bool has_classesv ([CCode (array_length = false, array_null_terminated = true)] 
string[] classes);
-               public static GLib.List<Gst.DeviceProviderFactory> list_get_device_providers (string classes, 
Gst.Rank minrank);
+               public bool has_classes (string? classes);
+               public bool has_classesv ([CCode (array_length = false, array_null_terminated = true)] 
string[]? classes);
+               public static GLib.List<Gst.DeviceProviderFactory> list_get_device_providers (Gst.Rank 
minrank);
        }
        [CCode (cheader_filename = "gst/gst.h", type_id = "gst_double_range_get_type ()")]
        public class DoubleRange {
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index 7c0f45b..ccc7e90 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -177,7 +177,7 @@ namespace Gst {
                        public uint ssrc;
                        public string as_text ();
                        public Gst.RTSP.Result free ();
-                       public Gst.RTSP.Result get_media_type (out string media_type);
+                       public Gst.RTSP.Result get_media_type (out unowned string media_type);
                        public Gst.RTSP.Result init ();
                }
                [CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_AUTH_", type_id = 
"gst_rtsp_auth_method_get_type ()")]
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi
index 543e1d5..b27da74 100644
--- a/vapi/gstreamer-rtsp-server-1.0.vapi
+++ b/vapi/gstreamer-rtsp-server-1.0.vapi
@@ -375,6 +375,7 @@ namespace Gst {
                        public bool remove (Gst.RTSPServer.Session sess);
                        public void set_max_sessions (uint max);
                        public uint max_sessions { get; set; }
+                       public virtual signal void session_removed (Gst.RTSPServer.Session session);
                }
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPStream", 
lower_case_cprefix = "gst_rtsp_stream_", type_id = "gst_rtsp_stream_get_type ()")]
                [GIR (name = "RTSPStream")]
diff --git a/vapi/gstreamer-sdp-1.0.vapi b/vapi/gstreamer-sdp-1.0.vapi
index 84fafe5..e6ce3f2 100644
--- a/vapi/gstreamer-sdp-1.0.vapi
+++ b/vapi/gstreamer-sdp-1.0.vapi
@@ -13,6 +13,124 @@ namespace Gst {
                [GIR (name = "MIKEYEncryptInfo")]
                public class MIKEYEncryptInfo {
                }
+               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYMessage", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_mikey_message_", type_id = 
"gst_mikey_message_get_type ()")]
+               [Compact]
+               [GIR (name = "MIKEYMessage")]
+               public class MIKEYMessage : Gst.MiniObject {
+                       public uint32 CSB_id;
+                       public bool V;
+                       public weak GLib.Array<void*> map_info;
+                       public Gst.SDP.MIKEYMapType map_type;
+                       public weak GLib.Array<void*> payloads;
+                       public Gst.SDP.MIKEYPRFFunc prf_func;
+                       public Gst.SDP.MIKEYType type;
+                       public uint8 version;
+                       [CCode (has_construct_function = false)]
+                       public MIKEYMessage ();
+                       public bool add_cs_srtp (uint8 policy, uint32 ssrc, uint32 roc);
+                       public bool add_payload (owned Gst.SDP.MIKEYPayload payload);
+                       public bool add_pke (Gst.SDP.MIKEYCacheType C, [CCode (array_length_cname = 
"data_len", array_length_pos = 1.5, array_length_type = "guint16")] uint8[] data);
+                       public bool add_rand ([CCode (array_length_cname = "len", array_length_pos = 0.5, 
array_length_type = "guint8")] uint8[] rand);
+                       public bool add_rand_len (uint8 len);
+                       public bool add_t (Gst.SDP.MIKEYTSType type, [CCode (array_length = false)] uint8[] 
ts_value);
+                       public bool add_t_now_ntp_utc ();
+                       public unowned Gst.SDP.MIKEYPayload find_payload (Gst.SDP.MIKEYPayloadType type, uint 
nth);
+                       [CCode (has_construct_function = false)]
+                       public MIKEYMessage.from_bytes (GLib.Bytes bytes, Gst.SDP.MIKEYDecryptInfo info) 
throws GLib.Error;
+                       [CCode (has_construct_function = false)]
+                       public MIKEYMessage.from_data ([CCode (array_length_cname = "size", array_length_pos 
= 1.5, array_length_type = "gsize")] uint8[] data, Gst.SDP.MIKEYDecryptInfo info) throws GLib.Error;
+                       public unowned Gst.SDP.MIKEYMapSRTP? get_cs_srtp (uint idx);
+                       public uint get_n_cs ();
+                       public uint get_n_payloads ();
+                       public unowned Gst.SDP.MIKEYPayload get_payload (uint idx);
+                       public bool insert_cs_srtp (int idx, Gst.SDP.MIKEYMapSRTP map);
+                       public bool insert_payload (uint idx, owned Gst.SDP.MIKEYPayload payload);
+                       public bool remove_cs_srtp (int idx);
+                       public bool remove_payload (uint idx);
+                       public bool replace_cs_srtp (int idx, Gst.SDP.MIKEYMapSRTP map);
+                       public bool replace_payload (uint idx, owned Gst.SDP.MIKEYPayload payload);
+                       public bool set_info (uint8 version, Gst.SDP.MIKEYType type, bool V, 
Gst.SDP.MIKEYPRFFunc prf_func, uint32 CSB_id, Gst.SDP.MIKEYMapType map_type);
+                       public GLib.Bytes to_bytes (Gst.SDP.MIKEYEncryptInfo info) throws GLib.Error;
+               }
+               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayload", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_mikey_payload_", type_id = 
"gst_mikey_payload_get_type ()")]
+               [Compact]
+               [GIR (name = "MIKEYPayload")]
+               public class MIKEYPayload : Gst.MiniObject {
+                       public uint len;
+                       public Gst.SDP.MIKEYPayloadType type;
+                       [CCode (has_construct_function = false)]
+                       public MIKEYPayload (Gst.SDP.MIKEYPayloadType type);
+                       public bool kemac_add_sub (owned Gst.SDP.MIKEYPayload newpay);
+                       public uint kemac_get_n_sub ();
+                       public unowned Gst.SDP.MIKEYPayload kemac_get_sub (uint idx);
+                       public bool kemac_remove_sub (uint idx);
+                       public bool kemac_set (Gst.SDP.MIKEYEncAlg enc_alg, Gst.SDP.MIKEYMacAlg mac_alg);
+                       public bool key_data_set_interval (uint8 vf_len, [CCode (array_length_cname = 
"vt_len", array_length_pos = 1.66667, array_length_type = "guint8")] uint8[] vt_data);
+                       public bool key_data_set_key (Gst.SDP.MIKEYKeyDataType key_type, [CCode 
(array_length_cname = "key_len", array_length_pos = 1.5, array_length_type = "guint16")] uint8[] key_data);
+                       public bool key_data_set_salt ([CCode (array_length_cname = "salt_len", 
array_length_pos = 0.5, array_length_type = "guint16")] uint8[]? salt_data);
+                       public bool key_data_set_spi ([CCode (array_length_cname = "spi_len", 
array_length_pos = 0.5, array_length_type = "guint8")] uint8[] spi_data);
+                       public bool pke_set (Gst.SDP.MIKEYCacheType C, [CCode (array_length_cname = 
"data_len", array_length_pos = 1.5, array_length_type = "guint16")] uint8[] data);
+                       public bool rand_set ([CCode (array_length_cname = "len", array_length_pos = 0.5, 
array_length_type = "guint8")] uint8[] rand);
+                       public bool sp_add_param (uint8 type, [CCode (array_length_cname = "len", 
array_length_pos = 1.5, array_length_type = "guint8")] uint8[] val);
+                       public uint sp_get_n_params ();
+                       public unowned Gst.SDP.MIKEYPayloadSPParam? sp_get_param (uint idx);
+                       public bool sp_remove_param (uint idx);
+                       public bool sp_set (uint policy, Gst.SDP.MIKEYSecProto proto);
+                       public bool t_set (Gst.SDP.MIKEYTSType type, [CCode (array_length = false)] uint8[] 
ts_value);
+               }
+               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadKEMAC")]
+               [Compact]
+               [GIR (name = "MIKEYPayloadKEMAC")]
+               public class MIKEYPayloadKEMAC : Gst.SDP.MIKEYPayload {
+                       public Gst.SDP.MIKEYEncAlg enc_alg;
+                       public Gst.SDP.MIKEYMacAlg mac_alg;
+                       public weak GLib.Array<void*> subpayloads;
+               }
+               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadKeyData")]
+               [Compact]
+               [GIR (name = "MIKEYPayloadKeyData")]
+               public class MIKEYPayloadKeyData : Gst.SDP.MIKEYPayload {
+                       public uint8 key_data;
+                       public uint16 key_len;
+                       public Gst.SDP.MIKEYKeyDataType key_type;
+                       [CCode (array_length = false, array_null_terminated = true)]
+                       public weak uint8[] kv_data;
+                       [CCode (array_length = false, array_null_terminated = true)]
+                       public weak uint8[] kv_len;
+                       public Gst.SDP.MIKEYKVType kv_type;
+                       public uint8 salt_data;
+                       public uint16 salt_len;
+               }
+               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadPKE")]
+               [Compact]
+               [GIR (name = "MIKEYPayloadPKE")]
+               public class MIKEYPayloadPKE : Gst.SDP.MIKEYPayload {
+                       public Gst.SDP.MIKEYCacheType C;
+                       public uint8 data;
+                       public uint16 data_len;
+               }
+               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadRAND")]
+               [Compact]
+               [GIR (name = "MIKEYPayloadRAND")]
+               public class MIKEYPayloadRAND : Gst.SDP.MIKEYPayload {
+                       public uint8 len;
+                       public uint8 rand;
+               }
+               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadSP")]
+               [Compact]
+               [GIR (name = "MIKEYPayloadSP")]
+               public class MIKEYPayloadSP : Gst.SDP.MIKEYPayload {
+                       public weak GLib.Array<void*> @params;
+                       public uint policy;
+                       public Gst.SDP.MIKEYSecProto proto;
+               }
+               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadT")]
+               [Compact]
+               [GIR (name = "MIKEYPayloadT")]
+               public class MIKEYPayloadT : Gst.SDP.MIKEYPayload {
+                       public uint8 ts_value;
+                       public Gst.SDP.MIKEYTSType type;
+               }
                [CCode (cheader_filename = "gst/sdp/sdp.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gst_sdp_message_get_type ()")]
                [Compact]
                [GIR (name = "SDPMessage")]
@@ -133,149 +251,6 @@ namespace Gst {
                        public uint32 ssrc;
                        public uint32 roc;
                }
-               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYMessage", has_type_id = false)]
-               [GIR (name = "MIKEYMessage")]
-               public struct MIKEYMessage {
-                       public uint8 version;
-                       public Gst.SDP.MIKEYType type;
-                       public bool V;
-                       public Gst.SDP.MIKEYPRFFunc prf_func;
-                       public uint32 CSB_id;
-                       public Gst.SDP.MIKEYMapType map_type;
-                       public weak GLib.Array<void*> map_info;
-                       public weak GLib.Array<void*> payloads;
-                       [CCode (cname = "gst_mikey_message_add_cs_srtp")]
-                       public bool add_cs_srtp (uint8 policy, uint32 ssrc, uint32 roc);
-                       [CCode (cname = "gst_mikey_message_add_payload")]
-                       public bool add_payload (Gst.SDP.MIKEYPayload payload);
-                       [CCode (cname = "gst_mikey_message_add_pke")]
-                       public bool add_pke (Gst.SDP.MIKEYCacheType C, uint16 data_len, uint8 data);
-                       [CCode (cname = "gst_mikey_message_add_rand")]
-                       public bool add_rand (uint8 len, uint8 rand);
-                       [CCode (cname = "gst_mikey_message_add_rand_len")]
-                       public bool add_rand_len (uint8 len);
-                       [CCode (cname = "gst_mikey_message_add_t")]
-                       public bool add_t (Gst.SDP.MIKEYTSType type, uint8 ts_value);
-                       [CCode (cname = "gst_mikey_message_add_t_now_ntp_utc")]
-                       public bool add_t_now_ntp_utc ();
-                       [CCode (cname = "gst_mikey_message_find_payload")]
-                       public unowned Gst.SDP.MIKEYPayload? find_payload (Gst.SDP.MIKEYPayloadType type, 
uint nth);
-                       [CCode (cname = "gst_mikey_message_free")]
-                       public void free ();
-                       [CCode (cname = "gst_mikey_message_get_cs_srtp")]
-                       public unowned Gst.SDP.MIKEYMapSRTP? get_cs_srtp (uint idx);
-                       [CCode (cname = "gst_mikey_message_get_n_cs")]
-                       public uint get_n_cs ();
-                       [CCode (cname = "gst_mikey_message_get_n_payloads")]
-                       public uint get_n_payloads ();
-                       [CCode (cname = "gst_mikey_message_get_payload")]
-                       public unowned Gst.SDP.MIKEYPayload? get_payload (uint idx);
-                       [CCode (cname = "gst_mikey_message_insert_cs_srtp")]
-                       public bool insert_cs_srtp (int idx, Gst.SDP.MIKEYMapSRTP map);
-                       [CCode (cname = "gst_mikey_message_insert_payload")]
-                       public bool insert_payload (uint idx, Gst.SDP.MIKEYPayload payload);
-                       [CCode (cname = "gst_mikey_message_remove_cs_srtp")]
-                       public bool remove_cs_srtp (int idx);
-                       [CCode (cname = "gst_mikey_message_remove_payload")]
-                       public bool remove_payload (uint idx);
-                       [CCode (cname = "gst_mikey_message_replace_cs_srtp")]
-                       public bool replace_cs_srtp (int idx, Gst.SDP.MIKEYMapSRTP map);
-                       [CCode (cname = "gst_mikey_message_replace_payload")]
-                       public bool replace_payload (uint idx, Gst.SDP.MIKEYPayload payload);
-                       [CCode (cname = "gst_mikey_message_set_info")]
-                       public bool set_info (uint8 version, Gst.SDP.MIKEYType type, bool V, 
Gst.SDP.MIKEYPRFFunc prf_func, uint32 CSB_id, Gst.SDP.MIKEYMapType map_type);
-                       [CCode (cname = "gst_mikey_message_to_bytes")]
-                       public GLib.Bytes to_bytes (Gst.SDP.MIKEYEncryptInfo info) throws GLib.Error;
-               }
-               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayload", has_type_id = false)]
-               [GIR (name = "MIKEYPayload")]
-               public struct MIKEYPayload {
-                       public Gst.SDP.MIKEYPayloadType type;
-                       public uint len;
-                       public weak Gst.SDP.MIKEYPayloadClearFunc clear_func;
-                       [CCode (cname = "gst_mikey_payload_free")]
-                       public bool free ();
-                       [CCode (cname = "gst_mikey_payload_kemac_add_sub")]
-                       public bool kemac_add_sub (Gst.SDP.MIKEYPayload newpay);
-                       [CCode (cname = "gst_mikey_payload_kemac_get_n_sub")]
-                       public uint kemac_get_n_sub ();
-                       [CCode (cname = "gst_mikey_payload_kemac_get_sub")]
-                       public unowned Gst.SDP.MIKEYPayload? kemac_get_sub (uint idx);
-                       [CCode (cname = "gst_mikey_payload_kemac_remove_sub")]
-                       public bool kemac_remove_sub (uint idx);
-                       [CCode (cname = "gst_mikey_payload_kemac_set")]
-                       public bool kemac_set (Gst.SDP.MIKEYEncAlg enc_alg, Gst.SDP.MIKEYMacAlg mac_alg);
-                       [CCode (cname = "gst_mikey_payload_key_data_set_interval")]
-                       public bool key_data_set_interval (uint8 vf_len, uint8 vf_data, uint8 vt_len, uint8 
vt_data);
-                       [CCode (cname = "gst_mikey_payload_key_data_set_key")]
-                       public bool key_data_set_key (Gst.SDP.MIKEYKeyDataType key_type, uint16 key_len, 
uint8 key_data);
-                       [CCode (cname = "gst_mikey_payload_key_data_set_salt")]
-                       public bool key_data_set_salt (uint16 salt_len, uint8 salt_data);
-                       [CCode (cname = "gst_mikey_payload_key_data_set_spi")]
-                       public bool key_data_set_spi (uint8 spi_len, uint8 spi_data);
-                       [CCode (cname = "gst_mikey_payload_pke_set")]
-                       public bool pke_set (Gst.SDP.MIKEYCacheType C, uint16 data_len, uint8 data);
-                       [CCode (cname = "gst_mikey_payload_rand_set")]
-                       public bool rand_set (uint8 len, uint8 rand);
-                       [CCode (cname = "gst_mikey_payload_sp_add_param")]
-                       public bool sp_add_param (uint8 type, uint8 len, uint8 val);
-                       [CCode (cname = "gst_mikey_payload_sp_get_n_params")]
-                       public uint sp_get_n_params ();
-                       [CCode (cname = "gst_mikey_payload_sp_get_param")]
-                       public unowned Gst.SDP.MIKEYPayloadSPParam? sp_get_param (uint idx);
-                       [CCode (cname = "gst_mikey_payload_sp_remove_param")]
-                       public bool sp_remove_param (uint idx);
-                       [CCode (cname = "gst_mikey_payload_sp_set")]
-                       public bool sp_set (uint policy, Gst.SDP.MIKEYSecProto proto);
-                       [CCode (cname = "gst_mikey_payload_t_set")]
-                       public bool t_set (Gst.SDP.MIKEYTSType type, uint8 ts_value);
-               }
-               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadKEMAC", has_type_id = 
false)]
-               [GIR (name = "MIKEYPayloadKEMAC")]
-               public struct MIKEYPayloadKEMAC {
-                       public Gst.SDP.MIKEYPayload pt;
-                       public Gst.SDP.MIKEYEncAlg enc_alg;
-                       public Gst.SDP.MIKEYMacAlg mac_alg;
-                       public weak GLib.Array<void*> subpayloads;
-               }
-               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadKeyData", has_type_id = 
false)]
-               [GIR (name = "MIKEYPayloadKeyData")]
-               public struct MIKEYPayloadKeyData {
-                       public Gst.SDP.MIKEYPayload pt;
-                       public Gst.SDP.MIKEYKeyDataType key_type;
-                       public uint16 key_len;
-                       public uint8 key_data;
-                       public uint16 salt_len;
-                       public uint8 salt_data;
-                       public Gst.SDP.MIKEYKVType kv_type;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint8[] kv_len;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint8[] kv_data;
-               }
-               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadPKE", has_type_id = 
false)]
-               [GIR (name = "MIKEYPayloadPKE")]
-               public struct MIKEYPayloadPKE {
-                       public Gst.SDP.MIKEYPayload pt;
-                       public Gst.SDP.MIKEYCacheType C;
-                       public uint16 data_len;
-                       public uint8 data;
-               }
-               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadRAND", has_type_id = 
false)]
-               [GIR (name = "MIKEYPayloadRAND")]
-               public struct MIKEYPayloadRAND {
-                       public Gst.SDP.MIKEYPayload pt;
-                       public uint8 len;
-                       public uint8 rand;
-               }
-               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadSP", has_type_id = false)]
-               [GIR (name = "MIKEYPayloadSP")]
-               public struct MIKEYPayloadSP {
-                       public Gst.SDP.MIKEYPayload pt;
-                       public uint policy;
-                       public Gst.SDP.MIKEYSecProto proto;
-                       public weak GLib.Array<void*> @params;
-               }
                [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadSPParam", has_type_id = 
false)]
                [GIR (name = "MIKEYPayloadSPParam")]
                public struct MIKEYPayloadSPParam {
@@ -283,13 +258,6 @@ namespace Gst {
                        public uint8 len;
                        public uint8 val;
                }
-               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadT", has_type_id = false)]
-               [GIR (name = "MIKEYPayloadT")]
-               public struct MIKEYPayloadT {
-                       public Gst.SDP.MIKEYPayload pt;
-                       public Gst.SDP.MIKEYTSType type;
-                       public uint8 ts_value;
-               }
                [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
                [GIR (name = "SDPMedia")]
                public struct Media {
@@ -485,8 +453,6 @@ namespace Gst {
                        OK,
                        EINVAL
                }
-               [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYPayloadClearFunc", has_target = 
false)]
-               public delegate void MIKEYPayloadClearFunc (Gst.SDP.MIKEYPayload payload);
                [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GST_SDP_BWTYPE_AS")]
                public const string BWTYPE_AS;
                [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GST_SDP_BWTYPE_CT")]
diff --git a/vapi/gtksourceview-3.0.vapi b/vapi/gtksourceview-3.0.vapi
index a1ca4cd..7ead0db 100644
--- a/vapi/gtksourceview-3.0.vapi
+++ b/vapi/gtksourceview-3.0.vapi
@@ -24,6 +24,7 @@ namespace Gtk {
                public string[] get_context_classes_at_iter (Gtk.TextIter iter);
                public bool get_highlight_matching_brackets ();
                public bool get_highlight_syntax ();
+               public bool get_implicit_trailing_newline ();
                public unowned Gtk.SourceLanguage get_language ();
                public int get_max_undo_levels ();
                public GLib.SList<weak Gtk.SourceMark> get_source_marks_at_iter (Gtk.TextIter iter, string? 
category);
@@ -36,6 +37,7 @@ namespace Gtk {
                public void remove_source_marks (Gtk.TextIter start, Gtk.TextIter end, string? category);
                public void set_highlight_matching_brackets (bool highlight);
                public void set_highlight_syntax (bool highlight);
+               public void set_implicit_trailing_newline (bool implicit_trailing_newline);
                public void set_language (Gtk.SourceLanguage? language);
                public void set_max_undo_levels (int max_undo_levels);
                public void set_style_scheme (Gtk.SourceStyleScheme? scheme);
@@ -48,6 +50,7 @@ namespace Gtk {
                public bool can_undo { get; }
                public bool highlight_matching_brackets { get; set; }
                public bool highlight_syntax { get; set; }
+               public bool implicit_trailing_newline { get; set construct; }
                public Gtk.SourceLanguage language { get; set; }
                public int max_undo_levels { get; set; }
                public Gtk.SourceStyleScheme style_scheme { get; set; }
@@ -178,6 +181,87 @@ namespace Gtk {
                [NoAccessorMethod]
                public uint scan_batch_size { get; set construct; }
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", copy_function = "g_boxed_copy", free_function 
= "g_boxed_free", type_id = "gtk_source_encoding_get_type ()")]
+       [Compact]
+       [GIR (name = "Encoding")]
+       public class SourceEncoding {
+               public Gtk.SourceEncoding copy ();
+               [CCode (cname = "gtk_source_encoding_get_current")]
+               public static unowned Gtk.SourceEncoding et_current ();
+               [CCode (cname = "gtk_source_encoding_get_from_charset")]
+               public static unowned Gtk.SourceEncoding et_from_charset (string charset);
+               [CCode (cname = "gtk_source_encoding_get_utf8")]
+               public static unowned Gtk.SourceEncoding et_utf8 ();
+               public void free ();
+               public unowned string get_charset ();
+               public unowned string get_name ();
+               [CCode (cname = "gtk_source_encoding_foreach")]
+               public static void oreach (Gtk.SourceEncodingForeachFunc func);
+               public string to_string ();
+       }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_get_type ()")]
+       [GIR (name = "File")]
+       public class SourceFile : GLib.Object {
+               [CCode (has_construct_function = false)]
+               public SourceFile ();
+               public Gtk.SourceCompressionType get_compression_type ();
+               public unowned Gtk.SourceEncoding get_encoding ();
+               public unowned GLib.File get_location ();
+               public Gtk.SourceNewlineType get_newline_type ();
+               public void set_location (GLib.File? location);
+               public Gtk.SourceCompressionType compression_type { get; }
+               public Gtk.SourceEncoding encoding { get; }
+               public GLib.File location { get; set; }
+               public Gtk.SourceNewlineType newline_type { get; }
+       }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_loader_get_type 
()")]
+       [GIR (name = "FileLoader")]
+       public class SourceFileLoader : GLib.Object {
+               [CCode (has_construct_function = false)]
+               public SourceFileLoader (Gtk.SourceBuffer buffer, Gtk.SourceFile file);
+               [CCode (has_construct_function = false)]
+               public SourceFileLoader.from_stream (Gtk.SourceBuffer buffer, Gtk.SourceFile file, 
GLib.InputStream stream);
+               public unowned Gtk.SourceBuffer get_buffer ();
+               public Gtk.SourceCompressionType get_compression_type ();
+               public unowned Gtk.SourceEncoding get_encoding ();
+               public unowned Gtk.SourceFile get_file ();
+               public unowned GLib.InputStream get_input_stream ();
+               public unowned GLib.File get_location ();
+               public Gtk.SourceNewlineType get_newline_type ();
+               public async bool load_async (int io_priority, GLib.Cancellable? cancellable, owned 
GLib.FileProgressCallback? progress_callback) throws GLib.Error;
+               public void set_candidate_encodings (GLib.SList<Gtk.SourceEncoding> candidate_encodings);
+               public Gtk.SourceBuffer buffer { get; construct; }
+               public Gtk.SourceFile file { get; construct; }
+               public GLib.InputStream input_stream { get; construct; }
+               public GLib.File location { get; construct; }
+       }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_saver_get_type 
()")]
+       [GIR (name = "FileSaver")]
+       public class SourceFileSaver : GLib.Object {
+               [CCode (has_construct_function = false)]
+               public SourceFileSaver (Gtk.SourceBuffer buffer, Gtk.SourceFile file);
+               public unowned Gtk.SourceBuffer get_buffer ();
+               public Gtk.SourceCompressionType get_compression_type ();
+               public unowned Gtk.SourceEncoding get_encoding ();
+               public unowned Gtk.SourceFile get_file ();
+               public Gtk.SourceFileSaverFlags get_flags ();
+               public unowned GLib.File get_location ();
+               public Gtk.SourceNewlineType get_newline_type ();
+               public async bool save_async (int io_priority, GLib.Cancellable? cancellable, owned 
GLib.FileProgressCallback? progress_callback) throws GLib.Error;
+               public void set_compression_type (Gtk.SourceCompressionType compression_type);
+               public void set_encoding (Gtk.SourceEncoding? encoding);
+               public void set_flags (Gtk.SourceFileSaverFlags flags);
+               public void set_newline_type (Gtk.SourceNewlineType newline_type);
+               [CCode (has_construct_function = false)]
+               public SourceFileSaver.with_target (Gtk.SourceBuffer buffer, Gtk.SourceFile file, GLib.File 
target_location);
+               public Gtk.SourceBuffer buffer { get; construct; }
+               public Gtk.SourceCompressionType compression_type { get; set construct; }
+               public Gtk.SourceEncoding encoding { get; set construct; }
+               public Gtk.SourceFile file { get; construct; }
+               public Gtk.SourceFileSaverFlags flags { get; set construct; }
+               public GLib.File location { get; construct; }
+               public Gtk.SourceNewlineType newline_type { get; set construct; }
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_get_type ()")]
        [GIR (name = "Gutter")]
        public class SourceGutter : GLib.Object {
@@ -674,6 +758,12 @@ namespace Gtk {
                INTERACTIVE,
                USER_REQUESTED
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPRESSION_TYPE_", 
type_id = "gtk_source_compression_type_get_type ()")]
+       [GIR (name = "CompressionType")]
+       public enum SourceCompressionType {
+               NONE,
+               GZIP
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_DRAW_SPACES_", type_id 
= "gtk_source_draw_spaces_flags_get_type ()")]
        [Flags]
        [GIR (name = "DrawSpacesFlags")]
@@ -687,6 +777,15 @@ namespace Gtk {
                TRAILING,
                ALL
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_FLAGS_", 
type_id = "gtk_source_file_saver_flags_get_type ()")]
+       [Flags]
+       [GIR (name = "FileSaverFlags")]
+       public enum SourceFileSaverFlags {
+               NONE,
+               IGNORE_INVALID_CHARS,
+               IGNORE_MODIFICATION_TIME,
+               CREATE_BACKUP
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = 
"GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_", type_id = "gtk_source_gutter_renderer_alignment_mode_get_type 
()")]
        [GIR (name = "GutterRendererAlignmentMode")]
        public enum SourceGutterRendererAlignmentMode {
@@ -703,6 +802,13 @@ namespace Gtk {
                PRELIT,
                SELECTED
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_NEWLINE_TYPE_", type_id 
= "gtk_source_newline_type_get_type ()")]
+       [GIR (name = "NewlineType")]
+       public enum SourceNewlineType {
+               LF,
+               CR,
+               CR_LF
+       }
        [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SMART_HOME_END_", 
type_id = "gtk_source_smart_home_end_type_get_type ()")]
        [GIR (name = "SmartHomeEndType")]
        public enum SourceSmartHomeEndType {
@@ -725,4 +831,23 @@ namespace Gtk {
                [CCode (cname = "gtk_source_completion_error_quark")]
                public static GLib.Quark uark ();
        }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_LOADER_ERROR_")]
+       [GIR (name = "FileLoaderError")]
+       public errordomain SourceFileLoaderError {
+               TOO_BIG,
+               ENCODING_AUTO_DETECTION_FAILED,
+               CONVERSION_FALLBACK;
+               [CCode (cname = "gtk_source_file_loader_error_quark")]
+               public static GLib.Quark uark ();
+       }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_ERROR_")]
+       [GIR (name = "FileSaverError")]
+       public errordomain SourceFileSaverError {
+               INVALID_CHARS,
+               EXTERNALLY_MODIFIED;
+               [CCode (cname = "gtk_source_file_saver_error_quark")]
+               public static GLib.Quark uark ();
+       }
+       [CCode (cheader_filename = "gtksourceview/gtksource.h", has_target = false)]
+       public delegate void SourceEncodingForeachFunc (Gtk.SourceEncoding encoding, void* userdata);
 }
diff --git a/vapi/metadata/GstBase-1.0.metadata b/vapi/metadata/GstBase-1.0.metadata
index 0154a58..ce3a7cc 100644
--- a/vapi/metadata/GstBase-1.0.metadata
+++ b/vapi/metadata/GstBase-1.0.metadata
@@ -16,4 +16,4 @@ ByteReader struct=false
 
 // Backwards compatibility
 Adapter
-  .copy skip=false
\ No newline at end of file
+  .copy skip=false
diff --git a/vapi/metadata/GstRtspServer-1.0.metadata b/vapi/metadata/GstRtspServer-1.0.metadata
index 5b9021b..a709b99 100644
--- a/vapi/metadata/GstRtspServer-1.0.metadata
+++ b/vapi/metadata/GstRtspServer-1.0.metadata
@@ -1,7 +1,6 @@
 * parent="Gst.RTSPServer"
 RTSP* name="RTSP(.+)"
 rtsp_* name="rtsp_(.+)"
-RTSP_* name="RTSP_(.+)"
 
 RTSP_ADDRESS_POOL_* parent="Gst.RTSPServer.AddressPool" name="RTSP_ADDRESS_POOL_(.+)"
 RTSP_AUTH_* parent="Gst.RTSPServer.Auth" name="RTSP_AUTH_(.+)"
diff --git a/vapi/metadata/GstSdp-1.0.metadata b/vapi/metadata/GstSdp-1.0.metadata
index c5d7349..2d057b5 100644
--- a/vapi/metadata/GstSdp-1.0.metadata
+++ b/vapi/metadata/GstSdp-1.0.metadata
@@ -4,3 +4,22 @@ SDP_* name="SDP_(.+)"
 sdp_* name="sdp_(.+)"
 
 SDPMessage struct=false
+
+// Gst.MiniObject inheritance
+MIKEYPayload base_type="Gst.MiniObject"
+  .mini_object skip
+MIKEYMessage base_type="Gst.MiniObject"
+  .mini_object skip
+
+MIKEYPayloadKEMAC struct=false base_type="MIKEYPayload"
+  .pt skip
+MIKEYPayloadKeyData struct=false base_type="MIKEYPayload"
+  .pt skip
+MIKEYPayloadPKE struct=false base_type="MIKEYPayload"
+  .pt skip
+MIKEYPayloadRAND struct=false base_type="MIKEYPayload"
+  .pt skip
+MIKEYPayloadSP struct=false base_type="MIKEYPayload"
+  .pt skip
+MIKEYPayloadT struct=false base_type="MIKEYPayload"
+  .pt skip
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]