aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2007-08-28 07:30:46 +0000
committerGlenn Morris2007-08-28 07:30:46 +0000
commit6dfd6a665598125520e15a62c7b96182f46cb13b (patch)
tree940215e727d7eb138de6eda8913fb285906b1e84 /src
parentae23b8397d1de79d0653565bcf78524e65e9a4f4 (diff)
downloademacs-6dfd6a665598125520e15a62c7b96182f46cb13b.tar.gz
emacs-6dfd6a665598125520e15a62c7b96182f46cb13b.zip
Some more tidying and simplification pending merge.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.multi-tty75
1 files changed, 16 insertions, 59 deletions
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty
index 7472d9a0e73..2f20ab30e4b 100644
--- a/src/ChangeLog.multi-tty
+++ b/src/ChangeLog.multi-tty
@@ -237,17 +237,11 @@
237 * keyboard.c (tty_read_avail_input): Don't read from a terminal that 237 * keyboard.c (tty_read_avail_input): Don't read from a terminal that
238 is being deleted. 238 is being deleted.
239 239
240 * term.c (get_named_tty): Abort if tty name is NULL. Simplify
241 accordingly.
242
243 * term.c (Ftty_type): Return nil if terminal is not on a tty instead 240 * term.c (Ftty_type): Return nil if terminal is not on a tty instead
244 of throwing an error. Doc update. 241 of throwing an error. Doc update.
245 242
246 * term.c (init_tty): Set name before calling `get_named_tty'. 243 * term.c (init_tty): Set name before calling `get_named_tty'.
247 244
248 * term.c (delete_tty): Let delete_terminal delete the frames. Plug
249 memory leak caused by tty->name. Remove reference to `deleting_tty'.
250
251 * term.c (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: 245 * term.c (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>:
252 Doc update. 246 Doc update.
253 247
@@ -525,7 +519,6 @@
525 Update declarations and macro definitions. 519 Update declarations and macro definitions.
526 520
527 * termchar.h (tty_display_info): Rename member `device' to `terminal'. 521 * termchar.h (tty_display_info): Rename member `device' to `terminal'.
528 (FRAME_TTY): Update for renames.
529 522
530 * xterm.h (x_display_info): Rename member `device' to `terminal'. 523 * xterm.h (x_display_info): Rename member `device' to `terminal'.
531 524
@@ -540,10 +533,10 @@
540 533
541 * term.c (get_tty_device): Rename to `get_tty_terminal'. Update. 534 * term.c (get_tty_device): Rename to `get_tty_terminal'. Update.
542 (Fdisplay_tty_type): Rename to `Ftty_type'. 535 (Fdisplay_tty_type): Rename to `Ftty_type'.
543 (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes) 536 (tty_set_terminal_modes, tty_reset_terminal_modes)
544 (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty) 537 (Ftty_display_color_p, Ftty_display_color_cells)
545 (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) 538 (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
546 (init_tty, maybe_fatal, delete_tty, syms_of_term): Update for rename. 539 (init_tty, maybe_fatal, syms_of_term): Update for rename.
547 540
548 * frame.c (Qdevice): Rename to `Qterminal'. 541 * frame.c (Qdevice): Rename to `Qterminal'.
549 (Qdisplay_live_p): Rename to `Qterminal_live_p'. 542 (Qdisplay_live_p): Rename to `Qterminal_live_p'.
@@ -591,9 +584,6 @@
591 (Fset_keyboard_coding_system_internal) 584 (Fset_keyboard_coding_system_internal)
592 (Fkeyboard_coding_system): Update for renames. 585 (Fkeyboard_coding_system): Update for renames.
593 586
594 * data.c (Fterminal_local_value, Fset_terminal_local_value):
595 Update for renames.
596
597 * minibuf.c (read_minibuf): Update for renames. 587 * minibuf.c (read_minibuf): Update for renames.
598 588
599 * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. 589 * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames.
@@ -649,8 +639,7 @@
649 639
650 * callproc.c (getenv_internal): Fix get_terminal_param call. 640 * callproc.c (getenv_internal): Fix get_terminal_param call.
651 641
652 * dispextern.h (get_device): Move declaration to termhooks.h. 642 * termhooks.h (get_device): New declaration.
653 * termhooks.h (get_device): Move here.
654 643
6552005-12-26 Karoly Lorentey <lorentey@elte.hu> 6442005-12-26 Karoly Lorentey <lorentey@elte.hu>
656 645
@@ -674,8 +663,7 @@
674 (set_terminal_window, cursor_to, raw_cursor_to) 663 (set_terminal_window, cursor_to, raw_cursor_to)
675 (clear_to_end, clear_frame, clear_end_of_line) 664 (clear_to_end, clear_frame, clear_end_of_line)
676 (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) 665 (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines)
677 (get_device, Fdisplay_name, create_device, delete_device): Move to 666 (Fdisplay_name, create_device, delete_device): Move to terminal.c.
678 terminal.c.
679 (syms_of_term): Move their initialization to terminal.c. 667 (syms_of_term): Move their initialization to terminal.c.
680 668
681 * terminal.c: New file. 669 * terminal.c: New file.
@@ -683,7 +671,7 @@
683 (ring_bell, update_begin, update_end, set_terminal_window) 671 (ring_bell, update_begin, update_end, set_terminal_window)
684 (cursor_to, raw_cursor_to, clear_to_end, clear_frame) 672 (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
685 (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs) 673 (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
686 (ins_del_lines, get_device, create_device, delete_device) 674 (ins_del_lines, create_device, delete_device)
687 (Fdisplay_name): Move here. 675 (Fdisplay_name): Move here.
688 (mark_devices, get_terminal_param, store_terminal_param) 676 (mark_devices, get_terminal_param, store_terminal_param)
689 (Fterminal_parameters, Fterminal_parameter) 677 (Fterminal_parameters, Fterminal_parameter)
@@ -722,22 +710,20 @@
722 (toggle_highligh): Rename to `tty_toggle_highlight'. 710 (toggle_highligh): Rename to `tty_toggle_highlight'.
723 (background_highlight): Rename to `tty_background_highlight'. 711 (background_highlight): Rename to `tty_background_highlight'.
724 (highlight_if_desired): Rename to `tty_highlight_if_desired'. 712 (highlight_if_desired): Rename to `tty_highlight_if_desired'.
725
726 (tty_ring_bell, tty_update_end, tty_set_terminal_window) 713 (tty_ring_bell, tty_update_end, tty_set_terminal_window)
727 (tty_set_scroll_region, tty_background_highlight) 714 (tty_set_scroll_region, tty_background_highlight)
728 (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end) 715 (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end)
729 (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs) 716 (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs)
730 (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines) 717 (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines)
731 (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty) 718 (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty):
732 (delete_tty): Add static modifier. 719 Add static modifier.
733
734 (tty_reset_terminal_modes, tty_set_terminal_window) 720 (tty_reset_terminal_modes, tty_set_terminal_window)
735 (tty_set_scroll_region, tty_background_highlight) 721 (tty_set_scroll_region, tty_background_highlight)
736 (tty_highlight_if_desired, tty_cursor_to) 722 (tty_highlight_if_desired, tty_cursor_to)
737 (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) 723 (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame)
738 (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) 724 (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs)
739 (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): 725 (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for
740 Update for renames. 726 renames.
741 727
742 * termhooks.h (param_alist): New member to struct device. 728 * termhooks.h (param_alist): New member to struct device.
743 729
@@ -795,11 +781,6 @@
795 (find_symbol_value): Use the selected frame's keyboard, not 781 (find_symbol_value): Use the selected frame's keyboard, not
796 current_kboard. 782 current_kboard.
797 783
798 * data.c (Fterminal_local_value, Fset_terminal_local_value): Disable
799 these functions.
800
801 * data.c (syms_of_data): Don't defsubr them.
802
8032005-10-29 Karoly Lorentey <lorentey@elte.hu> 7842005-10-29 Karoly Lorentey <lorentey@elte.hu>
804 785
805 * keyboard.c (mark_kboards): Also mark Vkeyboard_translate_table. 786 * keyboard.c (mark_kboards): Also mark Vkeyboard_translate_table.
@@ -856,20 +837,17 @@
856 * minibuf.c (read_minibuf): Use temporarily_switch_to_single_kboard 837 * minibuf.c (read_minibuf): Use temporarily_switch_to_single_kboard
857 instead of simply calling single_kboard_state. 838 instead of simply calling single_kboard_state.
858 839
859 * keyboard.c (push_device_kboard): Remove function. 840 * keyboard.c (push_kboard): New function.
860 (push_kboard): New function.
861 (push_frame_kboard): Use it. 841 (push_frame_kboard): Use it.
862 (pop_frame_kboard): Rename to pop_kboard. 842 (pop_frame_kboard): Rename to pop_kboard.
863 843
864 * xdisp.c (display_mode_line, Fformat_mode_line): Update uses. 844 * xdisp.c (display_mode_line, Fformat_mode_line): Update uses.
865 845
866 * data.c: Include termhooks.h. 846 * data.c: Include termhooks.h.
867 (Fterminal_local_value, Fset_terminal_local_value): Update.
868 847
869 * Makefile.in (data.o, fns.o): Add termhooks.h dependency. 848 * Makefile.in (data.o, fns.o): Add termhooks.h dependency.
870 849
871 * keyboard.h (push_device_kboard, pop_frame_kboard): Remove 850 * keyboard.h (pop_frame_kboard): Remove declaration.
872 declarations.
873 (push_kboard, pop_kboard, temporarily_switch_to_single_kboard) 851 (push_kboard, pop_kboard, temporarily_switch_to_single_kboard)
874 (record_single_kboard_state): New declarations. 852 (record_single_kboard_state): New declarations.
875 853
@@ -953,17 +931,13 @@
953 * termchar.h (struct tty_display_info): Rename `display' member to 931 * termchar.h (struct tty_display_info): Rename `display' member to
954 `device'. 932 `device'.
955 933
956 * keyboard.c (push_display_kboard): Rename to push_device_kboard.
957
958 * frame.c (Fmake_terminal_frame): Ditto. 934 * frame.c (Fmake_terminal_frame): Ditto.
959 * xfns.c (Fx_create_frame): Ditto. 935 * xfns.c (Fx_create_frame): Ditto.
960 936
961 * term.c (display_list): Rename to device_list. 937 * term.c (display_list): Rename to device_list.
962 * term.c (initial_display): Rename to initial_device. 938 * term.c (initial_display): Rename to initial_device.
963 * term.c (next_display_id): Rename to next_device_id. 939 * term.c (next_display_id): Rename to next_device_id.
964 * term.c (get_display): Rename to get_device.
965 * term.c (get_tty_display): Rename to get_tty_device. 940 * term.c (get_tty_display): Rename to get_tty_device.
966 * term.c (get_named_tty_display): Rename to get_named_tty.
967 * term.c (init_initial_display): Rename to init_initial_device. 941 * term.c (init_initial_display): Rename to init_initial_device.
968 * term.c (delete_initial_display): Rename to delete_initial_device. 942 * term.c (delete_initial_display): Rename to delete_initial_device.
969 * term.c (create_display): Rename to create_device. 943 * term.c (create_display): Rename to create_device.
@@ -1028,19 +1002,15 @@
1028 1002
10292005-06-27 Karoly Lorentey <lorentey@elte.hu> 10032005-06-27 Karoly Lorentey <lorentey@elte.hu>
1030 1004
1031 * data.c (Fterminal_local_value, Fset_terminal_local_value): New functions. 1005 * data.c (Fterminal_local_value, Fset_terminal_local_value): New
1032 (syms_of_data): Defsubr them. 1006 functions (note: disabled).
1007 (syms_of_data): Defsubr them (note: disabled).
1033 1008
1034 * keyboard.c (syms_of_keyboard): Expand docs of terminal-local 1009 * keyboard.c (syms_of_keyboard): Expand docs of terminal-local
1035 variables to warn about their random bindings. 1010 variables to warn about their random bindings.
1036 1011
10372005-06-27 Karoly Lorentey <lorentey@elte.hu> 10122005-06-27 Karoly Lorentey <lorentey@elte.hu>
1038 1013
1039 * keyboard.c (push_display_kboard): New function.
1040 * keyboard.h (push_display_kboard): Declare it.
1041
10422005-06-27 Karoly Lorentey <lorentey@elte.hu>
1043
1044 * termhooks.h (display): New field: kboard. 1014 * termhooks.h (display): New field: kboard.
1045 1015
1046 * xterm.h (x_display_info): Remove kboard field. 1016 * xterm.h (x_display_info): Remove kboard field.
@@ -1062,8 +1032,7 @@
1062 * term.c (init_initial_display): Initialize kboard. 1032 * term.c (init_initial_display): Initialize kboard.
1063 * xterm.c (x_term_init): Ditto. 1033 * xterm.c (x_term_init): Ditto.
1064 1034
1065 * term.c (delete_tty): Remove kboard deletion. 1035 * term.c (delete_display): Delete kboard as well.
1066 (delete_display): Delete kboard as well.
1067 1036
10682005-06-26 Karoly Lorentey <lorentey@elte.hu> 10372005-06-26 Karoly Lorentey <lorentey@elte.hu>
1069 1038
@@ -1120,10 +1089,6 @@
1120 1089
11212005-05-03 Karoly Lorentey <lorentey@elte.hu> 10902005-05-03 Karoly Lorentey <lorentey@elte.hu>
1122 1091
1123 * term.c (get_display): Fix typo.
1124
11252005-05-03 Karoly Lorentey <lorentey@elte.hu>
1126
1127 * termhooks.h (DISPLAY_TERMINAL_CODING, DISPLAY_KEYBOARD_CODING): 1092 * termhooks.h (DISPLAY_TERMINAL_CODING, DISPLAY_KEYBOARD_CODING):
1128 New macros. 1093 New macros.
1129 1094
@@ -1131,14 +1096,9 @@
1131 (Fterminal_coding_system, Fset_keyboard_coding_system_internal) 1096 (Fterminal_coding_system, Fset_keyboard_coding_system_internal)
1132 (Fkeyboard_coding_system): Add DISPLAY parameter. 1097 (Fkeyboard_coding_system): Add DISPLAY parameter.
1133 1098
1134 * term.c (get_display): Add THROW parameter.
1135 (get_tty_display, Fdisplay_name, Fdisplay_tty_type): Update callers.
1136
1137 * xfns.c (check_x_display_info): Ditto. 1099 * xfns.c (check_x_display_info): Ditto.
1138 * frame.c (Fmake_terminal_frame): Ditto. 1100 * frame.c (Fmake_terminal_frame): Ditto.
1139 1101
1140 * dispextern.h (get_display): Update prototype.
1141
11422005-04-26 Karoly Lorentey <lorentey@elte.hu> 11022005-04-26 Karoly Lorentey <lorentey@elte.hu>
1143 1103
1144 * xdisp.c (with_echo_area_buffer, set_message, set_message_1) 1104 * xdisp.c (with_echo_area_buffer, set_message, set_message_1)
@@ -1302,16 +1262,13 @@
1302 (next_display_id): New var. 1262 (next_display_id): New var.
1303 (tty_ring_bell): Don't do anything on suspended frames. 1263 (tty_ring_bell): Don't do anything on suspended frames.
1304 (Ftty_display_color_p, Ftty_display_color_cells): Doc update. 1264 (Ftty_display_color_p, Ftty_display_color_cells): Doc update.
1305 (get_display): New function.
1306 (get_tty_display): Use it. 1265 (get_tty_display): Use it.
1307 (get_named_tty_display): Ignore suspended displays.
1308 (Fframe_tty_name): Rename to Fdisplay_name. Handle all kinds of 1266 (Fframe_tty_name): Rename to Fdisplay_name. Handle all kinds of
1309 displays. 1267 displays.
1310 (Fframe_tty_type): Rename to Fdisplay_tty_type. 1268 (Fframe_tty_type): Rename to Fdisplay_tty_type.
1311 (init_initial_display): Set display name. 1269 (init_initial_display): Set display name.
1312 (term_init): Allow more displays on the same device. Set display name. 1270 (term_init): Allow more displays on the same device. Set display name.
1313 (Fdelete_tty): Remove. 1271 (Fdelete_tty): Remove.
1314 (delete_tty): Don't run hooks.
1315 (create_display): Set display id. 1272 (create_display): Set display id.
1316 (delete_display): Free display name. 1273 (delete_display): Free display name.
1317 (Fsuspend_tty): Call hook with display id. Doc update. 1274 (Fsuspend_tty): Call hook with display id. Doc update.