1. 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
  2. 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
  3. 29 Dec, 2003 2 commits
    • 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
    • Kenichi Handa's avatar
      (face_font_available_p): Extern it. · 475a1234
      Kenichi Handa authored
      475a1234
  4. 28 Dec, 2003 1 commit
    • Kim F. Storm's avatar
      (FACE_ID_BITS, MAX_FACE_ID): New defines. · 01b1f0c0
      Kim F. Storm authored
      (struct glyph): New members, ascent and descent.  Used to save
      this glyph's ascent and descent, instead of having.
      (struct glyph): Declare member face_id using FACE_ID_BITS.
      (find_hot_spot): Add prototype.
      01b1f0c0
  5. 27 Dec, 2003 2 commits
    • 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
  6. 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
  7. 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
  8. 27 Nov, 2003 1 commit
  9. 23 Nov, 2003 1 commit
  10. 18 Nov, 2003 1 commit
  11. 16 Nov, 2003 1 commit
  12. 01 Sep, 2003 1 commit
  13. 24 May, 2003 1 commit
    • Kim F. Storm's avatar
      (struct glyph_matrix): Rename members window_left_x · 87388f9d
      Kim F. Storm authored
      to window_left_col, window_top_y to window_top_line. All uses
      changed.
      (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely
      use FRAME_INTERNAL_BORDER_WIDTH macro instead as
      internal_border_width is now set to 0 for non-window frames.
      (WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT)
      (WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT)
      (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT)
      (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X)
      (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y)
      (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y)
      (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y)
      (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH)
      (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P):
      Move to window.h and renamed [see window.h changes].
      (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH)
      (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros.
      (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Use
      WINDOW_TOTAL_LINES.
      (frame_update_line_height): Remove prototype.
      87388f9d
  14. 31 Mar, 2003 1 commit
    • Kim F. Storm's avatar
      (frame_parm_handler): New typedef. · e6b3aecd
      Kim F. Storm authored
      (struct redisplay_interface): New member frame_parm_handlers.
      (enum resource_types): Move declaration here.
      (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
      (x_default_parameter): Add prototypes.
      e6b3aecd
  15. 24 Mar, 2003 1 commit
  16. 21 Mar, 2003 4 commits
    • Kim F. Storm's avatar
      Fix compilation with --with-x=no. · dfbe5d05
      Kim F. Storm authored
      dfbe5d05
    • Kim F. Storm's avatar
      (pixel_to_glyph_coords, glyph_to_pixel_coords): · 1853f74c
      Kim F. Storm authored
      Add prototypes.
      1853f74c
    • Kim F. Storm's avatar
      (struct redisplay_interface): Add active_p argument to · e5a3b7d9
      Kim F. Storm authored
      draw_window_cursor member.  All uses changed.
      e5a3b7d9
    • Kim F. Storm's avatar
      * dispextern.h (Display_Info): Generic typedef for *_display_info. · d74b2553
      Kim F. Storm authored
      (NativeRectangle): Generic typedef for rectangle type.
      (enum window_part): Move here from window.c.
      (struct redisplay_interface): New members flush_display_optional,
      define_frame_cursor, clear_frame_area, draw_window_cursor,
      draw_vertical_window_border, shift_glyphs_for_insert.
      Rename member clear_mouse_face to clear_window_mouse_face.
      (estimate_mode_line_height_hook): Remove hook.
      (auto_raise_tool_bar_buttons_p): Don't declare extern.
      (tool_bar_item_info): Remove prototype.
      (help_echo_string, help_echo_window, help_echo_object)
      (previous_help_echo_string, help_echo_pos)
      (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window):
      (x_stretch_cursor_p, output_cursor): Declare extern.
      (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes.
      (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line)
      (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor)
      (display_and_set_cursor, set_output_cursor, x_cursor_to)
      (x_update_cursor, x_clear_cursor, x_draw_vertical_border)
      (frame_to_window_pixel_xy, get_glyph_string_clip_rect)
      (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face)
      (handle_tool_bar_click, clear_mouse_face, show_mouse_face)
      (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles):
      Add prototypes.
      (mode_line_string, marginal_area_string): Fix prototypes.
      d74b2553
  17. 18 Mar, 2003 1 commit
  18. 16 Mar, 2003 1 commit
    • Kim F. Storm's avatar
      (struct glyph): Reduce face_id member from 22 to · d5cc60b8
      Kim F. Storm authored
      21 bits (this reduces number of faces from 4M to 2M).
      Replace W32 specific w32_font_type member (2 bits) by generic
      font_type member (3 bits) for portability.
      (FONT_TYPE_UNKNOWN): New define, default for font_type member.
      (enum draw_glyphs_face): Define here.
      (struct glyph_string): Define here.  Merge W32 and X versions.
      (struct redisplay_interface): New members per_char_metric,
      encode_char, compute_glyph_string_overhangs, draw_glyph_string.
      (VCENTER_BASELINE_OFFSET): Define here.
      (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs)
      (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here.
      d5cc60b8
  19. 12 Mar, 2003 1 commit
    • Kim F. Storm's avatar
      (enum fringe_bitmap_type): Define here. · f4e1400d
      Kim F. Storm authored
      (struct fringe_bitmap, struct draw_fringe_bitmap_params): New.
      (fringe_bitmaps): Declare extern.
      (struct redisplay_interface): New member draw_fringe_bitmap.
      (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern.
      f4e1400d
  20. 18 Feb, 2003 1 commit
  21. 04 Feb, 2003 1 commit
  22. 17 Nov, 2002 1 commit
  23. 25 Oct, 2002 1 commit
  24. 30 Aug, 2002 1 commit
  25. 29 Aug, 2002 1 commit
  26. 16 Jul, 2002 1 commit
  27. 28 May, 2002 2 commits
  28. 26 May, 2002 1 commit
  29. 29 Apr, 2002 1 commit
  30. 26 Apr, 2002 1 commit
  31. 14 Apr, 2002 1 commit
  32. 04 Mar, 2002 1 commit
  33. 28 Feb, 2002 1 commit
  34. 26 Feb, 2002 1 commit