aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2007-08-28 08:04:26 +0000
committerGlenn Morris2007-08-28 08:04:26 +0000
commit79527a3d3e41e9a01ec70f04995d6a832f02b886 (patch)
tree6304fed62708cceb193c2b05e694aa49578f1294 /src
parent9f8f5960dc323d519079dde6dbf5f8c658a0f32e (diff)
downloademacs-79527a3d3e41e9a01ec70f04995d6a832f02b886.tar.gz
emacs-79527a3d3e41e9a01ec70f04995d6a832f02b886.zip
Some more tidying and simplification pending merge.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.multi-tty205
1 files changed, 62 insertions, 143 deletions
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty
index d1642754830..e386556a807 100644
--- a/src/ChangeLog.multi-tty
+++ b/src/ChangeLog.multi-tty
@@ -563,7 +563,7 @@
563 * alloc.c (mark_devices): Declare. 563 * alloc.c (mark_devices): Declare.
564 (Fgarbage_collect): Call `mark_devices'. 564 (Fgarbage_collect): Call `mark_devices'.
565 565
566 * dispextern.h (set_scroll_region, turn_off_insert) 566 * dispextern.h (set_scroll_region, turn_off_insert)
567 (turn_off_highlight, background_highlight, clear_end_of_line_raw) 567 (turn_off_highlight, background_highlight, clear_end_of_line_raw)
568 (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove. 568 (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove.
569 (raw_cursor_to, clear_to_end, tty_turn_off_insert) 569 (raw_cursor_to, clear_to_end, tty_turn_off_insert)
@@ -926,25 +926,9 @@
926 (mark_kboards): Mark key-translation-map. 926 (mark_kboards): Mark key-translation-map.
927 (read_key_sequence): Update for terminal-local key-translation-map. 927 (read_key_sequence): Update for terminal-local key-translation-map.
928 928
929 * emacs.c (main): Call syms_of_keymap before syms_of_keyboard.
930
9312005-06-26 Karoly Lorentey <lorentey@elte.hu>
932
933 * keyboard.c (Fset_input_mode): Call reset_sys_modes and
934 init_sys_modes on the selected device only; do not use the bulk
935 functions reset_all_sys_modes and init_all_sys_modes.
936
9372005-06-26 Karoly Lorentey <lorentey@elte.hu>
938
939 * term.c (term_init): Make sure the function keys are set up in the
940 correct function-key-map.
941 (term_get_fkeys_arg): Rename to term_get_fkeys_address.
942 (term_get_fkeys_kboard): New variable.
943 (term_get_fkeys): Use it.
944
9452005-06-25 Karoly Lorentey <lorentey@elte.hu> 9292005-06-25 Karoly Lorentey <lorentey@elte.hu>
946 930
947 * keyboard.h (kboard): Move Vfunction_key_map inside the kboard struct. 931 * emacs.c (main): Call syms_of_keymap before syms_of_keyboard.
948 932
949 * keyboard.c (Vfunction_key_map): Remove declaration. 933 * keyboard.c (Vfunction_key_map): Remove declaration.
950 (read_key_sequence, init_kboard): Update references to 934 (read_key_sequence, init_kboard): Update references to
@@ -952,17 +936,22 @@
952 (syms_of_keyboard): Declare function-key-map as a terminal-local 936 (syms_of_keyboard): Declare function-key-map as a terminal-local
953 variable. 937 variable.
954 (mark_kboards): Mark Vfunction_key_map. 938 (mark_kboards): Mark Vfunction_key_map.
939 (Fset_input_mode): Call reset_sys_modes and init_sys_modes on the
940 selected device only; do not use the bulk functions
941 reset_all_sys_modes and init_all_sys_modes.
942
943 * keyboard.h (kboard): Move Vfunction_key_map inside the kboard struct.
955 944
956 * keymap.c (Vfunction_key_map): Remove. 945 * keymap.c (Vfunction_key_map): Remove.
957 (Fdescribe_buffer_bindings): Update references to Vfunction_key_map. 946 (Fdescribe_buffer_bindings): Update references to Vfunction_key_map.
958 (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. 947 (syms_of_keymap): Remove DEFVAR for Vfunction_key_map.
959 948
960 * term.c (term_get_fkeys_1): Update references to Vfunction_key_map. 949 * term.c (term_get_fkeys_1): Update references to Vfunction_key_map.
961 950 (term_init): Make sure the function keys are set up in the
9622005-05-09 Karoly Lorentey <lorentey@elte.hu> 951 correct function-key-map.
963 952 (term_get_fkeys_arg): Rename to term_get_fkeys_address.
964 * xfns.c (start_hourglass): Disable display type check, it would 953 (term_get_fkeys_kboard): New variable.
965 break multi-tty. 954 (term_get_fkeys): Use it.
966 955
9672005-05-03 Karoly Lorentey <lorentey@elte.hu> 9562005-05-03 Karoly Lorentey <lorentey@elte.hu>
968 957
@@ -971,81 +960,50 @@
971 960
972 * coding.c (Fset_terminal_coding_system_internal) 961 * coding.c (Fset_terminal_coding_system_internal)
973 (Fterminal_coding_system, Fset_keyboard_coding_system_internal) 962 (Fterminal_coding_system, Fset_keyboard_coding_system_internal)
974 (Fkeyboard_coding_system): Add DISPLAY parameter. 963 (Fkeyboard_coding_system)
975 964 * frame.c (Fmake_terminal_frame)
976 * xfns.c (check_x_display_info): Ditto. 965 * xfns.c (check_x_display_info): Add DISPLAY parameter.
977 * frame.c (Fmake_terminal_frame): Ditto.
978 966
9792005-04-26 Karoly Lorentey <lorentey@elte.hu> 967 * xfns.c (start_hourglass): Disable display type check, it would
980 968 break multi-tty.
981 * xdisp.c (with_echo_area_buffer, set_message, set_message_1)
982 (echo_area_display): Revert change applied in patch-328.
983 969
9842005-04-18 Karoly Lorentey <lorentey@elte.hu> 9702005-04-18 Karoly Lorentey <lorentey@elte.hu>
985 971
986 * Makefile.in (SOME_MACHINE_LISP): Add dnd.elc. 972 * Makefile.in (SOME_MACHINE_LISP): Add dnd.elc.
987 973
9882005-04-18 Karoly Lorentey <lorentey@elte.hu> 974 * xdisp.c (with_echo_area_buffer, set_message, set_message_1)
975 (echo_area_display): Revert change applied in patch-328.
989 976
990 * xfaces.c (internal_resolve_face_name, resolve_face_name_error): 977 * xfaces.c (internal_resolve_face_name, resolve_face_name_error):
991 New functions. 978 New functions.
992 (resolve_face_name): Protect against loops and errors thrown by 979 (resolve_face_name): Protect against loops and errors thrown by
993 Fget. 980 Fget.
994 981
9952005-03-27 Karoly Lorentey <lorentey@elte.hu>
996
997 * xfns.c (unwind_create_frame): Don't do anything if the frame is 982 * xfns.c (unwind_create_frame): Don't do anything if the frame is
998 already dead. 983 already dead.
999 984
10002005-03-27 Karoly Lorentey <lorentey@elte.hu>
1001
1002 * xterm.c (x_delete_frame_display): Call xg_display_close under GTK. 985 * xterm.c (x_delete_frame_display): Call xg_display_close under GTK.
1003 (x_connection_closed): Don't close the display before its frames 986 (x_connection_closed): Don't close the display before its frames
1004 are deleted. Protect against the last frame calling the display 987 are deleted. Protect against the last frame calling the display
1005 delete hook. 988 delete hook.
1006 989
10072005-03-23 Karoly Lorentey <lorentey@elte.hu>
1008
1009 * termchar.h: Fix deviation from CVS.
1010 * xfns.c (Fx_create_frame): Ditto.
1011
1012 * xterm.c (x_delete_display): Cosmetic change.
1013 * xterm.c (x_create_frame_display): Cosmetic change.
1014
10152005-03-19 Karoly Lorentey <lorentey@elte.hu>
1016
1017 * xfns.c (Fx_close_connection): Remove declaration cruft.
1018
1019 * xterm.c (x_delete_frame_display): Declare i. Fix initialization of
1020 dpyinfo.
1021
10222005-03-19 Karoly Lorentey <lorentey@elte.hu>
1023
1024 * xfns.c (Fx_close_connection): Move code to x_delete_frame_display.
1025 (x_delete_frame_display): Actually close the X connection.
1026
10272005-03-08 Karoly Lorentey <lorentey@elte.hu>
1028
1029 * sysdep.c (narrow_foreground_group): Don't abort if inherited_pgroup
1030 is zero.
1031
10322005-03-07 Karoly Lorentey <lorentey@elte.hu> 9902005-03-07 Karoly Lorentey <lorentey@elte.hu>
1033 991
1034 * xterm.c (Vinhibit_redisplay): Declare for x_flush.
1035
10362005-03-07 Karoly Lorentey <lorentey@elte.hu>
1037
1038 * xterm.c (x_flush): Return immediately when redisplay is inhibited.
1039
10402005-02-18 Karoly Lorentey <lorentey@elte.hu>
1041
1042 * keyboard.c (interrupt_signal, handle_interrupt): Move thread check 992 * keyboard.c (interrupt_signal, handle_interrupt): Move thread check
1043 to interrupt_signal. Check for frame on controlling tty instead of 993 to interrupt_signal. Check for frame on controlling tty instead of
1044 current selected frame in handle_interrupt. 994 current selected frame in handle_interrupt.
1045 995
10462005-02-04 Karoly Lorentey <lorentey@elte.hu> 996 * sysdep.c (narrow_foreground_group): Don't abort if inherited_pgroup
997 is zero.
998
999 * xfns.c (Fx_close_connection): Move code to
1000 x_delete_frame_display. Remove declaration cruft.
1001 (x_delete_frame_display): Actually close the X connection.
1047 1002
1048 * dispnew.c (build_frame_matrix_from_leaf_window): Fix typo. 1003 * xterm.c (x_flush): Return immediately when redisplay is inhibited.
1004 (Vinhibit_redisplay): Declare for x_flush.
1005 (x_delete_frame_display): Declare i. Fix initialization of dpyinfo.
1006 (x_delete_display, x_create_frame_display): Cosmetic change.
1049 1007
10502005-02-03 Karoly Lorentey <lorentey@elte.hu> 10082005-02-03 Karoly Lorentey <lorentey@elte.hu>
1051 1009
@@ -1055,25 +1013,13 @@
1055 1013
10562004-12-08 Karoly Lorentey <lorentey@elte.hu> 10142004-12-08 Karoly Lorentey <lorentey@elte.hu>
1057 1015
1058 * xfns.c (x_create_tip_frame): Copy color slot initialization
1059 safeguards from x-create-frame. Trivial doc update.
1060
10612004-11-28 Karoly Lorentey <lorentey@elte.hu>
1062
1063 * dispextern.h (updated_window): Remove comment reference to 1016 * dispextern.h (updated_window): Remove comment reference to
1064 updating_frame. 1017 updating_frame.
1065 1018
1066 * dispnew.c (update_window): Remove bogus xassert. 1019 * dispnew.c (update_window): Remove bogus xassert.
1067 1020
1068 * xterm.c: (x_clear_frame): Update comment.
1069 (x_draw_window_cursor): Remove reference to updating_frame.
1070
10712004-11-28 Karoly Lorentey <lorentey@elte.hu>
1072
1073 * keyboard.c (cmd_error_internal): Remove slightly bogus comment. 1021 * keyboard.c (cmd_error_internal): Remove slightly bogus comment.
1074 1022
10752004-10-14 Karoly Lorentey <lorentey@elte.hu>
1076
1077 * xdisp.c (handle_single_display_prop): Use FRAME_WINDOW_P instead of 1023 * xdisp.c (handle_single_display_prop): Use FRAME_WINDOW_P instead of
1078 checking against specific frame types. Ignore images on non-window 1024 checking against specific frame types. Ignore images on non-window
1079 frames. 1025 frames.
@@ -1083,39 +1029,15 @@
1083 vertical borders on tty frames. 1029 vertical borders on tty frames.
1084 (display_line): Remove superflous #ifdefs. 1030 (display_line): Remove superflous #ifdefs.
1085 1031
10862004-10-08 Karoly Lorentey <lorentey@elte.hu> 1032 * xfns.c (x_create_tip_frame): Copy color slot initialization
1087 1033 safeguards from x-create-frame. Trivial doc update.
1088 * fringe.c (init_fringe_bitmap): Remove C99ism.
1089
10902004-09-13 Karoly Lorentey <lorentey@elte.hu>
1091
1092 * Makefile.in (minibuf.o): Fix typo.
1093
10942004-09-10 Karoly Lorentey <lorentey@elte.hu>
1095
1096 * xterm.c (x_connection_closed): Inhibit redisplay while frames are
1097 being deleted.
1098
10992004-07-11 Karoly Lorentey <lorentey@elte.hu>
1100
1101 * xfns.c (Fx_create_frame): Fix verifying return value of x_get_arg
1102 for Qdisplay_id.
1103
11042004-07-10 Karoly Lorentey <lorentey@elte.hu>
1105
1106 * term.c (Fcontrolling_tty_p): New function.
1107 (syms_of_term): Initialize Sdisplay_controlling_tty_p.
1108 1034
1109 * keyboard.c (Fsuspend_emacs): Give a better error message when 1035 * xterm.c (x_clear_frame): Update comment.
1110 there are multiple open tty devices. 1036 (x_draw_window_cursor): Remove reference to updating_frame.
1111 (interrupt_signal): Don't call fatal_error_signal with an extra
1112 parameter.
1113 1037
11142004-07-04 Karoly Lorentey <lorentey@elte.hu> 10382004-07-04 Karoly Lorentey <lorentey@elte.hu>
1115 1039
1116 * term.c (get_tty_display): Don't signal an error on the initial frame. 1040 * Makefile.in (minibuf.o): Fix typo.
1117
11182004-07-04 Karoly Lorentey <lorentey@elte.hu>
1119 1041
1120 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes. 1042 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes.
1121 (Fframe_tty_type): Remove. 1043 (Fframe_tty_type): Remove.
@@ -1132,7 +1054,12 @@
1132 * frame.h (Qdisplay_id, Qdisplay_live_p, make_terminal_frame): 1054 * frame.h (Qdisplay_id, Qdisplay_live_p, make_terminal_frame):
1133 Update prototypes. 1055 Update prototypes.
1134 1056
1135 * keyboard.c (interrupt_signal): Update comment. 1057 * fringe.c (init_fringe_bitmap): Remove C99ism.
1058
1059 * keyboard.c (interrupt_signal): Don't call fatal_error_signal
1060 with an extra parameter.
1061 (Fsuspend_emacs): Give a better error message when there are
1062 multiple open tty devices.
1136 1063
1137 * term.c (Vdelete_tty_after_functions): Remove variable. 1064 * term.c (Vdelete_tty_after_functions): Remove variable.
1138 (Qframe_tty_name, Qframe_tty_type): Remove. 1065 (Qframe_tty_name, Qframe_tty_type): Remove.
@@ -1140,6 +1067,7 @@
1140 (tty_ring_bell): Don't do anything on suspended frames. 1067 (tty_ring_bell): Don't do anything on suspended frames.
1141 (Ftty_display_color_p, Ftty_display_color_cells): Doc update. 1068 (Ftty_display_color_p, Ftty_display_color_cells): Doc update.
1142 (get_tty_display): Use it. 1069 (get_tty_display): Use it.
1070 (get_tty_display): Don't signal an error on the initial frame.
1143 (Fframe_tty_name): Rename to Fdisplay_name. Handle all kinds of 1071 (Fframe_tty_name): Rename to Fdisplay_name. Handle all kinds of
1144 displays. 1072 displays.
1145 (Fframe_tty_type): Rename to Fdisplay_tty_type. 1073 (Fframe_tty_type): Rename to Fdisplay_tty_type.
@@ -1152,39 +1080,30 @@
1152 (Fresume_tty): Refuse to resume when there is already an active display 1080 (Fresume_tty): Refuse to resume when there is already an active display
1153 on the same device. Call hook with display id. Doc update. 1081 on the same device. Call hook with display id. Doc update.
1154 (syms_of_term): Reflect above changes. 1082 (syms_of_term): Reflect above changes.
1083 (Fcontrolling_tty_p): New function.
1084 (syms_of_term): Initialize Sdisplay_controlling_tty_p.
1155 1085
1156 * termhooks.h (struct display): Add `id' and `name' members. 1086 * termhooks.h (struct display): Add `id' and `name' members.
1157 (DISPLAY_ACTIVE_P): New macro. 1087 (DISPLAY_ACTIVE_P): New macro.
1158 1088
1159 * xfns.c (check_x_display_info): Handle display ids. 1089 * xfns.c (check_x_display_info): Handle display ids.
1160 (Fx_create_frame): Try to get display from `display-id' parameter. 1090 (Fx_create_frame): Try to get display from `display-id' parameter.
1091 Fix verifying return value of x_get_arg for Qdisplay_id.
1161 1092
1162 * xterm.c (x_term_init): Set display name. 1093 * xterm.c (x_term_init): Set display name.
1163 (x_delete_display): Handle the case when `font_table' is NULL. 1094 (x_delete_display): Handle the case when `font_table' is NULL.
1164 1095 (x_connection_closed): Inhibit redisplay while frames are being
11652004-06-15 Karoly Lorentey <lorentey@elte.hu> 1096 deleted.
1166
1167 * term.c (Ftty_display_color_cells): Return 0 in case of an error,
1168 not nil.
1169 (dissociate_if_controlling_tty): On some systems TIOCNOTTY
1170 works only on /dev/tty. Adapt the function accordingly.
1171
11722004-06-08 Karoly Lorentey <lorentey@elte.hu>
1173
1174 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a
1175 signal handler; use fatal_error_signal instead.
1176 (command_loop): Clear single_kboard each time Emacs returns to
1177 top-level.
1178
11792004-06-06 Karoly Lorentey <lorentey@elte.hu>
1180
1181 * term.c (encode_terminal_code): Convert to use ANSI prototype syntax.
1182 1097
11832004-06-05 Karoly Lorentey <lorentey@elte.hu> 10982004-06-05 Karoly Lorentey <lorentey@elte.hu>
1184 1099
1185 * dispnew.c (init_display): Always install handler for SIGWINCH. 1100 * dispnew.c (init_display): Always install handler for SIGWINCH.
1186 Reported by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>. 1101 Reported by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>.
1187 1102
1103 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a
1104 signal handler; use fatal_error_signal instead.
1105 (command_loop): Clear single_kboard each time Emacs returns to top-level.
1106
1188 * term.c: Massive updates throuout the file. 1107 * term.c: Massive updates throuout the file.
1189 (TS_*, TN_*) 1108 (TS_*, TN_*)
1190 (RPov, delete_in_insert_mode se_is_so, costs_set, insert_mode) 1109 (RPov, delete_in_insert_mode se_is_so, costs_set, insert_mode)
@@ -1201,6 +1120,10 @@
1201 errors if this would have been a secondary terminal. Call 1120 errors if this would have been a secondary terminal. Call
1202 set_terminal_modes on the end. 1121 set_terminal_modes on the end.
1203 (print_all_frames): New function, marginally useful for debugging. 1122 (print_all_frames): New function, marginally useful for debugging.
1123 (encode_terminal_code): Convert to use ANSI prototype syntax.
1124 (Ftty_display_color_cells): Return 0 in case of an error, not nil.
1125 (dissociate_if_controlling_tty): On some systems TIOCNOTTY
1126 works only on /dev/tty. Adapt the function accordingly.
1204 1127
1205 * termchar.h (struct tty_output): Change old_tty to be a pointer. 1128 * termchar.h (struct tty_output): Change old_tty to be a pointer.
1206 Remove old_tty_valid member. Add tty-specific variables from term.c. 1129 Remove old_tty_valid member. Add tty-specific variables from term.c.
@@ -1290,29 +1213,25 @@
1290 1213
12912003-12-24 Karoly Lorentey <lorentey@elte.hu> 12142003-12-24 Karoly Lorentey <lorentey@elte.hu>
1292 1215
1216 * keyboard.c (echo_dash): Do nothing if there already is a dash at
1217 the end of the echo string.
1218
1293 * termchar.h (struct terminal): New struct. 1219 * termchar.h (struct terminal): New struct.
1294 (must_write_spaces, min_padding_speed, line_ins_del_ok) 1220 (must_write_spaces, min_padding_speed, line_ins_del_ok)
1295 (char_ins_del_ok, scroll_region_ok, scroll_region_cost) 1221 (char_ins_del_ok, scroll_region_ok, scroll_region_cost)
1296 (memory_below_frame, fast_clear_end_of_line): Move to struct terminal. 1222 (memory_below_frame, fast_clear_end_of_line): Move to struct terminal.
1297 (min_padding_speed, dont_calculate_costs): Comment out (unused). 1223 (min_padding_speed, dont_calculate_costs): Comment out (unused).
1298 1224
1299 * term.c (set_terminal_window, ins_del_lines, calculate_costs) 1225 * term.c (set_terminal_window, ins_del_lines, calculate_costs, term_init)
1300 (term_init)
1301 * dispnew.c (line_hash_code, line_draw_cost) 1226 * dispnew.c (line_hash_code, line_draw_cost)
1302 (direct_output_for_insert, update_frame_1, scrolling) 1227 (direct_output_for_insert, update_frame_1, scrolling, update_frame_line)
1303 (update_frame_line):
1304 * scroll.c (calculate_scrolling, calculate_direct_scrolling) 1228 * scroll.c (calculate_scrolling, calculate_direct_scrolling)
1305 (scrolling_1, scroll_cost): 1229 (scrolling_1, scroll_cost)
1306 * sysdep.c (hft_init): 1230 * sysdep.c (hft_init)
1307 * xdisp.c (try_window_id): 1231 * xdisp.c (try_window_id)
1308 * xterm.c (x_initialize): Use the accessor macros for terminal 1232 * xterm.c (x_initialize): Use the accessor macros for terminal
1309 characteristics. 1233 characteristics.
1310 1234
13112004-07-12 Karoly Lorentey <lorentey@elte.hu>
1312
1313 * keyboard.c (echo_dash): Do nothing if there already is a dash at
1314 the end of the echo string.
1315
1316 1235
1317;; Local Variables: 1236;; Local Variables:
1318;; coding: iso-2022-7bit 1237;; coding: iso-2022-7bit