diff options
| author | Dan Nicolaescu | 2007-08-28 16:22:06 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-08-28 16:22:06 +0000 |
| commit | 5763d6c1664e607e745155a998cf80b90523ca0e (patch) | |
| tree | f9ffa152d0c0af200edcd2cd1bd9715e48d1e40d /src/ChangeLog.multi-tty | |
| parent | 8b9efd01e868fd2f0be7a27b15a7a365956a24cf (diff) | |
| download | emacs-5763d6c1664e607e745155a998cf80b90523ca0e.tar.gz emacs-5763d6c1664e607e745155a998cf80b90523ca0e.zip | |
crunch
Diffstat (limited to 'src/ChangeLog.multi-tty')
| -rw-r--r-- | src/ChangeLog.multi-tty | 689 |
1 files changed, 119 insertions, 570 deletions
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty index f46d165786b..61178e1fe30 100644 --- a/src/ChangeLog.multi-tty +++ b/src/ChangeLog.multi-tty | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 0000-00-00 Karoly Lorentey <karoly@lorentey.hu> | ||
| 2 | |||
| 3 | * buffer.c: Undocumented changes. | ||
| 4 | |||
| 1 | 0000-00-00 Dan Nicolaescu <dann@ics.uci.edu> | 5 | 0000-00-00 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 6 | ||
| 3 | * callproc.c (child_setup, getenv_internal): Use the | 7 | * callproc.c (child_setup, getenv_internal): Use the |
| @@ -167,8 +171,6 @@ | |||
| 167 | * macfns.c (x_set_mouse_color,x_make_gc): Use | 171 | * macfns.c (x_set_mouse_color,x_make_gc): Use |
| 168 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 172 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 169 | 173 | ||
| 170 | * msdos.c (ScreenVisualBell,internal_terminal_init): Use | ||
| 171 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | ||
| 172 | * w32term.c (x_free_frame_resources): Use | 174 | * w32term.c (x_free_frame_resources): Use |
| 173 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 175 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 174 | (w32_initialize): Use the accessor macros for terminal characteristics. | 176 | (w32_initialize): Use the accessor macros for terminal characteristics. |
| @@ -177,12 +179,123 @@ | |||
| 177 | Use the accessor macros for terminal characteristics. | 179 | Use the accessor macros for terminal characteristics. |
| 178 | * msdos.c (internal_terminal_init): Use the accessor macros for | 180 | * msdos.c (internal_terminal_init): Use the accessor macros for |
| 179 | terminal characteristics. | 181 | terminal characteristics. |
| 182 | (ScreenVisualBell,internal_terminal_init): Use | ||
| 183 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | ||
| 180 | 184 | ||
| 181 | * termopts.h (no_redraw_on_reenter): Declare. | 185 | * termopts.h (no_redraw_on_reenter): Declare. |
| 182 | 186 | ||
| 183 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 184 | |||
| 185 | * alloc.c (emacs_blocked_malloc): Disable mallopt call. | 187 | * alloc.c (emacs_blocked_malloc): Disable mallopt call. |
| 188 | (mark_terminals,mark_ttys): Declare. | ||
| 189 | (Fgarbage_collect): Call them. | ||
| 190 | (mark_object): Mark buried_buffer_list; | ||
| 191 | |||
| 192 | * prefix-args.c: Include stdlib.h for exit. | ||
| 193 | |||
| 194 | * syssignal.h: Add comment. | ||
| 195 | |||
| 196 | * indent.c: Include stdio.h. | ||
| 197 | |||
| 198 | * window.h (Vinitial_window_system): Declare. | ||
| 199 | (Vwindow_system): Delete declaration. | ||
| 200 | |||
| 201 | * fontset.c (Finternal_char_font): Use FRAME_RIF. | ||
| 202 | |||
| 203 | * image.c (lookup_image): Don't initialize `c' until the xasserts | ||
| 204 | have been run. | ||
| 205 | |||
| 206 | * gtkutil.c (xg_create_frame_widgets): Use FRAME_BACKGROUND_PIXEL and | ||
| 207 | FRAME_FOREGROUND_PIXEL. | ||
| 208 | |||
| 209 | * print.c (print_preprocess): Don't lose print_depth levels while | ||
| 210 | iterating. | ||
| 211 | |||
| 212 | * widget.c (update_from_various_frame_slots): Use | ||
| 213 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | ||
| 214 | |||
| 215 | * window.c (set_window_buffer): Don't call clear_mouse_face on tty | ||
| 216 | frames. | ||
| 217 | (window_internal_height): Remove bogus make_number call. | ||
| 218 | (init_window_once): Call make_terminal_frame with two zero | ||
| 219 | parameters. | ||
| 220 | |||
| 221 | * fileio.c (Fread_file_name): Update comment. | ||
| 222 | |||
| 223 | * callint.c (Fcall_interactively): Use | ||
| 224 | temporarily_switch_to_single_kboard instead of single_kboard_state. | ||
| 225 | Make sure it is correctly unwound. | ||
| 226 | |||
| 227 | * xsmfns.c (x_session_close): New function. | ||
| 228 | |||
| 229 | * coding.h (terminal_coding,safe_terminal_coding,keyboard_coding): | ||
| 230 | Delete declarations. | ||
| 231 | |||
| 232 | * xterm.h: Remove declaration for x_fully_uncatch_errors. | ||
| 233 | (x_output): Remove background_pixel and foreground_pixel fields. | ||
| 234 | (x_display_info): Add new field TERMINAL. Remove KBOARD field. | ||
| 235 | (x_delete_device): | ||
| 236 | (x_session_close): Declare. | ||
| 237 | |||
| 238 | * lread.c: Include setjmp.h. Update declaration of `read_char'. | ||
| 239 | (read_filtered_event): Call `read_char' with a local | ||
| 240 | `wrong_kboard_jmpbuf'. | ||
| 241 | |||
| 242 | * minibuf.c (read_minibuf): Call | ||
| 243 | temporarily_switch_to_single_kboard. Don't call | ||
| 244 | single_kboard_state. Use FRAME_RIF. | ||
| 245 | |||
| 246 | * process.c (Fmake_network_process): Don't unrequest_sigio on modern | ||
| 247 | systems. | ||
| 248 | |||
| 249 | * lisp.h (set_process_environment): Rename to | ||
| 250 | `set_global_environment'. | ||
| 251 | (Fframe_with_environment,Fset_input_meta_mode) | ||
| 252 | (Fset_quit_char): EXFUN. | ||
| 253 | (x_create_device,tty_output,terminal,tty_display_info): Declare. | ||
| 254 | (init_sys_modes, reset_sys_modes): Update prototypes. | ||
| 255 | (init_all_sys_modes, reset_all_sys_modes): New prototypes. | ||
| 256 | |||
| 257 | * keyboard.h (struct kboard): Add new fields: | ||
| 258 | Vlocal_function_key_map, Vlocal_key_translation_map, | ||
| 259 | Vkeyboard_translate_table. | ||
| 260 | (Vfunction_key_map,Vkeyboard_translate_table,single_kboard_state): | ||
| 261 | Delete declarations. | ||
| 262 | (Vfunction_key_map,Vkey_translation_map,push_kboard,pop_kboard) | ||
| 263 | (temporarily_switch_to_single_kboard,tty_read_avail_input): | ||
| 264 | New declarations. | ||
| 265 | |||
| 266 | * emacs.c (main): Don't call init_sys_modes(), the new term_init() | ||
| 267 | already does that during init_display(). Call syms_of_keymap | ||
| 268 | before syms_of_keyboard. Call `syms_of_terminal'. Call | ||
| 269 | set_initial_environment, not set_process_environment. | ||
| 270 | (shut_down_emacs): Call reset_all_sys_modes() instead of | ||
| 271 | reset_sys_modes(). | ||
| 272 | |||
| 273 | * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG. | ||
| 274 | (internal_resolve_face_name, resolve_face_name_error): New | ||
| 275 | functions. | ||
| 276 | (resolve_face_name): Protect against loops and errors thrown by | ||
| 277 | Fget. | ||
| 278 | (realize_default_face): Don't use FRAME_FONT unless frame is an X | ||
| 279 | frame. | ||
| 280 | (Ftty_supports_face_attributes_p): Update tty_capable_p call. | ||
| 281 | |||
| 282 | * scroll.c: Replace CURTTY() with local variables throughout the | ||
| 283 | file (where applicable). | ||
| 284 | (calculate_scrolling, calculate_direct_scrolling) | ||
| 285 | (scrolling_1, scroll_cost): Use the accessor macros for terminal | ||
| 286 | characteristics. | ||
| 287 | |||
| 288 | * keymap.c (Vfunction_key_map): Remove. | ||
| 289 | (Fdescribe_buffer_bindings): Update references to | ||
| 290 | Vfunction_key_map. | ||
| 291 | (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. | ||
| 292 | (Vkey_translation_map): Remove. | ||
| 293 | (syms_of_keymap): Remove DEFVAR for key-translation-map. | ||
| 294 | (Fdescribe_buffer_bindings): | ||
| 295 | (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): | ||
| 296 | Update for terminal-local key-translation-map. | ||
| 297 | |||
| 298 | 2007-04-22 Karoly Lorentey <karoly@lorentey.hu> | ||
| 186 | 299 | ||
| 187 | * callproc.c (Vglobal_environment, Vlocal_environment_variables): | 300 | * callproc.c (Vglobal_environment, Vlocal_environment_variables): |
| 188 | Remove. | 301 | Remove. |
| @@ -193,15 +306,9 @@ | |||
| 193 | Store Emacs environment in initial frame parameter. | 306 | Store Emacs environment in initial frame parameter. |
| 194 | (syms_of_callproc): Remove obsolete defvars. Update docs. | 307 | (syms_of_callproc): Remove obsolete defvars. Update docs. |
| 195 | 308 | ||
| 196 | * emacs.c (main): Call set_initial_environment, not | ||
| 197 | set_global_environment. | ||
| 198 | |||
| 199 | * frame.c (x_set_screen_gamma, store_frame_param): Fix compilation | 309 | * frame.c (x_set_screen_gamma, store_frame_param): Fix compilation |
| 200 | errors. | 310 | errors. |
| 201 | 311 | ||
| 202 | * window.c (set_window_buffer): Don't call clear_mouse_face on tty | ||
| 203 | frames. | ||
| 204 | |||
| 205 | * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from | 312 | * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from |
| 206 | Fmenu_bar_open. | 313 | Fmenu_bar_open. |
| 207 | (syms_of_xmenu): Update defsubr. | 314 | (syms_of_xmenu): Update defsubr. |
| @@ -262,8 +369,6 @@ | |||
| 262 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 369 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> |
| 263 | 370 | ||
| 264 | * frame.c (make_terminal_frame) | 371 | * frame.c (make_terminal_frame) |
| 265 | * gtkutil.c (xg_create_frame_widgets) | ||
| 266 | * widget.c (update_from_various_frame_slots) | ||
| 267 | * xfns.c (x_set_foreground_color x_set_background_color) | 372 | * xfns.c (x_set_foreground_color x_set_background_color) |
| 268 | (x_set_mouse_color, x_set_cursor_color, x_make_gc) | 373 | (x_set_mouse_color, x_set_cursor_color, x_make_gc) |
| 269 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) | 374 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) |
| @@ -279,8 +384,6 @@ | |||
| 279 | * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of | 384 | * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of |
| 280 | Vwindow_system. | 385 | Vwindow_system. |
| 281 | 386 | ||
| 282 | * callproc.c (getenv_internal): Fix C99ism. | ||
| 283 | |||
| 284 | * frame.c (store_frame_param): Check for found_for_frame before | 387 | * frame.c (store_frame_param): Check for found_for_frame before |
| 285 | calling XFRAME. | 388 | calling XFRAME. |
| 286 | (Fmake_terminal_frame): Handle NULL tty names correctly. | 389 | (Fmake_terminal_frame): Handle NULL tty names correctly. |
| @@ -309,22 +412,13 @@ | |||
| 309 | 412 | ||
| 310 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 413 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> |
| 311 | 414 | ||
| 312 | * process.c (Fmake_network_process): Don't unrequest_sigio on modern | ||
| 313 | systems. | ||
| 314 | |||
| 315 | * keyboard.c (read_char): Enhance comment before extra longjmp to | 415 | * keyboard.c (read_char): Enhance comment before extra longjmp to |
| 316 | wrong_kboard_jmpbuf. | 416 | wrong_kboard_jmpbuf. |
| 317 | (read_key_sequence): Handle deleted interrupted_kboards correctly; | 417 | (read_key_sequence): Handle deleted interrupted_kboards correctly; |
| 318 | that is a legal case. | 418 | that is a legal case. |
| 319 | 419 | ||
| 320 | * sysdep.c (request_sigio): Make it a no-op if noninteractive. | ||
| 321 | (unrequest_sigio): Make it a no-op if noninteractive. | ||
| 322 | |||
| 323 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 420 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> |
| 324 | 421 | ||
| 325 | * callint.c (Fcall_interactively): Update call to | ||
| 326 | `temporarily_switch_to_single_kboard'. | ||
| 327 | |||
| 328 | * frame.c (Fdelete_frame): Remove unused variable `count'. | 422 | * frame.c (Fdelete_frame): Remove unused variable `count'. |
| 329 | 423 | ||
| 330 | * keyboard.c (wrong_kboard_jmpbuf): Remove global variable. | 424 | * keyboard.c (wrong_kboard_jmpbuf): Remove global variable. |
| @@ -361,13 +455,6 @@ | |||
| 361 | (record_single_kboard_state): Remove. | 455 | (record_single_kboard_state): Remove. |
| 362 | (temporarily_switch_to_single_kboard): Update. | 456 | (temporarily_switch_to_single_kboard): Update. |
| 363 | 457 | ||
| 364 | * lread.c: Include setjmp.h. Update declaration of `read_char'. | ||
| 365 | (read_filtered_event): Call `read_char' with a local | ||
| 366 | `wrong_kboard_jmpbuf'. | ||
| 367 | |||
| 368 | * minibuf.c (read_minibuf): Update call to | ||
| 369 | `temporarily_switch_to_single_kboard'. | ||
| 370 | |||
| 371 | * termchar.h (tty_display_info): Rename `previous_terminal_frame' | 458 | * termchar.h (tty_display_info): Rename `previous_terminal_frame' |
| 372 | member to `previous_frame'. | 459 | member to `previous_frame'. |
| 373 | 460 | ||
| @@ -383,9 +470,6 @@ | |||
| 383 | 470 | ||
| 384 | * frame.c (Fframe_with_environment): Fix typo. | 471 | * frame.c (Fframe_with_environment): Fix typo. |
| 385 | 472 | ||
| 386 | * image.c (lookup_image): Don't initialize `c' until the xasserts | ||
| 387 | have been run. | ||
| 388 | |||
| 389 | * keyboard.c (pop_kboard): Help debugging by not changing | 473 | * keyboard.c (pop_kboard): Help debugging by not changing |
| 390 | current_kboard unnecessarily. | 474 | current_kboard unnecessarily. |
| 391 | (temporarily_switch_to_single_kboard, record_single_kboard_state): | 475 | (temporarily_switch_to_single_kboard, record_single_kboard_state): |
| @@ -413,8 +497,6 @@ | |||
| 413 | 497 | ||
| 414 | * termchar.h (tty_display_info): Rename member `device' to `terminal'. | 498 | * termchar.h (tty_display_info): Rename member `device' to `terminal'. |
| 415 | 499 | ||
| 416 | * xterm.h (x_display_info): Rename member `device' to `terminal'. | ||
| 417 | |||
| 418 | * frame.h (frame): Rename `device' member to `terminal'. | 500 | * frame.h (frame): Rename `device' member to `terminal'. |
| 419 | (FRAME_KBOARD, FRAME_LIVE_P, Qdevice, Qdisplay_live_p): | 501 | (FRAME_KBOARD, FRAME_LIVE_P, Qdevice, Qdisplay_live_p): |
| 420 | Update for renames. | 502 | Update for renames. |
| @@ -468,15 +550,11 @@ | |||
| 468 | (interrupt_signal, delete_kboard, syms_of_keyboard): Update for | 550 | (interrupt_signal, delete_kboard, syms_of_keyboard): Update for |
| 469 | renames. | 551 | renames. |
| 470 | 552 | ||
| 471 | * alloc.c (Fgarbage_collect): Update for renames. | ||
| 472 | |||
| 473 | * coding.c (Fset_terminal_coding_system_internal) | 553 | * coding.c (Fset_terminal_coding_system_internal) |
| 474 | (Fterminal_coding_system4) | 554 | (Fterminal_coding_system4) |
| 475 | (Fset_keyboard_coding_system_internal) | 555 | (Fset_keyboard_coding_system_internal) |
| 476 | (Fkeyboard_coding_system): Update for renames. | 556 | (Fkeyboard_coding_system): Update for renames. |
| 477 | 557 | ||
| 478 | * minibuf.c (read_minibuf): Update for renames. | ||
| 479 | |||
| 480 | * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. | 558 | * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. |
| 481 | 559 | ||
| 482 | * xselect.c (x_handle_selection_clear): Update for renames. | 560 | * xselect.c (x_handle_selection_clear): Update for renames. |
| @@ -496,7 +574,6 @@ | |||
| 496 | (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. | 574 | (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. |
| 497 | 575 | ||
| 498 | * frame.h (Qenvironment): Declare. | 576 | * frame.h (Qenvironment): Declare. |
| 499 | * lisp.h (Fframe_with_environment): EXFUN it. | ||
| 500 | 577 | ||
| 501 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 578 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> |
| 502 | 579 | ||
| @@ -514,11 +591,6 @@ | |||
| 514 | add new process-environment, update docs. Initialize | 591 | add new process-environment, update docs. Initialize |
| 515 | Vprocess_environment to nil. | 592 | Vprocess_environment to nil. |
| 516 | 593 | ||
| 517 | * emacs.c (main): Call set_global_environment instead of | ||
| 518 | set_process_environment. | ||
| 519 | |||
| 520 | * fileio.c (Fread_file_name): Update comment. | ||
| 521 | |||
| 522 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 594 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> |
| 523 | 595 | ||
| 524 | * callproc.c: Include frame.h and termhooks.h, for terminal parameters. | 596 | * callproc.c: Include frame.h and termhooks.h, for terminal parameters. |
| @@ -555,17 +627,12 @@ | |||
| 555 | (Fdisplay_name, create_device, delete_device): Move to terminal.c. | 627 | (Fdisplay_name, create_device, delete_device): Move to terminal.c. |
| 556 | (syms_of_term): Move their initialization to terminal.c. | 628 | (syms_of_term): Move their initialization to terminal.c. |
| 557 | 629 | ||
| 558 | * alloc.c (mark_devices): Declare. | ||
| 559 | (Fgarbage_collect): Call `mark_devices'. | ||
| 560 | |||
| 561 | * dispextern.h (set_scroll_region, turn_off_insert) | 630 | * dispextern.h (set_scroll_region, turn_off_insert) |
| 562 | (turn_off_highlight, background_highlight, clear_end_of_line_raw) | 631 | (turn_off_highlight, background_highlight, clear_end_of_line_raw) |
| 563 | (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove. | 632 | (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove. |
| 564 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) | 633 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) |
| 565 | (tty_turn_off_highlight): Add declaration. | 634 | (tty_turn_off_highlight): Add declaration. |
| 566 | 635 | ||
| 567 | * emacs.c (main): Call `syms_of_terminal'. | ||
| 568 | |||
| 569 | * frame.c (get_future_frame_param): New function. | 636 | * frame.c (get_future_frame_param): New function. |
| 570 | (Fmake_terminal_frame): Use it. | 637 | (Fmake_terminal_frame): Use it. |
| 571 | 638 | ||
| @@ -607,11 +674,8 @@ | |||
| 607 | (syms_of_keyboard): Defsubr them. | 674 | (syms_of_keyboard): Defsubr them. |
| 608 | (Fset_input_meta_mode, Fset_quit_char): New functions. | 675 | (Fset_input_meta_mode, Fset_quit_char): New functions. |
| 609 | (Fset_input_mode): Split to above functions. | 676 | (Fset_input_mode): Split to above functions. |
| 610 | * lisp.h: EXFUN the new functions. | ||
| 611 | * xterm.c (x_initialize): Use Fset_input_interrupt_mode. | ||
| 612 | 677 | ||
| 613 | * print.c (print_preprocess): Don't lose print_depth levels while | 678 | * xterm.c (x_initialize): Use Fset_input_interrupt_mode. |
| 614 | iterating. | ||
| 615 | 679 | ||
| 616 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 680 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> |
| 617 | 681 | ||
| @@ -638,8 +702,7 @@ | |||
| 638 | * keyboard.c (Vkeyboard_translate_table) | 702 | * keyboard.c (Vkeyboard_translate_table) |
| 639 | * keyboard.h (Vkeyboard_translate_table): Move to struct kboard. | 703 | * keyboard.h (Vkeyboard_translate_table): Move to struct kboard. |
| 640 | 704 | ||
| 641 | * keyboard.c (read_char) | 705 | * keyboard.c (read_char): Use current_kboard to access |
| 642 | * keymap.c (Fdescribe_buffer_bindings): : Use current_kboard to access | ||
| 643 | Vkeyboard_translate_table. | 706 | Vkeyboard_translate_table. |
| 644 | 707 | ||
| 645 | * keyboard.c (init_kboard): Initialize Vkeyboard_translate_table. | 708 | * keyboard.c (init_kboard): Initialize Vkeyboard_translate_table. |
| @@ -656,517 +719,3 @@ | |||
| 656 | (restore_kboard_configuration): Call pop_kboard only after setting up | 719 | (restore_kboard_configuration): Call pop_kboard only after setting up |
| 657 | single_kboard mode. | 720 | single_kboard mode. |
| 658 | 721 | ||
| 659 | * term.c (tty_set_terminal_modes): Output newlines on the correct | ||
| 660 | terminal device. | ||
| 661 | |||
| 662 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 663 | |||
| 664 | * keyboard.c: Add forward declaration of restore_kboard_configuration. | ||
| 665 | |||
| 666 | * callint.c (Fcall_interactively): Use | ||
| 667 | temporarily_switch_to_single_kboard instead of single_kboard_state. | ||
| 668 | Make sure it is correctly unwound. | ||
| 669 | |||
| 670 | * keyboard.c (recursive_edit_unwind): Remove single_kboard stuff. | ||
| 671 | (Frecursive_edit): Use temporarily_switch_to_single_kboard for | ||
| 672 | single_kboard state management. | ||
| 673 | |||
| 674 | * minibuf.c (read_minibuf): Use temporarily_switch_to_single_kboard | ||
| 675 | instead of simply calling single_kboard_state. | ||
| 676 | |||
| 677 | * keyboard.c (push_kboard): New function. | ||
| 678 | (push_frame_kboard): Use it. | ||
| 679 | (pop_frame_kboard): Rename to pop_kboard. | ||
| 680 | |||
| 681 | * xdisp.c (display_mode_line, Fformat_mode_line): Update uses. | ||
| 682 | |||
| 683 | * data.c: Include termhooks.h. | ||
| 684 | |||
| 685 | * keyboard.h (pop_frame_kboard): Remove declaration. | ||
| 686 | (push_kboard, pop_kboard, temporarily_switch_to_single_kboard) | ||
| 687 | (record_single_kboard_state): New declarations. | ||
| 688 | |||
| 689 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 690 | |||
| 691 | * dispextern.h (get_tty_device): Declare. | ||
| 692 | |||
| 693 | * dispnew.c (init_display): Set up `window-system' and `tty-type' | ||
| 694 | frame parameters in the initial tty frame. | ||
| 695 | (Fsend_string_to_terminal): Add optional TERMINAL parameter. | ||
| 696 | |||
| 697 | * frame.c (Fmake_terminal_frame): Look up the `tty-type' frame | ||
| 698 | parameter, not `tty' when discovering the tty type of the new frame. | ||
| 699 | Initialize `tty' and `tty-type' frame parameters in the new frame. | ||
| 700 | |||
| 701 | * term.c (get_tty_device): Remove static qualifier. | ||
| 702 | |||
| 703 | * window.c (window_internal_height): Remove bogus make_number call. | ||
| 704 | |||
| 705 | * xmenu.c (create_and_show_dialog, create_and_show_popup_menu) | ||
| 706 | (free_frame_menubar, mouse_position_for_popup, set_frame_menubar) | ||
| 707 | (update_frame_menubar, x_activate_menubar, xdialog_show) | ||
| 708 | (xmenu_show, Fx_popup_menu, Fx_popup_dialog): Abort when given a | ||
| 709 | non-X frame. | ||
| 710 | |||
| 711 | * xsmfns.c (x_session_close): New function. | ||
| 712 | * xterm.h (x_session_close): Declare it. | ||
| 713 | |||
| 714 | * xterm.c (XTread_socket): Don't call x_session_check_input for | ||
| 715 | secondary displays. | ||
| 716 | (x_term_init): Do not initialize X session management when the | ||
| 717 | initial display was a tty frame. | ||
| 718 | (x_delete_display): Close X session management when we close its | ||
| 719 | display. | ||
| 720 | |||
| 721 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 722 | |||
| 723 | * keyboard.h (struct kboard): Rename member 'Vfunction_key_map' to | ||
| 724 | 'Vlocal_function_key_map', and 'Vkey_translation_map' to | ||
| 725 | 'Vlocal_key_translation_map'. | ||
| 726 | (Vfunction_key_map, Vkey_translation_map): New declarations. | ||
| 727 | |||
| 728 | * keyboard.c (Vfunction_key_map): New variable. | ||
| 729 | (Vglobal_key_translation_map): Rename to Vglobal_key_translation_map. | ||
| 730 | (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): | ||
| 731 | Update. | ||
| 732 | |||
| 733 | * keymap.c (Fdescribe_buffer_bindings) | ||
| 734 | * term.c (term_get_fkeys_1): Update. | ||
| 735 | |||
| 736 | * xdisp.c (select_frame_for_redisplay): Fix xassert. | ||
| 737 | |||
| 738 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 739 | |||
| 740 | * termhooks.h (struct device): Rename to `struct device'. | ||
| 741 | Rename member `next_display' to `next_device'. | ||
| 742 | Rename member `delete_display_hook' to `delete_device_hook'. | ||
| 743 | (FRAME_DISPLAY): Rename to FRAME_DEVICE. | ||
| 744 | (DISPLAY_ACTIVE_P): Rename to DEVICE_ACTIVE_P. | ||
| 745 | (DISPLAY_TERMINAL_CODING): Rename to DEVICE_TERMINAL_CODING. | ||
| 746 | (DISPLAY_KEYBOARD_CODING): Rename to DEVICE_KEYBOARD_CODING. | ||
| 747 | |||
| 748 | * frame.h (stuct frame): Rename `display' member to `device'. | ||
| 749 | |||
| 750 | * xterm.h (x_display_info): Rename member `frame_display' to `device'. | ||
| 751 | |||
| 752 | * frame.c (Fmake_terminal_frame) | ||
| 753 | * termchar.h (struct tty_display_info) | ||
| 754 | * xfns.c (Fx_create_frame): : Rename `display' member to `device'. | ||
| 755 | |||
| 756 | * prefix-args.c: Include stdlib.h for exit. | ||
| 757 | |||
| 758 | * term.c (display_list): Rename to device_list. | ||
| 759 | (initial_display): Rename to initial_device. | ||
| 760 | (next_display_id): Rename to next_device_id. | ||
| 761 | (get_tty_display): Rename to get_tty_device. | ||
| 762 | (init_initial_display): Rename to init_initial_device. | ||
| 763 | (delete_initial_display): Rename to delete_initial_device. | ||
| 764 | (create_display): Rename to create_device. | ||
| 765 | (delete_display): Rename to delete_device. | ||
| 766 | |||
| 767 | * xfns.c (check_x_display_info): Document that the function allows | ||
| 768 | display ids as well. | ||
| 769 | |||
| 770 | * xterm.c (x_delete_frame_display): Rename to x_delete_device. | ||
| 771 | (x_create_frame_display): Rename to x_create_device. | ||
| 772 | |||
| 773 | * coding.c, dispextern.h, data.c, dispnew.c, frame.c, frame.h | ||
| 774 | * keyboard.c, keyboard.h, lisp.h, sysdep.c, term.c, xdisp.c | ||
| 775 | * xselect.c, xterm.c: Update. | ||
| 776 | |||
| 777 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 778 | |||
| 779 | * term.c (term_init): Rename to init_tty. | ||
| 780 | |||
| 781 | * dispextern.h (term_init): Rename to init_tty. | ||
| 782 | |||
| 783 | * dispnew.c (init_display): Update. | ||
| 784 | * frame.c (Fmake_terminal_frame): Update. | ||
| 785 | * term.c (tty_setup_colors): Update comment. | ||
| 786 | |||
| 787 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 788 | |||
| 789 | * data.c (Fterminal_local_value, Fset_terminal_local_value): New | ||
| 790 | functions (note: disabled). | ||
| 791 | (syms_of_data): Defsubr them (note: disabled). | ||
| 792 | |||
| 793 | * frame.c (syms_of_frame): Add warning to `delete-frame-functions' | ||
| 794 | description. | ||
| 795 | |||
| 796 | * keyboard.c (syms_of_keyboard): Expand docs of terminal-local | ||
| 797 | variables to warn about their random bindings. | ||
| 798 | |||
| 799 | * sysdep.c (reset_sys_modes): Remove superflous fflush call. | ||
| 800 | |||
| 801 | * term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Flush | ||
| 802 | tty output before returning. | ||
| 803 | (term_init): Move maybe_fatal declaration to top-level to | ||
| 804 | prevent complaints from GCC 4.0. | ||
| 805 | |||
| 806 | * xdisp.c (select_frame_for_redisplay): Add xassert for | ||
| 807 | FRAME_LIVE_P. | ||
| 808 | (unwind_redisplay): Don't restore previous frame if it has been | ||
| 809 | deleted. | ||
| 810 | |||
| 811 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 812 | |||
| 813 | * termhooks.h (display): New field: kboard. | ||
| 814 | |||
| 815 | * frame.h (frame) | ||
| 816 | * termchar.h (tty_display_info) | ||
| 817 | * xterm.h (x_display_info): Remove kboard field. | ||
| 818 | * frame.h (FRAME_KBOARD): Update. | ||
| 819 | |||
| 820 | * dispnew.c (init_display) | ||
| 821 | * frame.c (make_frame, make_initial_frame, make_terminal_frame): | ||
| 822 | Don't initialize kboard. | ||
| 823 | |||
| 824 | * frame.c (make_frame_without_minibuffer, Fdelete_frame) | ||
| 825 | * keyboard.c (delete_kboard) | ||
| 826 | * term.c (term_init) | ||
| 827 | * xfns.c (Fx_create_frame, x_create_tip_frame) | ||
| 828 | * xselect.c (x_handle_selection_clear) | ||
| 829 | * xterm.c (x_term_init): Update kboard access. | ||
| 830 | |||
| 831 | * term.c (init_initial_display) | ||
| 832 | * xterm.c (x_term_init): Initialize kboard. | ||
| 833 | |||
| 834 | * term.c (delete_display): Delete kboard as well. | ||
| 835 | |||
| 836 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 837 | |||
| 838 | * keyboard.c (Vglobal_key_translation_map): New variable. | ||
| 839 | (syms_of_keyboard): DEFVAR it and Vkey_translation_map. | ||
| 840 | (mark_kboards): Mark key-translation-map. | ||
| 841 | (read_key_sequence): Update for terminal-local key-translation-map. | ||
| 842 | |||
| 843 | * keyboard.h (kboard): Add Vkey_translation_map field. | ||
| 844 | (Vglobal_key_translation_map): Declare. | ||
| 845 | |||
| 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 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 852 | |||
| 853 | * emacs.c (main): Call syms_of_keymap before syms_of_keyboard. | ||
| 854 | |||
| 855 | * keyboard.c (Vfunction_key_map): Remove declaration. | ||
| 856 | (read_key_sequence, init_kboard): Update references to | ||
| 857 | Vfunction_key_map. | ||
| 858 | (syms_of_keyboard): Declare function-key-map as a terminal-local | ||
| 859 | variable. | ||
| 860 | (mark_kboards): Mark Vfunction_key_map. | ||
| 861 | (Fset_input_mode): Call reset_sys_modes and init_sys_modes on the | ||
| 862 | selected device only; do not use the bulk functions | ||
| 863 | reset_all_sys_modes and init_all_sys_modes. | ||
| 864 | |||
| 865 | * keyboard.h (kboard): Move Vfunction_key_map inside the kboard struct. | ||
| 866 | |||
| 867 | * keymap.c (Vfunction_key_map): Remove. | ||
| 868 | (Fdescribe_buffer_bindings): Update references to Vfunction_key_map. | ||
| 869 | (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. | ||
| 870 | |||
| 871 | * term.c (term_get_fkeys_1): Update references to Vfunction_key_map. | ||
| 872 | (term_init): Make sure the function keys are set up in the | ||
| 873 | correct function-key-map. | ||
| 874 | (term_get_fkeys_arg): Rename to term_get_fkeys_address. | ||
| 875 | (term_get_fkeys_kboard): New variable. | ||
| 876 | (term_get_fkeys): Use it. | ||
| 877 | |||
| 878 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 879 | |||
| 880 | * termhooks.h (DISPLAY_TERMINAL_CODING, DISPLAY_KEYBOARD_CODING): | ||
| 881 | New macros. | ||
| 882 | |||
| 883 | * coding.c (Fset_terminal_coding_system_internal) | ||
| 884 | (Fterminal_coding_system, Fset_keyboard_coding_system_internal) | ||
| 885 | (Fkeyboard_coding_system) | ||
| 886 | * frame.c (Fmake_terminal_frame) | ||
| 887 | * xfns.c (check_x_display_info): Add DISPLAY parameter. | ||
| 888 | |||
| 889 | * xfns.c (start_hourglass): Disable display type check, it would | ||
| 890 | break multi-tty. | ||
| 891 | |||
| 892 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 893 | |||
| 894 | * keyboard.c (interrupt_signal, handle_interrupt): Move thread check | ||
| 895 | to interrupt_signal. Check for frame on controlling tty instead of | ||
| 896 | current selected frame in handle_interrupt. | ||
| 897 | |||
| 898 | * sysdep.c (narrow_foreground_group): Don't abort if inherited_pgroup | ||
| 899 | is zero. | ||
| 900 | |||
| 901 | * xdisp.c (with_echo_area_buffer, set_message, set_message_1) | ||
| 902 | (echo_area_display): Revert change applied in patch-328. | ||
| 903 | |||
| 904 | * xfaces.c (internal_resolve_face_name, resolve_face_name_error): | ||
| 905 | New functions. | ||
| 906 | (resolve_face_name): Protect against loops and errors thrown by | ||
| 907 | Fget. | ||
| 908 | |||
| 909 | * xfns.c (Fx_close_connection): Move code to | ||
| 910 | x_delete_frame_display. Remove declaration cruft. | ||
| 911 | (x_delete_frame_display): Actually close the X connection. | ||
| 912 | (unwind_create_frame): Don't do anything if the frame is already dead. | ||
| 913 | |||
| 914 | * xterm.c (x_flush): Return immediately when redisplay is inhibited. | ||
| 915 | (Vinhibit_redisplay): Declare for x_flush. | ||
| 916 | (x_delete_frame_display): Declare i. Fix initialization of dpyinfo. | ||
| 917 | Call xg_display_close under GTK. | ||
| 918 | (x_delete_display, x_create_frame_display): Cosmetic change. | ||
| 919 | (x_connection_closed): Don't close the display before its frames | ||
| 920 | are deleted. Protect against the last frame calling the display | ||
| 921 | delete hook. | ||
| 922 | |||
| 923 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 924 | |||
| 925 | * xfaces.c (x_free_gc) | ||
| 926 | * xfns.c (unwind_create_frame) | ||
| 927 | * dispnew.c (build_frame_matrix_from_leaf_window): : Protect | ||
| 928 | xassert with GLYPH_DEBUG. | ||
| 929 | |||
| 930 | * dispextern.h (updated_window): Remove comment reference to | ||
| 931 | updating_frame. | ||
| 932 | |||
| 933 | * dispnew.c (update_window): Remove bogus xassert. | ||
| 934 | |||
| 935 | * keyboard.c (cmd_error_internal): Remove slightly bogus comment. | ||
| 936 | |||
| 937 | * xdisp.c (handle_single_display_prop): Use FRAME_WINDOW_P instead of | ||
| 938 | checking against specific frame types. Ignore images on non-window | ||
| 939 | frames. | ||
| 940 | (echo_area_display): Use FRAME_INITIAL_P to check for initial frame. | ||
| 941 | (redisplay_preserve_echo_area): Update for multi-tty support. | ||
| 942 | (redisplay_window): Don't bother with toolbars, fringe bitmaps or | ||
| 943 | vertical borders on tty frames. | ||
| 944 | (display_line): Remove superflous #ifdefs. | ||
| 945 | |||
| 946 | * xfns.c (x_create_tip_frame): Copy color slot initialization | ||
| 947 | safeguards from x-create-frame. Trivial doc update. | ||
| 948 | |||
| 949 | * xterm.c (x_clear_frame): Update comment. | ||
| 950 | (x_draw_window_cursor): Remove reference to updating_frame. | ||
| 951 | |||
| 952 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 953 | |||
| 954 | * dispextern.h (get_display, Fdisplay_tty_type): New prototypes. | ||
| 955 | (Fframe_tty_type): Remove. | ||
| 956 | |||
| 957 | * dispnew.c (init_display): Use Fdisplay_tty_type, not Fframe_tty_type. | ||
| 958 | |||
| 959 | * frame.c (Qdisplay_id, Qdisplay_live_p): New symbols. | ||
| 960 | (make_terminal_frame): Get display as a parameter. | ||
| 961 | (Fmake_terminal_frame): Get/create display here; pass it to | ||
| 962 | make_terminal_frame. | ||
| 963 | (Fdelete_frame): Stop if the hook deleted the frame. | ||
| 964 | (syms_of_frame): Register new stuff. | ||
| 965 | |||
| 966 | * frame.h (Qdisplay_id, Qdisplay_live_p, make_terminal_frame): | ||
| 967 | Update prototypes. | ||
| 968 | |||
| 969 | * fringe.c (init_fringe_bitmap): Remove C99ism. | ||
| 970 | |||
| 971 | * keyboard.c (interrupt_signal): Don't call fatal_error_signal | ||
| 972 | with an extra parameter. | ||
| 973 | (Fsuspend_emacs): Give a better error message when there are | ||
| 974 | multiple open tty devices. | ||
| 975 | |||
| 976 | * term.c (Vdelete_tty_after_functions): Remove variable. | ||
| 977 | (Qframe_tty_name, Qframe_tty_type): Remove. | ||
| 978 | (next_display_id): New var. | ||
| 979 | (tty_ring_bell): Don't do anything on suspended frames. | ||
| 980 | (Ftty_display_color_p, Ftty_display_color_cells): Doc update. | ||
| 981 | (get_tty_display): Use it. | ||
| 982 | (get_tty_display): Don't signal an error on the initial frame. | ||
| 983 | (Fframe_tty_name): Rename to Fdisplay_name. Handle all kinds of | ||
| 984 | displays. | ||
| 985 | (Fframe_tty_type): Rename to Fdisplay_tty_type. | ||
| 986 | (init_initial_display): Set display name. | ||
| 987 | (term_init): Allow more displays on the same device. Set display name. | ||
| 988 | (Fdelete_tty): Remove. | ||
| 989 | (create_display): Set display id. | ||
| 990 | (delete_display): Free display name. | ||
| 991 | (Fsuspend_tty): Call hook with display id. Doc update. | ||
| 992 | (Fresume_tty): Refuse to resume when there is already an active display | ||
| 993 | on the same device. Call hook with display id. Doc update. | ||
| 994 | (syms_of_term): Reflect above changes. | ||
| 995 | (Fcontrolling_tty_p): New function. | ||
| 996 | (syms_of_term): Initialize Sdisplay_controlling_tty_p. | ||
| 997 | |||
| 998 | * termhooks.h (struct display): Add `id' and `name' members. | ||
| 999 | (DISPLAY_ACTIVE_P): New macro. | ||
| 1000 | |||
| 1001 | * xfns.c (check_x_display_info): Handle display ids. | ||
| 1002 | (Fx_create_frame): Try to get display from `display-id' parameter. | ||
| 1003 | Fix verifying return value of x_get_arg for Qdisplay_id. | ||
| 1004 | |||
| 1005 | * xterm.c (x_term_init): Set display name. | ||
| 1006 | (x_delete_display): Handle the case when `font_table' is NULL. | ||
| 1007 | (x_connection_closed): Inhibit redisplay while frames are being | ||
| 1008 | deleted. | ||
| 1009 | |||
| 1010 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 1011 | |||
| 1012 | * dispnew.c (init_display): Always install handler for SIGWINCH. | ||
| 1013 | Reported by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>. | ||
| 1014 | |||
| 1015 | * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a | ||
| 1016 | signal handler; use fatal_error_signal instead. | ||
| 1017 | (command_loop): Clear single_kboard each time Emacs returns to | ||
| 1018 | top-level. | ||
| 1019 | |||
| 1020 | * term.c: Massive updates throuout the file. | ||
| 1021 | (TS_*, TN_*) | ||
| 1022 | (RPov, delete_in_insert_mode se_is_so, costs_set, insert_mode) | ||
| 1023 | (standout_mode, specified_window, tty_cursor_hidden): Move to | ||
| 1024 | struct tty_output. | ||
| 1025 | (tty_set_terminal_modes, tty_reset_terminal_modes) | ||
| 1026 | (delete_tty, delete_tty_1): New functions. | ||
| 1027 | (turn_on_insert, turn_off_insert) | ||
| 1028 | (turn_on_highlight, turn_off_highlight, toggle_highlight) | ||
| 1029 | (tty_hide_cursor, tty_show_cursor) | ||
| 1030 | (background_highlight, highlight_if_desired): Add tty parameter. | ||
| 1031 | (tty_capable_p): Change first parameter to tty_output. | ||
| 1032 | (term_init): Make sure top_frame is initialized. Don't exit on | ||
| 1033 | errors if this would have been a secondary terminal. Call | ||
| 1034 | set_terminal_modes on the end. | ||
| 1035 | (print_all_frames): New function, marginally useful for debugging. | ||
| 1036 | (encode_terminal_code): Convert to use ANSI prototype syntax. | ||
| 1037 | (Ftty_display_color_cells): Return 0 in case of an error, not nil. | ||
| 1038 | (dissociate_if_controlling_tty): On some systems TIOCNOTTY | ||
| 1039 | works only on /dev/tty. Adapt the function accordingly. | ||
| 1040 | |||
| 1041 | * termchar.h (struct tty_output): Change old_tty to be a pointer. | ||
| 1042 | Remove old_tty_valid member. Add tty-specific variables from term.c. | ||
| 1043 | |||
| 1044 | * xfaces.c (Ftty_supports_face_attributes_p): Update for new | ||
| 1045 | tty_capable_p. | ||
| 1046 | |||
| 1047 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 1048 | |||
| 1049 | * dispextern.h (set_terminal_modes, reset_terminal_modes): Add | ||
| 1050 | tty parameter. | ||
| 1051 | (term_init): Add name parameter (the filename of the terminal | ||
| 1052 | device). Add return value (struct tty_output). | ||
| 1053 | |||
| 1054 | * dispnew.c: Replace CURTTY() with local variables throughout the | ||
| 1055 | file (where applicable). | ||
| 1056 | (termscript): Move to struct tty_output. | ||
| 1057 | (terminal_type): Remove. | ||
| 1058 | |||
| 1059 | * emacs.c (main): Don't call init_sys_modes(), the new term_init() | ||
| 1060 | already does that during init_display(). | ||
| 1061 | (shut_down_emacs): Call reset_all_sys_modes() instead of | ||
| 1062 | reset_sys_modes(). | ||
| 1063 | |||
| 1064 | * frame.c (Qtty, Qtty_type): New variables. | ||
| 1065 | (syms_of_frame): Initialize them. | ||
| 1066 | (tty_display): Remove. | ||
| 1067 | (make_terminal_frame): New parameters (tty filename and type). | ||
| 1068 | Initialize output_data.tty field instead of output_data.x. Use | ||
| 1069 | term_init() to find the right tty_output. (Use term_dummy_init() | ||
| 1070 | during bootstrap.) | ||
| 1071 | (Fmake_terminal_frame): Get device filename and type from frame | ||
| 1072 | parameters. | ||
| 1073 | |||
| 1074 | * frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the | ||
| 1075 | right thing if the frame is a tty. | ||
| 1076 | (struct frame): New member in output_data: tty. | ||
| 1077 | (make_terminal_frame): Update of prototype. | ||
| 1078 | |||
| 1079 | * keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not | ||
| 1080 | reset_sys_modes(). Ditto with init_sys_modes(). | ||
| 1081 | |||
| 1082 | * lisp.h (tty_output): Add forward declaration. | ||
| 1083 | (init_sys_modes, reset_sys_modes): Update prototype. | ||
| 1084 | (init_all_sys_modes, reset_all_sys_modes): New prototypes. | ||
| 1085 | |||
| 1086 | * scroll.c: Replace CURTTY() with local variables throughout the | ||
| 1087 | file (where applicable). | ||
| 1088 | |||
| 1089 | * sysdep.c (old_tty, term_initted, old_tty_valid): Move to struct | ||
| 1090 | tty_output. | ||
| 1091 | (init_all_sys_modes): New function. | ||
| 1092 | (init_sys_modes): Add tty_output parameter. Use it. | ||
| 1093 | (reset_all_sys_modes): New function. | ||
| 1094 | (reset_sys_modes): Add tty_output parameter. Use it. | ||
| 1095 | |||
| 1096 | * term.c (tty_list): New variable. | ||
| 1097 | (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF) | ||
| 1098 | (set_terminal_modes, reset_terminal_modes): Add tty parameter. | ||
| 1099 | (cursor_to, raw_cursor_to): Update cmgoto() calls. | ||
| 1100 | (clear_end_of_line, write_glyphs): Add indirection to terminal | ||
| 1101 | output, update cmcheckmagic() calls. | ||
| 1102 | (get_named_tty, term_dummy_init): New functions. | ||
| 1103 | (term_init): Add name parameter, add tty_output return value. | ||
| 1104 | Change algorithm to update tty_list. Call init_sys_modes() to | ||
| 1105 | set up tty mode on the newly opened terminal device. | ||
| 1106 | (get_current_tty): New function, intended for debugging. | ||
| 1107 | (clear_end_of_line, set_scroll_region, clear_to_end) | ||
| 1108 | (clear_frame, tty_show_cursor, tty_hide_cursor, turn_on_highlight) | ||
| 1109 | (turn_off_highlight, turn_on_insert, turn_off_insert): Use | ||
| 1110 | updating_frame instead of selected_frame. | ||
| 1111 | |||
| 1112 | * termchar.h (struct terminal): Rename to struct tty_output. | ||
| 1113 | Add name, type, input, output, termscript, old_tty, term_initted, | ||
| 1114 | old_tty_valid, background_pixel, foreground_pixel, next fields. | ||
| 1115 | (tty_list): New variable. | ||
| 1116 | (FRAME_TTY): New function. | ||
| 1117 | (TTY_*, CURRENT_TERMINAL, TTY_NAME, TTY_TYPE): New macros. | ||
| 1118 | |||
| 1119 | * termhooks.h (termscript): Remove. | ||
| 1120 | |||
| 1121 | * window.c (init_window_once): Call make_terminal_frame with two | ||
| 1122 | zero parameters. | ||
| 1123 | |||
| 1124 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 1125 | |||
| 1126 | * keyboard.c (echo_dash): Do nothing if there already is a dash at | ||
| 1127 | the end of the echo string. | ||
| 1128 | |||
| 1129 | * termchar.h (struct terminal): New struct. | ||
| 1130 | (must_write_spaces, min_padding_speed, line_ins_del_ok) | ||
| 1131 | (char_ins_del_ok, scroll_region_ok, scroll_region_cost) | ||
| 1132 | (memory_below_frame, fast_clear_end_of_line): Move to struct terminal. | ||
| 1133 | (min_padding_speed, dont_calculate_costs): Comment out (unused). | ||
| 1134 | |||
| 1135 | * dispnew.c (line_hash_code, line_draw_cost) | ||
| 1136 | (direct_output_for_insert, update_frame_1, scrolling) | ||
| 1137 | (update_frame_line) | ||
| 1138 | * scroll.c (calculate_scrolling, calculate_direct_scrolling) | ||
| 1139 | (scrolling_1, scroll_cost) | ||
| 1140 | * sysdep.c (hft_init) | ||
| 1141 | * term.c (set_terminal_window, ins_del_lines, calculate_costs) | ||
| 1142 | (term_init) | ||
| 1143 | * xdisp.c (try_window_id) | ||
| 1144 | * xterm.c (x_initialize): Use the accessor macros for terminal | ||
| 1145 | characteristics. | ||
| 1146 | |||
| 1147 | |||
| 1148 | ;; Local Variables: | ||
| 1149 | ;; coding: iso-2022-7bit | ||
| 1150 | ;; add-log-time-zone-rule: t | ||
| 1151 | ;; End: | ||
| 1152 | |||
| 1153 | Copyright (C) 2007 Free Software Foundation, Inc. | ||
| 1154 | |||
| 1155 | This file is part of GNU Emacs. | ||
| 1156 | |||
| 1157 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 1158 | it under the terms of the GNU General Public License as published by | ||
| 1159 | the Free Software Foundation; either version 2, or (at your option) | ||
| 1160 | any later version. | ||
| 1161 | |||
| 1162 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 1163 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 1164 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 1165 | GNU General Public License for more details. | ||
| 1166 | |||
| 1167 | You should have received a copy of the GNU General Public License | ||
| 1168 | along with GNU Emacs; see the file COPYING. If not, write to the | ||
| 1169 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 1170 | Boston, MA 02110-1301, USA. | ||
| 1171 | |||
| 1172 | ;;; arch-tag: 4015a0e0-033e-11dc-807c-00114368b55b | ||