[vala] Regenerate many GIR-based bindings
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Regenerate many GIR-based bindings
- Date: Mon, 11 Feb 2013 10:38:24 +0000 (UTC)
commit bb8a5e0a686116d20fc4df8ffb1ed648f513d0d8
Author: Evan Nemerson <evan coeus-group com>
Date: Mon Feb 11 02:35:10 2013 -0800
Regenerate many GIR-based bindings
vapi/Makefile.am | 4 +-
vapi/atk.vapi | 21 +++++
vapi/atspi-2.vapi | 3 +-
vapi/clutter-1.0.vapi | 2 +
vapi/gdk-3.0.vapi | 7 ++
vapi/gdk-pixbuf-2.0.vapi | 6 ++
vapi/gdl-3.0.vapi | 1 +
vapi/gedit.vapi | 58 +++++++--------
vapi/gtksourceview-3.0.vapi | 51 +------------
vapi/libgdata.vapi | 1 +
vapi/libsoup-2.4.vapi | 64 +++++++++++++++--
vapi/libwnck-3.0.vapi | 4 +-
vapi/libxklavier.vapi | 16 ++--
vapi/metadata/Clutter-1.0.metadata | 1 +
vapi/metadata/Gio-2.0.metadata | 2 +
vapi/metadata/GtkSource-3.0.metadata | 2 -
vapi/metadata/Soup-2.4.metadata | 5 +
vapi/mx-1.0.vapi | 10 +-
vapi/packagekit-glib2.vapi | 38 ++++++++--
vapi/udisks2.vapi | 134 ++++++++++++++++++++++++++++++++++
vapi/vte-2.90.vapi | 7 +-
21 files changed, 325 insertions(+), 112 deletions(-)
---
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 6b36ae6..f65e5b0 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -428,7 +428,7 @@ atspi-2:
$(GENVAPI) --library $(srcdir)/atspi-2 --metadatadir $(METADATADIR) $(GIRDIR)/Atspi-2.0.gir
clutter-1.0:
- $(GENVAPI) --library $(srcdir)/clutter-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/Clutter-1.0-custom.vala --pkg atk --pkg cairo --pkg pango --pkg cogl-1.0 --pkg json-glib-1.0 $(GIRDIR)/Clutter-1.0.gir
+ $(GENVAPI) --library $(srcdir)/clutter-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/Clutter-1.0-custom.vala --pkg atk --pkg cairo --pkg pango --pkg cogl-1.0 --pkg cogl-pango-1.0 --pkg json-glib-1.0 $(GIRDIR)/Clutter-1.0.gir
clutter-gtk-0.10:
$(GENVAPI) --library $(srcdir)/clutter-gtk-0.10 $(PACKAGESDIR)/clutter-gtk-0.10/clutter-gtk-0.10.gi
@@ -689,7 +689,7 @@ loudmouth-1.0:
$(GENVAPI) --library $(srcdir)/loudmouth-1.0 $(PACKAGESDIR)/loudmouth-1.0/loudmouth-1.0-custom.vala $(PACKAGESDIR)/loudmouth-1.0/loudmouth-1.0.gi
mx-1.0:
- $(GENVAPI) --library $(srcdir)/mx-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/Mx-1.0-custom.vala $(GIRDIR)/Mx-1.0.gir
+ $(GENVAPI) --library $(srcdir)/mx-1.0 --metadatadir $(METADATADIR) --pkg clutter-1.0 --pkg cogl-pango-1.0 $(METADATADIR)/Mx-1.0-custom.vala $(GIRDIR)/Mx-1.0.gir
packagekit-glib2:
$(GENVAPI) --library $(srcdir)/packagekit-glib2 --metadatadir $(METADATADIR) --pkg gio-2.0 $(GIRDIR)/PackageKitGlib-1.0.gir
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index 36e3858..f7cf43a 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -650,6 +650,7 @@ namespace Atk {
IMAGE_MAP,
NOTIFICATION,
INFO_BAR,
+ LEVEL_BAR,
LAST_DEFINED;
[CCode (cheader_filename = "atk/atk.h")]
public static Atk.Role for_name (string name);
@@ -780,6 +781,16 @@ namespace Atk {
public delegate void PropertyChangeHandler (Atk.Object obj, Atk.PropertyValues vals);
[CCode (cheader_filename = "atk/atk.h", cname = "GSignalEmissionHook", has_target = false)]
public delegate bool SignalEmissionHook (GLib.SignalInvocationHint ihint, [CCode (array_length_pos = 1.9)] Atk.Value[] param_values, void* data);
+ [CCode (cheader_filename = "atk/atk.h", cname = "ATK_BINARY_AGE")]
+ public const int BINARY_AGE;
+ [CCode (cheader_filename = "atk/atk.h", cname = "ATK_INTERFACE_AGE")]
+ public const int INTERFACE_AGE;
+ [CCode (cheader_filename = "atk/atk.h", cname = "ATK_MAJOR_VERSION")]
+ public const int MAJOR_VERSION;
+ [CCode (cheader_filename = "atk/atk.h", cname = "ATK_MICRO_VERSION")]
+ public const int MICRO_VERSION;
+ [CCode (cheader_filename = "atk/atk.h", cname = "ATK_MINOR_VERSION")]
+ public const int MINOR_VERSION;
[CCode (cheader_filename = "atk/atk.h")]
[Deprecated (replacement = "Atk.Util.add_focus_tracker", since = "vala-0.16")]
public static uint add_focus_tracker (Atk.EventListener focus_tracker);
@@ -793,12 +804,22 @@ namespace Atk {
[Deprecated (replacement = "Atk.Util.focus_tracker_notify", since = "vala-0.16")]
public static void focus_tracker_notify (Atk.Object object);
[CCode (cheader_filename = "atk/atk.h")]
+ public static uint get_binary_age ();
+ [CCode (cheader_filename = "atk/atk.h")]
[Deprecated (replacement = "Atk.Registry.get_default.", since = "vala-0.16")]
public static unowned Atk.Registry get_default_registry ();
[CCode (cheader_filename = "atk/atk.h")]
[Deprecated (replacement = "Atk.Util.get_focus_object", since = "vala-0.16")]
public static unowned Atk.Object get_focus_object ();
[CCode (cheader_filename = "atk/atk.h")]
+ public static uint get_interface_age ();
+ [CCode (cheader_filename = "atk/atk.h")]
+ public static uint get_major_version ();
+ [CCode (cheader_filename = "atk/atk.h")]
+ public static uint get_micro_version ();
+ [CCode (cheader_filename = "atk/atk.h")]
+ public static uint get_minor_version ();
+ [CCode (cheader_filename = "atk/atk.h")]
[Deprecated (replacement = "Atk.Util.get_root", since = "vala-0.16")]
public static unowned Atk.Object get_root ();
[CCode (cheader_filename = "atk/atk.h")]
diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi
index 7968b29..914e62d 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -623,6 +623,7 @@ namespace Atspi {
IMAGE_MAP,
NOTIFICATION,
INFO_BAR,
+ LEVEL_BAR,
LAST_DEFINED;
public static string get_name (Atspi.Role role);
}
@@ -791,8 +792,6 @@ namespace Atspi {
[CCode (cheader_filename = "atspi/atspi.h")]
public static int get_desktop_count ();
[CCode (cheader_filename = "atspi/atspi.h")]
- public static GLib.Array<void*> get_desktop_list ();
- [CCode (cheader_filename = "atspi/atspi.h")]
public static int init ();
[CCode (cheader_filename = "atspi/atspi.h")]
public static bool register_device_event_listener (Atspi.DeviceListener listener, Atspi.DeviceEventMask event_types, void* filter) throws GLib.Error;
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 215054c..ff2d289 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -8050,10 +8050,12 @@ namespace Clutter {
[CCode (cheader_filename = "clutter/clutter.h", instance_pos = 3.9)]
public delegate double TimelineProgressFunc (Clutter.Timeline timeline, double elapsed, double total);
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_COGL")]
+ [Deprecated (since = "1.10")]
public const string COGL;
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_CURRENT_TIME")]
public const int CURRENT_TIME;
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_FLAVOUR")]
+ [Deprecated (since = "1.10")]
public const string FLAVOUR;
[CCode (cheader_filename = "clutter/clutter.h", cname = "CLUTTER_MAJOR_VERSION")]
public const int MAJOR_VERSION;
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index d792d80..e799d3f 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -4923,6 +4923,7 @@ namespace Gdk {
public Gdk.EventMask get_events ();
public bool get_focus_on_map ();
public void get_frame_extents (out Gdk.Rectangle rect);
+ public Gdk.FullscreenMode get_fullscreen_mode ();
public void get_geometry (out int x, out int y, out int width, out int height);
public unowned Gdk.Window get_group ();
public int get_height ();
@@ -4990,6 +4991,7 @@ namespace Gdk {
public void set_device_events (Gdk.Device device, Gdk.EventMask event_mask);
public void set_events (Gdk.EventMask event_mask);
public void set_focus_on_map (bool focus_on_map);
+ public void set_fullscreen_mode (Gdk.FullscreenMode mode);
public void set_functions (Gdk.WMFunction functions);
public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
public void set_group (Gdk.Window? leader);
@@ -5545,6 +5547,11 @@ namespace Gdk {
TRANSLATE,
REMOVE
}
+ [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_FULLSCREEN_ON_", type_id = "gdk_fullscreen_mode_get_type ()")]
+ public enum FullscreenMode {
+ CURRENT_MONITOR,
+ ALL_MONITORS
+ }
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_OWNERSHIP_", type_id = "gdk_grab_ownership_get_type ()")]
public enum GrabOwnership {
NONE,
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index f740764..660b4b0 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -94,6 +94,12 @@ namespace Gdk {
protected PixbufAnimation ();
[CCode (has_construct_function = false)]
public PixbufAnimation.from_file (string filename) throws GLib.Error;
+ [CCode (has_construct_function = false)]
+ public PixbufAnimation.from_resource (string resource_path) throws GLib.Error;
+ [CCode (has_construct_function = false)]
+ public PixbufAnimation.from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [CCode (cname = "gdk_pixbuf_animation_new_from_stream_async", has_construct_function = false)]
+ public async PixbufAnimation.from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable) throws GLib.Error;
public int get_height ();
public Gdk.PixbufAnimationIter get_iter (GLib.TimeVal? start_time);
public unowned Gdk.Pixbuf get_static_image ();
diff --git a/vapi/gdl-3.0.vapi b/vapi/gdl-3.0.vapi
index 6c4ed81..5ab8d23 100644
--- a/vapi/gdl-3.0.vapi
+++ b/vapi/gdl-3.0.vapi
@@ -370,6 +370,7 @@ namespace Gdl {
[CCode (cheader_filename = "gdl/gdl.h", cname = "GDL_DOCK_NAME_PROPERTY")]
public const string DOCK_NAME_PROPERTY;
[CCode (cheader_filename = "gdl/gdl.h", cname = "GDL_DOCK_OBJECT_FLAGS_SHIFT")]
+ [Deprecated (since = "3.6")]
public const int DOCK_OBJECT_FLAGS_SHIFT;
[CCode (cheader_filename = "gdl/gdl.h")]
public static void marshal_VOID__OBJECT_ENUM_BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
diff --git a/vapi/gedit.vapi b/vapi/gedit.vapi
index 44e4297..28e6929 100644
--- a/vapi/gedit.vapi
+++ b/vapi/gedit.vapi
@@ -3,20 +3,16 @@
[CCode (cprefix = "Gedit", gir_namespace = "Gedit", gir_version = "3.0", lower_case_cprefix = "gedit_")]
namespace Gedit {
[CCode (cheader_filename = "gedit/gedit-app.h", type_id = "gedit_app_get_type ()")]
- public abstract class App : GLib.Object {
+ public abstract class App : Gtk.Application, GLib.ActionGroup, GLib.ActionMap {
[CCode (has_construct_function = false)]
protected App ();
public unowned Gedit.Window create_window (Gdk.Screen? screen);
- public unowned Gedit.Window get_active_window ();
- public static unowned Gedit.App get_default ();
public GLib.List<weak Gedit.Document> get_documents ();
public Gedit.LockdownMask get_lockdown ();
public GLib.List<weak Gedit.View> get_views ();
- public unowned GLib.List<Gedit.Window> get_windows ();
[NoWrapper]
public virtual string help_link_id (string name, string link_id);
- [NoWrapper]
- public virtual bool last_window_destroyed ();
+ public virtual bool process_window_event (Gedit.Window window, Gdk.Event event);
public virtual void set_window_title (Gedit.Window window, string title);
public virtual bool show_help (Gtk.Window parent, string name, string link_id);
public Gedit.LockdownMask lockdown { get; }
@@ -59,7 +55,7 @@ namespace Gedit {
public void set_enable_search_highlighting (bool enable);
public void set_language (Gtk.SourceLanguage? lang);
public void set_location (GLib.File location);
- public void set_search_text (string text, uint flags);
+ public void set_search_text (string? text, uint flags);
public void set_short_name_for_display (string? short_name);
public bool can_search_again { get; }
[NoAccessorMethod]
@@ -146,12 +142,13 @@ namespace Gedit {
public virtual signal void unregistered (string object_path, string method);
}
[CCode (cheader_filename = "gedit/gedit-panel.h", type_id = "gedit_panel_get_type ()")]
- public class Panel : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ public class Panel : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Panel (Gtk.Orientation orientation);
public bool activate_item (Gtk.Widget item);
public bool add_item (Gtk.Widget item, string id, string display_name, Gtk.Widget? image);
public bool add_item_with_stock_icon (Gtk.Widget item, string id, string display_name, string? stock_id);
+ public unowned Gtk.Widget get_active ();
public int get_n_items ();
public Gtk.Orientation get_orientation ();
public bool item_is_active (Gtk.Widget item);
@@ -183,7 +180,7 @@ namespace Gedit {
public void set_window_state (Gedit.WindowState state, int num_of_errors);
}
[CCode (cheader_filename = "gedit/gedit-tab.h", type_id = "gedit_tab_get_type ()")]
- public class Tab : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ public class Tab : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false)]
protected Tab ();
public bool get_auto_save_enabled ();
@@ -200,6 +197,8 @@ namespace Gedit {
[NoAccessorMethod]
public int autosave_interval { get; set; }
[NoAccessorMethod]
+ public bool can_close { get; }
+ [NoAccessorMethod]
public string name { owned get; }
public Gedit.TabState state { get; }
public virtual signal void drop_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uri_list);
@@ -218,7 +217,7 @@ namespace Gedit {
public virtual signal void drop_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uri_list);
}
[CCode (cheader_filename = "gedit/gedit-window.h", type_id = "gedit_window_get_type ()")]
- public class Window : Gtk.Window, Atk.Implementor, Gtk.Buildable {
+ public class Window : Gtk.ApplicationWindow, Atk.Implementor, GLib.ActionGroup, GLib.ActionMap, Gtk.Buildable {
[CCode (has_construct_function = false)]
protected Window ();
public void close_all_tabs ();
@@ -271,7 +270,7 @@ namespace Gedit {
[NoAccessorMethod]
public abstract Gedit.Window window { owned get; construct; }
}
- [CCode (cheader_filename = "gedit/gedit-debug.h", cprefix = "GEDIT_")]
+ [CCode (cheader_filename = "gedit/gedit-debug.h", cprefix = "GEDIT_", type_id = "gedit_debug_section_get_type ()")]
[Flags]
public enum DebugSection {
NO_DEBUG,
@@ -293,18 +292,18 @@ namespace Gedit {
DEBUG_PANEL,
DEBUG_DBUS
}
- [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_COMPRESSION_TYPE_")]
+ [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_COMPRESSION_TYPE_", type_id = "gedit_document_compression_type_get_type ()")]
public enum DocumentCompressionType {
NONE,
GZIP
}
- [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_NEWLINE_TYPE_")]
+ [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_NEWLINE_TYPE_", type_id = "gedit_document_newline_type_get_type ()")]
public enum DocumentNewlineType {
LF,
CR,
CR_LF
}
- [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_SAVE_")]
+ [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_SAVE_", type_id = "gedit_document_save_flags_get_type ()")]
[Flags]
public enum DocumentSaveFlags {
IGNORE_MTIME,
@@ -312,7 +311,7 @@ namespace Gedit {
PRESERVE_BACKUP,
IGNORE_INVALID_CHARS
}
- [CCode (cheader_filename = "gedit/gedit-app.h", cprefix = "GEDIT_LOCKDOWN_")]
+ [CCode (cheader_filename = "gedit/gedit-app.h", cprefix = "GEDIT_LOCKDOWN_", type_id = "gedit_lockdown_mask_get_type ()")]
[Flags]
public enum LockdownMask {
COMMAND_LINE,
@@ -320,14 +319,14 @@ namespace Gedit {
PRINT_SETUP,
SAVE_TO_DISK
}
- [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_SEARCH_")]
+ [CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_SEARCH_", type_id = "gedit_search_flags_get_type ()")]
[Flags]
public enum SearchFlags {
DONT_SET_FLAGS,
ENTIRE_WORD,
CASE_SENSITIVE
}
- [CCode (cheader_filename = "gedit/gedit-tab.h", cprefix = "GEDIT_TAB_")]
+ [CCode (cheader_filename = "gedit/gedit-tab.h", cprefix = "GEDIT_TAB_", type_id = "gedit_tab_state_get_type ()")]
public enum TabState {
STATE_NORMAL,
STATE_LOADING,
@@ -345,27 +344,26 @@ namespace Gedit {
STATE_EXTERNALLY_MODIFIED_NOTIFICATION,
NUM_OF_STATES
}
- [CCode (cheader_filename = "gedit/gedit-window.h", cprefix = "GEDIT_WINDOW_STATE_")]
+ [CCode (cheader_filename = "gedit/gedit-window.h", cprefix = "GEDIT_WINDOW_STATE_", type_id = "gedit_window_state_get_type ()")]
[Flags]
public enum WindowState {
NORMAL,
SAVING,
PRINTING,
LOADING,
- ERROR,
- SAVING_SESSION
+ ERROR
}
[CCode (cheader_filename = "gedit/gedit-message-bus.h", instance_pos = 2.9)]
public delegate void MessageBusForeach (string object_path, string method);
[CCode (cheader_filename = "gedit/gedit-message-bus.h", instance_pos = 2.9)]
public delegate void MessageCallback (Gedit.MessageBus bus, Gedit.Message message);
- [CCode (cheader_filename = "gedit/gedit-app.h")]
+ [CCode (cheader_filename = "gedit/gedit-app.h", cname = "GEDIT_LOCKDOWN_ALL")]
public const int LOCKDOWN_ALL;
- [CCode (cheader_filename = "gedit/gedit-document.h")]
+ [CCode (cheader_filename = "gedit/gedit-document.h", cname = "GEDIT_METADATA_ATTRIBUTE_ENCODING")]
public const string METADATA_ATTRIBUTE_ENCODING;
- [CCode (cheader_filename = "gedit/gedit-document.h")]
+ [CCode (cheader_filename = "gedit/gedit-document.h", cname = "GEDIT_METADATA_ATTRIBUTE_LANGUAGE")]
public const string METADATA_ATTRIBUTE_LANGUAGE;
- [CCode (cheader_filename = "gedit/gedit-document.h")]
+ [CCode (cheader_filename = "gedit/gedit-document.h", cname = "GEDIT_METADATA_ATTRIBUTE_POSITION")]
public const string METADATA_ATTRIBUTE_POSITION;
[CCode (cheader_filename = "gedit/gedit-commands.h")]
public static void commands_load_location (Gedit.Window window, GLib.File location, Gedit.Encoding? encoding, int line_pos, int column_pos);
@@ -379,11 +377,15 @@ namespace Gedit {
public static void debug (Gedit.DebugSection section, string file, int line, string function);
[CCode (cheader_filename = "gedit/gedit-debug.h")]
public static void debug_init ();
+ [CCode (cheader_filename = "gedit/gedit-debug.h")]
+ public static void debug_plugin_message (string file, int line, string function, string message);
+ [CCode (cheader_filename = "Gedit-3.0.h")]
+ public static unowned Gtk.Widget dialog_add_button (Gtk.Dialog dialog, string text, string stock_id, int response_id);
+ [CCode (cheader_filename = "Gedit-3.0.h")]
+ public static Gtk.Widget gtk_button_new_with_stock_icon (string label, string stock_id);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_basename_for_display (GLib.File location);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
- public static bool utils_can_read_from_stdin ();
- [CCode (cheader_filename = "gedit/gedit-utils.h")]
public static bool utils_decode_uri (string uri, out string scheme, out string user, out string port, out string host, out string path);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gedit/gedit-utils.h")]
public static string[] utils_drop_get_uris (Gtk.SelectionData selection_data);
@@ -404,8 +406,6 @@ namespace Gedit {
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_location_get_dirname_for_display (GLib.File location);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
- public static bool utils_location_has_file_scheme (GLib.File location);
- [CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_make_canonical_uri_from_shell_arg (string str);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_make_valid_utf8 (string name);
@@ -424,8 +424,6 @@ namespace Gedit {
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_str_middle_truncate (string string, uint truncate_length);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
- public static void utils_text_iter_assign (Gtk.TextIter iter, Gtk.TextIter other);
- [CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_unescape_search_text (string text);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_uri_get_dirname (string uri);
diff --git a/vapi/gtksourceview-3.0.vapi b/vapi/gtksourceview-3.0.vapi
index 9b70857..8072d3b 100644
--- a/vapi/gtksourceview-3.0.vapi
+++ b/vapi/gtksourceview-3.0.vapi
@@ -2,12 +2,6 @@
[CCode (cprefix = "Gtk", gir_namespace = "GtkSource", gir_version = "3.0", lower_case_cprefix = "gtk_")]
namespace Gtk {
- namespace SourceCompletionCapability {
- [CCode (cheader_filename = "gtksourceview/gtksource.h", cname = "GTK_SOURCE_COMPLETION_CAPABILITY_AUTOMATIC")]
- public const string AUTOMATIC;
- [CCode (cheader_filename = "gtksourceview/gtksource.h", cname = "GTK_SOURCE_COMPLETION_CAPABILITY_INTERACTIVE")]
- public const string INTERACTIVE;
- }
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_buffer_get_type ()")]
[GIR (name = "Buffer")]
public class SourceBuffer : Gtk.TextBuffer {
@@ -70,6 +64,7 @@ namespace Gtk {
public unowned Gtk.SourceCompletionInfo get_info_window ();
public unowned GLib.List<Gtk.SourceCompletionProvider> get_providers ();
public unowned Gtk.SourceView get_view ();
+ [Deprecated (since = "3.8")]
public void move_window (Gtk.TextIter iter);
[NoWrapper]
public virtual bool proposal_activated (Gtk.SourceCompletionProvider provider, Gtk.SourceCompletionProposal proposal);
@@ -107,7 +102,7 @@ namespace Gtk {
public class SourceCompletionContext : GLib.InitiallyUnowned {
[CCode (has_construct_function = false)]
protected SourceCompletionContext ();
- public void add_proposals (Gtk.SourceCompletionProvider provider, GLib.List<Gtk.SourceCompletionProposal> proposals, bool finished);
+ public void add_proposals (Gtk.SourceCompletionProvider provider, GLib.List<Gtk.SourceCompletionProposal>? proposals, bool finished);
public Gtk.SourceCompletionActivation get_activation ();
public Gtk.TextIter get_iter ();
[NoAccessorMethod]
@@ -123,8 +118,10 @@ namespace Gtk {
public class SourceCompletionInfo : Gtk.Window, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false)]
public SourceCompletionInfo ();
+ [Deprecated (since = "3.8")]
public unowned Gtk.Widget get_widget ();
public void move_to_iter (Gtk.TextView view, Gtk.TextIter? iter);
+ [Deprecated (since = "3.8")]
public void set_widget (Gtk.Widget? widget);
public virtual signal void before_show ();
}
@@ -148,11 +145,6 @@ namespace Gtk {
[NoAccessorMethod]
public string text { owned get; set; }
}
- [CCode (cheader_filename = "gtksourceview/gtksource.h")]
- [Compact]
- [GIR (name = "CompletionModel")]
- public class SourceCompletionModel {
- }
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_words_get_type ()")]
[GIR (name = "CompletionWords")]
public class SourceCompletionWords : GLib.Object, Gtk.SourceCompletionProvider {
@@ -175,16 +167,6 @@ namespace Gtk {
[NoAccessorMethod]
public uint scan_batch_size { get; set construct; }
}
- [CCode (cheader_filename = "gtksourceview/gtksource.h")]
- [Compact]
- [GIR (name = "ContextEngine")]
- public class SourceContextEngine {
- }
- [CCode (cheader_filename = "gtksourceview/gtksource.h")]
- [Compact]
- [GIR (name = "Engine")]
- public class SourceEngine {
- }
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_get_type ()")]
[GIR (name = "Gutter")]
public class SourceGutter : GLib.Object {
@@ -261,16 +243,6 @@ namespace Gtk {
[HasEmitter]
public virtual signal void queue_draw ();
}
- [CCode (cheader_filename = "gtksourceview/gtksource.h")]
- [Compact]
- [GIR (name = "GutterRendererLines")]
- public class SourceGutterRendererLines {
- }
- [CCode (cheader_filename = "gtksourceview/gtksource.h")]
- [Compact]
- [GIR (name = "GutterRendererMarks")]
- public class SourceGutterRendererMarks {
- }
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_pixbuf_get_type ()")]
[GIR (name = "GutterRendererPixbuf")]
public class SourceGutterRendererPixbuf : Gtk.SourceGutterRenderer {
@@ -381,11 +353,6 @@ namespace Gtk {
public signal string query_tooltip_markup (Gtk.SourceMark mark);
public signal string query_tooltip_text (Gtk.SourceMark mark);
}
- [CCode (cheader_filename = "gtksourceview/gtksource.h")]
- [Compact]
- [GIR (name = "PixbufHelper")]
- public class SourcePixbufHelper {
- }
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_print_compositor_get_type ()")]
[GIR (name = "PrintCompositor")]
public class SourcePrintCompositor : GLib.Object {
@@ -441,11 +408,6 @@ namespace Gtk {
public uint tab_width { get; set; }
public Gtk.WrapMode wrap_mode { get; set; }
}
- [CCode (cheader_filename = "gtksourceview/gtksource.h")]
- [Compact]
- [GIR (name = "Regex")]
- public class SourceRegex {
- }
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_get_type ()")]
[GIR (name = "Style")]
public class SourceStyle : GLib.Object {
@@ -518,11 +480,6 @@ namespace Gtk {
[CCode (array_length = false, array_null_terminated = true)]
public string[] search_path { get; set; }
}
- [CCode (cheader_filename = "gtksourceview/gtksource.h")]
- [Compact]
- [GIR (name = "UndoManagerDefault")]
- public class SourceUndoManagerDefault {
- }
[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_view_get_type ()")]
[GIR (name = "View")]
public class SourceView : Gtk.TextView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi
index 9e76baa..1b939d4 100644
--- a/vapi/libgdata.vapi
+++ b/vapi/libgdata.vapi
@@ -44,6 +44,7 @@ namespace GData {
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_PPT")]
public const string PPT;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_SWF")]
+ [Deprecated (since = "SWF export has been deprecated in the protocol due to low demand for it; PDF export (using %GDATA_DOCUMENTS_PRESENTATION_PDF) is recommended instead. (Since")]
public const string SWF;
[CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_PRESENTATION_TXT")]
public const string TXT;
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index 01b9232..e59e175 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -112,16 +112,21 @@ namespace Soup {
public string get_info ();
public virtual GLib.SList<string> get_protection_space (Soup.URI source_uri);
public unowned string get_realm ();
+ public unowned string get_saved_password (string user);
public unowned string get_scheme_name ();
+ public void has_saved_password (string username, string password);
+ public virtual bool is_ready (Soup.Message msg);
+ public void save_password (string username, string password);
public virtual bool update (Soup.Message msg, GLib.HashTable<void*,void*> auth_header);
- public string host { get; construct; }
+ [NoAccessorMethod]
+ public string host { owned get; set; }
[NoAccessorMethod]
public virtual bool is_authenticated { get; }
[NoAccessorMethod]
- public bool is_for_proxy { get; construct; }
- public string realm { get; construct; }
+ public bool is_for_proxy { get; set; }
+ [NoAccessorMethod]
+ public string realm { owned get; set; }
public string scheme_name { get; }
- public signal void save_password (string username, string password);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_auth_basic_get_type ()")]
public class AuthBasic : Soup.Auth {
@@ -182,6 +187,13 @@ namespace Soup {
[NoAccessorMethod]
public void* auth_data { get; set; }
}
+ [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_auth_manager_get_type ()")]
+ public class AuthManager : GLib.Object, Soup.SessionFeature {
+ [CCode (has_construct_function = false)]
+ protected AuthManager ();
+ public void use_auth (Soup.URI uri, Soup.Auth auth);
+ public virtual signal void authenticate (Soup.Message msg, Soup.Auth auth, bool retrying);
+ }
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_auth_ntlm_get_type ()")]
public class AuthNTLM : Soup.Auth {
[CCode (has_construct_function = false)]
@@ -310,6 +322,13 @@ namespace Soup {
public bool read_only { get; construct; }
public virtual signal void changed (Soup.Cookie old_cookie, Soup.Cookie new_cookie);
}
+ [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_cookie_jar_db_get_type ()")]
+ public class CookieJarDB : Soup.CookieJar, Soup.SessionFeature {
+ [CCode (has_construct_function = false, type = "SoupCookieJar*")]
+ public CookieJarDB (string filename, bool read_only);
+ [NoAccessorMethod]
+ public string filename { owned get; construct; }
+ }
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_cookie_jar_text_get_type ()")]
public class CookieJarText : Soup.CookieJar, Soup.SessionFeature {
[CCode (has_construct_function = false, type = "SoupCookieJar*")]
@@ -557,6 +576,7 @@ namespace Soup {
public Soup.Message get_message ();
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_requester_get_type ()")]
+ [Deprecated (replacement = "Session", since = "2.42")]
public class Requester : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
public Requester ();
@@ -601,9 +621,9 @@ namespace Soup {
public virtual signal void request_started (Soup.Message msg, Soup.ClientContext client);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_session_get_type ()")]
- public abstract class Session : GLib.Object {
+ public class Session : GLib.Object {
[CCode (has_construct_function = false)]
- protected Session ();
+ public Session ();
public void abort ();
public void add_feature (Soup.SessionFeature feature);
public void add_feature_by_type (GLib.Type feature_type);
@@ -616,6 +636,7 @@ namespace Soup {
public unowned Soup.SessionFeature get_feature (GLib.Type feature_type);
public unowned Soup.SessionFeature get_feature_for_message (GLib.Type feature_type, Soup.Message msg);
public GLib.SList<Soup.SessionFeature> get_features (GLib.Type feature_type);
+ public bool has_feature (GLib.Type feature_type);
[NoWrapper]
public virtual void kick ();
public void pause_message (Soup.Message msg);
@@ -626,9 +647,16 @@ namespace Soup {
public bool redirect_message (Soup.Message msg);
public void remove_feature (Soup.SessionFeature feature);
public void remove_feature_by_type (GLib.Type feature_type);
+ public Soup.Request request (string uri_string) throws GLib.Error;
+ public Soup.RequestHTTP request_http (string method, string uri_string) throws GLib.Error;
+ public Soup.RequestHTTP request_http_uri (string method, Soup.URI uri) throws GLib.Error;
+ public Soup.Request request_uri (Soup.URI uri) throws GLib.Error;
public virtual void requeue_message (Soup.Message msg);
+ public async void send_async (Soup.Message msg, GLib.Cancellable? cancellable);
public virtual uint send_message (Soup.Message msg);
public void unpause_message (Soup.Message msg);
+ [CCode (has_construct_function = false)]
+ public Session.with_options (string optname1, ...);
public bool would_redirect (Soup.Message msg);
[NoAccessorMethod]
public string accept_language { owned get; set; }
@@ -644,6 +672,8 @@ namespace Soup {
[NoAccessorMethod]
public uint idle_timeout { get; set; }
[NoAccessorMethod]
+ public Soup.Address local_address { owned get; construct; }
+ [NoAccessorMethod]
public int max_conns { get; set; }
[NoAccessorMethod]
public int max_conns_per_host { get; set; }
@@ -782,6 +812,10 @@ namespace Soup {
[CCode (has_construct_function = false)]
public URI.with_base (Soup.URI @base, string uri_string);
}
+ [CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupPasswordManagerInterface", type_id = "soup_password_manager_get_type ()")]
+ public interface PasswordManager : Soup.SessionFeature, GLib.Object {
+ public abstract void get_passwords_sync (Soup.Message arg0, Soup.Auth arg1, GLib.Cancellable? arg2 = null);
+ }
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupProxyResolverInterface", type_id = "soup_proxy_resolver_get_type ()")]
[Deprecated (replacement = "Soup.ProxyURIResolver")]
public interface ProxyResolver : Soup.SessionFeature, GLib.Object {
@@ -991,6 +1025,14 @@ namespace Soup {
EOF,
ERROR
}
+ [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_REQUEST_ERROR_")]
+ public errordomain RequestError {
+ BAD_URI,
+ UNSUPPORTED_URI_SCHEME,
+ PARSING,
+ ENCODING;
+ public static GLib.Quark quark ();
+ }
[CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_REQUESTER_ERROR_")]
public errordomain RequesterError {
BAD_URI,
@@ -1031,6 +1073,8 @@ namespace Soup {
public delegate void LoggerPrinter (Soup.Logger logger, Soup.LoggerLogLevel level, char direction, string data);
[CCode (cheader_filename = "libsoup/soup.h", instance_pos = 2.9)]
public delegate void MessageHeadersForeachFunc (string name, string value);
+ [CCode (cheader_filename = "libsoup/soup.h", instance_pos = 4.9)]
+ public delegate void PasswordManagerCallback (Soup.PasswordManager arg0, Soup.Message arg1, Soup.Auth arg2, bool retrying);
[CCode (cheader_filename = "libsoup/soup.h")]
public delegate void ProxyResolverCallback (Soup.ProxyResolver p1, Soup.Message p2, uint p3, Soup.Address p4);
[CCode (cheader_filename = "libsoup/soup.h", has_target = false)]
@@ -1093,6 +1137,8 @@ namespace Soup {
public const string AUTH_IS_AUTHENTICATED;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_AUTH_IS_FOR_PROXY")]
public const string AUTH_IS_FOR_PROXY;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_AUTH_MANAGER_H")]
+ public const int AUTH_MANAGER_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_AUTH_REALM")]
public const string AUTH_REALM;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_AUTH_SCHEME_NAME")]
@@ -1117,6 +1163,10 @@ namespace Soup {
public const int COOKIE_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_JAR_ACCEPT_POLICY")]
public const string COOKIE_JAR_ACCEPT_POLICY;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_JAR_DB_FILENAME")]
+ public const string COOKIE_JAR_DB_FILENAME;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_JAR_DB_H")]
+ public const int COOKIE_JAR_DB_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_JAR_H")]
public const int COOKIE_JAR_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_COOKIE_JAR_READ_ONLY")]
@@ -1243,6 +1293,8 @@ namespace Soup {
public const string SESSION_HTTP_ALIASES;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_IDLE_TIMEOUT")]
public const string SESSION_IDLE_TIMEOUT;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_LOCAL_ADDRESS")]
+ public const string SESSION_LOCAL_ADDRESS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_MAX_CONNS")]
public const string SESSION_MAX_CONNS;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_SESSION_MAX_CONNS_PER_HOST")]
diff --git a/vapi/libwnck-3.0.vapi b/vapi/libwnck-3.0.vapi
index d49f74f..4e7c1f4 100644
--- a/vapi/libwnck-3.0.vapi
+++ b/vapi/libwnck-3.0.vapi
@@ -120,7 +120,6 @@ namespace Wnck {
public void set_grouping (Wnck.TasklistGroupingType grouping);
public void set_grouping_limit (int limit);
public void set_include_all_workspaces (bool include_all_workspaces);
- public void set_orientation (Gtk.Orientation orient);
public void set_switch_workspace_on_unminimize (bool switch_workspace_on_unminimize);
}
[CCode (cheader_filename = "libwnck/libwnck.h", type_id = "wnck_window_get_type ()")]
@@ -145,6 +144,7 @@ namespace Wnck {
public unowned Gdk.Pixbuf get_mini_icon ();
public unowned string get_name ();
public int get_pid ();
+ public unowned string get_role ();
public unowned Wnck.Screen get_screen ();
public unowned string get_session_id ();
public unowned string get_session_id_utf8 ();
@@ -205,9 +205,11 @@ namespace Wnck {
public void unshade ();
public void unstick ();
public virtual signal void actions_changed (Wnck.WindowActions changed_mask, Wnck.WindowActions new_actions);
+ public virtual signal void class_changed ();
public virtual signal void geometry_changed ();
public virtual signal void icon_changed ();
public virtual signal void name_changed ();
+ public virtual signal void role_changed ();
public virtual signal void state_changed (Wnck.WindowState changed_mask, Wnck.WindowState new_state);
public virtual signal void workspace_changed ();
}
diff --git a/vapi/libxklavier.vapi b/vapi/libxklavier.vapi
index ae08e60..c002668 100644
--- a/vapi/libxklavier.vapi
+++ b/vapi/libxklavier.vapi
@@ -34,6 +34,7 @@ namespace Xkl {
public bool get_from_server (Xkl.Engine engine);
public void reset ();
public void set_layouts ([CCode (array_length = false, array_null_terminated = true)] string[] new_layouts);
+ public void set_model (string new_model);
public void set_options ([CCode (array_length = false, array_null_terminated = true)] string[] new_options);
public bool set_to_root_window_property (X.Atom rules_atom_name, string rules_file, Xkl.Engine engine);
public void set_variants ([CCode (array_length = false, array_null_terminated = true)] string[] new_variants);
@@ -68,7 +69,7 @@ namespace Xkl {
[CCode (has_construct_function = false)]
protected Engine ();
public static void INT__LONG_LONG (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
- public static void VOID__FLAGS_INT_BOOLEAN (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
+ public static void VOID__ENUM_INT_BOOLEAN (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
public void allow_one_switch_to_secondary_group ();
public bool backup_names_prop ();
[NoWrapper]
@@ -121,6 +122,7 @@ namespace Xkl {
public uint default_group { get; }
[NoAccessorMethod]
public void* display { get; construct; }
+ public Xkl.EngineFeatures features { get; }
public bool indicators_handling { get; }
public uint max_num_groups { get; }
public uint num_groups { get; }
@@ -139,7 +141,7 @@ namespace Xkl {
public int32 group;
public uint32 indicators;
}
- [CCode (cheader_filename = "libxklavier/xklavier.h", cprefix = "XKLF_", has_type_id = false)]
+ [CCode (cheader_filename = "libxklavier/xklavier.h", cprefix = "XKLF_", type_id = "xkl_engine_features_get_type ()")]
[Flags]
public enum EngineFeatures {
CAN_TOGGLE_INDICATORS,
@@ -149,18 +151,16 @@ namespace Xkl {
REQUIRES_MANUAL_LAYOUT_MANAGEMENT,
DEVICE_DISCOVERY
}
- [CCode (cheader_filename = "libxklavier/xklavier.h", cprefix = "XKLL_", has_type_id = false)]
+ [CCode (cheader_filename = "libxklavier/xklavier.h", cprefix = "XKLL_", type_id = "xkl_engine_listen_modes_get_type ()")]
public enum EngineListenModes {
MANAGE_WINDOW_STATES,
TRACK_KEYBOARD_STATE,
MANAGE_LAYOUTS
}
- [CCode (cheader_filename = "libxklavier/xklavier.h", cprefix = "", has_type_id = false)]
+ [CCode (cheader_filename = "libxklavier/xklavier.h", cprefix = "", type_id = "xkl_engine_state_change_get_type ()")]
public enum EngineStateChange {
- [CCode (cname = "GROUP_CHANGED")]
- ROUP_CHANGED,
- [CCode (cname = "INDICATORS_CHANGED")]
- NDICATORS_CHANGED
+ GROUP_CHANGED,
+ INDICATORS_CHANGED
}
[CCode (cheader_filename = "libxklavier/xklavier.h", has_target = false)]
public delegate void ConfigItemProcessFunc (Xkl.ConfigRegistry config, Xkl.ConfigItem item, void* data);
diff --git a/vapi/metadata/Clutter-1.0.metadata b/vapi/metadata/Clutter-1.0.metadata
index bd5c39a..dfd5f77 100644
--- a/vapi/metadata/Clutter-1.0.metadata
+++ b/vapi/metadata/Clutter-1.0.metadata
@@ -201,6 +201,7 @@ threads_add_timeout_full name="add_full" parent="Clutter.Threads.Timeout"
util_next_p2 name="next_power_of_2" parent="Clutter.Util"
// Backwards compatibility
+Color.alloc symbol_type="function"
Point.alloc symbol_type="function"
Rect.alloc symbol_type="function"
Size.alloc symbol_type="function"
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index db6b6c4..bba50fe 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -376,6 +376,8 @@ Socket
StaticResource
.data array array_length_field="data_len"
.padding skip
+Task
+ .get_source_object type="GLib.Object"
TlsBackend
.get_certificate_type abstract
.get_client_connection_type abstract
diff --git a/vapi/metadata/GtkSource-3.0.metadata b/vapi/metadata/GtkSource-3.0.metadata
index 20d14a0..3979833 100644
--- a/vapi/metadata/GtkSource-3.0.metadata
+++ b/vapi/metadata/GtkSource-3.0.metadata
@@ -10,5 +10,3 @@ CompletionProposal
.equal#virtual_method virtual
.get_icon#virtual_method virtual
.hash#virtual_method virtual
-COMPLETION_CAPABILITY_INTERACTIVE name="INTERACTIVE" parent="Gtk.SourceCompletionCapability"
-COMPLETION_CAPABILITY_AUTOMATIC name="AUTOMATIC" parent="Gtk.SourceCompletionCapability"
diff --git a/vapi/metadata/Soup-2.4.metadata b/vapi/metadata/Soup-2.4.metadata
index 415117f..368544e 100644
--- a/vapi/metadata/Soup-2.4.metadata
+++ b/vapi/metadata/Soup-2.4.metadata
@@ -11,6 +11,11 @@ XMLRPCError parent="Soup.XMLRPC" name="Error"
xmlrpc_set_response.type skip
HTTPVersion.http_* name="http_(.+)"
+// Backwards compatibility
+Requester deprecated_since="2.42" replacement="Session"
+Requester
+ .request* skip=false unowned=false
+
// Report upstream
Soup cheader_filename="libsoup/soup.h"
add_* skip=false type="unowned GLib.TimeoutSource"
diff --git a/vapi/mx-1.0.vapi b/vapi/mx-1.0.vapi
index fdc4a46..00eb665 100644
--- a/vapi/mx-1.0.vapi
+++ b/vapi/mx-1.0.vapi
@@ -118,7 +118,7 @@ namespace Mx {
[CCode (has_construct_function = false)]
protected Bin ();
public void allocate_child (Clutter.ActorBox box, Clutter.AllocationFlags flags);
- public void get_alignment (Mx.Align x_align, Mx.Align y_align);
+ public void get_alignment (out Mx.Align x_align, out Mx.Align y_align);
public unowned Clutter.Actor get_child ();
public void get_fill (out bool x_fill, out bool y_fill);
public void set_alignment (Mx.Align x_align, Mx.Align y_align);
@@ -529,10 +529,10 @@ namespace Mx {
public uint get_scale_width_threshold ();
public uint get_transition_duration ();
public void set_allow_upscale (bool allow);
- public bool set_from_buffer ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize", type = "guchar*")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func) throws GLib.Error;
- public bool set_from_buffer_at_size ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize", type = "guchar*")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func, int width, int height) throws GLib.Error;
+ public bool set_from_buffer ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func) throws GLib.Error;
+ public bool set_from_buffer_at_size ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func, int width, int height) throws GLib.Error;
public bool set_from_cogl_texture (Cogl.Handle texture);
- public bool set_from_data ([CCode (array_length = false, type = "const guchar*")] uint8[]? data, Cogl.PixelFormat pixel_format, int width, int height, int rowstride) throws GLib.Error;
+ public bool set_from_data ([CCode (array_length = false)] uint8[]? data, Cogl.PixelFormat pixel_format, int width, int height, int rowstride) throws GLib.Error;
public bool set_from_file (string filename) throws GLib.Error;
public bool set_from_file_at_size (string filename, int width, int height) throws GLib.Error;
public void set_image_rotation (float rotation);
@@ -1043,7 +1043,7 @@ namespace Mx {
public unowned Clutter.Actor get_border_image ();
public bool get_disabled ();
public unowned Mx.Menu get_menu ();
- public void get_padding (Mx.Padding padding);
+ public Mx.Padding get_padding ();
public uint get_tooltip_delay ();
public unowned string get_tooltip_text ();
public void hide_tooltip ();
diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi
index c984397..3421c10 100644
--- a/vapi/packagekit-glib2.vapi
+++ b/vapi/packagekit-glib2.vapi
@@ -7,7 +7,7 @@ namespace Pk {
[CCode (cname = "pk_catalog_new", has_construct_function = false)]
public Catalog ();
[CCode (cname = "pk_catalog_lookup_async")]
- public async GLib.GenericArray<weak void*> lookup_async (string filename, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error;
+ public async void lookup_async (string filename, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback);
[CCode (cname = "pk_catalog_test")]
public static void test (void* user_data);
}
@@ -296,12 +296,8 @@ namespace Pk {
public class Desktop : GLib.Object {
[CCode (cname = "pk_desktop_new", has_construct_function = false)]
public Desktop ();
- [CCode (cname = "pk_desktop_get_files_for_package")]
- public GLib.GenericArray<weak void*> get_files_for_package (string package) throws GLib.Error;
[CCode (cname = "pk_desktop_get_package_for_file")]
public string get_package_for_file (string filename) throws GLib.Error;
- [CCode (cname = "pk_desktop_get_shown_for_package")]
- public GLib.GenericArray<weak void*> get_shown_for_package (string package) throws GLib.Error;
[CCode (cname = "pk_desktop_open_database")]
public bool open_database () throws GLib.Error;
[CCode (cname = "pk_desktop_test")]
@@ -571,6 +567,8 @@ namespace Pk {
public void sort (Pk.PackageSackSortType type);
[CCode (cname = "pk_package_sack_test")]
public static void test (void* user_data);
+ [CCode (cname = "pk_package_sack_to_file")]
+ public bool to_file (GLib.File file) throws GLib.Error;
}
[CCode (cheader_filename = "packagekit-glib2/packagekit.h")]
[Compact]
@@ -958,6 +956,30 @@ namespace Pk {
public class UpdateDetail : Pk.Source {
[CCode (cname = "pk_update_detail_new", has_construct_function = false)]
public UpdateDetail ();
+ [CCode (array_length = false, array_null_terminated = true, cname = "pk_update_detail_get_bugzilla_urls")]
+ public unowned string[] get_bugzilla_urls ();
+ [CCode (cname = "pk_update_detail_get_changelog")]
+ public unowned string get_changelog ();
+ [CCode (array_length = false, array_null_terminated = true, cname = "pk_update_detail_get_cve_urls")]
+ public unowned string[] get_cve_urls ();
+ [CCode (cname = "pk_update_detail_get_issued")]
+ public unowned string get_issued ();
+ [CCode (array_length = false, array_null_terminated = true, cname = "pk_update_detail_get_obsoletes")]
+ public unowned string[] get_obsoletes ();
+ [CCode (cname = "pk_update_detail_get_package_id")]
+ public unowned string get_package_id ();
+ [CCode (cname = "pk_update_detail_get_restart")]
+ public Pk.Restart get_restart ();
+ [CCode (cname = "pk_update_detail_get_state")]
+ public Pk.UpdateState get_state ();
+ [CCode (cname = "pk_update_detail_get_update_text")]
+ public unowned string get_update_text ();
+ [CCode (cname = "pk_update_detail_get_updated")]
+ public unowned string get_updated ();
+ [CCode (array_length = false, array_null_terminated = true, cname = "pk_update_detail_get_updates")]
+ public unowned string[] get_updates ();
+ [CCode (array_length = false, array_null_terminated = true, cname = "pk_update_detail_get_vendor_urls")]
+ public unowned string[] get_vendor_urls ();
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
public string[] bugzilla_urls { owned get; set; }
@@ -1635,12 +1657,14 @@ namespace Pk {
public static Pk.Network network_enum_from_string (string network);
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "pk_network_enum_to_string")]
public static unowned string network_enum_to_string (Pk.Network network);
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "pk_polkit_agent_close")]
+ public static void polkit_agent_close ();
+ [CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "pk_polkit_agent_open")]
+ public static int polkit_agent_open ();
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "pk_provides_enum_from_string")]
public static Pk.Provides provides_enum_from_string (string provides);
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "pk_provides_enum_to_string")]
public static unowned string provides_enum_to_string (Pk.Provides provides);
- [CCode (array_length = false, array_null_terminated = true, cheader_filename = "packagekit-glib2/packagekit.h", cname = "pk_ptr_array_to_strv")]
- public static string[] ptr_array_to_strv (GLib.GenericArray<void*> array);
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "pk_restart_enum_from_string")]
public static Pk.Restart restart_enum_from_string (string restart);
[CCode (cheader_filename = "packagekit-glib2/packagekit.h", cname = "pk_restart_enum_to_string")]
diff --git a/vapi/udisks2.vapi b/vapi/udisks2.vapi
index 0099037..130cf01 100644
--- a/vapi/udisks2.vapi
+++ b/vapi/udisks2.vapi
@@ -22,20 +22,27 @@ namespace UDisks {
public class Client : GLib.Object, GLib.AsyncInitable, GLib.Initable {
[CCode (cname = "udisks_client_new", has_construct_function = false)]
public async Client (GLib.Cancellable? cancellable) throws GLib.Error;
+ public GLib.List<UDisks.Block> get_all_blocks_for_mdraid (UDisks.MDRaid raid);
public UDisks.Block get_block_for_dev (uint64 block_device_number);
public UDisks.Block get_block_for_drive (UDisks.Drive drive, bool get_physical);
public GLib.List<UDisks.Block> get_block_for_label (string label);
+ public UDisks.Block get_block_for_mdraid (UDisks.MDRaid raid);
public GLib.List<UDisks.Block> get_block_for_uuid (string uuid);
public UDisks.Block get_cleartext_block (UDisks.Block block);
public UDisks.Drive get_drive_for_block (UDisks.Block block);
+ [Deprecated (since = "2.1")]
public void get_drive_info (UDisks.Drive drive, out string out_name, out string out_description, out GLib.Icon out_drive_icon, out string out_media_description, out GLib.Icon out_media_icon);
+ public GLib.List<UDisks.Drive> get_drive_siblings (UDisks.Drive drive);
public string get_id_for_display (string usage, string type, string version, bool long_string);
public string get_job_description (UDisks.Job job);
public GLib.List<UDisks.Job> get_jobs_for_object (UDisks.Object object);
public UDisks.Loop get_loop_for_block (UDisks.Block block);
public unowned UDisks.Manager get_manager ();
+ public UDisks.MDRaid get_mdraid_for_block (UDisks.Block block);
public string get_media_compat_for_display (string media_compat);
+ public GLib.List<UDisks.Block> get_members_for_mdraid (UDisks.MDRaid raid);
public UDisks.Object get_object (string object_path);
+ public UDisks.ObjectInfo get_object_info (UDisks.Object object);
public unowned GLib.DBusObjectManager get_object_manager ();
public string get_partition_info (UDisks.Partition partition);
public UDisks.PartitionTable get_partition_table (UDisks.Partition partition);
@@ -48,6 +55,7 @@ namespace UDisks {
public GLib.List<UDisks.Partition> get_partitions (UDisks.PartitionTable table);
public string get_size_for_display (uint64 size, bool use_pow2, bool long_string);
public unowned UDisks.Object peek_object (string object_path);
+ public void queue_changed ();
public void settle ();
[CCode (has_construct_function = false)]
public Client.sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -151,6 +159,22 @@ namespace UDisks {
[CCode (has_construct_function = false, type = "UDisksLoop*")]
public LoopSkeleton ();
}
+ [CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid_proxy", type_id = "udisks_mdraid_proxy_get_type ()")]
+ public class MDRaidProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.MDRaid {
+ [CCode (cname = "udisks_mdraid_proxy_new", has_construct_function = false)]
+ public async MDRaidProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
+ [CCode (cname = "udisks_mdraid_proxy_new_for_bus", has_construct_function = false)]
+ public async MDRaidProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
+ [CCode (has_construct_function = false, type = "UDisksMDRaid*")]
+ public MDRaidProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [CCode (has_construct_function = false, type = "UDisksMDRaid*")]
+ public MDRaidProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ }
+ [CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid_skeleton", type_id = "udisks_mdraid_skeleton_get_type ()")]
+ public class MDRaidSkeleton : GLib.DBusInterfaceSkeleton, GLib.DBusInterface, UDisks.MDRaid {
+ [CCode (has_construct_function = false, type = "UDisksMDRaid*")]
+ public MDRaidSkeleton ();
+ }
[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_manager_proxy_get_type ()")]
public class ManagerProxy : GLib.DBusProxy, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable, UDisks.Manager {
[CCode (cname = "udisks_manager_proxy_new", has_construct_function = false)]
@@ -167,6 +191,21 @@ namespace UDisks {
[CCode (has_construct_function = false, type = "UDisksManager*")]
public ManagerSkeleton ();
}
+ [CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_info_get_type ()")]
+ public class ObjectInfo : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected ObjectInfo ();
+ public unowned string get_description ();
+ public unowned GLib.Icon get_icon ();
+ public unowned GLib.Icon get_icon_symbolic ();
+ public unowned string get_media_description ();
+ public unowned GLib.Icon get_media_icon ();
+ public unowned GLib.Icon get_media_icon_symbolic ();
+ public unowned string get_name ();
+ public unowned UDisks.Object get_object ();
+ public unowned string get_one_liner ();
+ public unowned string get_sort_key ();
+ }
[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_manager_client_get_type ()")]
public class ObjectManagerClient : GLib.DBusObjectManagerClient, GLib.AsyncInitable, GLib.DBusObjectManager, GLib.Initable {
[CCode (cname = "udisks_object_manager_client_new", has_construct_function = false)]
@@ -196,6 +235,7 @@ namespace UDisks {
public void set_job (UDisks.Job? interface_);
public void set_loop (UDisks.Loop? interface_);
public void set_manager (UDisks.Manager? interface_);
+ public void set_mdraid (UDisks.MDRaid? interface_);
public void set_partition (UDisks.Partition? interface_);
public void set_partition_table (UDisks.PartitionTable? interface_);
public void set_swapspace (UDisks.Swapspace? interface_);
@@ -309,8 +349,12 @@ namespace UDisks {
[NoAccessorMethod]
public abstract bool hint_partitionable { get; set; }
[NoAccessorMethod]
+ public abstract string hint_symbolic_icon_name { owned get; set; }
+ [NoAccessorMethod]
public abstract bool hint_system { get; set; }
[NoAccessorMethod]
+ public abstract string id { owned get; set; }
+ [NoAccessorMethod]
public abstract string id_label { owned get; set; }
[NoAccessorMethod]
public abstract string id_type { owned get; set; }
@@ -321,6 +365,10 @@ namespace UDisks {
[NoAccessorMethod]
public abstract string id_version { owned get; set; }
[NoAccessorMethod]
+ public abstract string mdraid { owned get; set; }
+ [NoAccessorMethod]
+ public abstract string mdraid_member { owned get; set; }
+ [NoAccessorMethod]
public abstract string preferred_device { owned get; set; }
[NoAccessorMethod]
public abstract bool read_only { get; set; }
@@ -343,13 +391,18 @@ namespace UDisks {
public interface Drive : GLib.Object {
public async bool call_eject (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool call_eject_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async bool call_power_off (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool call_power_off_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool call_set_configuration (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool call_set_configuration_sync (GLib.Variant arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void complete_eject (owned GLib.DBusMethodInvocation invocation);
+ public void complete_power_off (owned GLib.DBusMethodInvocation invocation);
public void complete_set_configuration (owned GLib.DBusMethodInvocation invocation);
public static unowned GLib.DBusInterfaceInfo interface_info ();
public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
[NoAccessorMethod]
+ public abstract bool can_power_off { get; set; }
+ [NoAccessorMethod]
public abstract GLib.Variant configuration { owned get; set; }
[NoAccessorMethod]
public abstract string connection_bus { owned get; set; }
@@ -393,6 +446,8 @@ namespace UDisks {
[NoAccessorMethod]
public abstract string serial { owned get; set; }
[NoAccessorMethod]
+ public abstract string sibling_id { owned get; set; }
+ [NoAccessorMethod]
public abstract uint64 size { get; set; }
[NoAccessorMethod]
public abstract string sort_key { owned get; set; }
@@ -405,6 +460,7 @@ namespace UDisks {
[NoAccessorMethod]
public abstract string wwn { owned get; set; }
public virtual signal bool handle_eject (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
+ public virtual signal bool handle_power_off (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_set_configuration (GLib.DBusMethodInvocation invocation, GLib.Variant arg_value, GLib.Variant arg_options);
}
[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_drive_ata_get_type ()")]
@@ -423,6 +479,8 @@ namespace UDisks {
public bool call_smart_selftest_abort_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool call_smart_selftest_start (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool call_smart_selftest_start_sync (string arg_type, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async bool call_smart_set_enabled (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool call_smart_set_enabled_sync (bool arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool call_smart_update (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool call_smart_update_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void complete_pm_get_state (owned GLib.DBusMethodInvocation invocation, uint8 state);
@@ -432,6 +490,7 @@ namespace UDisks {
public void complete_smart_get_attributes (owned GLib.DBusMethodInvocation invocation, GLib.Variant attributes);
public void complete_smart_selftest_abort (owned GLib.DBusMethodInvocation invocation);
public void complete_smart_selftest_start (owned GLib.DBusMethodInvocation invocation);
+ public void complete_smart_set_enabled (owned GLib.DBusMethodInvocation invocation);
public void complete_smart_update (owned GLib.DBusMethodInvocation invocation);
public static unowned GLib.DBusInterfaceInfo interface_info ();
public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
@@ -477,6 +536,10 @@ namespace UDisks {
public abstract double smart_temperature { get; set; }
[NoAccessorMethod]
public abstract uint64 smart_updated { get; set; }
+ [NoAccessorMethod]
+ public abstract bool write_cache_enabled { get; set; }
+ [NoAccessorMethod]
+ public abstract bool write_cache_supported { get; set; }
public virtual signal bool handle_pm_get_state (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_pm_standby (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_pm_wakeup (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
@@ -484,6 +547,7 @@ namespace UDisks {
public virtual signal bool handle_smart_get_attributes (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_smart_selftest_abort (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_smart_selftest_start (GLib.DBusMethodInvocation invocation, string arg_type, GLib.Variant arg_options);
+ public virtual signal bool handle_smart_set_enabled (GLib.DBusMethodInvocation invocation, bool arg_value, GLib.Variant arg_options);
public virtual signal bool handle_smart_update (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
}
[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_encrypted_get_type ()")]
@@ -532,6 +596,8 @@ namespace UDisks {
public static unowned GLib.DBusInterfaceInfo interface_info ();
public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
[NoAccessorMethod]
+ public abstract uint64 bytes { get; set; }
+ [NoAccessorMethod]
public abstract bool cancelable { get; set; }
[NoAccessorMethod]
public abstract uint64 expected_end_time { get; set; }
@@ -545,6 +611,8 @@ namespace UDisks {
[NoAccessorMethod]
public abstract bool progress_valid { get; set; }
[NoAccessorMethod]
+ public abstract uint64 rate { get; set; }
+ [NoAccessorMethod]
public abstract uint64 start_time { get; set; }
[NoAccessorMethod]
public abstract uint started_by_uid { get; set; }
@@ -570,16 +638,75 @@ namespace UDisks {
public virtual signal bool handle_delete (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
public virtual signal bool handle_set_autoclear (GLib.DBusMethodInvocation invocation, bool arg_value, GLib.Variant arg_options);
}
+ [CCode (cheader_filename = "udisks/udisks.h", lower_case_csuffix = "mdraid", type_id = "udisks_mdraid_get_type ()")]
+ public interface MDRaid : GLib.Object {
+ public async bool call_add_device (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool call_add_device_sync (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async bool call_remove_device (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool call_remove_device_sync (string arg_device, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async bool call_request_sync_action (string arg_sync_action, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool call_request_sync_action_sync (string arg_sync_action, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async bool call_set_bitmap_location (string arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool call_set_bitmap_location_sync (string arg_value, GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async bool call_start (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool call_start_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async bool call_stop (GLib.Variant arg_options, GLib.Cancellable? cancellable) throws GLib.Error;
+ public bool call_stop_sync (GLib.Variant arg_options, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public void complete_add_device (owned GLib.DBusMethodInvocation invocation);
+ public void complete_remove_device (owned GLib.DBusMethodInvocation invocation);
+ public void complete_request_sync_action (owned GLib.DBusMethodInvocation invocation);
+ public void complete_set_bitmap_location (owned GLib.DBusMethodInvocation invocation);
+ public void complete_start (owned GLib.DBusMethodInvocation invocation);
+ public void complete_stop (owned GLib.DBusMethodInvocation invocation);
+ public static unowned GLib.DBusInterfaceInfo interface_info ();
+ public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
+ [NoAccessorMethod]
+ public abstract GLib.Variant active_devices { owned get; set; }
+ [NoAccessorMethod]
+ public abstract string bitmap_location { owned get; set; }
+ [NoAccessorMethod]
+ public abstract uint64 chunk_size { get; set; }
+ [NoAccessorMethod]
+ public abstract uint degraded { get; set; }
+ [NoAccessorMethod]
+ public abstract string level { owned get; set; }
+ [NoAccessorMethod]
+ public abstract string name { owned get; set; }
+ [NoAccessorMethod]
+ public abstract uint num_devices { get; set; }
+ [NoAccessorMethod]
+ public abstract uint64 size { get; set; }
+ [NoAccessorMethod]
+ public abstract string sync_action { owned get; set; }
+ [NoAccessorMethod]
+ public abstract double sync_completed { get; set; }
+ [NoAccessorMethod]
+ public abstract uint64 sync_rate { get; set; }
+ [NoAccessorMethod]
+ public abstract uint64 sync_remaining_time { get; set; }
+ [NoAccessorMethod]
+ public abstract string uuid { owned get; set; }
+ public virtual signal bool handle_add_device (GLib.DBusMethodInvocation invocation, string arg_device, GLib.Variant arg_options);
+ public virtual signal bool handle_remove_device (GLib.DBusMethodInvocation invocation, string arg_device, GLib.Variant arg_options);
+ public virtual signal bool handle_request_sync_action (GLib.DBusMethodInvocation invocation, string arg_sync_action, GLib.Variant arg_options);
+ public virtual signal bool handle_set_bitmap_location (GLib.DBusMethodInvocation invocation, string arg_value, GLib.Variant arg_options);
+ public virtual signal bool handle_start (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
+ public virtual signal bool handle_stop (GLib.DBusMethodInvocation invocation, GLib.Variant arg_options);
+ }
[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_manager_get_type ()")]
public interface Manager : GLib.Object {
public async bool call_loop_setup (GLib.Variant arg_fd, GLib.Variant arg_options, GLib.UnixFDList? fd_list, GLib.Cancellable? cancellable, out string out_resulting_device, out GLib.UnixFDList out_fd_list) throws GLib.Error;
public bool call_loop_setup_sync (GLib.Variant arg_fd, GLib.Variant arg_options, GLib.UnixFDList? fd_list, out string out_resulting_device, out GLib.UnixFDList out_fd_list, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async bool call_mdraid_create (string arg_blocks, string arg_level, string arg_name, uint64 arg_chunk, GLib.Variant arg_options, GLib.Cancellable? cancellable, out string out_resulting_array) throws GLib.Error;
+ public bool call_mdraid_create_sync (string arg_blocks, string arg_level, string arg_name, uint64 arg_chunk, GLib.Variant arg_options, out string out_resulting_array, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void complete_loop_setup (owned GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, string resulting_device);
+ public void complete_mdraid_create (owned GLib.DBusMethodInvocation invocation, string resulting_array);
public static unowned GLib.DBusInterfaceInfo interface_info ();
public static uint override_properties (GLib.ObjectClass klass, uint property_id_begin);
[NoAccessorMethod]
public abstract string version { owned get; set; }
public virtual signal bool handle_loop_setup (GLib.DBusMethodInvocation invocation, GLib.UnixFDList? fd_list, GLib.Variant arg_fd, GLib.Variant arg_options);
+ public virtual signal bool handle_mdraid_create (GLib.DBusMethodInvocation invocation, [CCode (array_length = false, array_null_terminated = true)] string[] arg_blocks, string arg_level, string arg_name, uint64 arg_chunk, GLib.Variant arg_options);
}
[CCode (cheader_filename = "udisks/udisks.h", type_id = "udisks_object_get_type ()")]
public interface Object : GLib.DBusObject, GLib.Object {
@@ -591,6 +718,7 @@ namespace UDisks {
public UDisks.Job get_job ();
public UDisks.Loop get_loop ();
public UDisks.Manager get_manager ();
+ public UDisks.MDRaid get_mdraid ();
public UDisks.Partition get_partition ();
public UDisks.PartitionTable get_partition_table ();
public UDisks.Swapspace get_swapspace ();
@@ -611,6 +739,8 @@ namespace UDisks {
[NoAccessorMethod]
public abstract UDisks.Manager manager { owned get; set; }
[NoAccessorMethod]
+ public abstract UDisks.MDRaid mdraid { owned get; set; }
+ [NoAccessorMethod]
public abstract UDisks.Partition partition { owned get; set; }
[NoAccessorMethod]
public abstract UDisks.PartitionTable partition_table { owned get; set; }
@@ -754,6 +884,10 @@ namespace UDisks {
[CCode (cheader_filename = "udisks/udisks.h")]
public static uint manager_override_properties (GLib.ObjectClass klass, uint property_id_begin);
[CCode (cheader_filename = "udisks/udisks.h")]
+ public static unowned GLib.DBusInterfaceInfo mdraid_interface_info ();
+ [CCode (cheader_filename = "udisks/udisks.h")]
+ public static uint mdraid_override_properties (GLib.ObjectClass klass, uint property_id_begin);
+ [CCode (cheader_filename = "udisks/udisks.h")]
public static unowned GLib.DBusInterfaceInfo partition_interface_info ();
[CCode (cheader_filename = "udisks/udisks.h")]
public static uint partition_override_properties (GLib.ObjectClass klass, uint property_id_begin);
diff --git a/vapi/vte-2.90.vapi b/vapi/vte-2.90.vapi
index 8401f79..356e9b2 100644
--- a/vapi/vte-2.90.vapi
+++ b/vapi/vte-2.90.vapi
@@ -51,6 +51,9 @@ namespace Vte {
public unowned Vte.Pty get_pty_object ();
public long get_row_count ();
public unowned string get_status_line ();
+ public string get_text ([CCode (delegate_target_pos = 1.5)] Vte.SelectionFunc? is_selected, out GLib.Array<Vte.CharAttributes> attributes);
+ public string get_text_include_trailing_spaces ([CCode (delegate_target_pos = 1.5)] Vte.SelectionFunc? is_selected, out GLib.Array<Vte.CharAttributes> attributes);
+ public string get_text_range (long start_row, long start_col, long end_row, long end_col, [CCode (delegate_target_pos = 5.5)] Vte.SelectionFunc? is_selected, out GLib.Array<Vte.CharAttributes> attributes);
public bool get_visible_bell ();
public unowned string get_window_title ();
public void im_append_menuitems (Gtk.MenuShell menushell);
@@ -192,8 +195,8 @@ namespace Vte {
public virtual signal void text_scrolled (int delta);
public virtual signal void window_title_changed ();
}
- [CCode (cheader_filename = "vte/vte.h", cname = "_VteCharAttributes", has_type_id = false)]
- public struct _CharAttributes {
+ [CCode (cheader_filename = "vte/vte.h", has_type_id = false)]
+ public struct CharAttributes {
}
[CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_PTY_", type_id = "vte_pty_flags_get_type ()")]
[Flags]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]