aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-08-28 08:38:34 +0000
committerGlenn Morris2007-08-28 08:38:34 +0000
commit5eb7d0175f536685223e67f042a14922fbec2cd8 (patch)
treebfa92f1817febb161e28f2dfe6886a0e6f4a666c
parentec6ae7a3fe715bd7e6a76a70384d0838bc33c85e (diff)
downloademacs-5eb7d0175f536685223e67f042a14922fbec2cd8.tar.gz
emacs-5eb7d0175f536685223e67f042a14922fbec2cd8.zip
More of the same.
-rw-r--r--src/ChangeLog.multi-tty140
1 files changed, 68 insertions, 72 deletions
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty
index 6e4d0e6224d..5a057e149b9 100644
--- a/src/ChangeLog.multi-tty
+++ b/src/ChangeLog.multi-tty
@@ -128,7 +128,7 @@
128 * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char): 128 * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char):
129 Fix get_named_tty calls for the controlling tty. 129 Fix get_named_tty calls for the controlling tty.
130 130
1310000-00-00 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change) 1310000-00-00 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
132 132
133 * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error. 133 * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error.
134 134
@@ -693,38 +693,33 @@
693 693
694 * dispextern.h (get_tty_device): Declare. 694 * dispextern.h (get_tty_device): Declare.
695 695
696 * dispnew.c (Fsend_string_to_terminal): Add optional TERMINAL
697 parameter.
698
699 * term.c (get_tty_device): Remove static qualifier.
700
701 * xmenu.c (create_and_show_dialog, create_and_show_popup_menu)
702 (free_frame_menubar, mouse_position_for_popup, set_frame_menubar)
703 (update_frame_menubar, x_activate_menubar, xdialog_show, xmenu_show):
704 Abort when given a non-X frame.
705
706 * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Throw an error when run
707 on a non-X frame.
708
7090000-00-00 Karoly Lorentey <lorentey@elte.hu>
710
711 * dispnew.c (init_display): Set up `window-system' and `tty-type' 696 * dispnew.c (init_display): Set up `window-system' and `tty-type'
712 frame parameters in the initial tty frame. 697 frame parameters in the initial tty frame.
698 (Fsend_string_to_terminal): Add optional TERMINAL parameter.
713 699
714 * frame.c (Fmake_terminal_frame): Look up the `tty-type' frame 700 * frame.c (Fmake_terminal_frame): Look up the `tty-type' frame
715 parameter, not `tty' when discovering the tty type of the new frame. 701 parameter, not `tty' when discovering the tty type of the new frame.
716 Initialize `tty' and `tty-type' frame parameters in the new frame. 702 Initialize `tty' and `tty-type' frame parameters in the new frame.
717 703
704 * term.c (get_tty_device): Remove static qualifier.
705
718 * window.c (window_internal_height): Remove bogus make_number call. 706 * window.c (window_internal_height): Remove bogus make_number call.
719 707
708 * xmenu.c (create_and_show_dialog, create_and_show_popup_menu)
709 (free_frame_menubar, mouse_position_for_popup, set_frame_menubar)
710 (update_frame_menubar, x_activate_menubar, xdialog_show)
711 (xmenu_show, Fx_popup_menu, Fx_popup_dialog): Abort when given a
712 non-X frame.
713
720 * xsmfns.c (x_session_close): New function. 714 * xsmfns.c (x_session_close): New function.
721 * xterm.h: Declare it. 715 * xterm.h (x_session_close): Declare it.
722 716
723 * xterm.c (XTread_socket): Don't call x_session_check_input for 717 * xterm.c (XTread_socket): Don't call x_session_check_input for
724 secondary displays. 718 secondary displays.
725 (x_term_init): Do not initialize X session management when the 719 (x_term_init): Do not initialize X session management when the
726 initial display was a tty frame. 720 initial display was a tty frame.
727 (x_delete_display): Close X session management when we close its display. 721 (x_delete_display): Close X session management when we close its
722 display.
728 723
7290000-00-00 Karoly Lorentey <lorentey@elte.hu> 7240000-00-00 Karoly Lorentey <lorentey@elte.hu>
730 725
@@ -738,7 +733,7 @@
738 (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): 733 (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards):
739 Update. 734 Update.
740 735
741 * keymap.c (Fdescribe_buffer_bindings): Update. 736 * keymap.c (Fdescribe_buffer_bindings)
742 * term.c (term_get_fkeys_1): Update. 737 * term.c (term_get_fkeys_1): Update.
743 738
744 * xdisp.c (select_frame_for_redisplay): Fix xassert. 739 * xdisp.c (select_frame_for_redisplay): Fix xassert.
@@ -761,27 +756,27 @@
761 * termchar.h (struct tty_display_info) 756 * termchar.h (struct tty_display_info)
762 * xfns.c (Fx_create_frame): : Rename `display' member to `device'. 757 * xfns.c (Fx_create_frame): : Rename `display' member to `device'.
763 758
759 * prefix-args.c: Include stdlib.h for exit.
760
764 * term.c (display_list): Rename to device_list. 761 * term.c (display_list): Rename to device_list.
765 * term.c (initial_display): Rename to initial_device. 762 (initial_display): Rename to initial_device.
766 * term.c (next_display_id): Rename to next_device_id. 763 (next_display_id): Rename to next_device_id.
767 * term.c (get_tty_display): Rename to get_tty_device. 764 (get_tty_display): Rename to get_tty_device.
768 * term.c (init_initial_display): Rename to init_initial_device. 765 (init_initial_display): Rename to init_initial_device.
769 * term.c (delete_initial_display): Rename to delete_initial_device. 766 (delete_initial_display): Rename to delete_initial_device.
770 * term.c (create_display): Rename to create_device. 767 (create_display): Rename to create_device.
771 * term.c (delete_display): Rename to delete_device. 768 (delete_display): Rename to delete_device.
772 769
773 * xfns.c (check_x_display_info): Document that the function allows 770 * xfns.c (check_x_display_info): Document that the function allows
774 display ids as well. 771 display ids as well.
775 772
776 * xterm.c (x_delete_frame_display): Rename to x_delete_device. 773 * xterm.c (x_delete_frame_display): Rename to x_delete_device.
777 * xterm.c (x_create_frame_display): Rename to x_create_device. 774 (x_create_frame_display): Rename to x_create_device.
778 775
779 * coding.c, dispextern.h, data.c, dispnew.c, frame.c, frame.h 776 * coding.c, dispextern.h, data.c, dispnew.c, frame.c, frame.h
780 * keyboard.c, keyboard.h, lisp.h, sysdep.c, term.c, xdisp.c 777 * keyboard.c, keyboard.h, lisp.h, sysdep.c, term.c, xdisp.c
781 * xselect.c, xterm.c: Update. 778 * xselect.c, xterm.c: Update.
782 779
783 * prefix-args.c: Include stdlib.h for exit.
784
7850000-00-00 Karoly Lorentey <lorentey@elte.hu> 7800000-00-00 Karoly Lorentey <lorentey@elte.hu>
786 781
787 * term.c (term_init): Rename to init_tty. 782 * term.c (term_init): Rename to init_tty.
@@ -843,19 +838,19 @@
843 838
8440000-00-00 Karoly Lorentey <lorentey@elte.hu> 8390000-00-00 Karoly Lorentey <lorentey@elte.hu>
845 840
846 * keymap.c (Vkey_translation_map): Remove.
847 (syms_of_keymap): Remove DEFVAR for key-translation-map.
848 (Fdescribe_buffer_bindings): Update for terminal-local
849 key-translation-map.
850
851 * keyboard.h (kboard): Add Vkey_translation_map field.
852 (Vglobal_key_translation_map): Declare.
853
854 * keyboard.c (Vglobal_key_translation_map): New variable. 841 * keyboard.c (Vglobal_key_translation_map): New variable.
855 (syms_of_keyboard): DEFVAR it and Vkey_translation_map. 842 (syms_of_keyboard): DEFVAR it and Vkey_translation_map.
856 (mark_kboards): Mark key-translation-map. 843 (mark_kboards): Mark key-translation-map.
857 (read_key_sequence): Update for terminal-local key-translation-map. 844 (read_key_sequence): Update for terminal-local key-translation-map.
858 845
846 * keyboard.h (kboard): Add Vkey_translation_map field.
847 (Vglobal_key_translation_map): Declare.
848
849 * keymap.c (Vkey_translation_map): Remove.
850 (syms_of_keymap): Remove DEFVAR for key-translation-map.
851 (Fdescribe_buffer_bindings): Update for terminal-local
852 key-translation-map.
853
8590000-00-00 Karoly Lorentey <lorentey@elte.hu> 8540000-00-00 Karoly Lorentey <lorentey@elte.hu>
860 855
861 * emacs.c (main): Call syms_of_keymap before syms_of_keyboard. 856 * emacs.c (main): Call syms_of_keymap before syms_of_keyboard.
@@ -959,7 +954,7 @@
959 * xterm.c (x_clear_frame): Update comment. 954 * xterm.c (x_clear_frame): Update comment.
960 (x_draw_window_cursor): Remove reference to updating_frame. 955 (x_draw_window_cursor): Remove reference to updating_frame.
961 956
9622004-07-04 Karoly Lorentey <lorentey@elte.hu> 9570000-00-00 Karoly Lorentey <lorentey@elte.hu>
963 958
964 * Makefile.in (minibuf.o): Fix typo. 959 * Makefile.in (minibuf.o): Fix typo.
965 960
@@ -1019,14 +1014,15 @@
1019 (x_connection_closed): Inhibit redisplay while frames are being 1014 (x_connection_closed): Inhibit redisplay while frames are being
1020 deleted. 1015 deleted.
1021 1016
10222004-06-05 Karoly Lorentey <lorentey@elte.hu> 10170000-00-00 Karoly Lorentey <lorentey@elte.hu>
1023 1018
1024 * dispnew.c (init_display): Always install handler for SIGWINCH. 1019 * dispnew.c (init_display): Always install handler for SIGWINCH.
1025 Reported by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>. 1020 Reported by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>.
1026 1021
1027 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a 1022 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a
1028 signal handler; use fatal_error_signal instead. 1023 signal handler; use fatal_error_signal instead.
1029 (command_loop): Clear single_kboard each time Emacs returns to top-level. 1024 (command_loop): Clear single_kboard each time Emacs returns to
1025 top-level.
1030 1026
1031 * term.c: Massive updates throuout the file. 1027 * term.c: Massive updates throuout the file.
1032 (TS_*, TN_*) 1028 (TS_*, TN_*)
@@ -1055,36 +1051,7 @@
1055 * xfaces.c (Ftty_supports_face_attributes_p): Update for new 1051 * xfaces.c (Ftty_supports_face_attributes_p): Update for new
1056 tty_capable_p. 1052 tty_capable_p.
1057 1053
10582003-12-25 Karoly Lorentey <lorentey@elte.hu> 10540000-00-00 Karoly Lorentey <lorentey@elte.hu>
1059
1060 * term.c (clear_end_of_line, set_scroll_region, clear_to_end)
1061 (clear_frame, tty_show_cursor, tty_hide_cursor, turn_on_highlight)
1062 (turn_off_highlight, turn_on_insert, turn_off_insert): Use
1063 updating_frame instead of selected_frame.
1064
1065 * termchar.h (struct terminal): Rename to struct tty_output.
1066 Add name, type, input, output, termscript, old_tty, term_initted,
1067 old_tty_valid, background_pixel, foreground_pixel, next fields.
1068 (tty_list): New variable.
1069 (FRAME_TTY): New function.
1070 (TTY_*, CURRENT_TERMINAL, TTY_NAME, TTY_TYPE): New macros.
1071
1072 * term.c (tty_list): New variable.
1073 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF)
1074 (set_terminal_modes, reset_terminal_modes): Add tty parameter.
1075 (cursor_to, raw_cursor_to): Update cmgoto() calls.
1076 (clear_end_of_line, write_glyphs): Add indirection to terminal
1077 output, update cmcheckmagic() calls.
1078 (get_named_tty, term_dummy_init): New functions.
1079 (term_init): Add name parameter, add tty_output return value.
1080 Change algorithm to update tty_list. Call init_sys_modes() to
1081 set up tty mode on the newly opened terminal device.
1082 (get_current_tty): New function, intended for debugging.
1083
1084 * termhooks.h (termscript): Remove.
1085
1086 * window.c (init_window_once): Call make_terminal_frame with two
1087 zero parameters.
1088 1055
1089 * dispextern.h (set_terminal_modes, reset_terminal_modes): Add 1056 * dispextern.h (set_terminal_modes, reset_terminal_modes): Add
1090 tty parameter. 1057 tty parameter.
@@ -1133,9 +1100,37 @@
1133 (reset_all_sys_modes): New function. 1100 (reset_all_sys_modes): New function.
1134 (reset_sys_modes): Add tty_output parameter. Use it. 1101 (reset_sys_modes): Add tty_output parameter. Use it.
1135 1102
1103 * term.c (tty_list): New variable.
1104 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF)
1105 (set_terminal_modes, reset_terminal_modes): Add tty parameter.
1106 (cursor_to, raw_cursor_to): Update cmgoto() calls.
1107 (clear_end_of_line, write_glyphs): Add indirection to terminal
1108 output, update cmcheckmagic() calls.
1109 (get_named_tty, term_dummy_init): New functions.
1110 (term_init): Add name parameter, add tty_output return value.
1111 Change algorithm to update tty_list. Call init_sys_modes() to
1112 set up tty mode on the newly opened terminal device.
1113 (get_current_tty): New function, intended for debugging.
1114 (clear_end_of_line, set_scroll_region, clear_to_end)
1115 (clear_frame, tty_show_cursor, tty_hide_cursor, turn_on_highlight)
1116 (turn_off_highlight, turn_on_insert, turn_off_insert): Use
1117 updating_frame instead of selected_frame.
1118
1119 * termchar.h (struct terminal): Rename to struct tty_output.
1120 Add name, type, input, output, termscript, old_tty, term_initted,
1121 old_tty_valid, background_pixel, foreground_pixel, next fields.
1122 (tty_list): New variable.
1123 (FRAME_TTY): New function.
1124 (TTY_*, CURRENT_TERMINAL, TTY_NAME, TTY_TYPE): New macros.
1125
1126 * termhooks.h (termscript): Remove.
1127
1128 * window.c (init_window_once): Call make_terminal_frame with two
1129 zero parameters.
1130
1136 * Makefile.in: Update dependencies. 1131 * Makefile.in: Update dependencies.
1137 1132
11382003-12-24 Karoly Lorentey <lorentey@elte.hu> 11330000-00-00 Karoly Lorentey <lorentey@elte.hu>
1139 1134
1140 * keyboard.c (echo_dash): Do nothing if there already is a dash at 1135 * keyboard.c (echo_dash): Do nothing if there already is a dash at
1141 the end of the echo string. 1136 the end of the echo string.
@@ -1147,7 +1142,8 @@
1147 (min_padding_speed, dont_calculate_costs): Comment out (unused). 1142 (min_padding_speed, dont_calculate_costs): Comment out (unused).
1148 1143
1149 * dispnew.c (line_hash_code, line_draw_cost) 1144 * dispnew.c (line_hash_code, line_draw_cost)
1150 (direct_output_for_insert, update_frame_1, scrolling, update_frame_line) 1145 (direct_output_for_insert, update_frame_1, scrolling)
1146 (update_frame_line)
1151 * scroll.c (calculate_scrolling, calculate_direct_scrolling) 1147 * scroll.c (calculate_scrolling, calculate_direct_scrolling)
1152 (scrolling_1, scroll_cost) 1148 (scrolling_1, scroll_cost)
1153 * sysdep.c (hft_init) 1149 * sysdep.c (hft_init)