[vala/0.48] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] vapi: Update GIR-based bindings
- Date: Tue, 29 Sep 2020 07:30:07 +0000 (UTC)
commit b062b87af4c29e9d8a9c0e1e77749b18081f1c64
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Sep 10 17:13:54 2020 +0200
vapi: Update GIR-based bindings
vapi/clutter-1.0.vapi | 23 ++---------------------
vapi/gtk+-3.0.vapi | 12 ++++++------
vapi/harfbuzz-gobject.vapi | 31 +++++++++++++++++++------------
vapi/libsoup-2.4.vapi | 22 ++++++++++------------
4 files changed, 37 insertions(+), 51 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 80a1fc36a..8fedf446b 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -6917,48 +6917,29 @@ namespace Clutter {
public virtual signal bool rotate (Clutter.Actor actor, double angle);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_score_get_type ()")]
- [Version (since = "0.6")]
+ [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public class Score : GLib.Object {
[CCode (has_construct_function = false)]
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public Score ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public ulong append (Clutter.Timeline? parent, Clutter.Timeline timeline);
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.8")]
+ [Version (since = "0.8")]
public ulong append_at_marker (Clutter.Timeline parent, string marker_name, Clutter.Timeline
timeline);
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public bool get_loop ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public unowned Clutter.Timeline get_timeline (ulong id_);
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public bool is_playing ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public GLib.SList<weak Clutter.Timeline> list_timelines ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void pause ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void remove (ulong id_);
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void remove_all ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void rewind ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void set_loop (bool loop);
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void start ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public void stop ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public bool loop { get; set; }
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void completed ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void paused ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void started ();
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void timeline_completed (Clutter.Timeline timeline);
- [Version (deprecated = true, deprecated_since = "1.8", since = "0.6")]
public virtual signal void timeline_started (Clutter.Timeline timeline);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_script_get_type ()")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index d102f017f..9db2cd808 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3462,15 +3462,15 @@ namespace Gtk {
[Version (since = "3.14")]
public Gdk.Window window { get; set; }
[Version (since = "3.14")]
- public signal void begin (Gdk.EventSequence sequence);
+ public signal void begin (Gdk.EventSequence? sequence);
[Version (since = "3.14")]
- public signal void cancel (Gdk.EventSequence sequence);
+ public signal void cancel (Gdk.EventSequence? sequence);
[Version (since = "3.14")]
- public signal void end (Gdk.EventSequence sequence);
+ public signal void end (Gdk.EventSequence? sequence);
[Version (since = "3.14")]
- public signal void sequence_state_changed (Gdk.EventSequence sequence, Gtk.EventSequenceState
state);
+ public signal void sequence_state_changed (Gdk.EventSequence? sequence,
Gtk.EventSequenceState state);
[Version (since = "3.14")]
- public signal void update (Gdk.EventSequence sequence);
+ public signal void update (Gdk.EventSequence? sequence);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_drag_get_type ()")]
public class GestureDrag : Gtk.GestureSingle {
@@ -13161,7 +13161,7 @@ namespace Gtk {
[Version (since = "2.6")]
public static void show_about_dialog (Gtk.Window? parent, ...);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.14")]
+ [Version (deprecated = true, deprecated_since = "3.22", since = "2.14")]
public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
[CCode (cheader_filename = "gtk/gtk.h")]
[Version (since = "3.22")]
diff --git a/vapi/harfbuzz-gobject.vapi b/vapi/harfbuzz-gobject.vapi
index b83742765..1322c35cd 100644
--- a/vapi/harfbuzz-gobject.vapi
+++ b/vapi/harfbuzz-gobject.vapi
@@ -161,7 +161,7 @@ namespace HarfBuzz {
[Version (since = "0.9.2")]
public static uint get_index (HarfBuzz.Face face);
[Version (since = "1.6.0")]
- public static uint get_table_tags (HarfBuzz.Face face, uint start_offset, uint table_count,
HarfBuzz.Tag table_tags);
+ public static uint get_table_tags (HarfBuzz.Face face, uint start_offset, [CCode
(array_length_cname = "table_count", array_length_pos = 2.5, array_length_type = "guint")] out HarfBuzz.Tag[]
table_tags);
[Version (since = "0.9.2")]
public static uint get_upem (HarfBuzz.Face face);
[Version (since = "0.9.2")]
@@ -498,10 +498,12 @@ namespace HarfBuzz {
public class ShapePlan {
[Version (since = "0.9.7")]
public static HarfBuzz.ShapePlan create (HarfBuzz.Face face, HarfBuzz.SegmentProperties
props, [CCode (array_length_cname = "num_user_features", array_length_pos = 3.5, array_length_type =
"guint")] HarfBuzz.Feature[] user_features, [CCode (array_length = false, array_null_terminated = true)]
string[] shaper_list);
- public static HarfBuzz.ShapePlan create2 (HarfBuzz.Face face, HarfBuzz.SegmentProperties
props, HarfBuzz.Feature user_features, uint num_user_features, int coords, uint num_coords, string
shaper_list);
+ [Version (since = "1.4.0")]
+ public static HarfBuzz.ShapePlan create2 (HarfBuzz.Face face, HarfBuzz.SegmentProperties
props, [CCode (array_length_cname = "num_user_features", array_length_pos = 3.5, array_length_type =
"guint")] HarfBuzz.Feature[] user_features, [CCode (array_length_cname = "num_coords", array_length_pos =
4.5, array_length_type = "guint")] int[] coords, [CCode (array_length = false, array_null_terminated = true)]
string[] shaper_list);
[Version (since = "0.9.7")]
public static HarfBuzz.ShapePlan create_cached (HarfBuzz.Face face,
HarfBuzz.SegmentProperties props, [CCode (array_length_cname = "num_user_features", array_length_pos = 3.5,
array_length_type = "guint")] HarfBuzz.Feature[] user_features, [CCode (array_length = false,
array_null_terminated = true)] string[] shaper_list);
- public static HarfBuzz.ShapePlan create_cached2 (HarfBuzz.Face face,
HarfBuzz.SegmentProperties props, HarfBuzz.Feature user_features, uint num_user_features, int coords, uint
num_coords, string shaper_list);
+ [Version (since = "1.4.0")]
+ public static HarfBuzz.ShapePlan create_cached2 (HarfBuzz.Face face,
HarfBuzz.SegmentProperties props, [CCode (array_length_cname = "num_user_features", array_length_pos = 3.5,
array_length_type = "guint")] HarfBuzz.Feature[] user_features, [CCode (array_length_cname = "num_coords",
array_length_pos = 4.5, array_length_type = "guint")] int[] coords, [CCode (array_length = false,
array_null_terminated = true)] string[] shaper_list);
[Version (since = "0.9.7")]
public static HarfBuzz.Bool execute (HarfBuzz.ShapePlan shape_plan, HarfBuzz.Font font,
HarfBuzz.Buffer buffer, [CCode (array_length_cname = "num_features", array_length_pos = 4.1,
array_length_type = "guint")] HarfBuzz.Feature[] features);
[Version (since = "0.9.7")]
@@ -533,7 +535,8 @@ namespace HarfBuzz {
[CCode (cname = "hb_unicode_general_category")]
[Version (since = "0.9.2")]
public static HarfBuzz.UnicodeGeneralCategory general_category (HarfBuzz.UnicodeFuncs ufuncs,
HarfBuzz.Codepoint unicode);
- public static HarfBuzz.UnicodeFuncs get_default ();
+ [Version (since = "0.9.2")]
+ public static unowned HarfBuzz.UnicodeFuncs get_default ();
[Version (since = "0.9.2")]
public static HarfBuzz.UnicodeFuncs get_empty ();
[Version (since = "0.9.2")]
@@ -1824,7 +1827,7 @@ namespace HarfBuzz {
public static unowned HarfBuzz.OtNameEntry[] ot_name_list_names (HarfBuzz.Face face);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "0.9.2")]
- public static void ot_shape_glyphs_closure (HarfBuzz.Font font, HarfBuzz.Buffer buffer,
HarfBuzz.Feature features, uint num_features, HarfBuzz.Set glyphs);
+ public static void ot_shape_glyphs_closure (HarfBuzz.Font font, HarfBuzz.Buffer buffer, [CCode
(array_length_cname = "num_features", array_length_pos = 3.5, array_length_type = "guint")]
HarfBuzz.Feature[] features, out unowned HarfBuzz.Set glyphs);
[CCode (cheader_filename = "hb-gobject.h")]
public static HarfBuzz.Tag ot_tag_from_language (HarfBuzz.Language language);
[CCode (cheader_filename = "hb-gobject.h")]
@@ -1842,36 +1845,40 @@ namespace HarfBuzz {
public static void ot_tags_to_script_and_language (HarfBuzz.Tag script_tag, HarfBuzz.Tag
language_tag, HarfBuzz.Script? script, HarfBuzz.Language? language);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (deprecated = true, deprecated_since = "2.2.0", since = "1.4.2")]
- public static HarfBuzz.Bool ot_var_find_axis (HarfBuzz.Face face, HarfBuzz.Tag axis_tag, uint
axis_index, HarfBuzz.OtVarAxis axis_info);
+ public static HarfBuzz.Bool ot_var_find_axis (HarfBuzz.Face face, HarfBuzz.Tag axis_tag, uint
axis_index, out HarfBuzz.OtVarAxis axis_info);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "2.2.0")]
- public static HarfBuzz.Bool ot_var_find_axis_info (HarfBuzz.Face face, HarfBuzz.Tag axis_tag,
HarfBuzz.OtVarAxisInfo axis_info);
+ public static HarfBuzz.Bool ot_var_find_axis_info (HarfBuzz.Face face, HarfBuzz.Tag axis_tag, out
HarfBuzz.OtVarAxisInfo axis_info);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (deprecated = true, deprecated_since = "2.2.0", since = "1.4.2")]
- public static uint ot_var_get_axes (HarfBuzz.Face face, uint start_offset, uint axes_count,
HarfBuzz.OtVarAxis axes_array);
+ public static uint ot_var_get_axes (HarfBuzz.Face face, uint start_offset, [CCode (array_length_cname
= "axes_count", array_length_pos = 2.5, array_length_type = "guint")] out unowned HarfBuzz.OtVarAxis[]
axes_array);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "1.4.2")]
public static uint ot_var_get_axis_count (HarfBuzz.Face face);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "2.2.0")]
- public static uint ot_var_get_axis_infos (HarfBuzz.Face face, uint start_offset, uint axes_count,
HarfBuzz.OtVarAxisInfo axes_array);
+ public static uint ot_var_get_axis_infos (HarfBuzz.Face face, uint start_offset, [CCode
(array_length_cname = "axes_count", array_length_pos = 2.5, array_length_type = "guint")] out unowned
HarfBuzz.OtVarAxisInfo[] axes_array);
[CCode (cheader_filename = "hb-gobject.h")]
+ [Version (since = "2.2.0")]
public static uint ot_var_get_named_instance_count (HarfBuzz.Face face);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "1.4.2")]
public static HarfBuzz.Bool ot_var_has_data (HarfBuzz.Face face);
[CCode (cheader_filename = "hb-gobject.h")]
- public static uint ot_var_named_instance_get_design_coords (HarfBuzz.Face face, uint instance_index,
uint coords_length, float coords);
+ [Version (since = "2.2.0")]
+ public static uint ot_var_named_instance_get_design_coords (HarfBuzz.Face face, uint instance_index,
[CCode (array_length_cname = "coords_length", array_length_pos = 2.5, array_length_type = "guint")] out
float[] coords);
[CCode (cheader_filename = "hb-gobject.h")]
+ [Version (since = "2.2.0")]
public static HarfBuzz.OtNameId ot_var_named_instance_get_postscript_name_id (HarfBuzz.Face face,
uint instance_index);
[CCode (cheader_filename = "hb-gobject.h")]
+ [Version (since = "2.2.0")]
public static HarfBuzz.OtNameId ot_var_named_instance_get_subfamily_name_id (HarfBuzz.Face face, uint
instance_index);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "1.4.2")]
- public static void ot_var_normalize_coords (HarfBuzz.Face face, uint coords_length, float
design_coords, int normalized_coords);
+ public static void ot_var_normalize_coords (HarfBuzz.Face face, uint coords_length, float
design_coords, out int normalized_coords);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "1.4.2")]
- public static void ot_var_normalize_variations (HarfBuzz.Face face, HarfBuzz.Variation variations,
uint variations_length, int coords, uint coords_length);
+ public static void ot_var_normalize_variations (HarfBuzz.Face face, HarfBuzz.Variation variations,
uint variations_length, [CCode (array_length_cname = "coords_length", array_length_pos = 4.1,
array_length_type = "guint")] out int[] coords);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "0.9.2")]
public static void shape (HarfBuzz.Font font, HarfBuzz.Buffer buffer, [CCode (array_length_cname =
"num_features", array_length_pos = 3.1, array_length_type = "guint")] HarfBuzz.Feature[]? features);
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index 845d43640..660064403 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -237,12 +237,12 @@ namespace Soup {
public void* auth_data { get; set; }
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_auth_manager_get_type ()")]
+ [Version (since = "2.42")]
public class AuthManager : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
protected AuthManager ();
[Version (since = "2.58")]
public void clear_cached_credentials ();
- [Version (since = "2.42")]
public void use_auth (Soup.URI uri, Soup.Auth auth);
public virtual signal void authenticate (Soup.Message msg, Soup.Auth auth, bool retrying);
}
@@ -334,18 +334,17 @@ namespace Soup {
public class Connection {
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_content_decoder_get_type ()")]
+ [Version (since = "2.30")]
public class ContentDecoder : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
protected ContentDecoder ();
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_content_sniffer_get_type ()")]
+ [Version (since = "2.28")]
public class ContentSniffer : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
- [Version (since = "2.28")]
public ContentSniffer ();
- [Version (since = "2.28")]
public virtual size_t get_buffer_size ();
- [Version (since = "2.28")]
public virtual string sniff (Soup.Message msg, Soup.Buffer buffer, out
GLib.HashTable<string,string>? @params);
}
[CCode (cheader_filename = "libsoup/soup.h", copy_function = "g_boxed_copy", free_function =
"g_boxed_free", type_id = "soup_cookie_get_type ()")]
@@ -775,20 +774,18 @@ namespace Soup {
public void to_message (Soup.MessageHeaders dest_headers, Soup.MessageBody dest_body);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_multipart_input_stream_get_type ()")]
+ [Version (since = "2.40")]
public class MultipartInputStream : GLib.FilterInputStream, GLib.PollableInputStream {
[CCode (has_construct_function = false)]
- [Version (since = "2.40")]
public MultipartInputStream (Soup.Message msg, GLib.InputStream base_stream);
- [Version (since = "2.40")]
public unowned Soup.MessageHeaders? get_headers ();
- [Version (since = "2.40")]
public GLib.InputStream? next_part (GLib.Cancellable? cancellable = null) throws GLib.Error;
- [Version (since = "2.40")]
public async GLib.InputStream? next_part_async (int io_priority, GLib.Cancellable?
cancellable) throws GLib.Error;
[NoAccessorMethod]
public Soup.Message message { owned get; construct; }
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_proxy_resolver_default_get_type ()")]
+ [Version (deprecated = true, since = "2.34")]
public class ProxyResolverDefault : GLib.Object, Soup.ProxyURIResolver, Soup.SessionFeature {
[CCode (has_construct_function = false)]
protected ProxyResolverDefault ();
@@ -1052,6 +1049,7 @@ namespace Soup {
public signal void tunneling (GLib.Object connection);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_session_async_get_type ()")]
+ [Version (deprecated = true, deprecated_since = "2.42")]
public class SessionAsync : Soup.Session {
[CCode (has_construct_function = false, type = "SoupSession*")]
[Version (deprecated = true)]
@@ -1061,6 +1059,7 @@ namespace Soup {
public SessionAsync.with_options (string optname1, ...);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_session_sync_get_type ()")]
+ [Version (deprecated = true, deprecated_since = "2.42")]
public class SessionSync : Soup.Session {
[CCode (has_construct_function = false, type = "SoupSession*")]
[Version (deprecated = true)]
@@ -1233,17 +1232,14 @@ namespace Soup {
public virtual signal void pong (GLib.Bytes message);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_websocket_extension_get_type ()")]
+ [Version (since = "2.68")]
public abstract class WebsocketExtension : GLib.Object {
[CCode (has_construct_function = false)]
protected WebsocketExtension ();
public virtual bool configure (Soup.WebsocketConnectionType connection_type,
GLib.HashTable<void*,void*>? @params) throws GLib.Error;
- [Version (since = "2.68")]
public virtual string? get_request_params ();
- [Version (since = "2.68")]
public virtual string? get_response_params ();
- [Version (since = "2.68")]
public virtual GLib.Bytes process_incoming_message (ref uint8 header, owned GLib.Bytes
payload) throws GLib.Error;
- [Version (since = "2.68")]
public virtual GLib.Bytes process_outgoing_message (ref uint8 header, owned GLib.Bytes
payload) throws GLib.Error;
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_websocket_extension_deflate_get_type
()")]
@@ -1252,6 +1248,7 @@ namespace Soup {
protected WebsocketExtensionDeflate ();
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_websocket_extension_manager_get_type
()")]
+ [Version (since = "2.68")]
public class WebsocketExtensionManager : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
protected WebsocketExtensionManager ();
@@ -1275,6 +1272,7 @@ namespace Soup {
public abstract uint get_proxy_sync (Soup.Message msg, GLib.Cancellable? cancellable, out
unowned Soup.Address addr);
}
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupProxyURIResolverInterface", type_id =
"soup_proxy_uri_resolver_get_type ()")]
+ [Version (deprecated = true)]
public interface ProxyURIResolver : Soup.SessionFeature, GLib.Object {
[Version (deprecated = true, since = "2.26.3")]
public abstract void get_proxy_uri_async (Soup.URI uri, GLib.MainContext? async_context,
GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.ProxyURIResolverCallback callback);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]