Mercurial > emacs
comparison src/ChangeLog.multi-tty @ 83715:6fc3e91581c3
More crunching.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 29 Aug 2007 04:01:43 +0000 |
parents | 61e72c4e451e |
children |
comparison
equal
deleted
inserted
replaced
83714:c8a29e0fe869 | 83715:6fc3e91581c3 |
---|---|
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 |
8 display-environment-variable and term-environment-variable frame | 4 display-environment-variable and term-environment-variable frame |
9 params. | 5 params. |
140 | 136 |
141 * term.c (tty_insert_glyphs): Add missing first parameter. | 137 * term.c (tty_insert_glyphs): Add missing first parameter. |
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. |
148 (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). | 147 (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). |
149 (cmgoto): Add tty parameter. Pass it on to calccost(). Use | 148 (cmgoto): Add tty parameter. Pass it on to calccost(). Use |
307 | 306 |
308 * data.c (do_symval_forwarding, store_symval_forwarding) | 307 * data.c (do_symval_forwarding, store_symval_forwarding) |
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. |
329 | 317 (mouse_position_for_popup, Fx_popup_menu) |
330 * xterm.c (x_fully_uncatch_errors): Disable definition. | 318 (Fx_popup_dialog, x_activate_menubar, update_frame_menubar) |
331 (x_scroll_bar_expose): Fix reference to foreground pixel. | 319 (set_frame_menubar, free_frame_menubar) |
332 | 320 (create_and_show_popup_menu, xmenu_show, ) |
333 * xterm.h: Remove declaration for x_fully_uncatch_errors. | 321 (create_and_show_dialog, xdialog_show, xmenu_show): Abort if not |
334 | 322 an X frame. |
335 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 323 |
336 | 324 * xselect.c (x_own_selection): Abort if not an X frame. |
337 * frame.c (make_terminal_frame) | 325 (some_frame_on_display): Check if it is an X frame. |
338 * xfns.c (Fx_create_frame, x_create_tip_frame): Don't create | 326 (x_handle_selection_clear): Deal with MULTI_KBOARD. |
339 frames on a terminal that is being deleted. | 327 |
340 | 328 * coding.c: Include frame.h and termhooks.h. |
341 * keyboard.c (tty_read_avail_input): Don't read from a terminal that | 329 (terminal_coding,keyboard_coding): Delete. |
342 is being deleted. | 330 (Fset_terminal_coding_system_internal): |
343 | 331 (Fset_keyboard_coding_system_internal): |
344 * term.c (Ftty_type): Return nil if terminal is not on a tty instead | 332 (Fkeyboard_coding_system): |
345 of throwing an error. Doc update. | 333 (Fterminal_coding_system): Add a terminal parameter. Get |
346 (init_tty): Set name before calling `get_named_tty'. | 334 terminal_coding from the terminal. |
347 (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: | 335 (init_coding_once): Don't call setup_coding_system here. |
348 Doc update. | 336 |
349 | 337 * dispextern.h (set_scroll_region, turn_off_insert) |
350 * termhooks.h (terminal) <name>: Explain why identifying terminals | 338 (turn_off_highlight, background_highlight, clear_end_of_line_raw) |
351 by name is a bad idea. | 339 (tty_clear_end_of_line, tty_setup_colors) |
352 | 340 (delete_tty,updating_frame) |
353 * xterm.c (XTread_socket): Disable loop on all X displays. | 341 (produce_special_glyphs, produce_glyphs, write_glyphs) |
354 (x_delete_terminal): Don't set terminal->deleted and let | 342 (insert_glyphs): Remove. |
355 delete_terminal delete the frames on the terminal. | 343 (raw_cursor_to, clear_to_end, tty_turn_off_insert) |
356 (x_delete_display): Doc update to reflect changes in | 344 (tty_turn_off_highlight,get_tty_size): Add declaration. |
357 delete_terminal. | 345 (tabs_safe_p, init_baud_rate, get_tty_terminal): Update |
358 (x_display_info) <terminal>: Move member earlier in the struct. | 346 prototypes. |
359 | 347 |
360 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 348 * frame.h (enum output_method): Add output_initial. |
361 | 349 (struct x_output): Delete. |
362 * termhooks.h (terminal) <deleted>: New member. | 350 (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Access |
363 * term.c (delete_tty): Use it. | 351 foreground_pixel and background_pixel directly from the frame. |
364 * xterm.c (x_delete_terminal): Use terminal->deleted. Delete all | 352 (tty_display): Delete. |
365 frames on the display explicitly. | 353 (struct frame): Add buried_buffer_list, foreground_pixel, |
366 | 354 background_pixel and terminal. Delete kboard |
367 (deleting_tty): Remove old variable. | 355 (union output_data): Add tty. |
368 (Fsuspend_tty): Call clear_tty_hooks. | 356 (FRAME_KBOARD): Get the kboard from the terminal. |
369 (Fresume_tty, init_tty): Call set_tty_hooks. | 357 (FRAME_INITIAL_P): New macro. |
370 (clear_tty_hooks, set_tty_hooks): New functions. | 358 (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) |
371 (Ftty_display_color_p, Ftty_display_color_cells): Don't throw | 359 (Qterm_environment_variable, Qdisplay_environment_variable) |
372 errors on X frames. | 360 (make_terminal_frame, Qburied_buffer_list, Qwindow_system): New |
373 | 361 declarations. |
374 * term.c (get_tty_terminal): Add throw parameter. | 362 |
375 (Fsuspend_tty, Fresume_tty): Update call to `get_tty_terminal'. | 363 * termchar.h (tty_output, tty_display_info): New structures. |
376 * dispnew.c (Fsend_string_to_terminal): Update call to | 364 (tty_list): Declare. |
377 `get_tty_terminal'. | 365 (FRAME_TTY, CURTTY): New macros. |
378 * dispextern.h (get_tty_terminal): Update prototype. | 366 (must_write_spaces, min_padding_speed, fast_clear_end_of_line) |
379 | 367 (line_ins_del_ok, char_ins_del_ok, scroll_region_ok) |
380 * xfaces.c (realize_default_face): Don't use FRAME_FONT unless frame | 368 (scroll_region_cost, memory_below_frame, fast_clear_end_of_line) |
381 is an X frame. | 369 (dont_calculate_costs, no_redraw_on_reenter): Remove declarations. |
382 | 370 |
383 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 371 * callproc.c: Include frame.h and termhooks.h, for terminal |
384 | 372 parameters. |
385 * frame.c (make_terminal_frame) | 373 (add_env): New function. |
386 * xfns.c (x_set_foreground_color x_set_background_color) | 374 (child_setup): Use it. |
387 (x_set_mouse_color, x_set_cursor_color, x_make_gc) | 375 (child_setup, getenv_internal): Handle the new |
388 (Fx_create_frame, x_create_tip_frame, build_string, x_window) | 376 Vprocess_environment. |
389 * xterm.c (XTflash, x_free_frame_resources, x_scroll_bar_create) | 377 (getenv_internal): Fix get_terminal_param call. |
390 (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and | 378 (Fgetenv_internal, egetenv): Update doc. |
391 FRAME_FOREGROUND_PIXEL. | 379 (syms_of_callproc): Initialize Vprocess_environment to nil. |
392 | 380 Register and initialize them. Remove obsolete defvars. Update doc |
393 * xterm.h (x_output): Remove background_pixel and foreground_pixel | 381 strings. |
394 fields. | 382 (child_setup): Handle Vlocal_environment_variables. |
395 | 383 (getenv_internal): Add terminal parameter. Handle |
396 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 384 Vlocal_environment_variables. |
397 | 385 (Fgetenv_internal): Add terminal parameter. |
398 * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of | 386 (child_setup, getenv_internal, Fgetenv_internal): Store the local |
399 Vwindow_system. | 387 environment in a frame (not terminal) parameter. Update doc |
400 | 388 strings. |
401 * frame.c (store_frame_param): Check for found_for_frame before | 389 (set_initial_environment): Rename from set_global_environment. |
402 calling XFRAME. | 390 Store Emacs environment in initial frame parameter. |
403 (Fmake_terminal_frame): Handle NULL tty names correctly. | |
404 (syms_of_frame): Enhance doc string of `default-frame-alist'. | |
405 | |
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 | |
410 parameter. Use it in call to `read_char'. | |
411 (Fset_quit_char): Don't leave tty state uninitialized after an error. | |
412 (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. | |
413 | |
414 * term.c: Include errno.h. | |
415 (Fresume_tty): Handle errors on reopening ttys. Don't dissociate | |
416 if terminal was explicitly opened on the controlling terminal. | |
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) | |
449 (record_single_kboard_state): Comment out obsolete functions. | |
450 (push_frame_kboard): Remove function. | |
451 (pop_kboard): Switch out of single_kboard mode if the | |
452 kboard has been deleted. | |
453 (temporarily_switch_to_single_kboard): Change first | |
454 parameter to a frame pointer. Throw an error when caller wants to | |
455 change kboards while in single_kboard mode. | |
456 (restore_kboard_configuration): Abort if pop_kboard changed | |
457 the kboard in single_kboard mode. | |
458 (Frecursive_edit): Switch to single_kboard mode only in | |
459 nested command loops. | |
460 (cmd_error, command_loop, command_loop_1, timer_check): | |
461 Comment out unnecessary call to `any_kboard_state' and | |
462 `record_single_kboard_state'. | |
463 (delete_kboard): Exit single_kboard mode if we have just deleted | |
464 that kboard. | |
465 (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not | |
466 `fatal_error_signal'. | |
467 | |
468 * keyboard.h (read_char, single_kboard_state) | |
469 (record_single_kboard_state): Remove. | |
470 (temporarily_switch_to_single_kboard): Update. | |
471 | |
472 * termchar.h (tty_display_info): Rename `previous_terminal_frame' | |
473 member to `previous_frame'. | |
474 | 391 |
475 * xdisp.c (redisplay_internal): Update references to | 392 * xdisp.c (redisplay_internal): Update references to |
476 `previous_terminal_frame'. | 393 `previous_terminal_frame'. |
477 (display_mode_line, Fformat_mode_line): Replace calls to | 394 (display_mode_line, Fformat_mode_line): Replace calls to |
478 `push_frame_kboard' with `push_kboard'. | 395 `push_frame_kboard' with `push_kboard'. |
479 | 396 (get_glyph_string_clip_rects): Add extra parentheses and |
480 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | |
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. | 397 braces to prevent compiler warnings. |
495 (calc_pixel_width_or_height): Add xassert to check that the | 398 (calc_pixel_width_or_height): Add xassert to check that the |
496 frame is alive. Don't call `lookup_image' on a termcap frame. | 399 frame is alive. Don't call `lookup_image' on a termcap frame. |
497 | 400 (message2_nolog, message3_nolog, redisplay_internal) |
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) | 401 (set_vertical_scroll_bar, redisplay_window, check_x_display_info) |
542 (x_set_scroll_bar_foreground, x_set_scroll_bar_background) | 402 (x_set_scroll_bar_foreground, x_set_scroll_bar_background) |
543 (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) | 403 (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) |
544 (Fx_display_pixel_width, Fx_display_pixel_height) | 404 (Fx_display_pixel_width, Fx_display_pixel_height) |
545 (Fx_display_planes, Fx_display_color_cells) | 405 (Fx_display_planes, Fx_display_color_cells) |
546 (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) | 406 (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) |
547 (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) | 407 (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) |
548 (Fx_display_backing_store, Fx_display_visual_class) | 408 (Fx_display_backing_store, Fx_display_visual_class) |
549 (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): | 409 (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): |
550 Update for renames. | 410 Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. |
551 | 411 |
552 * xterm.c (handle_one_xevent): Initialize `f' to NULL. | 412 * xfns.c (x_set_foreground_color x_set_background_color) |
553 (x_delete_device): Rename to `x_delete_terminal'. | 413 (x_set_mouse_color, x_set_cursor_color, x_make_gc): Use |
554 (x_create_device): Rename to `x_create_terminal'. | 414 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
415 (Fx_create_frame, x_create_tip_frame, build_string, x_window) | |
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. | |
423 | |
424 * dispnew.c (Fsend_string_to_terminal): Update call to | |
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. | |
442 | |
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. | |
450 (x_delete_terminal): Don't set terminal->deleted and let | |
451 delete_terminal delete the frames on the terminal. | |
452 (x_delete_display): Doc update to reflect changes in | |
453 delete_terminal. | |
454 (x_display_info) <terminal>: Move member earlier in the struct. | |
455 (x_delete_terminal): Use terminal->deleted. Delete all frames on | |
456 the display explicitly. | |
457 (deleting_tty): Remove old variable. | |
458 (Fsuspend_tty): Call clear_tty_hooks. | |
459 (Fresume_tty, init_tty): Call set_tty_hooks. | |
460 (clear_tty_hooks, set_tty_hooks): New functions. | |
461 (Ftty_display_color_p, Ftty_display_color_cells): Don't throw | |
462 errors on X frames. | |
463 (x_catch_errors_unwind): Abort if x_error_message is NULL. | |
464 (handle_one_xevent): Initialize `f' to NULL. | |
465 (x_delete_device, x_create_device): New functions. | |
555 (XTset_terminal_modes, XTreset_terminal_modes) | 466 (XTset_terminal_modes, XTreset_terminal_modes) |
556 (XTread_socket, x_connection_closed, x_term_init) | 467 (XTread_socket, x_connection_closed, x_term_init) |
557 (x_term_init, x_delete_display): Update for renames. | 468 (x_term_init, x_delete_display): Add terminal parameter. |
558 | 469 (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary |
559 * dispnew.c (Fredraw_frame, Fsend_string_to_terminal) | 470 X connections. |
560 (Fsend_string_to_terminal, init_display): Update for renames. | 471 |
561 | 472 * frame.c (Fframep): Deal with output_initial. |
562 * keyboard.c (push_frame_kboard, pop_kboard, pop_kboard) | 473 (Qbuffer_predicate, Qbuffer_list, Qburied_buffer_list, Qtty) |
563 (kbd_buffer_get_event, read_avail_input, tty_read_avail_input) | 474 (Qtty_type, Qwindow_system, Qenvironment) |
564 (interrupt_signal, delete_kboard, syms_of_keyboard): Update for | 475 (Qterm_environment_variable, Qdisplay_environment_variable): New |
565 renames. | 476 variables. |
566 | 477 (x_set_screen_gamma, store_frame_param): Fix compilation errors. |
567 * coding.c (Fset_terminal_coding_system_internal) | 478 (make_terminal_frame): Don't create frames on a terminal that is |
568 (Fterminal_coding_system4) | 479 being deleted. |
569 (Fset_keyboard_coding_system_internal) | 480 (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and |
570 (Fkeyboard_coding_system): Update for renames. | 481 FRAME_FOREGROUND_PIXEL. |
482 (store_frame_param): Check for found_for_frame before calling | |
483 XFRAME. | |
484 (Fmake_terminal_frame): Handle NULL tty names correctly. | |
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. | |
571 | 495 |
572 * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. | 496 * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. |
573 | 497 * sysdep.c (reset_sys_modes): Update for renames. |
574 * xselect.c (x_handle_selection_clear): Update for renames. | 498 |
575 | 499 * keyboard.c (tty_read_avail_input): New function. |
576 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 500 (Fset_input_interrupt_mode,Fset_output_flow_control): New |
577 | 501 functions. |
578 * callproc.c (child_setup, getenv_internal, Fgetenv_internal): | 502 (syms_of_keyboard): Defsubr them. |
579 Store the local environment in a frame (not terminal) parameter. | 503 (Fset_input_meta_mode, Fset_quit_char): New functions. |
580 Update doc strings. | 504 (Fset_input_mode): Split to above functions. |
581 (syms_of_callproc): Update doc strings. | 505 |
582 (Qenvironment): Move to frame.c. | 506 (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf |
583 | 507 parameter. Use it in call to `read_char'. |
584 * frame.c (Qenvironment): Move here from callproc.c. | 508 (read_char): Declare. Update call to |
585 (Fdelete_frame): Don't allow other frames to refer to a deleted frame | 509 `read_char_minibuf_menu_prompt'. Set wrong_kboard_jmpbuf |
586 in their 'environment parameter. | 510 correctly in recursive calls. Use current_kboard to access |
587 (Fframe_with_environment): New function. | 511 Vkeyboard_translate_table. Enhance comment before extra longjmp |
588 (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. | 512 to wrong_kboard_jmpbuf. Add wrong_kboard_jmpbuf parameter to |
589 | 513 allow for recursive calls. Update longjmp invocations. Remember |
590 * frame.h (Qenvironment): Declare. | 514 the original current_kboard, and longjmp to `wrong_kboard_jmpbuf' |
591 | 515 when a filter, timer or sentinel changes it. Comment out |
592 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 516 unnecessary calls to `record_single_kboard_state' and |
593 | 517 `any_kboard_state'. Update recursive calls. |
594 * callproc.c (Vglobal_environment): New variable, taking over the | 518 (wrong_kboard_jmpbuf): Remove global variable. |
595 previous role of `Vprocess_environment', which is now something else. | 519 (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. |
596 (add_env): New function. | 520 Handle deleted interrupted_kboards correctly; that is a legal |
597 (child_setup): Use it. | 521 case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp |
598 (child_setup, getenv_internal): Rename Vprocess_environment to | 522 and read_char calls. Abort if interrupted_kboard died in |
599 Vglobal_environment. Handle the new Vprocess_environment. | 523 read_char. |
600 (getenv_internal): Fix get_terminal_param call. | 524 (any_kboard_state, single_kboard_state) |
601 (Fgetenv_internal, egetenv): Update doc. | 525 (push_frame_kboard): Remove function. |
602 (set_process_environment): Rename to `set_global_environment'. Rename | 526 (pop_kboard): Switch out of single_kboard mode if the kboard has |
603 Vprocess_environment to Vglobal_environment. | 527 been deleted. Remove unused variable. Help debugging by not |
604 (syms_of_callproc): Rename process-environment to global-environment, | 528 changing current_kboard unnecessarily. Set current_kboard to the |
605 add new process-environment, update docs. Initialize | 529 kboard of the selected frame when the stored kboard object has |
606 Vprocess_environment to nil. | 530 been deleted before pop_kboard. |
607 | 531 (temporarily_switch_to_single_kboard): Change first parameter to a |
608 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 532 frame pointer. Throw an error when caller wants to change kboards |
609 | 533 while in single_kboard mode. Don't push_kboard if we weren't in |
610 * callproc.c: Include frame.h and termhooks.h, for terminal parameters. | 534 single kboard state. Don't pop_kboard if we popped into any |
611 (Qenvironment): New constant. | 535 kboard state. |
612 (Vlocal_environment_variables): New variable. | 536 (restore_kboard_configuration): Abort if pop_kboard changed the |
613 (syms_of_callproc): Register and initialize them. | 537 kboard in single_kboard mode. Call pop_kboard only after setting |
614 (child_setup): Handle Vlocal_environment_variables. | 538 up single_kboard mode. |
615 (getenv_internal): Add terminal parameter. Handle | 539 (Frecursive_edit): Switch to single_kboard mode only in nested |
616 Vlocal_environment_variables. | 540 command loops. |
617 (Fgetenv_internal): Add terminal parameter. | 541 (cmd_error, command_loop, command_loop_1, timer_check): Comment |
618 | 542 out unnecessary call to `any_kboard_state' and |
619 * termhooks.h (get_terminal_param): Declare. | 543 `record_single_kboard_state'. |
620 (get_device): New declaration. | 544 (delete_kboard): Exit single_kboard mode if we have just deleted |
621 | 545 that kboard. Use FRAME_KBOARD. |
622 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 546 (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not |
547 `fatal_error_signal'. | |
548 (record_single_kboard_state): Don't push_kboard if we weren't in | |
549 single kboard state. Don't pop_kboard if we popped into any | |
550 kboard state. | |
551 (push_frame_kboard): Rename to push_kboard. | |
552 (kbd_buffer_get_event): Use FRAME_TERMINAL. | |
553 (read_avail_input): Read input from all terminals. | |
554 (mark_kboards): Also mark Vkeyboard_translate_table. | |
555 (kbd_buffer_store_event_hold): Simplify condition. | |
556 (read_key_sequence): Reinitialize fkey and keytran at each replay. | |
557 (Vkeyboard_translate_table): Move to struct kboard. | |
558 (init_kboard): Initialize Vkeyboard_translate_table. | |
559 (syms_of_keyboard): Use DEFVAR_KBOARD to define | |
560 Vkeyboard_translate_table. Update doc strings. Update docs of | |
561 local-function-key-map and function-key-map. | |
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'. |
651 (turn_on_highlight): Rename to `tty_turn_on_highlight'. | 588 (turn_on_highlight): Rename to `tty_turn_on_highlight'. |
652 (toggle_highligh): Rename to `tty_toggle_highlight'. | 589 (toggle_highligh): Rename to `tty_toggle_highlight'. |
665 (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) | 602 (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) |
666 (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) | 603 (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) |
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> | 611 |
675 | 612 Copyright (C) 2007 Free Software Foundation, Inc. |
676 * keyboard.c (Fset_input_interrupt_mode) | 613 |
677 (Fset_output_flow_control): New functions. | 614 This file is part of GNU Emacs. |
678 (syms_of_keyboard): Defsubr them. | 615 |
679 (Fset_input_meta_mode, Fset_quit_char): New functions. | 616 GNU Emacs is free software; you can redistribute it and/or modify |
680 (Fset_input_mode): Split to above functions. | 617 it under the terms of the GNU General Public License as published by |
681 | 618 the Free Software Foundation; either version 2, or (at your option) |
682 * xterm.c (x_initialize): Use Fset_input_interrupt_mode. | 619 any later version. |
683 | 620 |
684 0000-00-00 Karoly Lorentey <lorentey@elte.hu> | 621 GNU Emacs is distributed in the hope that it will be useful, |
685 | 622 but WITHOUT ANY WARRANTY; without even the implied warranty of |
686 * coding.c (Fkeyboard_coding_system): Update doc. | 623 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
687 | 624 GNU General Public License for more details. |
688 * dispnew.c (window_change_signal): Don't believe width/height values | 625 |
689 that are impossibly small. | 626 You should have received a copy of the GNU General Public License |
690 | 627 along with GNU Emacs; see the file COPYING. If not, write to the |
691 * keyboard.c (mark_kboards): Also mark Vkeyboard_translate_table. | 628 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
692 (kbd_buffer_store_event_hold): Simplify condition. | 629 Boston, MA 02110-1301, USA. |
693 (read_key_sequence): Reinitialize fkey and keytran at each replay. | 630 |
694 | 631 ;;; arch-tag: 4015a0e0-033e-11dc-807c-00114368b55b |
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 | |
722 ;; arch-tag: 4015a0e0-033e-11dc-807c-00114368b55b |