From: Rico Tzschichholz Date: Thu, 14 Mar 2019 12:37:30 +0000 (+0100) Subject: vapi: Remove vte, vte-2.90 bindings X-Git-Tag: 0.45.1~103 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fkeep-around%2F1cc3f8a2c15e6053bf6884b442e3a219a70dfb6c;p=thirdparty%2Fvala.git vapi: Remove vte, vte-2.90 bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/584 --- diff --git a/vapi/Makefile.am b/vapi/Makefile.am index 3be96e1de..5e24b1ca0 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -253,10 +253,6 @@ dist_vapi_DATA = \ unique-1.0.deps \ unique-1.0.vapi \ v4l2.vapi \ - vte.deps \ - vte.vapi \ - vte-2.90.deps \ - vte-2.90.vapi \ webkit-1.0.deps \ webkit-1.0.vapi \ webkit2gtk-4.0.vapi \ @@ -305,7 +301,6 @@ GIDL_BINDINGS = \ loudmouth-1.0 \ purple \ unique-1.0 \ - vte \ webkit-1.0 \ $(NULL) @@ -377,7 +372,6 @@ GIR_BINDINGS = \ rest-0.7 \ rest-extras-0.7 \ udisks2 \ - vte-2.90 \ webkit2gtk-4.0 \ webkit2gtk-web-extension-4.0 \ $(GSTREAMER_1_0_BINDINGS) \ @@ -686,12 +680,6 @@ udisks2: unique-1.0: $(GENVAPI) --library $(srcdir)/unique-1.0 $(PACKAGESDIR)/unique-1.0/unique-1.0.gi -vte: - $(GENVAPI) --library $(srcdir)/vte $(PACKAGESDIR)/vte/vte.gi - -vte-2.90: - $(GENVAPI) --library $(srcdir)/vte-2.90 --metadatadir $(METADATADIR) --pkg atk --pkg gdk-3.0 --pkg gtk+-3.0 --pkg gio-2.0 --pkg pango $(GIRDIR)/Vte-2.90.gir $(METADATADIR)/Vte-2.90-custom.vala - webkit-1.0: $(GENVAPI) --library $(srcdir)/webkit-1.0 $(PACKAGESDIR)/webkit-1.0/webkit-1.0.gi diff --git a/vapi/metadata/Vte-2.90-custom.vala b/vapi/metadata/Vte-2.90-custom.vala deleted file mode 100644 index 64df2467d..000000000 --- a/vapi/metadata/Vte-2.90-custom.vala +++ /dev/null @@ -1,8 +0,0 @@ -namespace Vte { - [CCode (cheader_filename = "vte/vte.h")] - public const int MAJOR_VERSION; - [CCode (cheader_filename = "vte/vte.h")] - public const int MICRO_VERSION; - [CCode (cheader_filename = "vte/vte.h")] - public const int MINOR_VERSION; -} diff --git a/vapi/metadata/Vte-2.90.metadata b/vapi/metadata/Vte-2.90.metadata deleted file mode 100644 index aea9c5ea8..000000000 --- a/vapi/metadata/Vte-2.90.metadata +++ /dev/null @@ -1,13 +0,0 @@ -Vte replacement="vte-2.91" - -// Deprecated from start -Terminal.pty skip - -// owned value type arguments -Pty.new_foreign.fd owned=false - -// Nullable return values -Terminal - .match_check nullable - .match_set_cursor.cursor nullable -get_user_shell nullable diff --git a/vapi/packages/vte/vte.defines b/vapi/packages/vte/vte.defines deleted file mode 100644 index 169706c87..000000000 --- a/vapi/packages/vte/vte.defines +++ /dev/null @@ -1 +0,0 @@ --DVTE_COMPILATION diff --git a/vapi/packages/vte/vte.deps b/vapi/packages/vte/vte.deps deleted file mode 100644 index c48685456..000000000 --- a/vapi/packages/vte/vte.deps +++ /dev/null @@ -1,7 +0,0 @@ -gio-2.0 -gtk+-2.0 -gdk-pixbuf-2.0 -gdk-2.0 -pango -atk -cairo diff --git a/vapi/packages/vte/vte.files b/vapi/packages/vte/vte.files deleted file mode 100644 index 2fb757730..000000000 --- a/vapi/packages/vte/vte.files +++ /dev/null @@ -1,3 +0,0 @@ -include/vte-0.0/vte/vte.h -include/vte-0.0/vte -lib/libvte.so diff --git a/vapi/packages/vte/vte.gi b/vapi/packages/vte/vte.gi deleted file mode 100644 index 8fa75dea6..000000000 --- a/vapi/packages/vte/vte.gi +++ /dev/null @@ -1,1134 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vapi/packages/vte/vte.metadata b/vapi/packages/vte/vte.metadata deleted file mode 100644 index bae46a783..000000000 --- a/vapi/packages/vte/vte.metadata +++ /dev/null @@ -1,23 +0,0 @@ -Vte cheader_filename="vte/vte.h" replacement="vte-2.90" -VteReaper cheader_filename="vte/reaper.h" -VteTerminalAccessible cheader_filename="vte/vteaccess.h" -VteTerminal::copy_clipboard has_emitter="1" -vte_terminal_fork_command.command nullable="1" -vte_terminal_fork_command.argv is_array="1" no_array_length="1" nullable="1" -vte_terminal_fork_command*.envv is_array="1" no_array_length="1" nullable="1" -vte_terminal_fork_command*.working_directory nullable="1" -vte_terminal_fork_command_full.argv is_array="1" no_array_length="1" -vte_terminal_fork_command_full.child_setup nullable="1" -vte_terminal_fork_command_full.child_setup_data hidden="1" -vte_terminal_fork_command_full.child_pid is_out="1" -vte_terminal_forkpty.envv is_array="1" -VteTerminal::paste_clipboard has_emitter="1" -VteTerminal.pvt hidden="1" -vte_terminal_get_cursor_position.column is_out="1" -vte_terminal_get_cursor_position.row is_out="1" -vte_terminal_set_colors.palette is_array="1" -vte_terminal_set_colors.palette_size hidden="1" -vte_terminal_match_check nullable="1" transfer_ownership="1" -vte_terminal_match_check.tag is_out="1" -vte_terminal_pty_new transfer_ownership="1" -vte_get_user_shell nullable="1" transfer_ownership="1" diff --git a/vapi/packages/vte/vte.namespace b/vapi/packages/vte/vte.namespace deleted file mode 100644 index 117423b6d..000000000 --- a/vapi/packages/vte/vte.namespace +++ /dev/null @@ -1 +0,0 @@ -Vte diff --git a/vapi/vte-2.90.deps b/vapi/vte-2.90.deps deleted file mode 100644 index 7ac6f673d..000000000 --- a/vapi/vte-2.90.deps +++ /dev/null @@ -1,6 +0,0 @@ -atk -gdk-3.0 -gdk-pixbuf-2.0 -gtk+-3.0 -gio-2.0 -pango diff --git a/vapi/vte-2.90.vapi b/vapi/vte-2.90.vapi deleted file mode 100644 index df0780606..000000000 --- a/vapi/vte-2.90.vapi +++ /dev/null @@ -1,328 +0,0 @@ -/* vte-2.90.vapi generated by vapigen, do not modify. */ - -[CCode (cprefix = "Vte", gir_namespace = "Vte", gir_version = "2.90", lower_case_cprefix = "vte_")] -[Version (deprecated = true, replacement = "vte-2.91")] -namespace Vte { - [CCode (cheader_filename = "vte/vte.h", type_id = "vte_pty_get_type ()")] - [Version (since = "0.26")] - public class Pty : GLib.Object, GLib.Initable { - [CCode (has_construct_function = false)] - public Pty (Vte.PtyFlags flags) throws GLib.Error; - public void child_setup (); - public void close (); - [CCode (has_construct_function = false)] - public Pty.foreign (int fd) throws GLib.Error; - public int get_fd (); - public bool get_size (out int rows, out int columns) throws GLib.Error; - public bool set_size (int rows, int columns) throws GLib.Error; - public void set_term (string? emulation); - public bool set_utf8 (bool utf8) throws GLib.Error; - public int fd { get; construct; } - [NoAccessorMethod] - public Vte.PtyFlags flags { get; construct; } - [NoAccessorMethod] - public string term { owned get; set; } - } - [CCode (cheader_filename = "vte/vte.h", type_id = "vte_terminal_get_type ()")] - public class Terminal : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable { - [CCode (has_construct_function = false, type = "GtkWidget*")] - public Terminal (); - public void copy_primary (); - public void feed ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "glong")] uint8[] data); - public void feed_child (string text, long length); - [Version (since = "0.12.1")] - public void feed_child_binary (string data, long length); - [Version (since = "0.26")] - public bool fork_command_full (Vte.PtyFlags pty_flags, string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envv, GLib.SpawnFlags spawn_flags, [CCode (delegate_target_pos = 6.5)] GLib.SpawnChildSetupFunc? child_setup, out GLib.Pid child_pid) throws GLib.Error; - public bool get_allow_bold (); - public bool get_audible_bell (); - public long get_char_height (); - public long get_char_width (); - [Version (since = "0.20")] - public int get_child_exit_status (); - public long get_column_count (); - [Version (since = "0.34")] - public unowned string get_current_directory_uri (); - [Version (since = "0.34")] - public unowned string get_current_file_uri (); - [Version (since = "0.17.1")] - public Vte.TerminalCursorBlinkMode get_cursor_blink_mode (); - public void get_cursor_position (out long column, out long row); - [Version (since = "0.17.6")] - public Vte.TerminalCursorShape get_cursor_shape (); - [Version (since = "0.11.11")] - public unowned string get_default_emulation (); - public unowned string get_emulation (); - public unowned string get_encoding (); - public unowned Pango.FontDescription get_font (); - public bool get_has_selection (); - public unowned string get_icon_title (); - public bool get_mouse_autohide (); - [Version (since = "0.26")] - 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 attributes); - [Version (since = "0.11.11")] - public string get_text_include_trailing_spaces ([CCode (delegate_target_pos = 1.5)] Vte.SelectionFunc? is_selected, out GLib.Array 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 attributes); - public bool get_visible_bell (); - public unowned string get_window_title (); - public void im_append_menuitems (Gtk.MenuShell menushell); - public bool is_word_char (unichar c); - [Version (since = "0.17.1")] - public int match_add_gregex (GLib.Regex regex, GLib.RegexMatchFlags flags); - public string? match_check (long column, long row, out int tag); - public void match_clear_all (); - public void match_remove (int tag); - [Version (since = "0.11")] - public void match_set_cursor (int tag, Gdk.Cursor? cursor); - [Version (since = "0.17.1")] - public void match_set_cursor_name (int tag, string cursor_name); - [Version (since = "0.11.9")] - public void match_set_cursor_type (int tag, Gdk.CursorType cursor_type); - public void paste_primary (); - [Version (since = "0.26")] - public Vte.Pty pty_new (Vte.PtyFlags flags) throws GLib.Error; - public void reset (bool clear_tabstops, bool clear_history); - [Version (since = "0.26")] - public bool search_find_next (); - [Version (since = "0.26")] - public bool search_find_previous (); - [Version (since = "0.26")] - public unowned GLib.Regex search_get_gregex (); - [Version (since = "0.26")] - public bool search_get_wrap_around (); - [Version (since = "0.26")] - public void search_set_gregex (GLib.Regex? regex); - [Version (since = "0.26")] - public void search_set_wrap_around (bool wrap_around); - [Version (since = "0.16")] - public void select_all (); - [Version (since = "0.16")] - public void select_none (); - public void set_allow_bold (bool allow_bold); - public void set_audible_bell (bool is_audible); - public void set_background_image (Gdk.Pixbuf? image); - public void set_background_image_file (string path); - public void set_background_saturation (double saturation); - [Version (since = "0.11")] - public void set_background_tint_color (Gdk.Color color); - public void set_background_transparent (bool transparent); - public void set_backspace_binding (Vte.TerminalEraseBinding binding); - public void set_color_background (Gdk.Color background); - [Version (since = "0.28")] - public void set_color_background_rgba (Gdk.RGBA background); - public void set_color_bold (Gdk.Color bold); - public void set_color_bold_rgba (Gdk.RGBA? bold); - [Version (since = "0.11.11")] - public void set_color_cursor (Gdk.Color? cursor_background); - [Version (since = "0.28")] - public void set_color_cursor_rgba (Gdk.RGBA? cursor_background); - public void set_color_dim (Gdk.Color dim); - [Version (since = "0.28")] - public void set_color_dim_rgba (Gdk.RGBA? dim); - public void set_color_foreground (Gdk.Color foreground); - [Version (since = "0.28")] - public void set_color_foreground_rgba (Gdk.RGBA foreground); - [Version (since = "0.11.11")] - public void set_color_highlight (Gdk.Color? highlight_background); - [Version (since = "0.28")] - public void set_color_highlight_rgba (Gdk.RGBA? highlight_background); - public void set_colors (Gdk.Color? foreground, Gdk.Color? background, [CCode (array_length_cname = "palette_size", array_length_pos = 3.1, array_length_type = "glong")] Gdk.Color[] palette); - [Version (since = "0.28")] - public void set_colors_rgba (Gdk.RGBA? foreground, Gdk.RGBA? background, [CCode (array_length_cname = "palette_size", array_length_pos = 3.1, array_length_type = "gsize")] Gdk.RGBA[] palette); - [Version (since = "0.17.1")] - public void set_cursor_blink_mode (Vte.TerminalCursorBlinkMode mode); - [Version (since = "0.20")] - public void set_cursor_shape (Vte.TerminalCursorShape shape); - public void set_default_colors (); - public void set_delete_binding (Vte.TerminalEraseBinding binding); - public void set_emulation (string? emulation); - public void set_encoding (string? codeset); - public void set_font (Pango.FontDescription? font_desc); - public void set_font_from_string (string name); - public void set_mouse_autohide (bool setting); - public void set_opacity (uint16 opacity); - [Version (since = "0.26.")] - public void set_pty_object (Vte.Pty? pty); - [Version (since = "0.11")] - public void set_scroll_background (bool scroll); - public void set_scroll_on_keystroke (bool scroll); - public void set_scroll_on_output (bool scroll); - public void set_scrollback_lines (long lines); - public void set_size (long columns, long rows); - public void set_visible_bell (bool is_visible); - public void set_word_chars (string spec); - [Version (since = "0.26")] - public void watch_child (GLib.Pid child_pid); - [Version (since = "0.24")] - public bool write_contents (GLib.OutputStream stream, Vte.TerminalWriteFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error; - [Version (since = "0.20")] - public bool allow_bold { get; set; } - [Version (since = "0.20")] - public bool audible_bell { get; set; } - [NoAccessorMethod] - public string background_image_file { owned get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public Gdk.Pixbuf background_image_pixbuf { owned get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public double background_opacity { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public double background_saturation { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public Gdk.Color background_tint_color { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public bool background_transparent { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public Vte.TerminalEraseBinding backspace_binding { get; set; } - [Version (since = "0.34")] - public string current_directory_uri { get; } - [Version (since = "0.34")] - public string current_file_uri { get; } - [Version (since = "0.20")] - public Vte.TerminalCursorBlinkMode cursor_blink_mode { get; set; } - [Version (since = "0.20")] - public Vte.TerminalCursorShape cursor_shape { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public Vte.TerminalEraseBinding delete_binding { get; set; } - [Version (since = "0.20")] - public string emulation { get; set; } - [Version (since = "0.20")] - public string encoding { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public Pango.FontDescription font_desc { owned get; set; } - [Version (since = "0.20")] - public string icon_title { get; } - [NoAccessorMethod] - [Version (since = "0.20")] - public bool pointer_autohide { get; set; } - [Version (since = "0.26")] - public Vte.Pty pty_object { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public bool scroll_background { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public bool scroll_on_keystroke { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public bool scroll_on_output { get; set; } - [NoAccessorMethod] - [Version (since = "0.20")] - public uint scrollback_lines { get; set; } - [Version (since = "0.20")] - public bool visible_bell { get; set; } - [Version (since = "0.20")] - public string window_title { get; } - [NoAccessorMethod] - [Version (since = "0.20")] - public string word_chars { owned get; set; } - public virtual signal void beep (); - public virtual signal void char_size_changed (uint char_width, uint char_height); - public virtual signal void child_exited (); - public virtual signal void commit (string text, uint size); - public virtual signal void contents_changed (); - [HasEmitter] - public virtual signal void copy_clipboard (); - [Version (since = "0.34")] - public signal void current_directory_uri_changed (); - [Version (since = "0.34")] - public signal void current_file_uri_changed (); - public virtual signal void cursor_moved (); - public virtual signal void decrease_font_size (); - public virtual signal void deiconify_window (); - public virtual signal void emulation_changed (); - public virtual signal void encoding_changed (); - public virtual signal void eof (); - public virtual signal void icon_title_changed (); - public virtual signal void iconify_window (); - public virtual signal void increase_font_size (); - public virtual signal void lower_window (); - public virtual signal void maximize_window (); - public virtual signal void move_window (uint x, uint y); - [HasEmitter] - public virtual signal void paste_clipboard (); - public virtual signal void raise_window (); - public virtual signal void refresh_window (); - public virtual signal void resize_window (uint width, uint height); - public virtual signal void restore_window (); - public virtual signal void selection_changed (); - public virtual signal void status_line_changed (); - public virtual signal void text_deleted (); - public virtual signal void text_inserted (); - public virtual signal void text_modified (); - public virtual signal void text_scrolled (int delta); - public virtual signal void window_title_changed (); - } - [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] - [Version (since = "0.26")] - public enum PtyFlags { - NO_LASTLOG, - NO_UTMP, - NO_WTMP, - NO_HELPER, - NO_FALLBACK, - DEFAULT - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_ANTI_ALIAS_", type_id = "vte_terminal_anti_alias_get_type ()")] - public enum TerminalAntiAlias { - USE_DEFAULT, - FORCE_ENABLE, - FORCE_DISABLE - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_CURSOR_BLINK_", type_id = "vte_terminal_cursor_blink_mode_get_type ()")] - public enum TerminalCursorBlinkMode { - SYSTEM, - ON, - OFF - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_CURSOR_SHAPE_", type_id = "vte_terminal_cursor_shape_get_type ()")] - public enum TerminalCursorShape { - BLOCK, - IBEAM, - UNDERLINE - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_ERASE_", type_id = "vte_terminal_erase_binding_get_type ()")] - public enum TerminalEraseBinding { - AUTO, - ASCII_BACKSPACE, - ASCII_DELETE, - DELETE_SEQUENCE, - TTY - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_TERMINAL_WRITE_", type_id = "vte_terminal_write_flags_get_type ()")] - public enum TerminalWriteFlags { - DEFAULT - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_PTY_ERROR_")] - [Version (since = "0.26")] - public errordomain PtyError { - PTY_HELPER_FAILED, - PTY98_FAILED; - public static GLib.Quark quark (); - } - [CCode (cheader_filename = "vte/vte.h", instance_pos = 3.9)] - public delegate bool SelectionFunc (Vte.Terminal terminal, long column, long row); - [CCode (cheader_filename = "vte/vte.h")] - public const int MAJOR_VERSION; - [CCode (cheader_filename = "vte/vte.h")] - public const int MICRO_VERSION; - [CCode (cheader_filename = "vte/vte.h")] - public const int MINOR_VERSION; - [CCode (cheader_filename = "vte/vte.h")] - [Version (since = "0.28")] - public static string? get_user_shell (); -} diff --git a/vapi/vte.deps b/vapi/vte.deps deleted file mode 100644 index c48685456..000000000 --- a/vapi/vte.deps +++ /dev/null @@ -1,7 +0,0 @@ -gio-2.0 -gtk+-2.0 -gdk-pixbuf-2.0 -gdk-2.0 -pango -atk -cairo diff --git a/vapi/vte.vapi b/vapi/vte.vapi deleted file mode 100644 index ff4366102..000000000 --- a/vapi/vte.vapi +++ /dev/null @@ -1,299 +0,0 @@ -/* vte.vapi generated by vapigen, do not modify. */ - -[Version (replacement = "vte-2.90")] -namespace Vte { - [CCode (cheader_filename = "vte/vte.h")] - [Compact] - public class CharAttributes { - public Gdk.Color back; - public long column; - public Gdk.Color fore; - public long row; - public uint strikethrough; - public uint underline; - } - [CCode (cheader_filename = "vte/vte.h")] - public class Pty : GLib.Object, GLib.Initable { - [CCode (has_construct_function = false)] - public Pty (Vte.PtyFlags flags) throws GLib.Error; - public void child_setup (); - public void close (); - public static GLib.Quark error_quark (); - [CCode (has_construct_function = false)] - public Pty.foreign (int fd) throws GLib.Error; - public int get_fd (); - public bool get_size (int rows, int columns) throws GLib.Error; - public bool set_size (int rows, int columns) throws GLib.Error; - public void set_term (string emulation); - public bool set_utf8 (bool utf8) throws GLib.Error; - public int fd { get; construct; } - [NoAccessorMethod] - public Vte.PtyFlags flags { get; construct; } - [NoAccessorMethod] - public string term { owned get; set; } - } - [CCode (cheader_filename = "vte/vte.h")] - [Compact] - public class PtyClass { - } - [CCode (cheader_filename = "vte/reaper.h")] - public class Reaper : GLib.Object { - [CCode (has_construct_function = false)] - protected Reaper (); - public static int add_child (GLib.Pid pid); - public static unowned Vte.Reaper @get (); - public virtual signal void child_exited (int p0, int p1); - } - [CCode (cheader_filename = "vte/vte.h")] - public class Terminal : Gtk.Widget, Atk.Implementor, Gtk.Buildable { - public weak Gtk.Adjustment adjustment; - public long char_ascent; - public long char_descent; - public long char_height; - public long char_width; - public long column_count; - public long row_count; - [CCode (has_construct_function = false, type = "GtkWidget*")] - public Terminal (); - public void copy_primary (); - public void feed (string data, long length); - public void feed_child (string text, long length); - public void feed_child_binary (string data, long length); - public int fork_command (string? command, [CCode (array_length = false)] string[]? argv, [CCode (array_length = false)] string[]? envv, string? working_directory, bool lastlog, bool utmp, bool wtmp); - public bool fork_command_full (Vte.PtyFlags pty_flags, string? working_directory, [CCode (array_length = false)] string[] argv, [CCode (array_length = false)] string[]? envv, GLib.SpawnFlags spawn_flags, GLib.SpawnChildSetupFunc? child_setup, out GLib.Pid child_pid) throws GLib.Error; - public int forkpty (string[] envv, string working_directory, bool lastlog, bool utmp, bool wtmp); - public unowned Gtk.Adjustment get_adjustment (); - public bool get_allow_bold (); - public bool get_audible_bell (); - public long get_char_ascent (); - public long get_char_descent (); - public long get_char_height (); - public long get_char_width (); - public int get_child_exit_status (); - public long get_column_count (); - public Vte.TerminalCursorBlinkMode get_cursor_blink_mode (); - public void get_cursor_position (out long column, out long row); - public Vte.TerminalCursorShape get_cursor_shape (); - public unowned string get_default_emulation (); - public unowned string get_emulation (); - public unowned string get_encoding (); - public unowned Pango.FontDescription get_font (); - public bool get_has_selection (); - public unowned string get_icon_title (); - public bool get_mouse_autohide (); - public void get_padding (int xpad, int ypad); - public int get_pty (); - public unowned Vte.Pty get_pty_object (); - public long get_row_count (); - public unowned string get_status_line (); - public unowned string get_text (Vte.SelectionFunc is_selected, GLib.Array attributes); - public unowned string get_text_include_trailing_spaces (Vte.SelectionFunc is_selected, GLib.Array attributes); - public unowned string get_text_range (long start_row, long start_col, long end_row, long end_col, Vte.SelectionFunc is_selected, GLib.Array attributes); - public bool get_using_xft (); - public bool get_visible_bell (); - public unowned string get_window_title (); - public void im_append_menuitems (Gtk.MenuShell menushell); - public bool is_word_char (unichar c); - public int match_add (string match); - public int match_add_gregex (GLib.Regex regex, GLib.RegexMatchFlags flags); - public string? match_check (long column, long row, out int tag); - public void match_clear_all (); - public void match_remove (int tag); - public void match_set_cursor (int tag, Gdk.Cursor cursor); - public void match_set_cursor_name (int tag, string cursor_name); - public void match_set_cursor_type (int tag, Gdk.CursorType cursor_type); - public void paste_primary (); - public Vte.Pty pty_new (Vte.PtyFlags flags) throws GLib.Error; - public void reset (bool clear_tabstops, bool clear_history); - public bool search_find_next (); - public bool search_find_previous (); - public unowned GLib.Regex search_get_gregex (); - public bool search_get_wrap_around (); - public void search_set_gregex (GLib.Regex regex); - public void search_set_wrap_around (bool wrap_around); - public void select_all (); - public void select_none (); - public void set_allow_bold (bool allow_bold); - public void set_audible_bell (bool is_audible); - public void set_background_image (Gdk.Pixbuf image); - public void set_background_image_file (string path); - public void set_background_saturation (double saturation); - public void set_background_tint_color (Gdk.Color color); - public void set_background_transparent (bool transparent); - public void set_backspace_binding (Vte.TerminalEraseBinding binding); - public void set_color_background (Gdk.Color background); - public void set_color_bold (Gdk.Color bold); - public void set_color_cursor (Gdk.Color cursor_background); - public void set_color_dim (Gdk.Color dim); - public void set_color_foreground (Gdk.Color foreground); - public void set_color_highlight (Gdk.Color highlight_background); - public void set_colors (Gdk.Color foreground, Gdk.Color background, Gdk.Color[] palette); - public void set_cursor_blink_mode (Vte.TerminalCursorBlinkMode mode); - public void set_cursor_blinks (bool blink); - public void set_cursor_shape (Vte.TerminalCursorShape shape); - public void set_default_colors (); - public void set_delete_binding (Vte.TerminalEraseBinding binding); - public void set_emulation (string emulation); - public void set_encoding (string codeset); - public void set_font (Pango.FontDescription font_desc); - public void set_font_from_string (string name); - public void set_font_from_string_full (string name, Vte.TerminalAntiAlias antialias); - public void set_font_full (Pango.FontDescription font_desc, Vte.TerminalAntiAlias antialias); - public void set_mouse_autohide (bool setting); - public void set_opacity (uint16 opacity); - public void set_pty (int pty_master); - public void set_pty_object (Vte.Pty pty); - public void set_scroll_background (bool scroll); - public void set_scroll_on_keystroke (bool scroll); - public void set_scroll_on_output (bool scroll); - public void set_scrollback_lines (long lines); - public void set_size (long columns, long rows); - public void set_visible_bell (bool is_visible); - public void set_word_chars (string spec); - [NoWrapper] - public virtual void vte_reserved3 (); - [NoWrapper] - public virtual void vte_reserved4 (); - 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 allow_bold { get; set; } - public bool audible_bell { get; set; } - [NoAccessorMethod] - public string background_image_file { owned get; set; } - [NoAccessorMethod] - public Gdk.Pixbuf background_image_pixbuf { owned get; set; } - [NoAccessorMethod] - public double background_opacity { get; set; } - [NoAccessorMethod] - public double background_saturation { get; set; } - [NoAccessorMethod] - public Gdk.Color background_tint_color { get; set; } - [NoAccessorMethod] - public bool background_transparent { get; set; } - [NoAccessorMethod] - public Vte.TerminalEraseBinding backspace_binding { get; set; } - public Vte.TerminalCursorBlinkMode cursor_blink_mode { get; set; } - public Vte.TerminalCursorShape cursor_shape { get; set; } - [NoAccessorMethod] - public Vte.TerminalEraseBinding delete_binding { get; set; } - public string emulation { get; set; } - public string encoding { get; set; } - [NoAccessorMethod] - public Pango.FontDescription font_desc { owned get; set; } - public string icon_title { get; } - [NoAccessorMethod] - public bool pointer_autohide { get; set; } - public int pty { get; set; } - public Vte.Pty pty_object { get; set; } - [NoAccessorMethod] - public bool scroll_background { get; set; } - [NoAccessorMethod] - public bool scroll_on_keystroke { get; set; } - [NoAccessorMethod] - public bool scroll_on_output { get; set; } - [NoAccessorMethod] - public uint scrollback_lines { get; set; } - public bool visible_bell { get; set; } - public string window_title { get; } - [NoAccessorMethod] - public string word_chars { owned get; set; } - public virtual signal void beep (); - public virtual signal void char_size_changed (uint char_width, uint char_height); - public virtual signal void child_exited (); - public virtual signal void commit (string text, uint size); - public virtual signal void contents_changed (); - [HasEmitter] - public virtual signal void copy_clipboard (); - public virtual signal void cursor_moved (); - public virtual signal void decrease_font_size (); - public virtual signal void deiconify_window (); - public virtual signal void emulation_changed (); - public virtual signal void encoding_changed (); - public virtual signal void eof (); - public virtual signal void icon_title_changed (); - public virtual signal void iconify_window (); - public virtual signal void increase_font_size (); - public virtual signal void lower_window (); - public virtual signal void maximize_window (); - public virtual signal void move_window (uint x, uint y); - [HasEmitter] - public virtual signal void paste_clipboard (); - public virtual signal void raise_window (); - public virtual signal void refresh_window (); - public virtual signal void resize_window (uint width, uint height); - public virtual signal void restore_window (); - public virtual signal void selection_changed (); - public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment); - public virtual signal void status_line_changed (); - public virtual signal void text_deleted (); - public virtual signal void text_inserted (); - public virtual signal void text_modified (); - public virtual signal void text_scrolled (int delta); - public virtual signal void window_title_changed (); - } - [CCode (cheader_filename = "vte/vteaccess.h")] - public class TerminalAccessible : Gtk.Accessible, Atk.Text, Atk.Component, Atk.Action { - [CCode (has_construct_function = false, type = "AtkObject*")] - public TerminalAccessible (Vte.Terminal terminal); - } - [CCode (cheader_filename = "vte/vte.h")] - public class TerminalAccessibleFactory : Atk.ObjectFactory { - [CCode (has_construct_function = false, type = "AtkObjectFactory*")] - public TerminalAccessibleFactory (); - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_PTY_ERROR_")] - public enum PtyError { - PTY_HELPER_FAILED, - PTY98_FAILED - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_PTY_")] - [Flags] - public enum PtyFlags { - NO_LASTLOG, - NO_UTMP, - NO_WTMP, - NO_HELPER, - NO_FALLBACK, - DEFAULT - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_ANTI_ALIAS_")] - public enum TerminalAntiAlias { - USE_DEFAULT, - FORCE_ENABLE, - FORCE_DISABLE - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_CURSOR_BLINK_")] - public enum TerminalCursorBlinkMode { - SYSTEM, - ON, - OFF - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_CURSOR_SHAPE_")] - public enum TerminalCursorShape { - BLOCK, - IBEAM, - UNDERLINE - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_ERASE_")] - public enum TerminalEraseBinding { - AUTO, - ASCII_BACKSPACE, - ASCII_DELETE, - DELETE_SEQUENCE, - TTY - } - [CCode (cheader_filename = "vte/vte.h", cprefix = "VTE_TERMINAL_WRITE_")] - public enum TerminalWriteFlags { - DEFAULT - } - [CCode (cheader_filename = "vte/vte.h")] - public delegate bool SelectionFunc (Vte.Terminal terminal, long column, long row); - [CCode (cheader_filename = "vte/vte.h")] - public const int MAJOR_VERSION; - [CCode (cheader_filename = "vte/vte.h")] - public const int MICRO_VERSION; - [CCode (cheader_filename = "vte/vte.h")] - public const int MINOR_VERSION; - [CCode (cheader_filename = "vte/vte.h")] - public static string? get_user_shell (); -}