comparison src/ChangeLog.multi-tty @ 83681:c70dfad9fff4

More crunching.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 27 Aug 2007 20:48:16 +0000
parents e4acb32e74e7
children e95ba23e6638
comparison
equal deleted inserted replaced
83680:e4acb32e74e7 83681:c70dfad9fff4
132 132
133 * makefile.w32-in (OBJ1): Add terminal.$(O) 133 * makefile.w32-in (OBJ1): Add terminal.$(O)
134 134
135 * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k. 135 * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k.
136 136
137 0000-00-00 Karoly Lorentey <karoly@lorentey.hu>
138
139 * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL):
140 * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL):
141 Remove redundant definition.
142
143 * macfns.c (x_set_mouse_color,x_make_gc): Use
144 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
145
146 * msdos.c (ScreenVisualBell,internal_terminal_init): Use
147 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
148 * w32term.c (x_free_frame_resources): Use
149 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
150 * w32term.c (w32_initialize): Use the accessor macros for terminal
151 characteristics.
152
153 * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. Use
154 the accessor macros for terminal characteristics.
155 * msdos.c (internal_terminal_init): Use the accessor macros for
156 terminal characteristics.
157
158 * cm.h (emacs_tputs): New macro to set current_tty, and then call
159 tputs().
160 (current_tty): New variable, for cmputc().
161 (cmcheckmagic, cmputc, cmgoto): Added prototypes.
162
163 * cm.c (current_tty): New variable, for cmputc().
164 (cmputc): Use it.
165 (cmcheckmagic): Added tty parameter, look up terminal streams
166 there.
167 (calccost): Added tty parameter. Use emacs_tputs() instead of
168 tputs().
169 (cmgoto): Added tty parameter. Pass it on to calccost(). Use
170 emacs_tputs() instead of tputs().
171
172 * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors.
173 (internal_condition_case, internal_condition_case_1)
174 (internal_condition_case_2): Don't abort when x_catching_errors.
175
176 * keymap.h (Fset_keymap_parent): Add EXFUN.
177
178 * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty
179 terminals.
180 (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to
181 prevent crashes caused by bogus longjmps in read_char.
182
183 * termopts.h (no_redraw_on_reenter): Declare.
184
137 2007-04-22 Karoly Lorentey <karoly@lorentey.hu> 185 2007-04-22 Karoly Lorentey <karoly@lorentey.hu>
138 186
139 * xterm.c (x_scroll_bar_expose): Fix reference to foreground pixel. 187 * xterm.c (x_scroll_bar_expose): Fix reference to foreground pixel.
140 188
141 2007-02-24 Karoly Lorentey <karoly@lorentey.hu> 189 2007-02-24 Karoly Lorentey <karoly@lorentey.hu>
167 2006-07-29 Karoly Lorentey <lorentey@elte.hu> 215 2006-07-29 Karoly Lorentey <lorentey@elte.hu>
168 216
169 * xterm.h: Remove declaration for x_fully_uncatch_errors. 217 * xterm.h: Remove declaration for x_fully_uncatch_errors.
170 218
171 * xterm.c (x_fully_uncatch_errors): Disable definition. 219 * xterm.c (x_fully_uncatch_errors): Disable definition.
172
173 * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors.
174 (internal_condition_case, internal_condition_case_1)
175 (internal_condition_case_2): Don't abort when x_catching_errors.
176 220
177 2006-05-26 Karoly Lorentey <lorentey@elte.hu> 221 2006-05-26 Karoly Lorentey <lorentey@elte.hu>
178 222
179 * callproc.c (Vglobal_environment, Vlocal_environment_variables): 223 * callproc.c (Vglobal_environment, Vlocal_environment_variables):
180 Remove. 224 Remove.
266 2006-04-01 Karoly Lorentey <lorentey@elte.hu> 310 2006-04-01 Karoly Lorentey <lorentey@elte.hu>
267 311
268 * frame.c (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and 312 * frame.c (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and
269 FRAME_FOREGROUND_PIXEL. 313 FRAME_FOREGROUND_PIXEL.
270 * gtkutil.c (xg_create_frame_widgets): Ditto. 314 * gtkutil.c (xg_create_frame_widgets): Ditto.
271 * macfns.c (x_set_mouse_color): Ditto.
272 * macfns.c (x_make_gc): Ditto.
273 * msdos.c (ScreenVisualBell): Ditto.
274 * msdos.c (internal_terminal_init): Ditto.
275 * w32term.c (x_free_frame_resources): Ditto.
276 * xfns.c (x_window): Ditto. 315 * xfns.c (x_window): Ditto.
277 * xterm.c (x_scroll_bar_create): Ditto. 316 * xterm.c (x_scroll_bar_create): Ditto.
278 * xterm.c (x_scroll_bar_set_handle): Ditto. 317 * xterm.c (x_scroll_bar_set_handle): Ditto.
279 318
280 2006-04-01 Karoly Lorentey <lorentey@elte.hu> 319 2006-04-01 Karoly Lorentey <lorentey@elte.hu>
391 430
392 2006-01-03 Karoly Lorentey <lorentey@elte.hu> 431 2006-01-03 Karoly Lorentey <lorentey@elte.hu>
393 432
394 * callint.c (Fcall_interactively): Update call to 433 * callint.c (Fcall_interactively): Update call to
395 `temporarily_switch_to_single_kboard'. 434 `temporarily_switch_to_single_kboard'.
396
397 * fns.c (Fy_or_n_p): Ditto.
398 435
399 * frame.c (Fdelete_frame): Remove unused variable `count'. 436 * frame.c (Fdelete_frame): Remove unused variable `count'.
400 437
401 * keyboard.c (wrong_kboard_jmpbuf): Remove global variable. 438 * keyboard.c (wrong_kboard_jmpbuf): Remove global variable.
402 439
711 (Fmake_terminal_frame): Use it. 748 (Fmake_terminal_frame): Use it.
712 749
713 * keyboard.c (pop_kboard): Remove unused variable. 750 * keyboard.c (pop_kboard): Remove unused variable.
714 (Fset_output_flow_control): Return nil. 751 (Fset_output_flow_control): Return nil.
715 752
716 * keymap.h (Fset_keymap_parent): Add EXFUN.
717
718 * lisp.h (syms_of_terminal): Declare it.
719
720 * sysdep.c (reset_sys_modes): Update for renames. 753 * sysdep.c (reset_sys_modes): Update for renames.
721 754
722 * term.c (set_scroll_region): Rename to `tty_set_scroll_region'. 755 * term.c (set_scroll_region): Rename to `tty_set_scroll_region'.
723 (turn_on_insert): Rename to `tty_turn_on_insert'. 756 (turn_on_insert): Rename to `tty_turn_on_insert'.
724 (turn_off_insert): Rename to `tty_turn_off_insert'. 757 (turn_off_insert): Rename to `tty_turn_off_insert'.
766 (Fset_input_mode): Split to above functions. 799 (Fset_input_mode): Split to above functions.
767 800
768 * lisp.h: EXFUN the new functions. 801 * lisp.h: EXFUN the new functions.
769 802
770 * xterm.c (x_initialize): Use Fset_input_interrupt_mode. 803 * xterm.c (x_initialize): Use Fset_input_interrupt_mode.
771 * macterm.c (mac_initialize): Ditto.
772 804
773 2005-12-22 Karoly Lorentey <lorentey@elte.hu> 805 2005-12-22 Karoly Lorentey <lorentey@elte.hu>
774 806
775 * term.c (suspend-tty): Update doc string. 807 * term.c (suspend-tty): Update doc string.
776 808
849 881
850 2005-09-11 Karoly Lorentey <lorentey@elte.hu> 882 2005-09-11 Karoly Lorentey <lorentey@elte.hu>
851 883
852 * keyboard.c: Add forward declaration of restore_kboard_configuration. 884 * keyboard.c: Add forward declaration of restore_kboard_configuration.
853 885
854 emacs--multi-tty--0--patch-414
855
856 * fns.c: Include termhooks.h.
857 (Fy_or_n_p): Use temporarily_switch_to_single_kboard to prevent crashes
858 caused by bogus longjmps in read_char.
859
860 * callint.c (Fcall_interactively): Use 886 * callint.c (Fcall_interactively): Use
861 temporarily_switch_to_single_kboard instead of single_kboard_state. 887 temporarily_switch_to_single_kboard instead of single_kboard_state.
862 Make sure it is correctly unwinded. 888 Make sure it is correctly unwinded.
863 889
864 * keyboard.c (recursive_edit_unwind): Remove single_kboard stuff. 890 * keyboard.c (recursive_edit_unwind): Remove single_kboard stuff.
889 915
890 * dispextern.h (get_tty_device): Declare. 916 * dispextern.h (get_tty_device): Declare.
891 917
892 * dispnew.c (Fsend_string_to_terminal): Add optional TERMINAL 918 * dispnew.c (Fsend_string_to_terminal): Add optional TERMINAL
893 parameter. 919 parameter.
894
895 * fns.c (Fy_or_n_p, Fyes_or_no_p): Don't try to open an X dialog on
896 tty terminals.
897 920
898 * term.c (get_tty_device): Remove static qualifier. 921 * term.c (get_tty_device): Remove static qualifier.
899 922
900 * xmenu.c (create_and_show_dialog, create_and_show_popup_menu) 923 * xmenu.c (create_and_show_dialog, create_and_show_popup_menu)
901 (free_frame_menubar, mouse_position_for_popup, set_frame_menubar) 924 (free_frame_menubar, mouse_position_for_popup, set_frame_menubar)
1450 set up tty mode on the newly opened terminal device. 1473 set up tty mode on the newly opened terminal device.
1451 (get_current_tty): New function, intended for debugging. 1474 (get_current_tty): New function, intended for debugging.
1452 1475
1453 * termhooks.h (termscript): Removed. 1476 * termhooks.h (termscript): Removed.
1454 1477
1455 * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL):
1456 Removed redundant definition.
1457 * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Ditto.
1458
1459 * window.c (init_window_once): Call make_terminal_frame with two 1478 * window.c (init_window_once): Call make_terminal_frame with two
1460 zero parameters. 1479 zero parameters.
1461
1462 * cm.h (emacs_tputs): New macro to set current_tty, and then call
1463 tputs().
1464 (current_tty): New variable, for cmputc().
1465 (cmcheckmagic, cmputc, cmgoto): Added prototypes.
1466
1467 * cm.c (current_tty): New variable, for cmputc().
1468 (cmputc): Use it.
1469 (cmcheckmagic): Added tty parameter, look up terminal streams
1470 there.
1471 (calccost): Added tty parameter. Use emacs_tputs() instead of
1472 tputs().
1473 (cmgoto): Added tty parameter. Pass it on to calccost(). Use
1474 emacs_tputs() instead of tputs().
1475 1480
1476 * dispextern.h (set_terminal_modes, reset_terminal_modes): Added 1481 * dispextern.h (set_terminal_modes, reset_terminal_modes): Added
1477 tty parameter. 1482 tty parameter.
1478 (term_init): Added name parameter (the filename of the terminal 1483 (term_init): Added name parameter (the filename of the terminal
1479 device). Added return value (struct tty_output). 1484 device). Added return value (struct tty_output).
1534 (min_padding_speed, dont_calculate_costs): Commented out (unused). 1539 (min_padding_speed, dont_calculate_costs): Commented out (unused).
1535 1540
1536 * term.c (_current_terminal): New variable. Will be removed when 1541 * term.c (_current_terminal): New variable. Will be removed when
1537 true multi-tty support is implemented. 1542 true multi-tty support is implemented.
1538 1543
1539 * termopts.h (no_redraw_on_reenter): Moved here.
1540
1541 * term.c (set_terminal_window, ins_del_lines, calculate_costs) 1544 * term.c (set_terminal_window, ins_del_lines, calculate_costs)
1542 (term_init): Use the accessor macros for terminal characteristics. 1545 (term_init): Use the accessor macros for terminal characteristics.
1543 * dispnew.c (line_hash_code, line_draw_cost) 1546 * dispnew.c (line_hash_code, line_draw_cost)
1544 (direct_output_for_insert, update_frame_1, scrolling) 1547 (direct_output_for_insert, update_frame_1, scrolling)
1545 (update_frame_line): Ditto. 1548 (update_frame_line): Ditto.
1546 * macterm.c (mac_initialize): Ditto.
1547 * msdos.c (internal_terminal_init): Ditto.
1548 * scroll.c (calculate_scrolling, calculate_direct_scrolling) 1549 * scroll.c (calculate_scrolling, calculate_direct_scrolling)
1549 (scrolling_1, scroll_cost): Ditto. 1550 (scrolling_1, scroll_cost): Ditto.
1550 * sysdep.c (hft_init): Ditto. 1551 * sysdep.c (hft_init): Ditto.
1551 * w32term.c (w32_initialize): Ditto.
1552 * xdisp.c (try_window_id): Ditto. 1552 * xdisp.c (try_window_id): Ditto.
1553 * xterm.c (x_initialize): Ditto. 1553 * xterm.c (x_initialize): Ditto.
1554 1554
1555 2004-07-12 Karoly Lorentey <lorentey@elte.hu> 1555 2004-07-12 Karoly Lorentey <lorentey@elte.hu>
1556 1556