[vala] Update GIR-based bindings.
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Update GIR-based bindings.
- Date: Sat, 28 Jul 2012 17:52:30 +0000 (UTC)
commit 84f268355678061fdda857dd897069d91372b594
Author: Evan Nemerson <evan coeus-group com>
Date: Wed Jul 25 16:13:34 2012 -0700
Update GIR-based bindings.
vapi/atk.vapi | 1 +
vapi/clutter-1.0.vapi | 115 +++++++++++++++++++++++++-----
vapi/gdk-3.0.vapi | 2 +-
vapi/gdk-pixbuf-2.0.vapi | 2 +-
vapi/gio-2.0.vapi | 10 ++-
vapi/libgdata.vapi | 177 ++++++++++++++++++++++++++--------------------
vapi/libpeas-1.0.vapi | 2 +
vapi/libsoup-2.4.vapi | 30 ++++++---
vapi/rest-0.7.vapi | 12 +++-
vapi/vte-2.90.vapi | 2 +-
10 files changed, 242 insertions(+), 111 deletions(-)
---
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index 4044800..8a6c180 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -181,6 +181,7 @@ namespace Atk {
public void add (Atk.Relation relation);
public void add_relation_by_type (Atk.RelationType relationship, Atk.Object target);
public bool contains (Atk.RelationType relationship);
+ public bool contains_target (Atk.RelationType relationship, Atk.Object targe);
public int get_n_relations ();
public unowned Atk.Relation get_relation (int i);
public unowned Atk.Relation get_relation_by_type (Atk.RelationType relationship);
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 5785d07..736427e 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -4572,11 +4572,13 @@ namespace Clutter {
[CCode (cheader_filename = "clutter/clutter.h")]
public static uint add_repaint_func_full (Clutter.RepaintFlags flags, owned GLib.SourceFunc func);
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Deprecated (since = "1.12")]
public static void enter ();
[CCode (cheader_filename = "clutter/clutter.h")]
[Deprecated (since = "1.10")]
public static void init ();
[CCode (cheader_filename = "clutter/clutter.h")]
+ [Deprecated (since = "1.12")]
public static void leave ();
[CCode (cheader_filename = "clutter/clutter.h")]
public static void remove_repaint_func (uint handle_id);
@@ -4680,7 +4682,9 @@ namespace Clutter {
public Clutter.ActorBox get_allocation_box ();
public Clutter.Geometry get_allocation_geometry ();
public void get_allocation_vertices (Clutter.Actor? ancestor, [CCode (array_length = false)] Clutter.Vertex[] verts);
+ [Deprecated (since = "1.12")]
public void get_anchor_point (out float anchor_x, out float anchor_y);
+ [Deprecated (since = "1.12")]
public Clutter.Gravity get_anchor_point_gravity ();
[Deprecated (since = "1.12")]
public unowned Clutter.Animation get_animation ();
@@ -4700,6 +4704,7 @@ namespace Clutter {
public Clutter.ContentRepeat get_content_repeat ();
public void get_content_scaling_filters (out Clutter.ScalingFilter min_filter, out Clutter.ScalingFilter mag_filter);
public unowned Clutter.PaintVolume get_default_paint_volume ();
+ [Deprecated (since = "1.12")]
public float get_depth ();
public uint get_easing_delay ();
public uint get_easing_duration ();
@@ -4735,6 +4740,8 @@ namespace Clutter {
public virtual bool get_paint_volume (Clutter.PaintVolume volume);
public unowned Pango.Context get_pango_context ();
public unowned Clutter.Actor? get_parent ();
+ public void get_pivot_point (out float pivot_x, out float pivot_y);
+ public float get_pivot_point_z ();
public void get_position (out float x, out float y);
public virtual void get_preferred_height (float for_width, out float min_height_p, out float natural_height_p);
public void get_preferred_size (out float min_width_p, out float min_height_p, out float natural_width_p, out float natural_height_p);
@@ -4742,10 +4749,15 @@ namespace Clutter {
public unowned Clutter.Actor get_previous_sibling ();
public bool get_reactive ();
public Clutter.RequestMode get_request_mode ();
+ [Deprecated (since = "1.12")]
public double get_rotation (Clutter.RotateAxis axis, out float x, out float y, out float z);
+ public double get_rotation_angle (Clutter.RotateAxis axis);
public void get_scale (out double scale_x, out double scale_y);
+ [Deprecated (since = "1.12")]
public void get_scale_center (out float center_x, out float center_y);
+ [Deprecated (since = "1.12")]
public Clutter.Gravity get_scale_gravity ();
+ public double get_scale_z ();
[Deprecated (since = "1.8")]
public unowned Clutter.Shader get_shader ();
public void get_size (out float width, out float height);
@@ -4756,6 +4768,7 @@ namespace Clutter {
public void get_transformed_position (out float x, out float y);
public void get_transformed_size (out float width, out float height);
public unowned Clutter.Transition get_transition (string name);
+ public void get_translation (out float translate_x, out float translate_y, out float translate_z);
public float get_width ();
public float get_x ();
public Clutter.ActorAlign get_x_align ();
@@ -4763,6 +4776,8 @@ namespace Clutter {
public float get_y ();
public Clutter.ActorAlign get_y_align ();
public bool get_y_expand ();
+ public float get_z_position ();
+ [Deprecated (since = "1.12")]
public Clutter.Gravity get_z_rotation_gravity ();
public void grab_key_focus ();
public bool has_actions ();
@@ -4784,7 +4799,9 @@ namespace Clutter {
[Deprecated (since = "1.10")]
public void lower_bottom ();
public virtual void map ();
+ [Deprecated (since = "1.12")]
public void move_anchor_point (float anchor_x, float anchor_y);
+ [Deprecated (since = "1.12")]
public void move_anchor_point_from_gravity (Clutter.Gravity gravity);
public void move_by (float dx, float dy);
public bool needs_expand (Clutter.Orientation orientation);
@@ -4817,7 +4834,9 @@ namespace Clutter {
public void restore_easing_state ();
public void save_easing_state ();
public void set_allocation (Clutter.ActorBox box, Clutter.AllocationFlags flags);
+ [Deprecated (since = "1.12")]
public void set_anchor_point (float anchor_x, float anchor_y);
+ [Deprecated (since = "1.12")]
public void set_anchor_point_from_gravity (Clutter.Gravity gravity);
public void set_background_color (Clutter.Color? color);
public void set_child_above_sibling (Clutter.Actor child, Clutter.Actor? sibling);
@@ -4829,6 +4848,7 @@ namespace Clutter {
public void set_content_gravity (Clutter.ContentGravity gravity);
public void set_content_repeat (Clutter.ContentRepeat repeat);
public void set_content_scaling_filters (Clutter.ScalingFilter min_filter, Clutter.ScalingFilter mag_filter);
+ [Deprecated (since = "1.12")]
public void set_depth (float depth);
public void set_easing_delay (uint msecs);
public void set_easing_duration (uint msecs);
@@ -4849,13 +4869,20 @@ namespace Clutter {
public void set_opacity (uint8 opacity);
[Deprecated (since = "1.10")]
public void set_parent (Clutter.Actor parent);
+ public void set_pivot_point (float pivot_x, float pivot_y);
+ public void set_pivot_point_z (float pivot_z);
public void set_position (float x, float y);
public void set_reactive (bool reactive);
public void set_request_mode (Clutter.RequestMode mode);
+ [Deprecated (since = "1.12")]
public void set_rotation (Clutter.RotateAxis axis, double angle, float x, float y, float z);
+ public void set_rotation_angle (Clutter.RotateAxis axis, double angle);
public void set_scale (double scale_x, double scale_y);
+ [Deprecated (since = "1.12")]
public void set_scale_full (double scale_x, double scale_y, float center_x, float center_y);
+ [Deprecated (since = "1.12")]
public void set_scale_with_gravity (double scale_x, double scale_y, Clutter.Gravity gravity);
+ public void set_scale_z (double scale_z);
[Deprecated (since = "1.8")]
public bool set_shader (Clutter.Shader? shader);
[Deprecated (since = "1.8")]
@@ -4866,6 +4893,7 @@ namespace Clutter {
public void set_shader_param_int (string param, int value);
public void set_size (float width, float height);
public void set_text_direction (Clutter.TextDirection text_dir);
+ public void set_translation (float translate_x, float translate_y, float translate_z);
public void set_width (float width);
public void set_x (float x);
public void set_x_align (Clutter.ActorAlign x_align);
@@ -4873,6 +4901,8 @@ namespace Clutter {
public void set_y (float y);
public void set_y_align (Clutter.ActorAlign y_align);
public void set_y_expand (bool expand);
+ public void set_z_position (float z_position);
+ [Deprecated (since = "1.12")]
public void set_z_rotation_from_gravity (double angle, Clutter.Gravity gravity);
public bool should_pick_paint ();
[Deprecated (since = "1.10")]
@@ -4886,10 +4916,13 @@ namespace Clutter {
public Clutter.Action actions { set; }
[NoAccessorMethod]
public Clutter.ActorBox allocation { get; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public Clutter.Gravity anchor_gravity { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public float anchor_x { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public float anchor_y { get; set; }
public Clutter.Color background_color { get; set; }
@@ -4904,6 +4937,7 @@ namespace Clutter {
public Clutter.ActorBox content_box { get; }
public Clutter.ContentGravity content_gravity { get; set; }
public Clutter.ContentRepeat content_repeat { get; set; }
+ [Deprecated (since = "1.12")]
public float depth { get; set; }
[NoAccessorMethod]
public Clutter.Effect effect { set; }
@@ -4950,6 +4984,9 @@ namespace Clutter {
public Clutter.OffscreenRedirect offscreen_redirect { get; set; }
public uint opacity { get; set; }
[NoAccessorMethod]
+ public Clutter.Point pivot_point { owned get; set; }
+ public float pivot_point_z { get; set; }
+ [NoAccessorMethod]
public Clutter.Point position { owned get; set; }
public bool reactive { get; set; }
[NoAccessorMethod]
@@ -4961,30 +4998,44 @@ namespace Clutter {
public double rotation_angle_y { get; set; }
[NoAccessorMethod]
public double rotation_angle_z { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public Clutter.Vertex rotation_center_x { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public Clutter.Vertex rotation_center_y { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public Clutter.Vertex rotation_center_z { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public Clutter.Gravity rotation_center_z_gravity { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public float scale_center_x { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public float scale_center_y { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public Clutter.Gravity scale_gravity { get; set; }
[NoAccessorMethod]
public double scale_x { get; set; }
[NoAccessorMethod]
public double scale_y { get; set; }
+ public double scale_z { get; set; }
[NoAccessorMethod]
public bool show_on_set_parent { get; set; }
[NoAccessorMethod]
public Clutter.Size size { owned get; set; }
public Clutter.TextDirection text_direction { get; set; }
[NoAccessorMethod]
+ public float translation_x { get; set; }
+ [NoAccessorMethod]
+ public float translation_y { get; set; }
+ [NoAccessorMethod]
+ public float translation_z { get; set; }
+ [NoAccessorMethod]
public bool visible { get; set; }
public float width { get; set; }
public float x { get; set; }
@@ -4993,6 +5044,7 @@ namespace Clutter {
public float y { get; set; }
public Clutter.ActorAlign y_align { get; set; }
public bool y_expand { get; set; }
+ public float z_position { get; set; }
public signal void allocation_changed (Clutter.ActorBox box, Clutter.AllocationFlags flags);
public virtual signal bool button_press_event (Clutter.ButtonEvent event);
public virtual signal bool button_release_event (Clutter.ButtonEvent event);
@@ -5020,6 +5072,7 @@ namespace Clutter {
public virtual signal bool scroll_event (Clutter.ScrollEvent event);
[HasEmitter]
public virtual signal void show ();
+ public virtual signal bool touch_event (Clutter.Event event);
public signal void transitions_completed ();
[HasEmitter]
public virtual signal void unrealize ();
@@ -5458,9 +5511,7 @@ namespace Clutter {
public BoxLayout ();
[Deprecated (since = "1.12")]
public void get_alignment (Clutter.Actor actor, out Clutter.BoxAlignment x_align, out Clutter.BoxAlignment y_align);
- [Deprecated (since = "1.12")]
public uint get_easing_duration ();
- [Deprecated (since = "1.12")]
public ulong get_easing_mode ();
[Deprecated (since = "1.12")]
public bool get_expand (Clutter.Actor actor);
@@ -5470,7 +5521,6 @@ namespace Clutter {
public Clutter.Orientation get_orientation ();
public bool get_pack_start ();
public uint get_spacing ();
- [Deprecated (since = "1.12")]
public bool get_use_animations ();
[Deprecated (since = "1.12")]
public bool get_vertical ();
@@ -5494,12 +5544,17 @@ namespace Clutter {
public void set_use_animations (bool animate);
[Deprecated (since = "1.12")]
public void set_vertical (bool vertical);
+ [Deprecated (since = "1.12")]
public uint easing_duration { get; set; }
+ [Deprecated (since = "1.12")]
+ public ulong easing_mode { get; set; }
public bool homogeneous { get; set; }
public Clutter.Orientation orientation { get; set; }
public bool pack_start { get; set; }
public uint spacing { get; set; }
[Deprecated (since = "1.12")]
+ public bool use_animations { get; set; }
+ [Deprecated (since = "1.12")]
public bool vertical { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_brightness_contrast_effect_get_type ()")]
@@ -5685,6 +5740,7 @@ namespace Clutter {
public virtual signal void drag_begin (Clutter.Actor actor, float event_x, float event_y, Clutter.ModifierType modifiers);
public virtual signal void drag_end (Clutter.Actor actor, float event_x, float event_y, Clutter.ModifierType modifiers);
public virtual signal void drag_motion (Clutter.Actor actor, float delta_x, float delta_y);
+ public virtual signal bool drag_progress (Clutter.Actor actor, float delta_x, float delta_y);
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_drop_action_get_type ()")]
public class DropAction : Clutter.Action {
@@ -5756,6 +5812,7 @@ namespace Clutter {
public Clutter.EventType get_type ();
public bool has_control_modifier ();
public bool has_shift_modifier ();
+ public bool is_pointer_emulated ();
public static unowned Clutter.Event peek ();
public void put ();
public void set_button (uint32 button);
@@ -5817,8 +5874,10 @@ namespace Clutter {
[CCode (has_construct_function = false, type = "ClutterAction*")]
public GestureAction ();
public void get_motion_coords (uint device, out float motion_x, out float motion_y);
+ public int get_n_touch_points ();
public void get_press_coords (uint device, out float press_x, out float press_y);
public void get_release_coords (uint device, out float release_x, out float release_y);
+ public void set_n_touch_points (int nb_points);
public virtual signal bool gesture_begin (Clutter.Actor actor);
public virtual signal void gesture_cancel (Clutter.Actor actor);
public virtual signal void gesture_end (Clutter.Actor actor);
@@ -5878,6 +5937,8 @@ namespace Clutter {
public unowned Clutter.InputDevice get_associated_device ();
public Clutter.InputAxis get_axis (uint index_);
public bool get_axis_value ([CCode (array_length = false)] double[] axes, Clutter.InputAxis axis, out double value);
+ public bool get_coords (Clutter.EventSequence? sequence, out unowned Clutter.Point point);
+ [Deprecated (since = "1.12")]
public void get_device_coords (out int x, out int y);
public int get_device_id ();
public Clutter.InputMode get_device_mode ();
@@ -5897,6 +5958,9 @@ namespace Clutter {
public GLib.List<weak Clutter.InputDevice> get_slave_devices ();
public void grab (Clutter.Actor actor);
public bool keycode_to_evdev (uint hardware_keycode, uint evdev_keycode);
+ public unowned Clutter.Actor sequence_get_grabbed_actor (Clutter.EventSequence sequence);
+ public void sequence_grab (Clutter.EventSequence sequence, Clutter.Actor actor);
+ public void sequence_ungrab (Clutter.EventSequence sequence);
public void set_enabled (bool enabled);
public void set_key (uint index_, uint keyval, Clutter.ModifierType modifiers);
public void ungrab ();
@@ -5974,24 +6038,11 @@ namespace Clutter {
public unowned Clutter.LayoutMeta get_child_meta (Clutter.Container container, Clutter.Actor actor);
[NoWrapper]
public virtual GLib.Type get_child_meta_type ();
- public uint get_easing_delay ();
- public uint get_easing_duration ();
- public Clutter.AnimationMode get_easing_mode ();
- public bool get_easing_state (out Clutter.AnimationMode mode, out uint duration, out uint delay);
public virtual void get_preferred_height (Clutter.Container container, float for_width, out float min_height_p, out float nat_height_p);
public virtual void get_preferred_width (Clutter.Container container, float for_height, out float min_width_p, out float nat_width_p);
- public bool get_use_animations ();
[CCode (array_length_pos = 0.1, array_length_type = "guint")]
public GLib.ParamSpec[] list_child_properties ();
public virtual void set_container (Clutter.Container? container);
- public void set_easing_delay (uint delay);
- public void set_easing_duration (uint duration);
- public void set_easing_mode (Clutter.AnimationMode mode);
- public void set_use_animations (bool animate);
- public uint easing_delay { get; set; }
- public uint easing_duration { get; set; }
- public Clutter.AnimationMode easing_mode { get; set; }
- public bool use_animations { get; set; }
[HasEmitter]
public virtual signal void layout_changed ();
}
@@ -6253,6 +6304,12 @@ namespace Clutter {
[NoAccessorMethod]
public bool has_border { get; set; }
}
+ [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_rotate_action_get_type ()")]
+ public class RotateAction : Clutter.GestureAction {
+ [CCode (has_construct_function = false, type = "ClutterAction*")]
+ public RotateAction ();
+ public virtual signal bool rotate (Clutter.Actor actor, double angle);
+ }
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_score_get_type ()")]
public class Score : GLib.Object {
[CCode (has_construct_function = false)]
@@ -6627,7 +6684,6 @@ namespace Clutter {
public int get_row_count ();
public uint get_row_spacing ();
public void get_span (Clutter.Actor actor, out int column_span, out int row_span);
- [Deprecated (since = "1.12")]
public bool get_use_animations ();
public void pack (Clutter.Actor actor, int column, int row);
[Deprecated (since = "1.12")]
@@ -6646,8 +6702,13 @@ namespace Clutter {
[Deprecated (since = "1.12")]
public void set_use_animations (bool animate);
public uint column_spacing { get; set; }
+ [Deprecated (since = "1.12")]
public uint easing_duration { get; set; }
+ [Deprecated (since = "1.12")]
+ public ulong easing_mode { get; set; }
public uint row_spacing { get; set; }
+ [Deprecated (since = "1.12")]
+ public bool use_animations { get; set; }
}
[CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_text_get_type ()")]
public class Text : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
@@ -6731,6 +6792,7 @@ namespace Clutter {
public Clutter.Color cursor_color { get; set; }
[NoAccessorMethod]
public bool cursor_color_set { get; }
+ public int cursor_position { get; set; }
public int cursor_size { get; set; }
public bool cursor_visible { get; set; }
public bool editable { get; set; }
@@ -6743,6 +6805,7 @@ namespace Clutter {
public Pango.WrapMode line_wrap_mode { get; set; }
public int max_length { get; set; }
public uint password_char { get; set; }
+ [Deprecated (since = "1.12")]
[NoAccessorMethod]
public int position { get; set; }
public bool selectable { get; set; }
@@ -6865,6 +6928,7 @@ namespace Clutter {
[Deprecated (since = "1.10")]
public Clutter.Timeline clone ();
public bool get_auto_reverse ();
+ public bool get_cubic_bezier_progress (out unowned Clutter.Point c_1, out unowned Clutter.Point c_2);
public int get_current_repeat ();
public uint get_delay ();
public uint get_delta ();
@@ -6877,6 +6941,7 @@ namespace Clutter {
public double get_progress ();
public Clutter.AnimationMode get_progress_mode ();
public int get_repeat_count ();
+ public bool get_step_progress (out int n_steps, out Clutter.StepMode step_mode);
public bool has_marker (string marker_name);
public bool is_playing ();
[CCode (array_length_pos = 1.1, array_length_type = "gsize", array_null_terminated = true)]
@@ -6885,6 +6950,7 @@ namespace Clutter {
public void remove_marker (string marker_name);
public void rewind ();
public void set_auto_reverse (bool reverse);
+ public void set_cubic_bezier_progress (Clutter.Point c_1, Clutter.Point c_2);
public void set_delay (uint msecs);
public void set_direction (Clutter.TimelineDirection direction);
public void set_duration (uint msecs);
@@ -6893,6 +6959,7 @@ namespace Clutter {
public void set_progress_func (owned Clutter.TimelineProgressFunc? func);
public void set_progress_mode (Clutter.AnimationMode mode);
public void set_repeat_count (int count);
+ public void set_step_progress (int n_steps, Clutter.StepMode step_mode);
public void skip (uint msecs);
public void start ();
public void stop ();
@@ -7127,6 +7194,7 @@ namespace Clutter {
public struct ActorIter {
public void destroy ();
public void init (Clutter.Actor root);
+ public bool is_valid ();
public bool next (out Clutter.Actor child);
public bool prev (out Clutter.Actor child);
public void remove ();
@@ -7395,6 +7463,14 @@ namespace Clutter {
EASE_IN_BOUNCE,
EASE_OUT_BOUNCE,
EASE_IN_OUT_BOUNCE,
+ STEPS,
+ STEP_START,
+ STEP_END,
+ CUBIC_BEZIER,
+ EASE,
+ EASE_IN,
+ EASE_OUT,
+ EASE_IN_OUT,
ANIMATION_LAST
}
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_BIN_ALIGNMENT_")]
@@ -7766,6 +7842,11 @@ namespace Clutter {
ALUMINIUM_6,
TRANSPARENT
}
+ [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_STEP_MODE_")]
+ public enum StepMode {
+ START,
+ END
+ }
[CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_SWIPE_DIRECTION_")]
[Flags]
public enum SwipeDirection {
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 30ab898..b9ac36e 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -5945,7 +5945,7 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static void pre_parse_libgtk_only ();
[CCode (cheader_filename = "gdk/gdk.h")]
- public static void property_change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, [CCode (array_length_cname = "nelements", array_length_pos = 6.1, type = "guchar*")] uint8[] data);
+ public static void property_change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, [CCode (array_length_cname = "nelements", array_length_pos = 6.1, type = "const guchar*")] uint8[] data);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void property_delete (Gdk.Window window, Gdk.Atom property);
[CCode (cheader_filename = "gdk/gdk.h")]
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index af9b861..0c9e96a 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -40,7 +40,7 @@ namespace Gdk {
[CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
public async Pixbuf.from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (has_construct_function = false)]
- public Pixbuf.from_xpm_data ([CCode (array_length = false, type = "char**")] string[] data);
+ public Pixbuf.from_xpm_data ([CCode (array_length = false, type = "const char**")] string[] data);
public int get_bits_per_sample ();
public size_t get_byte_length ();
public Gdk.Colorspace get_colorspace ();
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index cd7ac47..b8dda75 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -60,7 +60,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static GLib.Variant gvalue_to_gvariant (GLib.Value gvalue, GLib.VariantType type);
[CCode (cheader_filename = "gio/gio.h")]
- public static void gvariant_to_gvalue (GLib.Variant value, GLib.Value out_gvalue);
+ public static GLib.Value gvariant_to_gvalue (GLib.Variant value);
[CCode (cheader_filename = "gio/gio.h")]
public static bool is_address (string string);
[CCode (cheader_filename = "gio/gio.h")]
@@ -720,6 +720,7 @@ namespace GLib {
public void export (GLib.DBusObjectSkeleton object);
public void export_uniquely (GLib.DBusObjectSkeleton object);
public GLib.DBusConnection get_connection ();
+ public bool is_exported (GLib.DBusObjectSkeleton object);
public void set_connection (GLib.DBusConnection? connection);
public bool unexport (string object_path);
public GLib.DBusConnection connection { owned get; set; }
@@ -1449,6 +1450,7 @@ namespace GLib {
[HasEmitter]
public virtual signal void reply (GLib.MountOperationResult result);
public virtual signal void show_processes (string message, GLib.Array<GLib.Pid> processes, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
+ public virtual signal void show_unmount_progress (string message, uint64 time_left, uint64 bytes_left);
}
[CCode (cheader_filename = "gio/gio.h")]
public abstract class NativeVolumeMonitor : GLib.VolumeMonitor {
@@ -2112,7 +2114,7 @@ namespace GLib {
public unowned string get_warning ();
public void set_description (string description);
public void set_flags (GLib.TlsPasswordFlags flags);
- public void set_value ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize", type = "guchar*")] uint8[] value);
+ public void set_value ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize", type = "const guchar*")] uint8[] value);
[CCode (vfunc_name = "set_value")]
public virtual void set_value_full ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gssize", type = "guchar*")] owned uint8[] value, GLib.DestroyNotify? notify = GLib.free);
public void set_warning (string warning);
@@ -2246,7 +2248,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h", type_cname = "GActionMapInterface", type_id = "g_action_map_get_type ()")]
public interface ActionMap : GLib.ActionGroup, GLib.Object {
public abstract void add_action (GLib.Action action);
- public void add_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5, type = "GActionEntry*")] GLib.ActionEntry[] entries, void* user_data);
+ public void add_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5, type = "const GActionEntry*")] GLib.ActionEntry[] entries, void* user_data);
public abstract unowned GLib.Action lookup_action (string action_name);
public abstract void remove_action (string action_name);
}
@@ -2301,6 +2303,8 @@ namespace GLib {
public interface AsyncResult : GLib.Object {
public abstract GLib.Object get_source_object ();
public abstract void* get_user_data ();
+ public abstract bool is_tagged (void* tag);
+ public bool legacy_propagate_error () throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_get_type ()")]
public interface Converter : GLib.Object {
diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi
index f9d064c..ee836e7 100644
--- a/vapi/libgdata.vapi
+++ b/vapi/libgdata.vapi
@@ -140,7 +140,7 @@ namespace GData {
public unowned GData.AuthorizationDomain get_authorization_domain ();
public unowned string get_feed_uri ();
public unowned GData.Service get_service ();
- public bool run (GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool run (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool run_async (GLib.Cancellable? cancellable) throws GLib.Error;
public GData.AuthorizationDomain authorization_domain { get; construct; }
public string feed_uri { get; construct; }
@@ -273,7 +273,7 @@ namespace GData {
[CCode (has_construct_function = false)]
public CalendarService (GData.Authorizer? authorizer);
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
- public GData.CalendarEvent insert_event (GData.CalendarEvent event, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.CalendarEvent insert_event (GData.CalendarEvent event, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async void insert_event_async (GData.CalendarEvent event, GLib.Cancellable? cancellable);
public GData.Feed query_all_calendars (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
public async void query_all_calendars_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
@@ -300,7 +300,7 @@ namespace GData {
public class ClientLoginAuthorizer : GLib.Object, GData.Authorizer {
[CCode (has_construct_function = false)]
public ClientLoginAuthorizer (string client_id, GLib.Type service_type);
- public bool authenticate (string username, string password, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool authenticate (string username, string password, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool authenticate_async (string username, string password, GLib.Cancellable? cancellable) throws GLib.Error;
[CCode (has_construct_function = false)]
public ClientLoginAuthorizer.for_authorization_domains (string client_id, GLib.List<GData.AuthorizationDomain> authorization_domains);
@@ -367,7 +367,7 @@ namespace GData {
public unowned GLib.List<GData.GDOrganization> get_organizations ();
public unowned GLib.List<GData.GDPhoneNumber> get_phone_numbers ();
[CCode (array_length_pos = 1.5, array_length_type = "gsize")]
- public uint8[] get_photo (GData.ContactsService service, out string content_type, GLib.Cancellable? cancellable) throws GLib.Error;
+ public uint8[] get_photo (GData.ContactsService service, out string content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (array_length_pos = 1.1)]
public async uint8 get_photo_async (GData.ContactsService service, out size_t length, out string content_type) throws GLib.Error;
public unowned string get_photo_etag ();
@@ -415,7 +415,7 @@ namespace GData {
public void set_name (GData.GDName name);
public void set_nickname (string? nickname);
public void set_occupation (string? occupation);
- public bool set_photo (GData.ContactsService service, uint8? data, size_t length, string? content_type, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool set_photo (GData.ContactsService service, uint8? data, size_t length, string? content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool set_photo_async (GData.ContactsService service, uint8? data, size_t length, string? content_type, GLib.Cancellable? cancellable) throws GLib.Error;
public void set_priority (string? priority);
public void set_sensitivity (string? sensitivity);
@@ -484,9 +484,9 @@ namespace GData {
[CCode (has_construct_function = false)]
public ContactsService (GData.Authorizer? authorizer);
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
- public GData.ContactsContact insert_contact (GData.ContactsContact contact, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.ContactsContact insert_contact (GData.ContactsContact contact, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async void insert_contact_async (GData.ContactsContact contact, GLib.Cancellable? cancellable);
- public GData.ContactsGroup insert_group (GData.ContactsGroup group, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.ContactsGroup insert_group (GData.ContactsGroup group, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async void insert_group_async (GData.ContactsGroup group, GLib.Cancellable? cancellable);
public GData.Feed query_contacts (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
public async void query_contacts_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
@@ -497,8 +497,14 @@ namespace GData {
public class DocumentsDocument : GData.DocumentsEntry, GData.AccessHandler {
[CCode (has_construct_function = false)]
public DocumentsDocument (string? id);
- public GData.DownloadStream download (GData.DocumentsService service, string export_format, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.DownloadStream download (GData.DocumentsService service, string export_format, GLib.Cancellable? cancellable = null) throws GLib.Error;
public string get_download_uri (string export_format);
+ public unowned string get_thumbnail_uri ();
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_drawing_get_type ()")]
+ public class DocumentsDrawing : GData.DocumentsDocument, GData.AccessHandler {
+ [CCode (has_construct_function = false)]
+ public DocumentsDrawing (string? id);
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_entry_get_type ()")]
public abstract class DocumentsEntry : GData.Entry, GData.AccessHandler {
@@ -571,20 +577,22 @@ namespace GData {
public class DocumentsService : GData.Service, GData.Batchable {
[CCode (has_construct_function = false)]
public DocumentsService (GData.Authorizer? authorizer);
- public GData.DocumentsEntry add_entry_to_folder (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.DocumentsEntry add_entry_to_folder (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.DocumentsEntry add_entry_to_folder_async (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.DocumentsDocument copy_document (GData.DocumentsDocument document, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async GData.DocumentsDocument copy_document_async (GData.DocumentsDocument document, GLib.Cancellable? cancellable) throws GLib.Error;
public GData.DocumentsDocument finish_upload (GData.UploadStream upload_stream) throws GLib.Error;
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
public static unowned GData.AuthorizationDomain get_spreadsheet_authorization_domain ();
public static string get_upload_uri (GData.DocumentsFolder? folder);
public GData.DocumentsFeed query_documents (GData.DocumentsQuery? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
public async void query_documents_async (GData.DocumentsQuery? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
- public GData.DocumentsEntry remove_entry_from_folder (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.DocumentsEntry remove_entry_from_folder (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.DocumentsEntry remove_entry_from_folder_async (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable) throws GLib.Error;
- public GData.UploadStream update_document (GData.DocumentsDocument document, string slug, string content_type, GLib.Cancellable? cancellable) throws GLib.Error;
- public GData.UploadStream update_document_resumable (GData.DocumentsDocument document, string slug, string content_type, int64 content_length, GLib.Cancellable? cancellable) throws GLib.Error;
- public GData.UploadStream upload_document (GData.DocumentsDocument? document, string slug, string content_type, GData.DocumentsFolder? folder, GLib.Cancellable? cancellable) throws GLib.Error;
- public GData.UploadStream upload_document_resumable (GData.DocumentsDocument? document, string slug, string content_type, int64 content_length, GData.DocumentsUploadQuery? query, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.UploadStream update_document (GData.DocumentsDocument document, string slug, string content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public GData.UploadStream update_document_resumable (GData.DocumentsDocument document, string slug, string content_type, int64 content_length, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public GData.UploadStream upload_document (GData.DocumentsDocument? document, string slug, string content_type, GData.DocumentsFolder? folder, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public GData.UploadStream upload_document_resumable (GData.DocumentsDocument? document, string slug, string content_type, int64 content_length, GData.DocumentsUploadQuery? query, GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_spreadsheet_get_type ()")]
public class DocumentsSpreadsheet : GData.DocumentsDocument, GData.AccessHandler {
@@ -612,7 +620,7 @@ namespace GData {
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_download_stream_get_type ()")]
public class DownloadStream : GLib.InputStream, GLib.Seekable {
[CCode (has_construct_function = false, type = "GInputStream*")]
- public DownloadStream (GData.Service service, GData.AuthorizationDomain? domain, string download_uri, GLib.Cancellable? cancellable);
+ public DownloadStream (GData.Service service, GData.AuthorizationDomain? domain, string download_uri, GLib.Cancellable? cancellable = null);
public unowned GData.AuthorizationDomain get_authorization_domain ();
public unowned GLib.Cancellable get_cancellable ();
public ssize_t get_content_length ();
@@ -1041,6 +1049,13 @@ namespace GData {
public string uri { get; }
public string version { get; }
}
+ [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_goa_authorizer_get_type ()")]
+ public class GoaAuthorizer : GLib.Object, GData.Authorizer {
+ [CCode (has_construct_function = false)]
+ public GoaAuthorizer (Goa.Object goa_object);
+ public unowned Goa.Object get_goa_object ();
+ public Goa.Object goa_object { get; construct; }
+ }
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_link_get_type ()")]
public class Link : GData.Parsable, GData.Comparable {
[CCode (has_construct_function = false)]
@@ -1082,7 +1097,7 @@ namespace GData {
public class MediaContent : GData.Parsable {
[CCode (has_construct_function = false)]
protected MediaContent ();
- public GData.DownloadStream download (GData.Service service, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.DownloadStream download (GData.Service service, GLib.Cancellable? cancellable = null) throws GLib.Error;
public unowned string get_content_type ();
public int64 get_duration ();
public GData.MediaExpression get_expression ();
@@ -1117,7 +1132,7 @@ namespace GData {
public class MediaThumbnail : GData.Parsable {
[CCode (has_construct_function = false)]
protected MediaThumbnail ();
- public GData.DownloadStream download (GData.Service service, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.DownloadStream download (GData.Service service, GLib.Cancellable? cancellable = null) throws GLib.Error;
public uint get_height ();
public int64 get_time ();
public unowned string get_uri ();
@@ -1137,9 +1152,9 @@ namespace GData {
public unowned string get_locale ();
public Soup.URI get_proxy_uri ();
public uint get_timeout ();
- public string request_authentication_uri (out string token, out string token_secret, GLib.Cancellable? cancellable) throws GLib.Error;
+ public string request_authentication_uri (out string token, out string token_secret, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async string request_authentication_uri_async (GLib.Cancellable? cancellable, out string token, out string token_secret) throws GLib.Error;
- public bool request_authorization (string token, string token_secret, string verifier, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool request_authorization (string token, string token_secret, string verifier, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool request_authorization_async (string token, string token_secret, string verifier, GLib.Cancellable? cancellable) throws GLib.Error;
public void set_locale (string? locale);
public void set_proxy_uri (Soup.URI? proxy_uri);
@@ -1330,15 +1345,15 @@ namespace GData {
public PicasaWebService (GData.Authorizer? authorizer);
public GData.PicasaWebFile finish_file_upload (GData.UploadStream upload_stream) throws GLib.Error;
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
- public GData.PicasaWebUser get_user (string? username, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.PicasaWebUser get_user (string? username, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.PicasaWebUser get_user_async (string? username, GLib.Cancellable? cancellable) throws GLib.Error;
- public GData.PicasaWebAlbum insert_album (GData.PicasaWebAlbum album, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.PicasaWebAlbum insert_album (GData.PicasaWebAlbum album, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async void insert_album_async (GData.PicasaWebAlbum album, GLib.Cancellable? cancellable);
public GData.Feed query_all_albums (GData.Query? query, string? username, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
public async void query_all_albums_async (GData.Query? query, string? username, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
public GData.Feed query_files (GData.PicasaWebAlbum? album, GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
public async void query_files_async (GData.PicasaWebAlbum? album, GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
- public GData.UploadStream upload_file (GData.PicasaWebAlbum? album, GData.PicasaWebFile file_entry, string slug, string content_type, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.UploadStream upload_file (GData.PicasaWebAlbum? album, GData.PicasaWebFile file_entry, string slug, string content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "picasaweb_user", type_id = "gdata_picasaweb_user_get_type ()")]
public class PicasaWebUser : GData.Entry {
@@ -1407,27 +1422,27 @@ namespace GData {
protected Service ();
[NoWrapper]
public virtual void append_query_headers (GData.AuthorizationDomain domain, Soup.Message message);
- public bool delete_entry (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool delete_entry (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool delete_entry_async (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
public static GLib.List<weak GData.AuthorizationDomain> get_authorization_domains (GLib.Type service_type);
public unowned GData.Authorizer get_authorizer ();
public unowned string get_locale ();
public unowned Soup.URI get_proxy_uri ();
public uint get_timeout ();
- public GData.Entry insert_entry (GData.AuthorizationDomain? domain, string upload_uri, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.Entry insert_entry (GData.AuthorizationDomain? domain, string upload_uri, GData.Entry entry, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.Entry insert_entry_async (GData.AuthorizationDomain? domain, string upload_uri, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
public bool is_authorized ();
[NoWrapper]
public virtual void parse_error_response (GData.OperationType operation_type, uint status, string reason_phrase, string response_body, int length) throws GLib.Error;
public GData.Feed query (GData.AuthorizationDomain? domain, string feed_uri, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
public async GData.Feed query_async (GData.AuthorizationDomain? domain, string feed_uri, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback) throws GLib.Error;
- public GData.Entry query_single_entry (GData.AuthorizationDomain? domain, string entry_id, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.Entry query_single_entry (GData.AuthorizationDomain? domain, string entry_id, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.Entry query_single_entry_async (GData.AuthorizationDomain? domain, string entry_id, GData.Query? query, GLib.Type entry_type, GLib.Cancellable? cancellable) throws GLib.Error;
public void set_authorizer (GData.Authorizer authorizer);
public void set_locale (string? locale);
public void set_proxy_uri (Soup.URI? proxy_uri);
public void set_timeout (uint timeout);
- public GData.Entry update_entry (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.Entry update_entry (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.Entry update_entry_async (GData.AuthorizationDomain? domain, GData.Entry entry, GLib.Cancellable? cancellable) throws GLib.Error;
public GData.Authorizer authorizer { get; set; }
public string locale { get; set; }
@@ -1437,7 +1452,7 @@ namespace GData {
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_upload_stream_get_type ()")]
public class UploadStream : GLib.OutputStream {
[CCode (has_construct_function = false, type = "GOutputStream*")]
- public UploadStream (GData.Service service, GData.AuthorizationDomain? domain, string method, string upload_uri, GData.Entry? entry, string slug, string content_type, GLib.Cancellable? cancellable);
+ public UploadStream (GData.Service service, GData.AuthorizationDomain? domain, string method, string upload_uri, GData.Entry? entry, string slug, string content_type, GLib.Cancellable? cancellable = null);
public unowned GData.AuthorizationDomain get_authorization_domain ();
public unowned GLib.Cancellable get_cancellable ();
public int64 get_content_length ();
@@ -1449,7 +1464,7 @@ namespace GData {
public unowned string get_slug ();
public unowned string get_upload_uri ();
[CCode (has_construct_function = false, type = "GOutputStream*")]
- public UploadStream.resumable (GData.Service service, GData.AuthorizationDomain? domain, string method, string upload_uri, GData.Entry? entry, string slug, string content_type, int64 content_length, GLib.Cancellable? cancellable);
+ public UploadStream.resumable (GData.Service service, GData.AuthorizationDomain? domain, string method, string upload_uri, GData.Entry? entry, string slug, string content_type, int64 content_length, GLib.Cancellable? cancellable = null);
public GData.AuthorizationDomain authorization_domain { get; construct; }
public GLib.Cancellable cancellable { get; construct; }
public int64 content_length { get; construct; }
@@ -1540,7 +1555,7 @@ namespace GData {
public YouTubeService (string developer_key, GData.Authorizer? authorizer);
public static GLib.Quark error_quark ();
public GData.YouTubeVideo finish_video_upload (GData.UploadStream upload_stream) throws GLib.Error;
- public GData.APPCategories get_categories (GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.APPCategories get_categories (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.APPCategories get_categories_async (GLib.Cancellable? cancellable) throws GLib.Error;
public unowned string get_developer_key ();
public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
@@ -1550,7 +1565,7 @@ namespace GData {
public async void query_standard_feed_async (GData.YouTubeStandardFeedType feed_type, GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
public GData.Feed query_videos (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
public async void query_videos_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
- public GData.UploadStream upload_video (GData.YouTubeVideo video, string slug, string content_type, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.UploadStream upload_video (GData.YouTubeVideo video, string slug, string content_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
public string developer_key { get; construct; }
}
[CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_state", type_id = "gdata_youtube_state_get_type ()")]
@@ -1644,7 +1659,7 @@ namespace GData {
public interface Authorizer : GLib.Object {
public abstract bool is_authorized_for_domain (GData.AuthorizationDomain domain);
public abstract void process_request (GData.AuthorizationDomain? domain, Soup.Message message);
- public abstract bool refresh_authorization (GLib.Cancellable? cancellable) throws GLib.Error;
+ public abstract bool refresh_authorization (GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract async bool refresh_authorization_async (GLib.Cancellable? cancellable) throws GLib.Error;
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_batchable_get_type ()")]
@@ -1653,13 +1668,13 @@ namespace GData {
}
[CCode (cheader_filename = "gdata/gdata.h", type_cname = "GDataCommentableInterface", type_id = "gdata_commentable_get_type ()")]
public interface Commentable : GData.Entry {
- public bool delete_comment (GData.Service service, GData.Comment comment_, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool delete_comment (GData.Service service, GData.Comment comment_, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool delete_comment_async (GData.Service service, GData.Comment comment_, GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public abstract string get_insert_comment_uri (GData.Comment comment);
[NoWrapper]
public abstract string get_query_comments_uri ();
- public GData.Comment insert_comment (GData.Service service, GData.Comment comment_, GLib.Cancellable? cancellable) throws GLib.Error;
+ public GData.Comment insert_comment (GData.Service service, GData.Comment comment_, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GData.Comment insert_comment_async (GData.Service service, GData.Comment comment_, GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public abstract bool is_comment_deletable (GData.Comment comment);
@@ -1687,24 +1702,6 @@ namespace GData {
UPDATE,
DELETION
}
- [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_")]
- public enum ClientLoginAuthorizerError {
- BAD_AUTHENTICATION,
- NOT_VERIFIED,
- TERMS_NOT_AGREED,
- CAPTCHA_REQUIRED,
- ACCOUNT_DELETED,
- ACCOUNT_DISABLED,
- SERVICE_DISABLED,
- ACCOUNT_MIGRATED,
- INVALID_SECOND_FACTOR;
- public static GLib.Quark quark ();
- }
- [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_DOCUMENTS_SERVICE_ERROR_INVALID_CONTENT_")]
- public enum DocumentsServiceError {
- TYPE;
- public static GLib.Quark quark ();
- }
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_MEDIA_EXPRESSION_")]
public enum MediaExpression {
SAMPLE,
@@ -1731,32 +1728,11 @@ namespace GData {
AUTHENTICATION,
BATCH
}
- [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_PARSER_ERROR_")]
- public enum ParserError {
- PARSING_STRING,
- EMPTY_DOCUMENT;
- public static GLib.Quark quark ();
- }
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_PICASAWEB_")]
public enum PicasaWebVisibility {
PUBLIC,
PRIVATE
}
- [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_SERVICE_ERROR_")]
- public enum ServiceError {
- UNAVAILABLE,
- PROTOCOL_ERROR,
- ENTRY_ALREADY_INSERTED,
- AUTHENTICATION_REQUIRED,
- NOT_FOUND,
- CONFLICT,
- FORBIDDEN,
- BAD_QUERY_PARAMETER,
- NETWORK_ERROR,
- PROXY_ERROR,
- WITH_BATCH_OPERATION;
- public static GLib.Quark quark ();
- }
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_AGE_")]
public enum YouTubeAge {
ALL_TIME,
@@ -1783,11 +1759,6 @@ namespace GData {
MODERATE,
STRICT
}
- [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_SERVICE_ERROR_")]
- public enum YouTubeServiceError {
- API_QUOTA_EXCEEDED,
- ENTRY_QUOTA_EXCEEDED
- }
[CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_SORT_")]
public enum YouTubeSortOrder {
NONE,
@@ -1812,6 +1783,50 @@ namespace GData {
ALL,
PARTNER
}
+ [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_")]
+ public errordomain ClientLoginAuthorizerError {
+ BAD_AUTHENTICATION,
+ NOT_VERIFIED,
+ TERMS_NOT_AGREED,
+ CAPTCHA_REQUIRED,
+ ACCOUNT_DELETED,
+ ACCOUNT_DISABLED,
+ SERVICE_DISABLED,
+ ACCOUNT_MIGRATED,
+ INVALID_SECOND_FACTOR;
+ public static GLib.Quark quark ();
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_DOCUMENTS_SERVICE_ERROR_INVALID_CONTENT_")]
+ public errordomain DocumentsServiceError {
+ TYPE;
+ public static GLib.Quark quark ();
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_PARSER_ERROR_")]
+ public errordomain ParserError {
+ PARSING_STRING,
+ EMPTY_DOCUMENT;
+ public static GLib.Quark quark ();
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_SERVICE_ERROR_")]
+ public errordomain ServiceError {
+ UNAVAILABLE,
+ PROTOCOL_ERROR,
+ ENTRY_ALREADY_INSERTED,
+ AUTHENTICATION_REQUIRED,
+ NOT_FOUND,
+ CONFLICT,
+ FORBIDDEN,
+ BAD_QUERY_PARAMETER,
+ NETWORK_ERROR,
+ PROXY_ERROR,
+ WITH_BATCH_OPERATION;
+ public static GLib.Quark quark ();
+ }
+ [CCode (cheader_filename = "gdata/gdata.h", cprefix = "GDATA_YOUTUBE_SERVICE_ERROR_")]
+ public errordomain YouTubeServiceError {
+ API_QUOTA_EXCEEDED,
+ ENTRY_QUOTA_EXCEEDED
+ }
[CCode (cheader_filename = "gdata/gdata.h", instance_pos = 4.9)]
public delegate void BatchOperationCallback (uint operation_id, GData.BatchOperationType operation_type, GData.Entry entry, GLib.Error error);
[CCode (cheader_filename = "gdata/gdata.h", instance_pos = 3.9)]
@@ -1842,6 +1857,14 @@ namespace GData {
public const string DOCUMENTS_ACCESS_ROLE_READER;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_ACCESS_ROLE_WRITER")]
public const string DOCUMENTS_ACCESS_ROLE_WRITER;
+ [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_DRAWING_JPEG")]
+ public const string DOCUMENTS_DRAWING_JPEG;
+ [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_DRAWING_PDF")]
+ public const string DOCUMENTS_DRAWING_PDF;
+ [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_DRAWING_PNG")]
+ public const string DOCUMENTS_DRAWING_PNG;
+ [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_DRAWING_SVG")]
+ public const string DOCUMENTS_DRAWING_SVG;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_CALENDAR_FREE_BUSY")]
public const string GCONTACT_CALENDAR_FREE_BUSY;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_GCONTACT_CALENDAR_HOME")]
diff --git a/vapi/libpeas-1.0.vapi b/vapi/libpeas-1.0.vapi
index 987cbd9..5551ff4 100644
--- a/vapi/libpeas-1.0.vapi
+++ b/vapi/libpeas-1.0.vapi
@@ -48,6 +48,8 @@ namespace Peas {
public class ExtensionSet : GLib.Object {
[CCode (has_construct_function = false)]
public ExtensionSet (Peas.Engine engine, GLib.Type exten_type, ...);
+ [NoWrapper]
+ public virtual bool call (string method_name, GI.Argument args);
public void @foreach (Peas.ExtensionSetForeachFunc func);
public unowned Peas.Extension get_extension (Peas.PluginInfo info);
[CCode (has_construct_function = false)]
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index 17866c1..74d082f 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -91,7 +91,7 @@ namespace Soup {
public uint hash_by_name ();
public bool is_resolved ();
public void resolve_async (GLib.MainContext? async_context, GLib.Cancellable? cancellable, Soup.AddressCallback callback);
- public uint resolve_sync (GLib.Cancellable? cancellable);
+ public uint resolve_sync (GLib.Cancellable? cancellable = null);
[NoAccessorMethod]
public Soup.AddressFamily family { get; construct; }
public string name { get; construct; }
@@ -384,7 +384,7 @@ namespace Soup {
public void set_flags (Soup.MessageFlags flags);
public void set_http_version (Soup.HTTPVersion version);
public void set_redirect (uint status_code, string redirect_uri);
- public void set_request (string content_type, Soup.MemoryUse req_use, [CCode (array_length_cname = "req_length", array_length_pos = 3.1, array_length_type = "gsize", type = "char*")] uint8[] req_body);
+ public void set_request (string content_type, Soup.MemoryUse req_use, [CCode (array_length_cname = "req_length", array_length_pos = 3.1, array_length_type = "gsize", type = "const char*")] uint8[] req_body);
public void set_response (string? content_type, Soup.MemoryUse resp_use, [CCode (array_length_cname = "resp_length", array_length_pos = 3.1, array_length_type = "gsize")] uint8[] resp_body);
public void set_status (uint status_code);
public void set_status_full (uint status_code, string reason_phrase);
@@ -524,7 +524,7 @@ namespace Soup {
public virtual unowned string get_content_type ();
public unowned Soup.Session get_session ();
public unowned Soup.URI get_uri ();
- public virtual GLib.InputStream send (GLib.Cancellable? cancellable) throws GLib.Error;
+ public virtual GLib.InputStream send (GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.InputStream send_async (GLib.Cancellable? cancellable) throws GLib.Error;
public Soup.Session session { get; construct; }
public Soup.URI uri { get; construct; }
@@ -681,7 +681,7 @@ namespace Soup {
[CCode (has_construct_function = false)]
public Socket (string optname1, ...);
public void connect_async (GLib.Cancellable? cancellable, Soup.SocketCallback callback);
- public uint connect_sync (GLib.Cancellable? cancellable);
+ public uint connect_sync (GLib.Cancellable? cancellable = null);
public void disconnect ();
public int get_fd ();
public unowned Soup.Address get_local_address ();
@@ -689,11 +689,11 @@ namespace Soup {
public bool is_connected ();
public bool is_ssl ();
public bool listen ();
- public Soup.SocketIOStatus read ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gsize", type = "gpointer")] uint8[] buffer, out size_t nread, GLib.Cancellable? cancellable) throws GLib.Error;
- public Soup.SocketIOStatus read_until ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gsize", type = "gpointer")] uint8[] buffer, void* boundary, size_t boundary_len, out size_t nread, bool got_boundary, GLib.Cancellable? cancellable) throws GLib.Error;
- public bool start_proxy_ssl (string ssl_host, GLib.Cancellable? cancellable);
- public bool start_ssl (GLib.Cancellable? cancellable);
- public Soup.SocketIOStatus write ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gsize", type = "gconstpointer")] uint8[] buffer, out size_t nwrote, GLib.Cancellable? cancellable) throws GLib.Error;
+ public Soup.SocketIOStatus read ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gsize", type = "gpointer")] uint8[] buffer, out size_t nread, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public Soup.SocketIOStatus read_until ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gsize", type = "gpointer")] uint8[] buffer, void* boundary, size_t boundary_len, out size_t nread, bool got_boundary, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public bool start_proxy_ssl (string ssl_host, GLib.Cancellable? cancellable = null);
+ public bool start_ssl (GLib.Cancellable? cancellable = null);
+ public Soup.SocketIOStatus write ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gsize", type = "gconstpointer")] uint8[] buffer, out size_t nwrote, GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoAccessorMethod]
public GLib.MainContext async_context { owned get; construct; }
public bool clean_dispose { construct; }
@@ -994,6 +994,14 @@ namespace Soup {
HANDSHAKE_FAILED;
public static GLib.Quark quark ();
}
+ [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_TLD_ERROR_")]
+ public errordomain TLDError {
+ INVALID_HOSTNAME,
+ IS_IP_ADDRESS,
+ NOT_ENOUGH_DOMAINS,
+ NO_BASE_DOMAIN;
+ public static GLib.Quark quark ();
+ }
[CCode (cheader_filename = "libsoup/soup.h", instance_pos = 2.9)]
public delegate void AddressCallback (Soup.Address addr, uint status);
[CCode (cheader_filename = "libsoup/soup.h", instance_pos = 4.9)]
@@ -1370,6 +1378,10 @@ namespace Soup {
[CCode (cheader_filename = "libsoup/soup.h")]
public static uint str_case_hash (void* key);
[CCode (cheader_filename = "libsoup/soup.h")]
+ public static bool tld_domain_is_public_suffix (string domain);
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ public static unowned string tld_get_base_domain (string hostname) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h")]
public static void value_array_append (GLib.ValueArray array, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
public static void value_array_append_vals (GLib.ValueArray array, ...);
diff --git a/vapi/rest-0.7.vapi b/vapi/rest-0.7.vapi
index bb5efd5..da6d8e1 100644
--- a/vapi/rest-0.7.vapi
+++ b/vapi/rest-0.7.vapi
@@ -106,14 +106,22 @@ namespace Rest {
[NoAccessorMethod]
public bool disable_cookies { get; construct; }
[NoAccessorMethod]
- public string password { owned get; construct; }
+ public string password { owned get; set; }
[NoAccessorMethod]
public bool ssl_strict { get; set; }
[NoAccessorMethod]
public string url_format { owned get; set; }
public string user_agent { get; set; }
[NoAccessorMethod]
- public string username { owned get; construct; }
+ public string username { owned get; set; }
+ public virtual signal bool authenticate (Rest.ProxyAuth auth, bool retrying);
+ }
+ [CCode (cheader_filename = "rest/oauth-proxy-call.h,rest/oauth-proxy.h,rest/oauth2-proxy-call.h,rest/oauth2-proxy.h,rest/rest-enum-types.h,rest/rest-param.h,rest/rest-params.h,rest/rest-proxy-auth.h,rest/rest-proxy-call.h,rest/rest-proxy.h,rest/rest-xml-node.h,rest/rest-xml-parser.h", type_id = "rest_proxy_auth_get_type ()")]
+ public class ProxyAuth : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected ProxyAuth ();
+ public void pause ();
+ public void unpause ();
}
[CCode (cheader_filename = "rest/rest-proxy-call.h", type_id = "rest_proxy_call_get_type ()")]
public class ProxyCall : GLib.Object {
diff --git a/vapi/vte-2.90.vapi b/vapi/vte-2.90.vapi
index e298db7..a512047 100644
--- a/vapi/vte-2.90.vapi
+++ b/vapi/vte-2.90.vapi
@@ -112,7 +112,7 @@ namespace Vte {
public void set_visible_bell (bool is_visible);
public void set_word_chars (string spec);
public void watch_child (GLib.Pid child_pid);
- public bool write_contents (GLib.OutputStream stream, Vte.TerminalWriteFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool write_contents (GLib.OutputStream stream, Vte.TerminalWriteFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool allow_bold { get; set; }
public bool audible_bell { get; set; }
[NoAccessorMethod]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]