1. 24 Dec, 2003 2 commits
    • Karoly Lorentey's avatar
      Add a level of indirection to terminal characteristics. · 8a56675d
      Karoly Lorentey authored
      * src/termchar.h (struct terminal): New struct.
      (must_write_spaces, min_padding_speed, line_ins_del_ok)
      (char_ins_del_ok, scroll_region_ok, scroll_region_cost)
      (memory_below_frame, fast_clear_end_of_line): Moved to struct
      (current_terminal): New variable.
      (CURRENT_TERMINAL, TERMINAL_*): New accessor macros.
      (min_padding_speed, dont_calculate_costs): Commented out (unused).
      * src/term.c (_current_terminal): New variable.  Will be removed when
      true multi-tty support is implemented.
      * src/termopts.h (no_redraw_on_reenter): Moved here.
      * src/term.c (set_terminal_window, ins_del_lines, calculate_costs)
      (term_init): Use the accessor macros for terminal characteristics.
      * src/dispnew.c (line_hash_code, line_draw_cost)
      (direct_output_for_insert, update_frame_1, scrolling)
      (update_frame_line): Ditto.
      * src/macterm.c (mac_initialize): Ditto.
      * src/msdos.c (internal_terminal_init): Ditto.
      * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
      (scrolling_1, scroll_cost): Ditto.
      * src/sysdep.c (hft_init): Ditto.
      * src/w32term.c (w32_initialize): Ditto.
      * src/xdisp.c (try_window_id): Ditto.
      * src/xterm.c (x_initialize): Ditto.
      * etc/TODO: Add pointer to my tla archive.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-1
    • Karoly Lorentey's avatar
      tag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137 · da1492a4
      Karoly Lorentey authored
      (automatically generated log message)
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--base-0
  2. 02 Dec, 2003 1 commit
  3. 01 Dec, 2003 11 commits
  4. 30 Nov, 2003 13 commits
  5. 29 Nov, 2003 5 commits
  6. 28 Nov, 2003 2 commits
  7. 27 Nov, 2003 6 commits
    • Stefan Monnier's avatar
    • Kim F. Storm's avatar
      posn-object and posn-object-x-y. · d46aeafc
      Kim F. Storm authored
    • Kim F. Storm's avatar
      (Click Events): Click object may be an images. · f51f93f6
      Kim F. Storm authored
      Describe (dx . dy) element of click positions.
      (Accessing Events): Remove duplicate posn-timestamp.
      New functions posn-object and posn-object-x-y.
    • Kim F. Storm's avatar
      *** empty log message *** · 0f6a07a8
      Kim F. Storm authored
    • Kim F. Storm's avatar
      (posn-object-x-y): New defun. · e08f9a0d
      Kim F. Storm authored
    • Kim F. Storm's avatar
      (Vdisplay_pixels_per_inch): New variable. · f65536fa
      Kim F. Storm authored
      (Vshow_text_cursor_in_void): New variable.
      (glyph_to_pixel_coords): Don't use negative hpos.
      (x_y_to_hpos_vpos): Fix for partially visible first glyph.
      (append_stretch_glyph): Change ascent arg to be actual value
      in pixels rather than ratio to height. Callers changed.
      (calc_pixel_width_or_height): New aux function, implementing
      pixel based artihmetic for glyph widths and heights.
      (produce_stretch_glyph): Use calc_pixel_width_or_height for
      :width, :height, :align-to, and :ascent, thus allowing these to
      be specified in pixels as well as multiples of characters.
      Don't produce stretch glyphs with zero width or height.
      (get_specified_cursor_type): Declare static.
      (get_window_cursor_type): Declare static.  Add glyph arg to be
      able to know when cursor is on an image; always substitute
      hollow-box cursor for filled-box cursor on images, to avoid
      negative images and flicker when blinking the cursor.
      (display_and_set_cursor): Pass glyph to	get_window_cursor_type.
      (note_mode_line_or_margin_highlight): Use non-text cursor rather
      than vertical scroll-bar cursor in display margins.
      (note_mouse_highlight): Use non-text cursor rather than text
      cursor in fringes and over images in the text area.
      Use non-text cursor when mouse pointer is outside editable text,
      i.e. in the void after end-of-line or end-of-buffer; this was
      already done for W32, but is now standard for all systems --
      user can toggle show-text-cursor-in-void to get old behaviour.
      (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and