[vte] emulation: Drop support for default/UTF-8 character set escape sequences



commit aa5cd566746d98cdb89a50ec41fcfaf01494dd80
Author: Egmont Koblinger <egmont gmail com>
Date:   Sat Nov 22 19:17:56 2014 +0100

    emulation: Drop support for default/UTF-8 character set escape sequences
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731208

 src/vteseq-n.gperf |    4 ++--
 src/vteseq.c       |   15 ---------------
 2 files changed, 2 insertions(+), 17 deletions(-)
---
diff --git a/src/vteseq-n.gperf b/src/vteseq-n.gperf
index 6792d14..f28625b 100644
--- a/src/vteseq-n.gperf
+++ b/src/vteseq-n.gperf
@@ -82,7 +82,7 @@ struct vteseq_n_struct {
 #"change-font-number", VTE_SEQUENCE_HANDLER_NULL
 "return-terminal-id", VTE_SEQUENCE_HANDLER(vte_sequence_handler_return_terminal_id)
 #"end-of-guarded-area", VTE_SEQUENCE_HANDLER_NULL
-"utf-8-character-set", VTE_SEQUENCE_HANDLER(vte_sequence_handler_utf_8_character_set)
+#"utf-8-character-set", VTE_SEQUENCE_HANDLER_NULL
 "window-manipulation", VTE_SEQUENCE_HANDLER(vte_sequence_handler_window_manipulation)
 "change-cursor-color-bel", VTE_SEQUENCE_HANDLER(vte_sequence_handler_change_cursor_color_bel)
 "change-cursor-color-st", VTE_SEQUENCE_HANDLER(vte_sequence_handler_change_cursor_color_st)
@@ -113,7 +113,7 @@ struct vteseq_n_struct {
 "insert-blank-characters", VTE_SEQUENCE_HANDLER(vte_sequence_handler_insert_blank_characters)
 #"invoke-g2-character-set", VTE_SEQUENCE_HANDLER_NULL
 #"invoke-g3-character-set", VTE_SEQUENCE_HANDLER_NULL
-"default-character-set", VTE_SEQUENCE_HANDLER(vte_sequence_handler_default_character_set)
+#"default-character-set", VTE_SEQUENCE_HANDLER_NULL
 #"selective-erase-in-line", VTE_SEQUENCE_HANDLER_NULL
 #"ansi-conformance-level-1", VTE_SEQUENCE_HANDLER_NULL
 #"ansi-conformance-level-2", VTE_SEQUENCE_HANDLER_NULL
diff --git a/src/vteseq.c b/src/vteseq.c
index 1a76706..1c0ddec 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -2628,21 +2628,6 @@ vte_sequence_handler_delete_lines (VteTerminal *terminal, GValueArray *params)
        terminal->pvt->text_deleted_flag = TRUE;
 }
 
-/* Set the terminal encoding. */
-static void
-vte_sequence_handler_default_character_set (VteTerminal *terminal, GValueArray *params)
-{
-       G_CONST_RETURN char *locale_encoding;
-       g_get_charset(&locale_encoding);
-       vte_terminal_set_encoding(terminal, locale_encoding, NULL);
-}
-
-static void
-vte_sequence_handler_utf_8_character_set (VteTerminal *terminal, GValueArray *params)
-{
-       vte_terminal_set_encoding(terminal, NULL /* UTF-8 */, NULL);
-}
-
 /* Device status reports. The possible reports are the cursor position and
  * whether or not we're okay. */
 static void


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