comparison src/ChangeLog.multi-tty @ 83706:bdff2c77dfb9

More of the same.
author Glenn Morris <rgm@gnu.org>
date Tue, 28 Aug 2007 08:38:34 +0000
parents 88704871b55b
children 7e7de59e2889
comparison
equal deleted inserted replaced
83705:88704871b55b 83706:bdff2c77dfb9
126 0000-00-00 Kalle Olavi Niemitalo <kon@iki.fi> (tiny change) 126 0000-00-00 Kalle Olavi Niemitalo <kon@iki.fi> (tiny change)
127 127
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
131 0000-00-00 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change) 131 0000-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
135 0000-00-00 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change) 135 0000-00-00 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change)
136 136
691 691
692 0000-00-00 Karoly Lorentey <lorentey@elte.hu> 692 0000-00-00 Karoly Lorentey <lorentey@elte.hu>
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
709 0000-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
729 0000-00-00 Karoly Lorentey <lorentey@elte.hu> 724 0000-00-00 Karoly Lorentey <lorentey@elte.hu>
730 725
731 * keyboard.h (struct kboard): Rename member 'Vfunction_key_map' to 726 * keyboard.h (struct kboard): Rename member 'Vfunction_key_map' to
732 'Vlocal_function_key_map', and 'Vkey_translation_map' to 727 'Vlocal_function_key_map', and 'Vkey_translation_map' to
736 * keyboard.c (Vfunction_key_map): New variable. 731 * keyboard.c (Vfunction_key_map): New variable.
737 (Vglobal_key_translation_map): Rename to Vglobal_key_translation_map. 732 (Vglobal_key_translation_map): Rename to Vglobal_key_translation_map.
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.
745 740
746 0000-00-00 Karoly Lorentey <lorentey@elte.hu> 741 0000-00-00 Karoly Lorentey <lorentey@elte.hu>
759 754
760 * frame.c (Fmake_terminal_frame) 755 * frame.c (Fmake_terminal_frame)
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
783 * prefix-args.c: Include stdlib.h for exit.
784 779
785 0000-00-00 Karoly Lorentey <lorentey@elte.hu> 780 0000-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.
788 783
841 836
842 * term.c (delete_display): Delete kboard as well. 837 * term.c (delete_display): Delete kboard as well.
843 838
844 0000-00-00 Karoly Lorentey <lorentey@elte.hu> 839 0000-00-00 Karoly Lorentey <lorentey@elte.hu>
845 840
841 * keyboard.c (Vglobal_key_translation_map): New variable.
842 (syms_of_keyboard): DEFVAR it and Vkey_translation_map.
843 (mark_kboards): Mark key-translation-map.
844 (read_key_sequence): Update for terminal-local key-translation-map.
845
846 * keyboard.h (kboard): Add Vkey_translation_map field.
847 (Vglobal_key_translation_map): Declare.
848
846 * keymap.c (Vkey_translation_map): Remove. 849 * keymap.c (Vkey_translation_map): Remove.
847 (syms_of_keymap): Remove DEFVAR for key-translation-map. 850 (syms_of_keymap): Remove DEFVAR for key-translation-map.
848 (Fdescribe_buffer_bindings): Update for terminal-local 851 (Fdescribe_buffer_bindings): Update for terminal-local
849 key-translation-map. 852 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.
855 (syms_of_keyboard): DEFVAR it and Vkey_translation_map.
856 (mark_kboards): Mark key-translation-map.
857 (read_key_sequence): Update for terminal-local key-translation-map.
858 853
859 0000-00-00 Karoly Lorentey <lorentey@elte.hu> 854 0000-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.
862 857
957 safeguards from x-create-frame. Trivial doc update. 952 safeguards from x-create-frame. Trivial doc update.
958 953
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
962 2004-07-04 Karoly Lorentey <lorentey@elte.hu> 957 0000-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
966 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes. 961 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes.
967 (Fframe_tty_type): Remove. 962 (Fframe_tty_type): Remove.
1017 * xterm.c (x_term_init): Set display name. 1012 * xterm.c (x_term_init): Set display name.
1018 (x_delete_display): Handle the case when `font_table' is NULL. 1013 (x_delete_display): Handle the case when `font_table' is NULL.
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
1022 2004-06-05 Karoly Lorentey <lorentey@elte.hu> 1017 0000-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_*)
1033 (RPov, delete_in_insert_mode se_is_so, costs_set, insert_mode) 1029 (RPov, delete_in_insert_mode se_is_so, costs_set, insert_mode)
1034 (standout_mode, specified_window, tty_cursor_hidden): Move to 1030 (standout_mode, specified_window, tty_cursor_hidden): Move to
1053 Remove old_tty_valid member. Add tty-specific variables from term.c. 1049 Remove old_tty_valid member. Add tty-specific variables from term.c.
1054 1050
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
1058 2003-12-25 Karoly Lorentey <lorentey@elte.hu> 1054 0000-00-00 Karoly Lorentey <lorentey@elte.hu>
1059 1055
1060 * term.c (clear_end_of_line, set_scroll_region, clear_to_end) 1056 * dispextern.h (set_terminal_modes, reset_terminal_modes): Add
1061 (clear_frame, tty_show_cursor, tty_hide_cursor, turn_on_highlight) 1057 tty parameter.
1062 (turn_off_highlight, turn_on_insert, turn_off_insert): Use 1058 (term_init): Add name parameter (the filename of the terminal
1063 updating_frame instead of selected_frame. 1059 device). Add return value (struct tty_output).
1064 1060
1065 * termchar.h (struct terminal): Rename to struct tty_output. 1061 * dispnew.c: Replace CURTTY() with local variables throughout the
1066 Add name, type, input, output, termscript, old_tty, term_initted, 1062 file (where applicable).
1067 old_tty_valid, background_pixel, foreground_pixel, next fields. 1063 (termscript): Move to struct tty_output.
1068 (tty_list): New variable. 1064 (terminal_type): Remove.
1069 (FRAME_TTY): New function. 1065
1070 (TTY_*, CURRENT_TERMINAL, TTY_NAME, TTY_TYPE): New macros. 1066 * emacs.c (main): Don't call init_sys_modes(), the new term_init()
1067 already does that during init_display().
1068 (shut_down_emacs): Call reset_all_sys_modes() instead of
1069 reset_sys_modes().
1070
1071 * frame.c (Qtty, Qtty_type): New variables.
1072 (syms_of_frame): Initialize them.
1073 (tty_display): Remove.
1074 (make_terminal_frame): New parameters (tty filename and type).
1075 Initialize output_data.tty field instead of output_data.x. Use
1076 term_init() to find the right tty_output. (Use term_dummy_init()
1077 during bootstrap.)
1078 (Fmake_terminal_frame): Get device filename and type from frame
1079 parameters.
1080
1081 * frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the
1082 right thing if the frame is a tty.
1083 (struct frame): New member in output_data: tty.
1084 (make_terminal_frame): Update of prototype.
1085
1086 * keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not
1087 reset_sys_modes(). Ditto with init_sys_modes().
1088
1089 * lisp.h (tty_output): Add forward declaration.
1090 (init_sys_modes, reset_sys_modes): Update prototype.
1091 (init_all_sys_modes, reset_all_sys_modes): New prototypes.
1092
1093 * scroll.c: Replace CURTTY() with local variables throughout the
1094 file (where applicable).
1095
1096 * sysdep.c (old_tty, term_initted, old_tty_valid): Move to struct
1097 tty_output.
1098 (init_all_sys_modes): New function.
1099 (init_sys_modes): Add tty_output parameter. Use it.
1100 (reset_all_sys_modes): New function.
1101 (reset_sys_modes): Add tty_output parameter. Use it.
1071 1102
1072 * term.c (tty_list): New variable. 1103 * term.c (tty_list): New variable.
1073 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF) 1104 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF)
1074 (set_terminal_modes, reset_terminal_modes): Add tty parameter. 1105 (set_terminal_modes, reset_terminal_modes): Add tty parameter.
1075 (cursor_to, raw_cursor_to): Update cmgoto() calls. 1106 (cursor_to, raw_cursor_to): Update cmgoto() calls.
1078 (get_named_tty, term_dummy_init): New functions. 1109 (get_named_tty, term_dummy_init): New functions.
1079 (term_init): Add name parameter, add tty_output return value. 1110 (term_init): Add name parameter, add tty_output return value.
1080 Change algorithm to update tty_list. Call init_sys_modes() to 1111 Change algorithm to update tty_list. Call init_sys_modes() to
1081 set up tty mode on the newly opened terminal device. 1112 set up tty mode on the newly opened terminal device.
1082 (get_current_tty): New function, intended for debugging. 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.
1083 1125
1084 * termhooks.h (termscript): Remove. 1126 * termhooks.h (termscript): Remove.
1085 1127
1086 * window.c (init_window_once): Call make_terminal_frame with two 1128 * window.c (init_window_once): Call make_terminal_frame with two
1087 zero parameters. 1129 zero parameters.
1088 1130
1089 * dispextern.h (set_terminal_modes, reset_terminal_modes): Add
1090 tty parameter.
1091 (term_init): Add name parameter (the filename of the terminal
1092 device). Add return value (struct tty_output).
1093
1094 * dispnew.c: Replace CURTTY() with local variables throughout the
1095 file (where applicable).
1096 (termscript): Move to struct tty_output.
1097 (terminal_type): Remove.
1098
1099 * emacs.c (main): Don't call init_sys_modes(), the new term_init()
1100 already does that during init_display().
1101 (shut_down_emacs): Call reset_all_sys_modes() instead of
1102 reset_sys_modes().
1103
1104 * frame.c (Qtty, Qtty_type): New variables.
1105 (syms_of_frame): Initialize them.
1106 (tty_display): Remove.
1107 (make_terminal_frame): New parameters (tty filename and type).
1108 Initialize output_data.tty field instead of output_data.x. Use
1109 term_init() to find the right tty_output. (Use term_dummy_init()
1110 during bootstrap.)
1111 (Fmake_terminal_frame): Get device filename and type from frame
1112 parameters.
1113
1114 * frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the
1115 right thing if the frame is a tty.
1116 (struct frame): New member in output_data: tty.
1117 (make_terminal_frame): Update of prototype.
1118
1119 * keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not
1120 reset_sys_modes(). Ditto with init_sys_modes().
1121
1122 * lisp.h (tty_output): Add forward declaration.
1123 (init_sys_modes, reset_sys_modes): Update prototype.
1124 (init_all_sys_modes, reset_all_sys_modes): New prototypes.
1125
1126 * scroll.c: Replace CURTTY() with local variables throughout the
1127 file (where applicable).
1128
1129 * sysdep.c (old_tty, term_initted, old_tty_valid): Move to struct
1130 tty_output.
1131 (init_all_sys_modes): New function.
1132 (init_sys_modes): Add tty_output parameter. Use it.
1133 (reset_all_sys_modes): New function.
1134 (reset_sys_modes): Add tty_output parameter. Use it.
1135
1136 * Makefile.in: Update dependencies. 1131 * Makefile.in: Update dependencies.
1137 1132
1138 2003-12-24 Karoly Lorentey <lorentey@elte.hu> 1133 0000-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.
1142 1137
1143 * termchar.h (struct terminal): New struct. 1138 * termchar.h (struct terminal): New struct.
1145 (char_ins_del_ok, scroll_region_ok, scroll_region_cost) 1140 (char_ins_del_ok, scroll_region_ok, scroll_region_cost)
1146 (memory_below_frame, fast_clear_end_of_line): Move to struct terminal. 1141 (memory_below_frame, fast_clear_end_of_line): Move to struct terminal.
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)
1154 * term.c (set_terminal_window, ins_del_lines, calculate_costs) 1150 * term.c (set_terminal_window, ins_del_lines, calculate_costs)
1155 (term_init) 1151 (term_init)