diff options
| author | Dan Nicolaescu | 2007-08-29 04:01:43 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-08-29 04:01:43 +0000 |
| commit | 5142de65ce179e846514ec7355274ab22822a85c (patch) | |
| tree | 9ff94952bad98a9aabd2e5bad2202cede11f8736 /src | |
| parent | bb89e6732b44225f4900c897602731a157d3e8ef (diff) | |
| download | emacs-5142de65ce179e846514ec7355274ab22822a85c.tar.gz emacs-5142de65ce179e846514ec7355274ab22822a85c.zip | |
More crunching.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog.multi-tty | 599 |
1 files changed, 254 insertions, 345 deletions
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty index fdd2b75af20..db9c130000e 100644 --- a/src/ChangeLog.multi-tty +++ b/src/ChangeLog.multi-tty | |||
| @@ -1,7 +1,3 @@ | |||
| 1 | 0000-00-00 Karoly Lorentey <karoly@lorentey.hu> | ||
| 2 | |||
| 3 | * buffer.c: Undocumented changes. | ||
| 4 | |||
| 5 | 0000-00-00 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 0000-00-00 Dan Nicolaescu <dann@ics.uci.edu> |
| 6 | 2 | ||
| 7 | * callproc.c (child_setup, getenv_internal): Use the | 3 | * callproc.c (child_setup, getenv_internal): Use the |
| @@ -142,6 +138,9 @@ | |||
| 142 | 138 | ||
| 143 | 0000-00-00 Karoly Lorentey <karoly@lorentey.hu> | 139 | 0000-00-00 Karoly Lorentey <karoly@lorentey.hu> |
| 144 | 140 | ||
| 141 | * buffer.c (Fbuffer_list, Fbury_buffer): Take | ||
| 142 | frame->buried_buffer_list into account. | ||
| 143 | |||
| 145 | * cm.c (current_tty): New variable, for cmputc(). | 144 | * cm.c (current_tty): New variable, for cmputc(). |
| 146 | (cmputc): Use it. | 145 | (cmputc): Use it. |
| 147 | (cmcheckmagic): Add tty parameter, look up terminal streams there. | 146 | (cmcheckmagic): Add tty parameter, look up terminal streams there. |
| @@ -309,342 +308,280 @@ | |||
| 309 | (find_symbol_value): Use the selected frame's keyboard, not | 308 | (find_symbol_value): Use the selected frame's keyboard, not |
| 310 | current_kboard. | 309 | current_kboard. |
| 311 | 310 | ||
| 312 | 2007-04-22 Karoly Lorentey <karoly@lorentey.hu> | 311 | * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of |
| 313 | 312 | Vwindow_system. | |
| 314 | * callproc.c (Vglobal_environment, Vlocal_environment_variables): | ||
| 315 | Remove. | ||
| 316 | (getenv_internal, child_setup): Don't look at global-environment | ||
| 317 | or local-environment-variables. | ||
| 318 | (Fgetenv_internal): Update docs. | ||
| 319 | (set_initial_environment): Rename from set_global_environment. | ||
| 320 | Store Emacs environment in initial frame parameter. | ||
| 321 | (syms_of_callproc): Remove obsolete defvars. Update docs. | ||
| 322 | |||
| 323 | * frame.c (x_set_screen_gamma, store_frame_param): Fix compilation | ||
| 324 | errors. | ||
| 325 | 313 | ||
| 326 | * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from | 314 | * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from |
| 327 | Fmenu_bar_open. | 315 | Fmenu_bar_open. |
| 328 | (syms_of_xmenu): Update defsubr. | 316 | (syms_of_xmenu): Update defsubr. |
| 317 | (mouse_position_for_popup, Fx_popup_menu) | ||
| 318 | (Fx_popup_dialog, x_activate_menubar, update_frame_menubar) | ||
| 319 | (set_frame_menubar, free_frame_menubar) | ||
| 320 | (create_and_show_popup_menu, xmenu_show, ) | ||
| 321 | (create_and_show_dialog, xdialog_show, xmenu_show): Abort if not | ||
| 322 | an X frame. | ||
| 323 | |||
| 324 | * xselect.c (x_own_selection): Abort if not an X frame. | ||
| 325 | (some_frame_on_display): Check if it is an X frame. | ||
| 326 | (x_handle_selection_clear): Deal with MULTI_KBOARD. | ||
| 327 | |||
| 328 | * coding.c: Include frame.h and termhooks.h. | ||
| 329 | (terminal_coding,keyboard_coding): Delete. | ||
| 330 | (Fset_terminal_coding_system_internal): | ||
| 331 | (Fset_keyboard_coding_system_internal): | ||
| 332 | (Fkeyboard_coding_system): | ||
| 333 | (Fterminal_coding_system): Add a terminal parameter. Get | ||
| 334 | terminal_coding from the terminal. | ||
| 335 | (init_coding_once): Don't call setup_coding_system here. | ||
| 329 | 336 | ||
| 330 | * xterm.c (x_fully_uncatch_errors): Disable definition. | 337 | * dispextern.h (set_scroll_region, turn_off_insert) |
| 331 | (x_scroll_bar_expose): Fix reference to foreground pixel. | 338 | (turn_off_highlight, background_highlight, clear_end_of_line_raw) |
| 332 | 339 | (tty_clear_end_of_line, tty_setup_colors) | |
| 333 | * xterm.h: Remove declaration for x_fully_uncatch_errors. | 340 | (delete_tty,updating_frame) |
| 334 | 341 | (produce_special_glyphs, produce_glyphs, write_glyphs) | |
| 335 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 342 | (insert_glyphs): Remove. |
| 336 | 343 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) | |
| 337 | * frame.c (make_terminal_frame) | 344 | (tty_turn_off_highlight,get_tty_size): Add declaration. |
| 338 | * xfns.c (Fx_create_frame, x_create_tip_frame): Don't create | 345 | (tabs_safe_p, init_baud_rate, get_tty_terminal): Update |
| 339 | frames on a terminal that is being deleted. | 346 | prototypes. |
| 347 | |||
| 348 | * frame.h (enum output_method): Add output_initial. | ||
| 349 | (struct x_output): Delete. | ||
| 350 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Access | ||
| 351 | foreground_pixel and background_pixel directly from the frame. | ||
| 352 | (tty_display): Delete. | ||
| 353 | (struct frame): Add buried_buffer_list, foreground_pixel, | ||
| 354 | background_pixel and terminal. Delete kboard | ||
| 355 | (union output_data): Add tty. | ||
| 356 | (FRAME_KBOARD): Get the kboard from the terminal. | ||
| 357 | (FRAME_INITIAL_P): New macro. | ||
| 358 | (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) | ||
| 359 | (Qterm_environment_variable, Qdisplay_environment_variable) | ||
| 360 | (make_terminal_frame, Qburied_buffer_list, Qwindow_system): New | ||
| 361 | declarations. | ||
| 362 | |||
| 363 | * termchar.h (tty_output, tty_display_info): New structures. | ||
| 364 | (tty_list): Declare. | ||
| 365 | (FRAME_TTY, CURTTY): New macros. | ||
| 366 | (must_write_spaces, min_padding_speed, fast_clear_end_of_line) | ||
| 367 | (line_ins_del_ok, char_ins_del_ok, scroll_region_ok) | ||
| 368 | (scroll_region_cost, memory_below_frame, fast_clear_end_of_line) | ||
| 369 | (dont_calculate_costs, no_redraw_on_reenter): Remove declarations. | ||
| 370 | |||
| 371 | * callproc.c: Include frame.h and termhooks.h, for terminal | ||
| 372 | parameters. | ||
| 373 | (add_env): New function. | ||
| 374 | (child_setup): Use it. | ||
| 375 | (child_setup, getenv_internal): Handle the new | ||
| 376 | Vprocess_environment. | ||
| 377 | (getenv_internal): Fix get_terminal_param call. | ||
| 378 | (Fgetenv_internal, egetenv): Update doc. | ||
| 379 | (syms_of_callproc): Initialize Vprocess_environment to nil. | ||
| 380 | Register and initialize them. Remove obsolete defvars. Update doc | ||
| 381 | strings. | ||
| 382 | (child_setup): Handle Vlocal_environment_variables. | ||
| 383 | (getenv_internal): Add terminal parameter. Handle | ||
| 384 | Vlocal_environment_variables. | ||
| 385 | (Fgetenv_internal): Add terminal parameter. | ||
| 386 | (child_setup, getenv_internal, Fgetenv_internal): Store the local | ||
| 387 | environment in a frame (not terminal) parameter. Update doc | ||
| 388 | strings. | ||
| 389 | (set_initial_environment): Rename from set_global_environment. | ||
| 390 | Store Emacs environment in initial frame parameter. | ||
| 340 | 391 | ||
| 341 | * keyboard.c (tty_read_avail_input): Don't read from a terminal that | 392 | * xdisp.c (redisplay_internal): Update references to |
| 342 | is being deleted. | 393 | `previous_terminal_frame'. |
| 394 | (display_mode_line, Fformat_mode_line): Replace calls to | ||
| 395 | `push_frame_kboard' with `push_kboard'. | ||
| 396 | (get_glyph_string_clip_rects): Add extra parentheses and | ||
| 397 | braces to prevent compiler warnings. | ||
| 398 | (calc_pixel_width_or_height): Add xassert to check that the | ||
| 399 | frame is alive. Don't call `lookup_image' on a termcap frame. | ||
| 400 | (message2_nolog, message3_nolog, redisplay_internal) | ||
| 401 | (set_vertical_scroll_bar, redisplay_window, check_x_display_info) | ||
| 402 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background) | ||
| 403 | (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) | ||
| 404 | (Fx_display_pixel_width, Fx_display_pixel_height) | ||
| 405 | (Fx_display_planes, Fx_display_color_cells) | ||
| 406 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) | ||
| 407 | (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) | ||
| 408 | (Fx_display_backing_store, Fx_display_visual_class) | ||
| 409 | (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): | ||
| 410 | Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. | ||
| 343 | 411 | ||
| 344 | * term.c (Ftty_type): Return nil if terminal is not on a tty instead | 412 | * xfns.c (x_set_foreground_color x_set_background_color) |
| 345 | of throwing an error. Doc update. | 413 | (x_set_mouse_color, x_set_cursor_color, x_make_gc): Use |
| 346 | (init_tty): Set name before calling `get_named_tty'. | 414 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 347 | (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: | 415 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) |
| 348 | Doc update. | 416 | (Fx_create_frame, x_create_tip_frame): Don't create frames on a |
| 417 | terminal that is being deleted. | ||
| 418 | (Fx_create_frame): Use `store_frame_param' to set `window-system' | ||
| 419 | frame parameter, and make sure it overrides any user-supplied | ||
| 420 | setting. | ||
| 421 | (Fx_close_connection, Fx_synchronize): Unify argument names with | ||
| 422 | the rest of the DEFUNs. | ||
| 349 | 423 | ||
| 350 | * termhooks.h (terminal) <name>: Explain why identifying terminals | 424 | * dispnew.c (Fsend_string_to_terminal): Update call to |
| 351 | by name is a bad idea. | 425 | `get_tty_terminal'. |
| 426 | (Fredraw_frame, Fsend_string_to_terminal) | ||
| 427 | (Fsend_string_to_terminal, init_display): User FRAME_RIF, | ||
| 428 | FRAME_TERMCAP_P and FRAME_TTY. | ||
| 429 | (window_change_signal): Don't believe width/height values that are | ||
| 430 | impossibly small. | ||
| 431 | (Vinitial_window_system): Rename from Vwindow_system. | ||
| 432 | (termscript, Wcm, rif): Delete. | ||
| 433 | |||
| 434 | * termhooks.h (struct terminal): New struct containing the | ||
| 435 | previously global text display hooks and new members NAME, | ||
| 436 | DELETED and PARAM_ALIST. | ||
| 437 | (FRAME_TERMINAL, TERMINAL_TERMINAL_CODING) | ||
| 438 | (TERMINAL_KEYBOARD_CODING, TERMINAL_ACTIVE_P, FRAME_WINDOW_P) | ||
| 439 | (FRAME_RIF): New macros. | ||
| 440 | (get_terminal_param, get_device): New declarations. | ||
| 441 | (termscript): Delete declaration. | ||
| 352 | 442 | ||
| 353 | * xterm.c (XTread_socket): Disable loop on all X displays. | 443 | * xterm.c (x_initialize): Use Fset_input_interrupt_mode. |
| 444 | (XTflash, x_free_frame_resources, x_scroll_bar_create) | ||
| 445 | (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and | ||
| 446 | FRAME_FOREGROUND_PIXEL. | ||
| 447 | (x_fully_uncatch_errors): Disable definition. | ||
| 448 | (x_scroll_bar_expose): Fix reference to foreground pixel. | ||
| 449 | (XTread_socket): Disable loop on all X displays. | ||
| 354 | (x_delete_terminal): Don't set terminal->deleted and let | 450 | (x_delete_terminal): Don't set terminal->deleted and let |
| 355 | delete_terminal delete the frames on the terminal. | 451 | delete_terminal delete the frames on the terminal. |
| 356 | (x_delete_display): Doc update to reflect changes in | 452 | (x_delete_display): Doc update to reflect changes in |
| 357 | delete_terminal. | 453 | delete_terminal. |
| 358 | (x_display_info) <terminal>: Move member earlier in the struct. | 454 | (x_display_info) <terminal>: Move member earlier in the struct. |
| 359 | 455 | (x_delete_terminal): Use terminal->deleted. Delete all frames on | |
| 360 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 456 | the display explicitly. |
| 361 | |||
| 362 | * termhooks.h (terminal) <deleted>: New member. | ||
| 363 | * term.c (delete_tty): Use it. | ||
| 364 | * xterm.c (x_delete_terminal): Use terminal->deleted. Delete all | ||
| 365 | frames on the display explicitly. | ||
| 366 | |||
| 367 | (deleting_tty): Remove old variable. | 457 | (deleting_tty): Remove old variable. |
| 368 | (Fsuspend_tty): Call clear_tty_hooks. | 458 | (Fsuspend_tty): Call clear_tty_hooks. |
| 369 | (Fresume_tty, init_tty): Call set_tty_hooks. | 459 | (Fresume_tty, init_tty): Call set_tty_hooks. |
| 370 | (clear_tty_hooks, set_tty_hooks): New functions. | 460 | (clear_tty_hooks, set_tty_hooks): New functions. |
| 371 | (Ftty_display_color_p, Ftty_display_color_cells): Don't throw | 461 | (Ftty_display_color_p, Ftty_display_color_cells): Don't throw |
| 372 | errors on X frames. | 462 | errors on X frames. |
| 373 | 463 | (x_catch_errors_unwind): Abort if x_error_message is NULL. | |
| 374 | * term.c (get_tty_terminal): Add throw parameter. | 464 | (handle_one_xevent): Initialize `f' to NULL. |
| 375 | (Fsuspend_tty, Fresume_tty): Update call to `get_tty_terminal'. | 465 | (x_delete_device, x_create_device): New functions. |
| 376 | * dispnew.c (Fsend_string_to_terminal): Update call to | 466 | (XTset_terminal_modes, XTreset_terminal_modes) |
| 377 | `get_tty_terminal'. | 467 | (XTread_socket, x_connection_closed, x_term_init) |
| 378 | * dispextern.h (get_tty_terminal): Update prototype. | 468 | (x_term_init, x_delete_display): Add terminal parameter. |
| 379 | 469 | (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary | |
| 380 | * xfaces.c (realize_default_face): Don't use FRAME_FONT unless frame | 470 | X connections. |
| 381 | is an X frame. | 471 | |
| 382 | 472 | * frame.c (Fframep): Deal with output_initial. | |
| 383 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 473 | (Qbuffer_predicate, Qbuffer_list, Qburied_buffer_list, Qtty) |
| 384 | 474 | (Qtty_type, Qwindow_system, Qenvironment) | |
| 385 | * frame.c (make_terminal_frame) | 475 | (Qterm_environment_variable, Qdisplay_environment_variable): New |
| 386 | * xfns.c (x_set_foreground_color x_set_background_color) | 476 | variables. |
| 387 | (x_set_mouse_color, x_set_cursor_color, x_make_gc) | 477 | (x_set_screen_gamma, store_frame_param): Fix compilation errors. |
| 388 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) | 478 | (make_terminal_frame): Don't create frames on a terminal that is |
| 389 | * xterm.c (XTflash, x_free_frame_resources, x_scroll_bar_create) | 479 | being deleted. |
| 390 | (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and | 480 | (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and |
| 391 | FRAME_FOREGROUND_PIXEL. | 481 | FRAME_FOREGROUND_PIXEL. |
| 392 | 482 | (store_frame_param): Check for found_for_frame before calling | |
| 393 | * xterm.h (x_output): Remove background_pixel and foreground_pixel | 483 | XFRAME. |
| 394 | fields. | ||
| 395 | |||
| 396 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 397 | |||
| 398 | * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of | ||
| 399 | Vwindow_system. | ||
| 400 | |||
| 401 | * frame.c (store_frame_param): Check for found_for_frame before | ||
| 402 | calling XFRAME. | ||
| 403 | (Fmake_terminal_frame): Handle NULL tty names correctly. | 484 | (Fmake_terminal_frame): Handle NULL tty names correctly. |
| 404 | (syms_of_frame): Enhance doc string of `default-frame-alist'. | 485 | (syms_of_frame): Enhance doc string of `default-frame-alist'. |
| 486 | (Fdelete_frame): Remove unused variable `count'. | ||
| 487 | (Qenvironment): New variable. | ||
| 488 | (Fdelete_frame): Don't allow other frames to refer to a deleted | ||
| 489 | frame in their 'environment parameter. | ||
| 490 | (Fframe_with_environment): New function. | ||
| 491 | (syms_of_frame): Defsubr it. Initialize and staticpro | ||
| 492 | Qenvironment. | ||
| 493 | (get_future_frame_param): New function. | ||
| 494 | (Fmake_terminal_frame): Use it. | ||
| 495 | |||
| 496 | * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. | ||
| 497 | * sysdep.c (reset_sys_modes): Update for renames. | ||
| 498 | |||
| 499 | * keyboard.c (tty_read_avail_input): New function. | ||
| 500 | (Fset_input_interrupt_mode,Fset_output_flow_control): New | ||
| 501 | functions. | ||
| 502 | (syms_of_keyboard): Defsubr them. | ||
| 503 | (Fset_input_meta_mode, Fset_quit_char): New functions. | ||
| 504 | (Fset_input_mode): Split to above functions. | ||
| 405 | 505 | ||
| 406 | * keyboard.c (read_char): Declare. Update call to | ||
| 407 | `read_char_minibuf_menu_prompt'. Set wrong_kboard_jmpbuf correctly in | ||
| 408 | recursive calls. | ||
| 409 | (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf | 506 | (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf |
| 410 | parameter. Use it in call to `read_char'. | 507 | parameter. Use it in call to `read_char'. |
| 411 | (Fset_quit_char): Don't leave tty state uninitialized after an error. | 508 | (read_char): Declare. Update call to |
| 509 | `read_char_minibuf_menu_prompt'. Set wrong_kboard_jmpbuf | ||
| 510 | correctly in recursive calls. Use current_kboard to access | ||
| 511 | Vkeyboard_translate_table. Enhance comment before extra longjmp | ||
| 512 | to wrong_kboard_jmpbuf. Add wrong_kboard_jmpbuf parameter to | ||
| 513 | allow for recursive calls. Update longjmp invocations. Remember | ||
| 514 | the original current_kboard, and longjmp to `wrong_kboard_jmpbuf' | ||
| 515 | when a filter, timer or sentinel changes it. Comment out | ||
| 516 | unnecessary calls to `record_single_kboard_state' and | ||
| 517 | `any_kboard_state'. Update recursive calls. | ||
| 518 | (wrong_kboard_jmpbuf): Remove global variable. | ||
| 412 | (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. | 519 | (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. |
| 413 | 520 | Handle deleted interrupted_kboards correctly; that is a legal | |
| 414 | * term.c: Include errno.h. | 521 | case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp |
| 415 | (Fresume_tty): Handle errors on reopening ttys. Don't dissociate | 522 | and read_char calls. Abort if interrupted_kboard died in |
| 416 | if terminal was explicitly opened on the controlling terminal. | 523 | read_char. |
| 417 | (init_tty): Initialize local pointers. Always set name (use | ||
| 418 | "/dev/tty" for controlling tty.) Remove special case for name == NULL. | ||
| 419 | |||
| 420 | * xfns.c (Fx_create_frame): Use `store_frame_param' to set | ||
| 421 | `window-system' frame parameter, and make sure it overrides any | ||
| 422 | user-supplied setting. | ||
| 423 | (x_create_tip_frame): Fix syntax error. | ||
| 424 | |||
| 425 | * xterm.c (x_catch_errors_unwind): Abort if x_error_message is NULL. | ||
| 426 | |||
| 427 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 428 | |||
| 429 | * keyboard.c (read_char): Enhance comment before extra longjmp to | ||
| 430 | wrong_kboard_jmpbuf. | ||
| 431 | (read_key_sequence): Handle deleted interrupted_kboards correctly; | ||
| 432 | that is a legal case. | ||
| 433 | |||
| 434 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 435 | |||
| 436 | * frame.c (Fdelete_frame): Remove unused variable `count'. | ||
| 437 | |||
| 438 | * keyboard.c (wrong_kboard_jmpbuf): Remove global variable. | ||
| 439 | (read_char): Add wrong_kboard_jmpbuf parameter to allow for | ||
| 440 | recursive calls. Update longjmp invocations. Remember the | ||
| 441 | original current_kboard, and longjmp to `wrong_kboard_jmpbuf' when | ||
| 442 | a filter, timer or sentinel changes it. Comment out unnecessary | ||
| 443 | calls to `record_single_kboard_state' and `any_kboard_state'. | ||
| 444 | Update recursive calls. | ||
| 445 | (read_key_sequence): Add `wrong_kboard_jmpbuf' local variable. | ||
| 446 | Update setjmp and read_char calls. Abort if interrupted_kboard | ||
| 447 | died in read_char. | ||
| 448 | (any_kboard_state, single_kboard_state) | 524 | (any_kboard_state, single_kboard_state) |
| 449 | (record_single_kboard_state): Comment out obsolete functions. | ||
| 450 | (push_frame_kboard): Remove function. | 525 | (push_frame_kboard): Remove function. |
| 451 | (pop_kboard): Switch out of single_kboard mode if the | 526 | (pop_kboard): Switch out of single_kboard mode if the kboard has |
| 452 | kboard has been deleted. | 527 | been deleted. Remove unused variable. Help debugging by not |
| 453 | (temporarily_switch_to_single_kboard): Change first | 528 | changing current_kboard unnecessarily. Set current_kboard to the |
| 454 | parameter to a frame pointer. Throw an error when caller wants to | 529 | kboard of the selected frame when the stored kboard object has |
| 455 | change kboards while in single_kboard mode. | 530 | been deleted before pop_kboard. |
| 456 | (restore_kboard_configuration): Abort if pop_kboard changed | 531 | (temporarily_switch_to_single_kboard): Change first parameter to a |
| 457 | the kboard in single_kboard mode. | 532 | frame pointer. Throw an error when caller wants to change kboards |
| 458 | (Frecursive_edit): Switch to single_kboard mode only in | 533 | while in single_kboard mode. Don't push_kboard if we weren't in |
| 459 | nested command loops. | 534 | single kboard state. Don't pop_kboard if we popped into any |
| 460 | (cmd_error, command_loop, command_loop_1, timer_check): | 535 | kboard state. |
| 461 | Comment out unnecessary call to `any_kboard_state' and | 536 | (restore_kboard_configuration): Abort if pop_kboard changed the |
| 537 | kboard in single_kboard mode. Call pop_kboard only after setting | ||
| 538 | up single_kboard mode. | ||
| 539 | (Frecursive_edit): Switch to single_kboard mode only in nested | ||
| 540 | command loops. | ||
| 541 | (cmd_error, command_loop, command_loop_1, timer_check): Comment | ||
| 542 | out unnecessary call to `any_kboard_state' and | ||
| 462 | `record_single_kboard_state'. | 543 | `record_single_kboard_state'. |
| 463 | (delete_kboard): Exit single_kboard mode if we have just deleted | 544 | (delete_kboard): Exit single_kboard mode if we have just deleted |
| 464 | that kboard. | 545 | that kboard. Use FRAME_KBOARD. |
| 465 | (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not | 546 | (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not |
| 466 | `fatal_error_signal'. | 547 | `fatal_error_signal'. |
| 467 | 548 | (record_single_kboard_state): Don't push_kboard if we weren't in | |
| 468 | * keyboard.h (read_char, single_kboard_state) | 549 | single kboard state. Don't pop_kboard if we popped into any |
| 469 | (record_single_kboard_state): Remove. | 550 | kboard state. |
| 470 | (temporarily_switch_to_single_kboard): Update. | 551 | (push_frame_kboard): Rename to push_kboard. |
| 471 | 552 | (kbd_buffer_get_event): Use FRAME_TERMINAL. | |
| 472 | * termchar.h (tty_display_info): Rename `previous_terminal_frame' | 553 | (read_avail_input): Read input from all terminals. |
| 473 | member to `previous_frame'. | 554 | (mark_kboards): Also mark Vkeyboard_translate_table. |
| 474 | 555 | (kbd_buffer_store_event_hold): Simplify condition. | |
| 475 | * xdisp.c (redisplay_internal): Update references to | 556 | (read_key_sequence): Reinitialize fkey and keytran at each replay. |
| 476 | `previous_terminal_frame'. | 557 | (Vkeyboard_translate_table): Move to struct kboard. |
| 477 | (display_mode_line, Fformat_mode_line): Replace calls to | 558 | (init_kboard): Initialize Vkeyboard_translate_table. |
| 478 | `push_frame_kboard' with `push_kboard'. | 559 | (syms_of_keyboard): Use DEFVAR_KBOARD to define |
| 479 | 560 | Vkeyboard_translate_table. Update doc strings. Update docs of | |
| 480 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 561 | local-function-key-map and function-key-map. |
| 481 | |||
| 482 | * callproc.c (syms_of_callproc): Initialize | ||
| 483 | `Vlocal-environment-variables' to `Qt'. | ||
| 484 | |||
| 485 | * frame.c (Fframe_with_environment): Fix typo. | ||
| 486 | |||
| 487 | * keyboard.c (pop_kboard): Help debugging by not changing | ||
| 488 | current_kboard unnecessarily. | ||
| 489 | (temporarily_switch_to_single_kboard, record_single_kboard_state): | ||
| 490 | Don't push_kboard if we weren't in single kboard state. | ||
| 491 | Don't pop_kboard if we popped into any kboard state. | ||
| 492 | |||
| 493 | * xdisp.c (get_glyph_string_clip_rects): Add extra parentheses and | ||
| 494 | braces to prevent compiler warnings. | ||
| 495 | (calc_pixel_width_or_height): Add xassert to check that the | ||
| 496 | frame is alive. Don't call `lookup_image' on a termcap frame. | ||
| 497 | |||
| 498 | * xfns.c (Fx_close_connection, Fx_synchronize): Unify argument names | ||
| 499 | with the rest of the DEFUNs. | ||
| 500 | |||
| 501 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 502 | |||
| 503 | * termhooks.h (struct device): Rename to `terminal'. Rename member | ||
| 504 | `next_device' to `next_terminal'. | ||
| 505 | (device_list): Rename to `terminal_list'. | ||
| 506 | (FRAME_DEVICE): Rename to `FRAME_TERMINAL'. | ||
| 507 | (DEVICE_TERMINAL_CODING): Rename to `TERMINAL_TERMINAL_CODING'. | ||
| 508 | (TERMINAL_KEYBOARD_CODING): Rename to `TERMINAL_KEYBOARD_CODING'. | ||
| 509 | (DEVICE_ACTIVE_P): Rename to `TERMINAL_ACTIVE_P'. | ||
| 510 | Update declarations and macro definitions. | ||
| 511 | |||
| 512 | * termchar.h (tty_display_info): Rename member `device' to `terminal'. | ||
| 513 | |||
| 514 | * frame.h (frame): Rename `device' member to `terminal'. | ||
| 515 | (FRAME_KBOARD, FRAME_LIVE_P, Qdevice, Qdisplay_live_p): | ||
| 516 | Update for renames. | ||
| 517 | |||
| 518 | * lisp.h (set_process_environment): Rename to `set_global_environment'. | ||
| 519 | (device): Rename to `terminal'. | ||
| 520 | |||
| 521 | * dispextern.h: Update declarations and macro definitions. | ||
| 522 | |||
| 523 | * term.c (get_tty_device): Rename to `get_tty_terminal'. Update. | ||
| 524 | (Fdisplay_tty_type): Rename to `Ftty_type'. | ||
| 525 | (tty_set_terminal_modes, tty_reset_terminal_modes) | ||
| 526 | (Ftty_display_color_p, Ftty_display_color_cells) | ||
| 527 | (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) | ||
| 528 | (init_tty, maybe_fatal, syms_of_term): Update for rename. | ||
| 529 | |||
| 530 | * frame.c (Qdevice): Rename to `Qterminal'. | ||
| 531 | (Qdisplay_live_p): Rename to `Qterminal_live_p'. | ||
| 532 | (terminal_frame_count): Rename to `tty_frame_count'. | ||
| 533 | (make_frame_without_minibuffer, make_initial_frame) | ||
| 534 | (make_terminal_frame, Fmodify_frame_parameters) | ||
| 535 | (do_switch_frame, Fdelete_frame, Fmouse_position) | ||
| 536 | (Fmouse_pixel_position, Fraise_frame, Flower_frame) | ||
| 537 | (Fredirect_frame_focus, set_term_frame_name, syms_of_frame): | ||
| 538 | Update for renames. | ||
| 539 | |||
| 540 | * xdisp.c (message2_nolog, message3_nolog, redisplay_internal) | ||
| 541 | (set_vertical_scroll_bar, redisplay_window, check_x_display_info) | ||
| 542 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background) | ||
| 543 | (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) | ||
| 544 | (Fx_display_pixel_width, Fx_display_pixel_height) | ||
| 545 | (Fx_display_planes, Fx_display_color_cells) | ||
| 546 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) | ||
| 547 | (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) | ||
| 548 | (Fx_display_backing_store, Fx_display_visual_class) | ||
| 549 | (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): | ||
| 550 | Update for renames. | ||
| 551 | |||
| 552 | * xterm.c (handle_one_xevent): Initialize `f' to NULL. | ||
| 553 | (x_delete_device): Rename to `x_delete_terminal'. | ||
| 554 | (x_create_device): Rename to `x_create_terminal'. | ||
| 555 | (XTset_terminal_modes, XTreset_terminal_modes) | ||
| 556 | (XTread_socket, x_connection_closed, x_term_init) | ||
| 557 | (x_term_init, x_delete_display): Update for renames. | ||
| 558 | |||
| 559 | * dispnew.c (Fredraw_frame, Fsend_string_to_terminal) | ||
| 560 | (Fsend_string_to_terminal, init_display): Update for renames. | ||
| 561 | |||
| 562 | * keyboard.c (push_frame_kboard, pop_kboard, pop_kboard) | ||
| 563 | (kbd_buffer_get_event, read_avail_input, tty_read_avail_input) | ||
| 564 | (interrupt_signal, delete_kboard, syms_of_keyboard): Update for | ||
| 565 | renames. | ||
| 566 | |||
| 567 | * coding.c (Fset_terminal_coding_system_internal) | ||
| 568 | (Fterminal_coding_system4) | ||
| 569 | (Fset_keyboard_coding_system_internal) | ||
| 570 | (Fkeyboard_coding_system): Update for renames. | ||
| 571 | |||
| 572 | * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. | ||
| 573 | |||
| 574 | * xselect.c (x_handle_selection_clear): Update for renames. | ||
| 575 | |||
| 576 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 577 | |||
| 578 | * callproc.c (child_setup, getenv_internal, Fgetenv_internal): | ||
| 579 | Store the local environment in a frame (not terminal) parameter. | ||
| 580 | Update doc strings. | ||
| 581 | (syms_of_callproc): Update doc strings. | ||
| 582 | (Qenvironment): Move to frame.c. | ||
| 583 | |||
| 584 | * frame.c (Qenvironment): Move here from callproc.c. | ||
| 585 | (Fdelete_frame): Don't allow other frames to refer to a deleted frame | ||
| 586 | in their 'environment parameter. | ||
| 587 | (Fframe_with_environment): New function. | ||
| 588 | (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. | ||
| 589 | |||
| 590 | * frame.h (Qenvironment): Declare. | ||
| 591 | |||
| 592 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 593 | |||
| 594 | * callproc.c (Vglobal_environment): New variable, taking over the | ||
| 595 | previous role of `Vprocess_environment', which is now something else. | ||
| 596 | (add_env): New function. | ||
| 597 | (child_setup): Use it. | ||
| 598 | (child_setup, getenv_internal): Rename Vprocess_environment to | ||
| 599 | Vglobal_environment. Handle the new Vprocess_environment. | ||
| 600 | (getenv_internal): Fix get_terminal_param call. | ||
| 601 | (Fgetenv_internal, egetenv): Update doc. | ||
| 602 | (set_process_environment): Rename to `set_global_environment'. Rename | ||
| 603 | Vprocess_environment to Vglobal_environment. | ||
| 604 | (syms_of_callproc): Rename process-environment to global-environment, | ||
| 605 | add new process-environment, update docs. Initialize | ||
| 606 | Vprocess_environment to nil. | ||
| 607 | |||
| 608 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 609 | |||
| 610 | * callproc.c: Include frame.h and termhooks.h, for terminal parameters. | ||
| 611 | (Qenvironment): New constant. | ||
| 612 | (Vlocal_environment_variables): New variable. | ||
| 613 | (syms_of_callproc): Register and initialize them. | ||
| 614 | (child_setup): Handle Vlocal_environment_variables. | ||
| 615 | (getenv_internal): Add terminal parameter. Handle | ||
| 616 | Vlocal_environment_variables. | ||
| 617 | (Fgetenv_internal): Add terminal parameter. | ||
| 618 | |||
| 619 | * termhooks.h (get_terminal_param): Declare. | ||
| 620 | (get_device): New declaration. | ||
| 621 | |||
| 622 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 623 | 562 | ||
| 624 | * terminal.c: New file. | 563 | * terminal.c: New file. |
| 625 | 564 | ||
| 626 | * term.c (Vring_bell_function, device_list, initial_device) | 565 | * term.c: Include errno.h. |
| 566 | (Vring_bell_function, device_list, initial_device) | ||
| 627 | (next_device_id, ring_bell, update_begin, update_end) | 567 | (next_device_id, ring_bell, update_begin, update_end) |
| 628 | (set_terminal_window, cursor_to, raw_cursor_to) | 568 | (set_terminal_window, cursor_to, raw_cursor_to) |
| 629 | (clear_to_end, clear_frame, clear_end_of_line) | 569 | (clear_to_end, clear_frame, clear_end_of_line) |
| 630 | (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) | 570 | (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) |
| 631 | (Fdisplay_name, create_device, delete_device): Move to terminal.c. | 571 | (Fdisplay_name, create_device, delete_device): Move to terminal.c. |
| 632 | (syms_of_term): Move their initialization to terminal.c. | 572 | (syms_of_term): Move their initialization to terminal.c. |
| 633 | 573 | (get_tty_terminal, Fdisplay_tty_type, Ftty_display_color_p) | |
| 634 | * dispextern.h (set_scroll_region, turn_off_insert) | 574 | (Ftty_display_color_cells) |
| 635 | (turn_off_highlight, background_highlight, clear_end_of_line_raw) | 575 | (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) |
| 636 | (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove. | 576 | (init_tty, maybe_fatal): New functions. |
| 637 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) | 577 | (Ftty_type): Return nil if terminal is not on a tty instead of |
| 638 | (tty_turn_off_highlight): Add declaration. | 578 | throwing an error. Doc update. |
| 639 | 579 | (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: | |
| 640 | * frame.c (get_future_frame_param): New function. | 580 | Doc update. Initialize new subrs and variables. |
| 641 | (Fmake_terminal_frame): Use it. | 581 | (delete_tty): Use terminal->deleted. |
| 642 | 582 | (tty_set_terminal_modes): Rename from set_terminal_modes. | |
| 643 | * keyboard.c (pop_kboard): Remove unused variable. | 583 | (tty_reset_terminal_modes): Rename from reset_terminal_modes. |
| 644 | 584 | (set_scroll_region): Rename to `tty_set_scroll_region'. | |
| 645 | * sysdep.c (reset_sys_modes): Update for renames. | ||
| 646 | |||
| 647 | * term.c (set_scroll_region): Rename to `tty_set_scroll_region'. | ||
| 648 | (turn_on_insert): Rename to `tty_turn_on_insert'. | 585 | (turn_on_insert): Rename to `tty_turn_on_insert'. |
| 649 | (turn_off_insert): Rename to `tty_turn_off_insert'. | 586 | (turn_off_insert): Rename to `tty_turn_off_insert'. |
| 650 | (turn_off_highlight): Rename to `tty_turn_off_highlight'. | 587 | (turn_off_highlight): Rename to `tty_turn_off_highlight'. |
| @@ -667,56 +604,28 @@ | |||
| 667 | (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for | 604 | (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for |
| 668 | renames. | 605 | renames. |
| 669 | 606 | ||
| 670 | * termhooks.h (param_alist): New member to struct device. | 607 | ;; Local Variables: |
| 671 | 608 | ;; coding: iso-2022-7bit | |
| 672 | * xterm.h (x_delete_device): Declare. | 609 | ;; add-log-time-zone-rule: t |
| 673 | 610 | ;; End: | |
| 674 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 675 | |||
| 676 | * keyboard.c (Fset_input_interrupt_mode) | ||
| 677 | (Fset_output_flow_control): New functions. | ||
| 678 | (syms_of_keyboard): Defsubr them. | ||
| 679 | (Fset_input_meta_mode, Fset_quit_char): New functions. | ||
| 680 | (Fset_input_mode): Split to above functions. | ||
| 681 | 611 | ||
| 682 | * xterm.c (x_initialize): Use Fset_input_interrupt_mode. | 612 | Copyright (C) 2007 Free Software Foundation, Inc. |
| 683 | 613 | ||
| 684 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 614 | This file is part of GNU Emacs. |
| 685 | 615 | ||
| 686 | * coding.c (Fkeyboard_coding_system): Update doc. | 616 | GNU Emacs is free software; you can redistribute it and/or modify |
| 617 | it under the terms of the GNU General Public License as published by | ||
| 618 | the Free Software Foundation; either version 2, or (at your option) | ||
| 619 | any later version. | ||
| 687 | 620 | ||
| 688 | * dispnew.c (window_change_signal): Don't believe width/height values | 621 | GNU Emacs is distributed in the hope that it will be useful, |
| 689 | that are impossibly small. | 622 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 623 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 624 | GNU General Public License for more details. | ||
| 690 | 625 | ||
| 691 | * keyboard.c (mark_kboards): Also mark Vkeyboard_translate_table. | 626 | You should have received a copy of the GNU General Public License |
| 692 | (kbd_buffer_store_event_hold): Simplify condition. | 627 | along with GNU Emacs; see the file COPYING. If not, write to the |
| 693 | (read_key_sequence): Reinitialize fkey and keytran at each replay. | 628 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 694 | 629 | Boston, MA 02110-1301, USA. | |
| 695 | * term.c (suspend-tty): Update doc string. | ||
| 696 | |||
| 697 | * xterm.c (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create | ||
| 698 | secondary X connections. | ||
| 699 | |||
| 700 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 701 | |||
| 702 | * keyboard.c (Vkeyboard_translate_table) | ||
| 703 | * keyboard.h (Vkeyboard_translate_table): Move to struct kboard. | ||
| 704 | |||
| 705 | * keyboard.c (read_char): Use current_kboard to access | ||
| 706 | Vkeyboard_translate_table. | ||
| 707 | |||
| 708 | * keyboard.c (init_kboard): Initialize Vkeyboard_translate_table. | ||
| 709 | (syms_of_keyboard): Use DEFVAR_KBOARD to define | ||
| 710 | Vkeyboard_translate_table. Update doc strings. | ||
| 711 | |||
| 712 | 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | ||
| 713 | |||
| 714 | * keyboard.c (syms_of_keyboard): Update docs of | ||
| 715 | local-function-key-map and function-key-map. | ||
| 716 | (pop_kboard): Set current_kboard to the kboard of the | ||
| 717 | selected frame when the stored kboard object has been deleted before | ||
| 718 | pop_kboard. | ||
| 719 | (restore_kboard_configuration): Call pop_kboard only after setting up | ||
| 720 | single_kboard mode. | ||
| 721 | 630 | ||
| 722 | ;; arch-tag: 4015a0e0-033e-11dc-807c-00114368b55b | 631 | ;;; arch-tag: 4015a0e0-033e-11dc-807c-00114368b55b |