diff options
| author | Dmitry Antipov | 2014-10-14 16:45:41 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-10-14 16:45:41 +0400 |
| commit | bb75cdf9c74ab19b75532da1f953233a47eedab4 (patch) | |
| tree | b8b4d07acaf36cdce7485fb459e7376975ebd5f7 /src/ChangeLog | |
| parent | 5fa75d8eba2d43408fd7831dcfd69c21e31c21f3 (diff) | |
| download | emacs-bb75cdf9c74ab19b75532da1f953233a47eedab4.tar.gz emacs-bb75cdf9c74ab19b75532da1f953233a47eedab4.zip | |
Cleanup terminal handling code.
* dispextern.h (get_named_tty): Remove prototype but...
* termhooks.h (get_named_terminal): ...resurrect it under
more meaningful name.
(get_terminal): Likewise, but with...
(decode_live_terminal): ...this name.
(decode_tty_terminal): Add prototype.
* term.c (get_tty_terminal): Remove.
(get_named_tty): Remove.
(Ftty_display_color_p, Ftty_display_color_cells, Ftty_type)
(Fcontrolling_tty_p, Fsuspend_tty, Fresume_tty):
Use decode_tty_terminal.
(Ftty_no_underline, Ftty_top_frame): Use decode_live_terminal.
* terminal.c (get_terminal): Refactor to...
(decode_terminal, decode_live_terminal): ...new functions.
(decode_tty_terminal): Replacement for get_tty_terminal.
(get_named_terminal): Likewise for get_named_tty.
* coding.c (Fset_terminal_coding_system_internal)
(Fterminal_coding_system, Fset_keyboard_coding_system_internal):
(Fkeyboard_coding_system):
* composite.c (Fcomposition_get_gstring):
* dispnew.c (Fsend_string_to_terminal):
* frame.c (Fmake_terminal_frame):
* nsfns.m (check_ns_display_info):
* w32fns.c, xfns.c (check_x_display_info):
* xselect.c (frame_for_x_selection): Use decode_live_terminal.
* keyboard.c (handle_interrupt_signal, handle_interrupt)
(Fset_quit_char): Use get_named_terminal.
(Fset_output_flow_control, Fset_input_meta_mode):
Use decode_tty_terminal.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3200a315daa..c1b7c6cc8c3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,36 @@ | |||
| 1 | 2014-10-14 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Cleanup terminal handling code. | ||
| 4 | * dispextern.h (get_named_tty): Remove prototype but... | ||
| 5 | * termhooks.h (get_named_terminal): ...resurrect it under | ||
| 6 | more meaningful name. | ||
| 7 | (get_terminal): Likewise, but with... | ||
| 8 | (decode_live_terminal): ...this name. | ||
| 9 | (decode_tty_terminal): Add prototype. | ||
| 10 | * term.c (get_tty_terminal): Remove. | ||
| 11 | (get_named_tty): Remove. | ||
| 12 | (Ftty_display_color_p, Ftty_display_color_cells, Ftty_type) | ||
| 13 | (Fcontrolling_tty_p, Fsuspend_tty, Fresume_tty): | ||
| 14 | Use decode_tty_terminal. | ||
| 15 | (Ftty_no_underline, Ftty_top_frame): Use decode_live_terminal. | ||
| 16 | * terminal.c (get_terminal): Refactor to... | ||
| 17 | (decode_terminal, decode_live_terminal): ...new functions. | ||
| 18 | (decode_tty_terminal): Replacement for get_tty_terminal. | ||
| 19 | (get_named_terminal): Likewise for get_named_tty. | ||
| 20 | * coding.c (Fset_terminal_coding_system_internal) | ||
| 21 | (Fterminal_coding_system, Fset_keyboard_coding_system_internal): | ||
| 22 | (Fkeyboard_coding_system): | ||
| 23 | * composite.c (Fcomposition_get_gstring): | ||
| 24 | * dispnew.c (Fsend_string_to_terminal): | ||
| 25 | * frame.c (Fmake_terminal_frame): | ||
| 26 | * nsfns.m (check_ns_display_info): | ||
| 27 | * w32fns.c, xfns.c (check_x_display_info): | ||
| 28 | * xselect.c (frame_for_x_selection): Use decode_live_terminal. | ||
| 29 | * keyboard.c (handle_interrupt_signal, handle_interrupt) | ||
| 30 | (Fset_quit_char): Use get_named_terminal. | ||
| 31 | (Fset_output_flow_control, Fset_input_meta_mode): | ||
| 32 | Use decode_tty_terminal. | ||
| 33 | |||
| 1 | 2014-10-13 Eli Zaretskii <eliz@gnu.org> | 34 | 2014-10-13 Eli Zaretskii <eliz@gnu.org> |
| 2 | 35 | ||
| 3 | * w32term.h (ALIGN_STACK): Use _WIN64, not _W64, to distinguish | 36 | * w32term.h (ALIGN_STACK): Use _WIN64, not _W64, to distinguish |