1. 11 Mar, 2004 1 commit
    • Karoly Lorentey's avatar
      Fix background-mode on terminal frames (Dan Nicolaescu). · 2666355c
      Karoly Lorentey authored
      lisp/faces.el (frame-set-background-mode): Guess the background mode
      on terminal frames from the termcap type string.
      (tty-create-frame-with-faces): Switch to the new frame during its setup.
      Load the customization library corresponding to the terminal type of the
      newly created frame.  (Reported by Dan Nicolaescu <dann at ics dot uci dot edu>.)
      
      lisp/startup.el (normal-top-level): Moved background-mode heuristic to
      frame-set-background-mode.
      
      src/dispnew.c (init_display): Update the tty-type frame parameter of
      the initial terminal frame.
      
      src/frame.h (Qtty, Qtty_type): New externs.
      
      src/term.c (term_init): Update comments.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-114
      2666355c
  2. 28 Feb, 2004 1 commit
    • Karoly Lorentey's avatar
      Implemented suspending of emacsclient frames. · 0b0d3e0b
      Karoly Lorentey authored
      lib-src/emacsclient.c (quote_file_name): Renamed to quote_argument.
      (unquote_argument, handle_sigcont, handle_sigtstp): New functions.
      (out, in): New global variables for communicating with the Emacs process.
      (init_signals): Set up handlers for SIGCONT, SIGTSTP and SIGTTOU.
      (main): Changed out and in to global variables.  Prepend `-eval' or
      '-file' to each argument.  Use fsync to force sending the strings to Emacs.
      Removed obsolete -bad-version code.  Support the -suspend command.
      Cleaned up newline handling.
      
      lisp/frame.el (suspend-frame): New function.
      Substitute key definition of suspend-emacs with suspend-frame.
      
      lisp/server.el (server-log): Cosmetic change in log format.
      (server-handle-delete-tty, server-handle-delete-frame): Added logging.
      (server-handle-suspend-tty, server-quote-arg): New functions.
      (server-start): Install server-handle-suspend-tty.
      (server-process-filter): Reorganized source code for clarity.
      Implemented -resume, -suspend and -ignore commands.
      
      lisp/term/x-win.el (x-initialize-window-system): Don't change the
      binding of C-z.
      
      src/cm.c: Replaced TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT calls with
      their macro expansion.
      src/dispnew.c: Ditto.
      src/frame.c: Ditto.
      src/keyboard.c: Ditto.
      src/sysdep.c: Ditto.
      
      src/keyboard.c (tty_read_avail_input): Don't read if the terminal is
      suspended.
      src/sysdep.c (discard_tty_input, init_sys_modes, reset_sys_modes): Ditto.
      src/term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Ditto.
      
      src/term.c (Vsuspend_tty_functions, Vresume_tty_functions): New hooks.
      (syms_of_term): Defvar them.
      (term_init): Don't allow opening a new frame on a suspended tty device.
      (Fsuspend_tty, Fresume_tty): New functions.
      (syms_of_term): Defsubr them.
      
      src/termchar.c (struct tty_display_info): Update documentation of
      input and output.
      (TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT): Removed.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-105
      0b0d3e0b
  3. 12 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Fix initialization of the window-system variable. · 7f19e125
      Karoly Lorentey authored
      lisp/faces.el (x-create-frame-with-faces)
      (tty-create-frame-with-faces): Don't set the window-system parameter
      here, it seems to be unreliable.
      
      lisp/frame.el (make-frame): Don't forget to return the new frame (d'oh).
      
      src/frame.c (Qwindow_system): New symbol.
      (syms_of_frame): Intern it.
      (Fmake_terminal_frame): Initialize window-system frame parameter.
      
      src/frame.h (Qwindow_system): New declaration.
      
      src/xfns.c (Fx_create_frame, x_create_tip_frame): Initialize
      window-system frame parameter.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-56
      7f19e125
  4. 10 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Numerous bugfixes and small improvements. · 114a8b8c
      Karoly Lorentey authored
      lisp/bindings.el (mode-line-frame-identification): Use %T, not %F.
      
      lisp/faces.el (x-create-frame-with-faces): Added
      frame-creation-function parameter.
      (tty-create-frame-with-faces): Ditto.
      
      lisp/frame.el (frame-creation-function): Make it frame-local.
      (select-frame-set-input-focus): Use the window-system function, not
      the variable.
      
      lisp/server.el (server-handle-delete-tty): Make sure the client
      process is removed from server-clients after the delete-process call.
      It seems that the sentinel is not called.  Added docs.
      (server-process-filter): Immediately add the client to server-clients
      when a new termcap frame is created.  Fixed a case of `not' called
      with two parameters.  Ignore errors while sending the evaluation
      result back to the client.
      (server-kill-buffer-query-function): Don't ask the user if the server
      process is already dead.
      
      lisp/term/x-win.el: Don't change mode-line-frame-identification.
      
      src/buffer.c (syms_of_buffer): Added %T to the docs of mode-line-format.
      
      src/dispnew.c (init_display): Increment the reference count of the new
      termcap display.
      
      src/frame.c (make_terminal_frame): Set the old top frame's visibility
      to `obscured'.
      (Fmake_terminal_frame): Look at the current termcap display's name,
      not just the similar frame parameter.  Try to get the type from the
      current display first, and only then from Vdefault_frame_alist.
      
      src/keyboard.c (handle_interrupt): New function to separate the signal
      handling from C-g processing.
      (interrupt_signal): Call handle_interrupt to do the real work.
      (kbd_buffer_store_event): Use handle_interrupt instead of interrupt_signal.
      (cmd_error_internal): Use FRAME_INITIAL_P instead of ugly hacks.
      
      src/termhooks.h (initial_display): New declaration.
      
      src/xdisp.c (decode_mode_spec): Added '%T' (termcap-only frame name).
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-49
      114a8b8c
  5. 09 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Hookified termcap devices, added bootstrap display device, plus many bugfixes. · 3224dac1
      Karoly Lorentey authored
      lisp/frame.el (display-color-cells): Pass display parameter to tty-display-color-cells.
      
      lisp/term/xterm.el (xterm-register-default-colors): Pass the selected-frame to display-color-cells.
      
      src/dispextern.h (set_terminal_modes, reset_terminal_modes): Removed declarations.
      (get_named_tty_display): New prototype.
      (tty_clear_end_of_line, term_init): Updated to new prototype.
      (initial_term_init): Renamed to init_initial_display.
      
      src/dispnew.c (Fredraw_frame): ifdef-out DOS-specific code.  Add display parameter to set_terminal_modes call.
      (update_frame): Don't flush the tty of there is no tty.
      (init_display): Set up a termcap display on the controlling tty and
      change the initial frame to use that.  Delete the initial display.
      
      src/frame.c (Fframep): Return t for the initial frame.
      (make_initial_frame): New function for creating the initial frame during bootstrap.  Use init_initial_display, not initial_term_init.
      (make_terminal_frame): Removed special cases for creating the initial frame.
      
      src/frame.h (enum output_method): New entry: output_initial for the bootstrap display.
      (FRAME_INITIAL_P): New macro.
      (make_initial_frame): New prototype.
      
      src/keyboard.c (interrupt_signal): Exit Emacs on SIGINT from the (frameless) controlling tty, if possible.  Explain this in a comment.
      (init_keyboard): Added comment about exiting on SIGINT.
      (Fset_input_mode): A termcap frame is never the initial frame anymore.
      
      src/sysdep.c (init_sys_modes): Update tty_set_terminal_modes call to the new prototype.
      (reset_sys_modes): Comment out tty_clear_end_of_line call; it doesn't work anymore.  Update tty_reset_terminal_modes call.
      
      src/termchar.h (struct tty_display_info): Added pointer to the display structure, for reset_sys_modes.
      
      src/termhooks.h (struct display): Added display parameter to set_terminal_modes_hook and reset_terminal_modes_hook.
      
      src/term.c (initial_display): New variable.
      (tty_ring_bell, tty_update_end, tty_set_terminal_window, tty_cursor_to)
      (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame, tty_clear_end_of_line)
      (tty_write_glyphs, tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines): New functions.
      (ring_bell, update_end, set_terminal_window, cursor_to, raw_cursor_to)
      (clear_to_end, clear_frame, clear_end_of_line, write_glyphs, insert_glyphs)
      (delete_glyphs, ins_del_lines): Removed special casing of termcap displays.
      (get_tty_display): New function.
      (Ftty_display_color_p, Ftty_display_color_cells): Use it.
      (get_named_tty_display): Removed static.
      (tty_set_terminal_modes, tty_reset_terminal_modes): Changed to use a display parameter
      instead of tty_display_info for hook compatibility.
      (set_terminal_modes, reset_terminal_modes): Removed.
      (initial_term_init): Renamed to init_initial_display.  Set up an
      output_initial device, not a termcap display.
      (delete_initial_display): New function.
      (maybe_fatal): New function, for private use of term_init.
      (term_init): New parameter for choosing between fatal and simple errors.
      Removed incomprehensible special casing for the second initialization of the
      controlling tty.  Use maybe_fatal for error handling.
      Initialize termcap display hooks in the new device.
      Initialize the display pointer in the tty_display_info structure.
      (delete_tty): Replace order of reset_sys_modes and delete_display.
      
      src/window.c (init_window_once): Call make_initial_frame instead of make_terminal_frame.
      
      src/xfaces.c (realize_default_face, realize_face): Don't abort on the bootstrap display device.
      
      src/xterm.c (XTset_terminal_modes, XTreset_terminal_modes): Added display parameter.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-48
      3224dac1
  6. 05 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Converted display hooks to be display-local. Plus many bugfixes. · 428a555e
      Karoly Lorentey authored
      lib-src/emacsclient.c (window_change_signal): Renamed to pass_signal_to_emacs.
      (init_signal): Pass SIGINT and SIGQUIT to the emacs process.
      
      lisp/faces.el (face-valid-attribute-values): Use the window-system
      function, not the variable.
      (read-face-attribute, face-spec-set-match-display, frame-set-background-mode)
      (face-set-after-frame-default): Ditto.
      
      lisp/frame.el (make-frame-on-tty): Added interactive declaration
      (suggested by Robert J. Chassell).  Use tty-create-frame-with-faces,
      not make-terminal-frame.
      
      src/termhooks.h (struct display_method): Renamed to display for brevity.
      (struct display): Added all display hook variables as members of this structure.
      Added next_display, reference_count, type and display_info components.
      (FRAME_MUST_WRITE_SPACES, FRAME_FAST_CLEAR_END_OF_LINE, FRAME_LINE_INS_DEL_OK)
      (FRAME_CHAR_INS_DEL_OK, FRAME_SCROLL_REGION_OK, FRAME_SCROLL_REGION_COST)
      (FRAME_MEMORY_BELOW_FRAME, FRAME_RIF): Updated for struct display.
      (FRAME_DISPLAY): New macro.
      (create_display, delete_display): New prototypes.
      
      src/frame.h (struct frame): Added `display' member, removed display_method.
      (FRAME_LIVE_P): Look at f->display, not f->output_data.
      
      src/termchar.h (struct tty_display_info): Removed display_method component.
      (FRAME_TTY): Use the display structure, not output_data.
      
      src/term.c (display_list): New variable.
      (cursor_to_hook, raw_cursor_to_hook, clear_to_end_hook, clear_frame_hook)
      (clear_end_of_line_hook, ins_del_lines_hook, delete_glyphs_hook)
      (ring_bell_hook, reset_terminal_modes_hook, set_terminal_modes_hook)
      (update_begin_hook, update_end_hook, set_terminal_window_hook)
      (insert_glyphs_hook, write_glyphs_hook, delete_glyphs_hoo, read_socket_hook)
      (frame_up_to_date_hook, mouse_position_hook, frame_rehighlight_hook)
      (frame_raise_lower_hook, set_vertical_scroll_bar_hook, condemn_scroll_bars_hook)
      (redeem_scroll_bar_hook, judge_scroll_bars_hook): Moved to struct display.
      (tty_display_method_template): Removed.
      (syms_of_term): Don't initialize tty_display_method_template.
      (ring_bell, set_terminal_modes, reset_terminal_modes, update_begin)
      (update_end, set_terminal_window, cursor_to, raw_cursor_to, clear_to_end)
      (clear_frame, clear_end_of_line, write_glyphs, insert_glyphs)
      (delete_glyphs, ins_del_lines): Access display hooks through the frame pointer.
      (Ftty_display_color_p): Use the frame given as a parameter, or else return nil.
      (Ftty_display_color_cells): Ditto.
      (get_named_tty): Renamed to get_named_tty_display, changed return type to struct display.
      (term_dummy_init): Renamed to initial_term_init.  Create and return an initial display.
      (term_init): Initialize a new struct display and return a pointer to
      it instead of tty_display_info.  Removed frame initialization kludge.
      (Fdelete_tty): Updated for struct display.
      (delete_tty): The parameter type is now struct display, not tty_display_info.
      Delete the display, too.
      (create_tty_output): New function for creating tty_output structures.
      (delete_tty_output): New function for deleting tty_output structures.
      (create_display): New function for creating and registering display structures.
      (delete_display): New function for deleting and unregistering display structures.
      
      src/dispextern.h: Updated prototypes.
      
      src/dispnew.c:  Include frame.h before termhooks.h.
      (init_display): Updated term_init call to new signature.
      
      src/emacs.c: Include frame.h (for termhooks.h).
      src/keymap.c: Ditto.
      src/lread.c: Ditto.
      src/xsmfns.c: Ditto.
      
      src/process.c: Include frame.h before termhooks.h.
      
      src/frame.c (Fwindow_system): New function.
      (syms_of_frame): Initialize it.
      (make_terminal_frame): Open the terminal device before creating the new frame.
      Disable scrollbars here, term_init cannot do that anymore.
      (Fdelete_frame): Use the new delete_frame_hook, don't do display-specific
      frame deletion here.  Ditto for delete_display_hook.
      (Fmouse_position, Fmouse_pixel_position, Fraise_frame, Flower_frame)
      (Fredirect_frame_focus): Access display hooks through the frame pointer.
      
      src/keyboard.c: Include frame.h before termhooks.h.
      (start_polling, input_polling_used, stop_polling, gobble_input): Ignore read_socket_hook.
      (kbd_buffer_get_event, Fset_input_mode): Access display hooks through the frame pointer.
      (read_avail_input): Loop through all display devices for and call all read_socket_hook functions.  Check ttys even if read_socket_hook returned an error.
      
      src/sysdep.c (discard_tty_input): Ignore read_socket_hook.
      (stuff_char): Don't do anything if the current frame is not on a termcap display.
      (request_sigio, unrequest_sigio): Ignore read_socket_hook.
      (init_sys_modes): Always call narrow_foreground_group.  Set up terminal modes and sigio even under X.
      
      src/xdisp.c (message2_nolog, message3_nolog, redisplay_internal)
      (set_vertical_scroll_bar, redisplay_window): Access display hooks through the frame pointer.
      (echo_area_display): Don't be afraid of termcap frames during an X+tty combo session.
      
      src/xfaces.c: Include termhooks.h.
      (Ftty_supports_face_attributes_p): Use the given frame, not selected_frame.
      
      src/xfns.c (x_set_scroll_bar_foreground, x_set_scroll_bar_background): Access display hooks through the frame pointer.
      (Fx_create_frame, x_create_tip_frame): Initialize the frame's display structure.
      src/xmenu.c: Include termhooks.h after frame.h.
      
      src/xselect.c (x_own_selection, some_frame_on_display, x_get_foreign_selection)
      (Fx_disown_selection_internal, Fx_get_cut_buffer_internal)
      (Fx_store_cut_buffer_internal, Fx_rotate_cut_buffers_internal): Don't do anything
      if the selected frame is not an X frame.
      
      src/xterm.c (x_display_method): Removed.
      (x_create_frame_display, x_delete_frame_display): New functions for handling struct display objects.
      (x_term_init): Set up a new struct display object, too.
      (x_delete_display): Delete the struct display corresponding to the X display.
      (x_initialize): Moved hook initialization to x_create_frame_display.
      
      src/xterm.h (x_display_method): Removed.
      (struct x_display_info): Added frame_display component.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-44
      428a555e
  7. 03 Jan, 2004 2 commits
    • Karoly Lorentey's avatar
      Fix more SEGV cases in frame.c · f02480ab
      Karoly Lorentey authored
      src/frame.c (Fmouse_pixel_position, Fraise_frame, Flower_frame)
      (Fredirect_frame_focus): Don't do anything if the current frame
      is a termcap frame.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-43
      f02480ab
    • Karoly Lorentey's avatar
      Fix mouse-position for tty+X combo sessions. · fa013bce
      Karoly Lorentey authored
      frame.c (Fmouse_position): Don't call mouse_position_hook if the frame
      is a termcap frame.  (Reported by Romain Francoise <romain@orebokech.com>.)
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-40
      fa013bce
  8. 02 Jan, 2004 3 commits
    • Karoly Lorentey's avatar
      Got rid of the rif (window-based redisplay interface) global variable. · fa971ac3
      Karoly Lorentey authored
      src/dispextern.h (PRODUCE_GLYPHS): Use the rif in IT->f, not the global rif.
      (rif): Removed.
      
      src/dispnew.c (rif): Removed.
      (direct_output_for_insert, direct_output_forward_char, update_frame)
      (redraw_overlapped_rows, redraw_overlapping_rows, update_window)
      (update_marginal_area, update_text_area, update_window_line)
      (set_window_cursor_after_update, scrolling_window): Use the rif of the
      current frame, not the global rif.
      
      src/fontset.c: #include termhooks.h, for FRAME_RIF.
      (Finternal_char_font): Use the rif of the current frame.
      
      src/frame.c (x_set_frame_parameters): Use the rif of the current frame.
      
      src/keyboard.c (detect_input_pending_run_timers): Use the rif of the
      current frame.
      
      src/minibuf.c: #include termhooks.h, for FRAME_RIF.
      (read_minibuf): Use the rif of the current frame.
      
      src/term.c (update_begin): Removed rif update hack.
      
      src/termhooks.h (FRAME_RIF): New macro.
      
      src/xdisp.c (init_iterator, expose_frame): Removed rif update hack.
      (echo_area_display, x_cursor_to, draw_fringe_bitmap)
      (try_window_reusing_current_matrix, try_window_id)
      (get_glyph_face_and_encoding, x_get_glyph_overhangs)
      (get_char_face_and_encoding, compute_overhangs_and_x, draw_glyphs)
      (x_produce_glyphs, x_insert_glyphs, x_clear_end_of_line)
      (erase_phys_cursor, display_and_set_cursor, show_mouse_face)
      (define_frame_cursor1, x_draw_vertical_border): Use the rif of the
      current frame.
      
      src/xfns.c (Fx_create_frame): Removed rif update hack.
      src/xterm.c (frame_highlight, frame_unhighlight): Ditto.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-32
      fa971ac3
    • Karoly Lorentey's avatar
      MULTI_KBOARD support for ttys. Input-related bugfixes for X+tty sessions. · 7b00d185
      Karoly Lorentey authored
      lib-src/emacsclient.c (pty_conversation): Fix errno check for read from fileno(in).
      
      src/config.in: Unconditionally define MULTI_KBOARD.
      
      src/frame.c (make_terminal_frame): Initialize f->kboard.
      
      src/keyboard.c (cmd_error_internal): Don't kill Emacs if a Quit was
      pressed on the tty of a X+tty session.
      (read_avail_input): Initialize nread to zero.  Abort if there is no
      tty after a termcap read.
      (interrupt_signal)[USG]: Always reset signal handler.
      (init_keyboard): Always set signal handler for SIGINT/SIGQUIT if
      noninteractive.
      
      src/term.c (term_dummy_init): Initialize kboard to the initial_kboard.
      (term_init): Free component structures of the initial tty. Clear xmalloced structures.
      Moved rif initialization to syms_of_term.
      (term_init)[MULTI_KBOARD]: Initialize tty->kboard.
      (delete_tty)[MULTI_KBOARD]: Delete the keyboard.
      (syms_of_term): Initialize tty_display_method_template.
      
      src/termchar.h (tty_output)[MULTI_KBOARD]: Added kboard member.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-31
      7b00d185
    • Karoly Lorentey's avatar
      Fixed X support, preliminary support for X-tty combo sessions. · daf01701
      Karoly Lorentey authored
      lib-src/emacsclient.c (copy_from_to, pty_conversation): Re-added SIGIO
      hack.  (Sigh.)
      
      lisp/frame.el (make-frame-on-tty): Use make-terminal-frame, not
      make-frame.
      
      src/dispnew.c (line_hash_code, line_draw_cost): Updated to use
      the new display_method parameters.
      (Fredraw_frame): fflush the tty only if f is a termcap frame.
      (direct_output_for_insert): Updated to use the new display_method
      parameters. fflush the tty only if f is a termcap frame.
      (direct_output_forward_char, update_frame_1, scrolling): Ditto.
      (update_frame_line, Fding, bitch_at_user): Ditto.
      (Fsend_string_to_terminal): Fail if current frame is not on a tty.
      (init_display): Frame size change is safe here.
      
      
      src/frame.c (Vterminal_frame): Restored previously deleted variable.
      (syms_of_frame): Initialize it.
      (make_terminal_frame): Copy the frame's display_method from tty_display_info.
      (Fmake_terminal_frame): Enable simultaneous X and tty frames (buggy).
      (Fredirect_frame_focus): Don't call frame_rehighlight_hook if frame
      is on a termcap device.
      
      src/frame.h (struct frame): Renamed display to display_method.
      (Vterminal_frame): Re-added declaration.
      
      src/keyboard.c (flow_control): Moved to struct tty_display_info.
      (read_avail_input): Check ttys even if there is a read_socket_hook.
      (Fset_input_mode): Call reset_sys_modes/init_sys_modes and set
      flow_control or meta_key only when the frame is a termcap frame.
      (Fcurrent_input_mode): Handle flow_control and meta_key right on
      non-termcap frames.
      
      src/scroll.c (calculate_scrolling, calculate_direct_scrolling): Update
      to use the new display_method parameters.
      (scrolling_1, scroll_cost): Ditto.
      
      src/sysdep.c (init_sys_modes, reset_sys_modes): Always set the
      terminal parameters if tty_out->input is not stdin.  Updated to the
      new location of flow_control.
      (hft_init): Moved HFT init code to term_init, as it needs the frame.
      
      src/term.c (tty_display_method_template): New variable.
      (update_begin): Added rif hack.
      (set_terminal_window, ins_del_lines, term_init): Updated to use the
      new display_method parameters.
      (insert_glyphs, ins_del_lines): Only call insert_glyphs_hook if the
      current frame is not on a tty.
      (calculate_costs): Don't calculate costs if not on a tty.
      (term_dummy_init): Fixed tty->output initialization. Preallocate Wcm
      and display_method.
      (term_init): Allocate & initialize display_method.  Blindly fixed
      WINDOWSNT-specific parts.  Added HFT-specific initialization
      exception from hft_init.
      (delete_tty): Only delete termcap frames.  Free() the display_method.
      
      src/termchar.h (struct tty_display_info): Moved high-level terminal
      characteristics to struct display_method.  Added flow_control and
      display_method members.
      
      src/termhooks.h (struct display_method): New struct (renamed from
      struct device).  Added accessor macros.
      
      src/window.c (init_window_once): Initialize Vterminal_frame.
      
      src/xdisp.c (init_iterator, expose_frame): Added rif hack.
      (try_window_id): Updated to use the new display_method parameters.
      
      src/xfaces.c (realize_basic_faces): Don't call
      x_update_menu_appearance if the frame is a tty frame.
      
      src/xfns.c (Fx_create_frame): Added rif hack.  Initialize
      display_method.
      (x_create_tip_frame): Initialize display_method.
      
      src/xterm.c (x_display_method): New variable.
      (x_flush, x_frame_of_widget, XTmouse_position): Ignore non-X frames.
      (x_window_to_scroll_bar, x_window_to_menu_bar): Ditto.
      (xim_destroy_callback, xim_instantiate_callback): Ditto.
      (frame_highlight, frame_unhighlight): Added rif hack.
      (x_initialize): Don't initialize rif.  Do initialize x_display_method.
      
      src/xterm.h (x_display_method): New declaration.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-30
      daf01701
  9. 01 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Separate frame-local, tty-dependent parameters from tty-local parameters. · 28d7d09f
      Karoly Lorentey authored
      src/termchar.h (struct tty_output): Redefined to contain frame-local
      tty-dependent parameters.  (Currently there are no such parameters, so
      it consists of the tty_display_info pointer.)
      (struct tty_display_info): New structure, with reference_count.
      (FRAME_TTY): Updated to reflect new termcap frame structure.
      
      src/term.c: Update prototypes. Use tty_display_info instead of tty_output.
      
      src/cm.c (current_tty, cmcheckmagic, cmcostinit, calccost, cmgoto, Wcm_clear)
      (Wcm_init): Use tty_display_info instead of tty_output.
      
      src/cm.h: Update prototypes.
      src/dispextern.h: Ditto.
      
      src/dispnew.c (window_change_signal, init_display, make_terminal_frame):
      Use tty_display_info instead of tty_output.
      
      src/frame.c (Fdelete_frame): Use tty_display_info instead of
      tty_output.  Fix delete_tty check.
      (make_terminal_frame): Allocate f->output_data.tty.  Increase
      reference count of tty device.
      (delete_frame): Free f->output_data.tty.  Use reference count to
      decide if the tty should be closed.
      
      src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): New,
      unconditional definitions.
      (struct device): New declaration (at the moment, it is defined as
      empty in termhooks.h).
      (struct frame): Added display, background_pixel, foreground_pixel member.
      
      src/keyboard.c (read_avail_input): Use tty_display_info instead of tty_output.
      
      src/lisp.h: Declare struct display.  Update prototypes.
      
      src/sysdep.c: Update prototypes.
      (discard_tty_input, init_all_sys_modes, init_sys_modes, reset_all_sys_modes)
      (reset_sys_modes, hft_init, hft_reset): Use tty_display_info instead
      of tty_output.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-29
      28d7d09f
  10. 30 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      Major bugfixes and slight enhancements. · 16c290d8
      Karoly Lorentey authored
      src/dispextern.h (get_tty_size, tabs_safe_p, init_baud_rate): Update
      prototypes.
      
      src/dispnew.c (window_change_signal): Update call to get_tty_size.
      src/frame.c (Fmake_terminal_frame): Ditto.
      src/keyboard.c (Fsuspend_emacs): Ditto.
      
      src/sysdep.c: Eliminate tty_outputs, wherever possible.  (The
      exceptions are init_sys_modes and reset_sys_modes, which need access
      to tty-local parameters).
      (init_baud_rate): Change tty_output parameter to a simple file descriptor.
      (narrow_foreground_group, widen_foreground_group): Ditto.
      (tabs_safe_p, get_tty_size): Ditto.
      (init_sys_modes): Update narrow_foreground_group invocation.
      (reset_sys_modes): Update widen_foreground_group invocation.
      (request_sigio)[!FASYNC && STRIDE]: Fix function signature.
      
      src/term.c (delete_tty): Only close output file handle if it is
      different from input.  Re-enable freeing of Wcm.
      (term_init): Update get_tty_size, tabs_safe_p and init_baud_rate
      invocations.
      
      lib-src/emacsclient.c (here): Renamed to frame.
      (longopts): Change --here to --frame.  The -h short option may be
      confused with --help.
      (decode_options, print_help_and_exit): Update to reflect above changes.
      (main): Ditto.
      
      lisp/server.el (server-start): Fix frame-live-p call syntax.
      (server-process-filter): Handle 'emacsclient -f' without file
      arguments.  Don't return any values to emacsclient when 'emacsclient
      -f -e'.
      (server-switch-buffer): Prevent infinite recursion when there are no
      files to edit.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-27
      16c290d8
  11. 29 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      Bugfix festival. · 0a125897
      Karoly Lorentey authored
      lib-src/emacsclient.c (main_argc, main_argv): New variables.
      (main): Initialize them.
      (fail): Use them.
      (window_change, copy_from_to): Don't kill if emacs_pid is zero.
      (pty_conversation): Watch the command socket, too.  Read emacs_pid
      here.  Emacs and emacsclient could deadlock if Emacs tried to do a
      reset_sys_modes before sending its pid.
      
      lisp/server.el: Automatically delete the client frame when done editing.
      (server-frames): New variable.
      (server-process-filter, server-sentinel, server-buffer-done): Use it.
      (server-process-filter): Do a redisplay before evaluating other
      parameters.  (Prevents "emacsclient -h -e '(delete-frame)'" from
      messing up the system.
      
      src/dispextern.h: Update prototypes.
      
      src/dispnew.c (window_change_signal): Do nothing if !term_initted.
      (init_display): Set the frame size from the tty data after term_init.
      
      src/emacs.c (main): Make sure things that init_sys_modes needs are 
      initialized before init_display (which calls init_sys_modes now).
      (sort_args): Use xfree, not free.
      (shut_down_emacs) [!EMACS_HAVE_TTY_PGRP]: Use reset_all_sys_modes
      instead of reset_sys_modes.
      
      src/frame.c (make_terminal_frame): Sigh. Move terminal initialization
      back to the middle of frame setup.  Handle errors by making sure that
      the delete_tty() called from term_init() will see and delete this
      frame.
      (Fdelete_frame): Kill the frame before calling delete_tty().  Fix
      condition for tty deletion.
      
      src/keyboard.c (Fset_input_mode): Use reset_sys_modes on the current
      terminal only.
      
      src/lisp.h: Remove duplicate prototypes.
      
      src/msdos.c (croak): use reset_all_sys_modes().
      
      src/sysdeps.c (init_baud_rate): Added tty parameter, use it instead of CURTTY.
      (child_setup_tty): Reset sigio on stdin, not CURTTY().
      (reset_sigio): Added fd parameter, put explicit fcntl there.
      (request_sigio, unrequest_sigio)[FASYNC]: Simply block/unblock the
      SIGIO signal, don't touch the file params.  There are multiple ttys
      now, and we can't disable the SIGIO from emacsclient.
      (get_tty_size)[VMS]: Use tty_out instead of CURTTY().
      (reset_sys_modes): Don't call cursor_to, clear_end_of_line; call
      cmgoto and tty_clear_end_of_line instead.  The frame may already be
      dead.  Updated reset_sigio call.
      
      src/term.c (clear_and_of_line): Separate tty-dependent stuff to
      tty_clear_end_of_line() for reset_sys_modes.
      (tty_clear_end_of_line): New function.
      (term_init): Added frame parameter, don't use selected_frame.
      Set the frame's output_data.tty value (in case there is an error
      later).  Set the frame size in Wcm, not in the frame.  Only free the
      termcap buffer if there is a termcap-related error.  Call
      init_sys_modes last, not first.
      (deleting_tty): New variable.
      (delete_tty): Use it for handling recursive calls.  Free deleted tty,
      except its Wcm (there is still a dangling reference somewhere).
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-19
      0a125897
  12. 27 Dec, 2003 3 commits
    • Karoly Lorentey's avatar
      Implemented automatic deletion of terminals. · 8303ba32
      Karoly Lorentey authored
      lisp/server.el (server-process-filter): Switch to the new terminal frame.
      
      src/frame.c (Fdelete_frame): Delete the tty if this was its the last frame.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-12
      8303ba32
    • Karoly Lorentey's avatar
      Fully eliminated global tty state variables. · fca177d4
      Karoly Lorentey authored
      lib-src/emacsclient.c (main.c): Fix error message.
      
      lisp/frame.el (make-frame-on-tty): New function.
      
      lisp/server.el (server-process-filter): Notify emacsclient if there
      was on error during evaluation.
      
      src/cm.c: Fix remaining cases of direct Wcm references.
      
      src/dispextern.h: Updated prototypes.
      
      src/dispnew.c (Fredraw_frame): Fix set_terminal_modes call.
      (init_display): Remove reference to meta_key.
      
      src/frame.c (make_terminal_frame): Renamed first parameter to
      tty_name.  Call term_init before creating the frame.
      (Fmake_terminal_frame): Look up the `tty' and `tty-type' frame
      parameters from the currently selected terminal before the global
      default.
      (Fdelete_frame): Make sure that the new selected frame is live.
      
      src/keyboard.c (meta_key): Moved to struct tty_output.
      (read_avail_input): Fix C syntax.  Update references to meta_key.
      (Fsuspend_emacs): pass current tty to init_sys_modes via
      record_unwind_protect.
      (Fset_input_mode): Update references to meta_key.
      (Fcurrent_input_mode): Ditto.
      
      src/sysdep.c (init_sys_modes): Updated old_tty and meta_key
      references.  Don't call set_terminal_modes, it needs termcap strings.
      (reset_sys_modes): Call tty_reset_terminal_modes instead of
      reset_terminal_modes.  Updated old_tty references.
      
      src/term.c: Massive updates throuout the file.
      (TS_*, TN_*): Moved to struct tty_output.
      (RPov, delete_in_insert_mode se_is_so, costs_set, insert_mode): Ditto.
      (standout_mode, specified_window, tty_cursor_hidden): Ditto.
      (tty_set_terminal_modes, tty_reset_terminal_modes): New functions.
      (turn_on_insert, turn_off_insert): Added tty parameter.
      (turn_on_highlight, turn_off_highlight, toggle_highlight): Added tty parameter.
      (tty_hide_cursor, tty_show_cursor): Ditto.
      (background_highlight, highlight_if_desired): Ditto.
      (tty_capable_p): Changed first parameter to tty_output.
      (term_init): Make sure top_frame is initialized.  Don't exit on errors
      if this would have been a secondary terminal.  Call set_terminal_modes
      on the end.
      (delete_tty): New function.
      (delete_tty_1): New function.
      (print_all_frames): New function, marginally useful for debugging.
      
      src/termchar.h (struct tty_output): Changed old_tty to be a pointer.
      Removed old_tty_valid member.  Added tty-specific variables from term.c.
      
      src/xfaces.c (Ftty_supports_face_attributes_p): Update for new
      tty_capable_p.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-9
      fca177d4
    • Karoly Lorentey's avatar
      Full support for multiple terminal I/O (with some rough edges). · 6548cf00
      Karoly Lorentey authored
      lib-src/emacsclient.c (emacs_pid): New variable.  
      (window_change): Forward the SIGWINCH signal to the Emacs process
      after copying the size parameters to the proxy terminal.
      (copy_from_to): New parameter (sigio), kill Emacs with SIGIO if it is
      nonzero.
      (main): Set emacs_pid.
      
      lisp/server.el (server-process-filter): Send the pid of Emacs to emacsclient.
      
      src/cm.c: Added tty parameters to all functions and all Wcm macro calls.
      
      src/cm.h: Added tty parameters to all macros.   Updated function prototypes.
      (Wcm): Moved to struct tty_output.
      
      src/dispextern.h: Updated function prototypes.
      
      src/dispnew.c: Added tty parameters to all Wcm macro calls.
      (do_switch_frame): Make old frame obscured, not invisible, to solve
      problems with other-frame.
      (Wcm): Moved to struct tty_output.
      
      src/keyboard.c (read_avail_input): Select the frame corresponding to
      the tty that was read.  Slight rearrangement of tty loop.
      
      src/lisp.h (tabs_safe_p): Removed duplicate prototype.
      
      src/sysdep.c (hft_init, hft_reset): Added tty_output parameter.
      (discard_tty_input): Discard input from all ttys on APOLLO, too.
      Whatever it is.
      (narrow_foreground_group, widen_foreground_group): Added tty parameter
      (not really useful, the functions only work on the controlling tty.)
      (tabs_safe_p): Added tty parameter.
      
      src/term.c Added tty parameters to all Wcm macro calls.
      Standardised updating_frame vs. selected frame and tty_output access.
      (term_init): Allocate Wcm.
      (syms_of_term): Provide the `multi-tty' feature.
      
      src/termchar.h (struct tty_output): Added Wcm.
      
      src/xdisp.c (try_window_id): Make sure we use the tty device
      corresponding to the current frame.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-8
      6548cf00
  13. 26 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      lib-src/emacsclient.c: Implemented --here option (open a new Emacs tty). Needs more work. · 9628b887
      Karoly Lorentey authored
      (here): New variable.
      (decode_options): Use it.
      (ec_get_tty, ec_set_tty, init_tty, window_change, hang_up_signal): New functions.
      (window_change_signal, init_signals, reset_tty, init_pty, copy_from_to): Ditto.
      (pty_conversation): Ditto.
      (main): Use them.
      (master, pty_name, old_tty, tty, old_tty_valid, tty_erase_char): New variables.
      (flow_control, meta_key, _sobuf, in_conversation, quit_conversation): Ditto.
      
      lisp/server.el (server-process-filter): Added support for opening a new terminal frame.
      
      dispextern.h (get_frame_size): Renamed to get_tty_size, added tty_output parameter.
      
      dispnew.c (Fredraw_frame): fflush the current terminal instead of stdout.
      (direct_output_for_insert, direct_output_forward_char, update_frame_1): Ditto.
      (Fding, bitch_at_user): Ditto.
      (update_frame_1): Count pending output for current terminal instead of stdout.
      (window_change_signal): Resize all terminals.
      (change_frame_size): Don't resize all terminals to the same size.
      
      frame.c (Vterminal_frame): Removed.
      (syms_of_frame): Removed declaration of Vterminal_frame.
      (make_terminal_frame): Set the top frame of the terminal to the new frame.
      (Fmake_terminal_frame): Get a new frame size from get_tty_size, don't copy it.
      (do_switch_frame): Handle terminal frame visibility.
      (next_frame, prev_frame): Skip over frames on different terminals.
      
      frame.h (Vterminal_frame): Removed.
      
      keyboard.c (input_fd): Removed.
      (read_avail_input): Removed first argument from read_socket_hook.
      Try to read from each available tty, until one succeeds.
      (Fsuspend_emacs): Don't suspend if there are multiple terminals.
      
      lisp.h (get_frame_size): Removed superflous declaration.
      
      xterm.c (Xtread_socket): Removed first parameter.
      macterm.h (XTread_socket): Ditto.
      w32inevt.c (w32_console_read_socket): Ditto.
      w32term.c (w32_read_socket): Ditto.
      
      sysdep.c (input_fd): Removed.
      (change_input_fd): Removed.
      (discard_tty_input): Discard pending input on _all_ input descriptors.
      (stuff_char, tabs_safe_p): Use current terminal instead of input_fd.
      (init_baud_rate, request_sigio, unrequest_sigio): Ditto.
      (init_sys_modes, reset_sys_modes): Ditto.
      (narrow_foreground_group, widen_foreground_group): Use stdin.
      (init_sys_modes, reset_sys_modes): otty parameter renamed to tty_out.
      (get_frame_size): Renamed to get_tty_size, added tty_out parameter.
      
      term.c (read_socket_hook): Removed first parameter.
      (clear_end_of_line): Use updating_frame, if possible.
      (write_glyphs, insert_glyphs, ins_del_lines): Ditto.
      (term_init): Renamed get_frame_size to get_tty_size.
      
      termchar.h (struct tty_output): New entries: top_frame,
      previous_terminal_frame.
      
      termhooks.h (read_socket_hook): Removed first parameter.
      
      window.c (init_window_once): Removed reference to Vterminal_frame.
      
      xdisp.c (previous_terminal_frame): Moved to struct tty_output.
      (redisplay_internal): Updated to use previous_terminal_frame in tty_output.
      Allow for simultaneous refresh of multiple ttys.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-5
      9628b887
  14. 25 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      Implemented multiple tty support. · 28d440ab
      Karoly Lorentey authored
      README.multi-tty: New file.
      
      src/termchar.h (struct terminal): Renamed to struct tty_output.  Added name, type,
      input, output, termscript, old_tty, term_initted, old_tty_valid,
      background_pixel, foreground_pixel, next fields.
      (TERMINAL_*): Renamed to TTY_* for brevity.
      (CURRENT_TERMINAL): Renamed to CURTTY for brevity.
      (tty_list): New variable.
      (TERMINAL_PTR): Removed.
      (FRAME_TTY): New function.
      (TTY_NAME, TTY_TYPE): New macros.
      
      src/term.c (current_terminal): Removed.  (_current_terminal): Removed.  (tty_list):
      New variable.  (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF): Added tty
      parameter.  (set_terminal_modes): Added tty parameter.  (reset_terminal_modes):
      Added tty parameter.  (cursor_to, raw_cursor_to): Updated cmgoto() calls.
      (clear_end_of_line, write_glyphs): Add indirection to terminal output, updated
      cmcheckmagic() calls.  (get_named_tty): New function.  (term_dummy_init): New
      function.  (term_init): Added name parameter, added tty_output return value.
      Changed algorithm to update tty_list.  Call init_sys_modes() to set up tty
      mode on the newly opened terminal device.
      (get_current_tty): New function, intended for debugging.
      
      src/termhooks.h (termscript): Removed.
      
      src/w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Removed redundant
      definition.
      src/macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Ditto.
      
      
      src/window.c (init_window_once): Call make_terminal_frame with two zero parameters.
      
      src/cm.h (emacs_tputs): New macro to set current_tty, and then call tputs().
      (current_tty): New variable, for cmputc().
      (cmcheckmagic, cmputc, cmgoto): Added prototypes.
      
      src/cm.c (current_tty): New variable, for cmputc().
      (cmputc): Use it.
      (cmcheckmagic): Added tty parameter, look up terminal streams there.
      (calccost): Added tty parameter.  Use emacs_tputs() instead of tputs().
      (cmgoto): Added tty parameter.  Pass it on to calccost().  Use emacs_tputs()
      instead of tputs().
      
      
      src/dispextern.h (set_terminal_modes, reset_terminal_modes): Added tty parameter.
      (term_init): Added name parameter (the filename of the terminal device). Added
      return value (struct tty_output).
      
      src/dispnew.c: Replace CURTTY() with local variables throughout the file (where applicable).
      (termscript): Moved to struct tty_output.
      (terminal_type): Removed.
      
      src/emacs.c (main): Don't call init_sys_modes(), the new term_init() already does that
      during init_display().
      (shut_down_emacs): Call reset_all_sys_modes() instead of reset_sys_modes().
      
      src/frame.c (Qtty, Qtty_type): New variables.
      (syms_of_frame): Initialize them.
      (tty_display): Removed.
      (make_terminal_frame): New parameters (tty filename and type).
      Initialize output_data.tty field instead of output_data.x.  Use term_init() to
      find the right tty_output.  (Use term_dummy_init() during bootstrap.)
      (Fmake_terminal_frame): Get device filename and type from frame parameters.
      
      src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the right thing
      if the frame is a tty.
      (struct frame): New member in output_data: tty.
      (make_terminal_frame): Updated of prototype.
      
      src/keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not
      reset_sys_modes().  Ditto with init_sys_modes().
      
      src/lisp.h (tty_output): Added forward declaration.
      (init_sys_modes, reset_sys_modes): Updated prototype.
      (init_all_sys_modes, reset_all_sys_modes): New prototypes.
      
      src/scroll.c: Replace CURTTY() with local variables throughout the file (where applicable).
      
      src/sysdep.c (old_tty, term_initted, old_tty_valid): Moved to struct tty_output.(
      (init_all_sys_modes): New function.
      (init_sys_modes): Added tty_output parameter.  Use it.
      (reset_all_sys_modes): New function.
      (reset_sys_modes): Added tty_output parameter.  Use it.
      
      src/Makefile.in: Update dependencies.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-2
      28d440ab
  15. 16 Nov, 2003 1 commit
  16. 05 Oct, 2003 3 commits
  17. 20 Sep, 2003 1 commit
  18. 01 Sep, 2003 1 commit
  19. 26 Jun, 2003 1 commit
  20. 25 May, 2003 1 commit
  21. 24 May, 2003 1 commit
    • Kim F. Storm's avatar
      Make (many) trivial substitutions for renamed and · 5af5757b
      Kim F. Storm authored
      new macros in dispextern.h, frame.h and window.h.
      (make_frame): Initialize left_fringe_width, right_fringe_width,
      fringe_cols, scroll_bar_actual_width, border_width,
      internal_border_width, column_width, line_height, x_pixels_diff,
      y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity
      members with values suitable for a non-window frames.
      5af5757b
  22. 19 May, 2003 1 commit
  23. 17 May, 2003 1 commit
  24. 01 Apr, 2003 1 commit
  25. 31 Mar, 2003 3 commits
    • Juanma Barranquero's avatar
    • Kim F. Storm's avatar
      Fix compilation for --with-x=no. · 2731a0ad
      Kim F. Storm authored
      2731a0ad
    • Kim F. Storm's avatar
      Include blockinput.h. · 972f4259
      Kim F. Storm authored
      (Vx_resource_name, Vx_resource_class, Qx_frame_parameter)
      (Qx_resource_name, Qface_set_after_frame_default): Define vars here.
      (Qauto_raise, Qauto_lower, ...): Define all frame parameter
      related vars here.
      (struct frame_parm_table, frame_parms): New table for describing
      frame parameters and their associated Q-variable.
      The order of the parameters corresponds to the sequence of the
      frame_parm_handlers table in redisplay_interface.
      (x_fullscreen_move, x_set_frame_parameters)
      (x_report_frame_params, x_set_fullscreen, x_set_line_spacing)
      (x_set_screen_gamma, x_set_font, x_set_fringe_width)
      (x_set_border_width, x_set_internal_border_width, x_set_visibility)
      (x_set_autoraise, x_set_autolower, x_set_unsplittable)
      (x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type):
      Generic functions for processing of frame parameters.
      (validate_x_resource_name, xrdb_get_resource, Fx_get_resource)
      (display_x_get_resource, x_get_resource_string): Functions for
      generic access to X resources.
      (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
      (x_default_parameter, Fx_parse_geometry): Functions for generic
      access to frame parameters.
      (x_figure_window_size): Generic calculation of frame size. Fixed
      to add space needed for tool bar.  Also setup size_hint_flags.
      (syms_of_frame): Intern and staticpro frame parameter variables.
      Defvar_lisp Vx_resource_class and Vx_resource_name here.
      Defsubr Sx_get_resource and Sx_parse_geometry.
      972f4259
  26. 04 Feb, 2003 1 commit
  27. 02 Oct, 2002 1 commit
    • John Paul Wallington's avatar
      * frame.c (Vdelete_frame_functions): New variable. · cd1d850f
      John Paul Wallington authored
      (syms_of_frame): Initialize and defvar it.
      (Fdelete_frame): Use it instead of delete-frame-hook.  Don't run
      it when frame's `tooltip' parameter is non-nil.
      
      * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t.
      
      * w32fns.c (x_create_tip_frame): Likewise
      
      * macfns.c (x_create_tip_frame): Likewise.
      cd1d850f
  28. 26 Aug, 2002 1 commit
  29. 16 Jul, 2002 1 commit
  30. 15 Jul, 2002 1 commit
  31. 10 Jul, 2002 1 commit