1. 24 May, 2003 29 commits
    • Kim F. Storm's avatar
    • Kim F. Storm's avatar
      (struct x_output): Remove members left_pos, top_pos, · fdbf2e9b
      Kim F. Storm authored
      and line_height, and use corresponding new members in struct
      frame.  All uses changed.
      (FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros;
      superseeded by corresponding macros in frame.h.
      fdbf2e9b
    • Kim F. Storm's avatar
      Make (several) trivial substitutions for renamed and · c655f6fd
      Kim F. Storm authored
      new macros in dispextern.h, frame.h and window.h.
      (IT_note_mouse_highlight): Use updated window coordinates returned
      by window_from_coordinates, rather than adjusting them locally.
      (internal_terminal_init): No need to initialize line_height here;
      it now defaults to 1.
      c655f6fd
    • Kim F. Storm's avatar
      Update Fset_window_buffer usage. · cbbfe056
      Kim F. Storm authored
      cbbfe056
    • Kim F. Storm's avatar
      (struct mac_output): Move members left_pos, top_pos, · f744acf1
      Kim F. Storm authored
      border_width, pixel_height, pixel_width, line_height,
      internal_border_width, vertical_scroll_bar_extra,
      left_fringe_width, right_fringe_width, fringe_cols,
      fringes_extra, win_gravity, size_hint_flags, want_fullscreen,
      x_pixels_diff, y_pixels_diff to struct frame (frame.h).
      (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h.
      (FRAME_DEFAULT_FONT_WIDTH): Remove macro.
      (PIXEL_WIDTH, PIXEL_HEIGHT)
      (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH)
      (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to
      frame.h and renamed [see frame.h changes].
      (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH)
      (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL)
      (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h
      and renamed [see frame.h changes].
      f744acf1
    • Kim F. Storm's avatar
      Make (several) trivial substitutions for renamed and · f1a83aab
      Kim F. Storm authored
      new macros in dispextern.h, frame.h and window.h.
      (x_draw_glyph_string_box): Adapt to per-window fringes and
      scroll-bars.
      (glyph_rect): Use window coordinates returned from
      window_from_coordinates rather than frame_to_window_pixel_xy.
      (XTset_vertical_scroll_bar): Adapt to per-window fringes and
      scroll-bars.
      (x_clip_to_row): Remove superfluous whole_line_p arg and code
      (fringes are now inside margins, i.e. always in the clipping area).
      All callers changed.
      (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT
      directly, then call compute_fringe_widths.  Don't call
      frame_update_line_height.
      f1a83aab
    • Kim F. Storm's avatar
      Make (several) trivial substitutions for renamed and · a3168f58
      Kim F. Storm authored
      new macros in dispextern.h, frame.h and window.h.
      (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0.
      a3168f58
    • Kim F. Storm's avatar
      Make (many) trivial substitutions for renamed and · 2cdbe73e
      Kim F. Storm authored
      new macros in dispextern.h, frame.h and window.h.
      (make_lispy_event): Use window positions returned from
      window_from_coordinates when constructing the lisp event for
      MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating
      (incorrect) values locally.
      (make_lispy_movement): Use window positions returned from
      window_from_coordinates when constructing the lisp event, rather
      than calculating (incorrect) values locally.
      2cdbe73e
    • Kim F. Storm's avatar
      (struct frame): Rename members height to text_lines, · b45afe99
      Kim F. Storm authored
      width to text_cols, window_height to total_lines, window_width to
      total_cols, new_height to new_text_lines, new_width to
      new_text_cols.  All uses changed.
      (struct frame): New members which consolidate common members of
      x_output, w32_output, and mac_output structures: left_pos,
      top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff,
      win_gravity, size_hint_flags, border_width, internal_border_width,
      line_height, fringe_cols, left_fringe_width, right_fringe_width,
      want_fullscreen.  All uses changed.
      (struct frame): New member column_width contaning the canonical
      column width, analogue to line_height.  All uses changed.
      (struct frame): Rename members scroll_bar_pixel_width to
      config_scroll_bar_width, and scroll_bar_cols to
      config_scroll_bar_cols.  All uses changed.
      (struct frame): New member scroll_bar_actual_width which
      consolidates and renames the vertical_scroll_bar_extra member of
      x_output, w32_output, and mac_output structures.  All uses changed.
      (FRAME_PIXEL_HEIGHT): Renamed from PIXEL_HEIGHT and moved
      from x/w32/macterm.h files.  All uses changed.  Also change code
      which referred to f->output_data...->pixel_height.
      (FRAME_PIXEL_WIDTH): Renamed from PIXEL_WIDTH and moved
      from x/w32/macterm.h files.  All uses changed. 	Also change code
      which referred to f->output_data...->pixel_width.
      (FRAME_LINES): Renamed from FRAME_HEIGHT.  All uses changed.
      Also change code which referred to f->height.
      (FRAME_COLS): Renamed from FRAME_WIDTH.  All uses changed.
      Also change code which referred to f->width.
      (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses
      to update new_text_lines and new_text_cols members directly.
      (FRAME_CONFIG_SCROLL_BAR_WIDTH): Renamed from
      FRAME_SCROLL_BAR_PIXEL_WIDTH.  All uses changed.
      (FRAME_CONFIG_SCROLL_BAR_COLS): Renamed from
      FRAME_SCROLL_BAR_COLS.  All uses changed.
      (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS):
      Renamed from FRAME_LEFT_SCROLL_BAR_WIDTH and
      FRAME_RIGHT_SCROLL_BAR_WIDTH, resp.  All uses changed.
      (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH)
      (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros.
      (FRAME_TOTAL_COLS): Renamed from FRAME_WINDOW_WIDTH.
      (SET_FRAME_COLS): Renamed from SET_FRAME_WIDTH.
      (FRAME_TOTAL_COLS_ARG): Renamed from FRAME_WINDOW_WIDTH_ARG.
      (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro.
      (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro.
      (FRAME_LINE_HEIGHT): Renamed from CANON_Y_UNIT.  Unconditionally
      return line_height member (it now has proper value also for
      non-window frames).
      (FRAME_COLUMN_WIDTH): Renamed from CANON_X_UNIT.  Unconditionally
      return new column_width member (rather than the default font width).
      (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH)
      (FRAME_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_... and moved
      from x/w32/macterm.h files.  Unconditionally return corresponding
      member of frame structure (they now have proper values also for
      non-window frames).
      (FRAME_TOTAL_FRINGE_WIDTH): Renamed from FRAME_FRINGE_WIDTH.
      Calculate return value from left and right widths.
      (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return
      internal_border_width member (has proper value for non-window frame).
      (FRAME_PIXEL_X_FROM_CANON_X): Renamed from PIXEL_X_FROM_CANON_X.
      (FRAME_PIXEL_Y_FROM_CANON_Y): Renamed from PIXEL_Y_FROM_CANON_Y.
      (FRAME_CANON_X_FROM_PIXEL_X): Renamed from CANON_X_FROM_PIXEL_X.
      (FRAME_CANON_Y_FROM_PIXEL_Y): Renamed from CANON_Y_FROM_PIXEL_Y.
      (FRAME_LINE_TO_PIXEL_Y): Renamed from CHAR_TO_PIXEL_ROW,
      consolidated from xterm.h, macterm.h, and w32term.h.
      (FRAME_COL_TO_PIXEL_X): Renamed from CHAR_TO_PIXEL_COL,
      consolidated from xterm.h, macterm.h, and w32term.h.
      (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Renamed from
      CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h.
      (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Renamed from
      CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h.
      (FRAME_PIXEL_Y_TO_LINE): Renamed from PIXEL_TO_CHAR_ROW
      consolidated from x/mac/w32term.h.
      (FRAME_PIXEL_X_TO_COL): Renamed from PIXEL_TO_CHAR_COL
      consolidated from x/mac/w32term.h.
      (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Renamed from
      PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h.
      (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Renamed from
      PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h.
      b45afe99
    • 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
    • Kim F. Storm's avatar
      Make (many) trivial substitutions for renamed and · 7df02016
      Kim F. Storm authored
      new macros in dispextern.h, frame.h and window.h.
      (mode_line_string): No need to adjust width for mode lines, as it
      is already adjusted by the caller.
      (marginal_area_string): Handle fringes inside/outside margins.
      7df02016
    • 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
    • Kim F. Storm's avatar
      (struct buffer): Rename members measured in columns: · 7e10f254
      Kim F. Storm authored
      left_margin_width to left_margin_cols, right_margin_width to
      right_margin_cols.  All uses changed.
      New members left_fringe_width, right_fringe_width,
      fringes_outside_margins for per-buffer fringe settings.
      New members scroll_bar_width and vertical_scroll_bar_type for
      per-buffer scroll bar settings.
      7e10f254
    • Kim F. Storm's avatar
      (init_buffer_once): Set buffer_defaults and · 2ad8731a
      Kim F. Storm authored
      buffer_local_flags for new buffer-local variables
      left_fringe_width, right_fringe_width, fringes_outside_margins,
      scroll_bar_width, and vertical_scroll_bar_type.
      (syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro
      default-* variables for them.
      2ad8731a
    • Kim F. Storm's avatar
      0416870b
    • Andreas Schwab's avatar
      *** empty log message *** · 016bd3c0
      Andreas Schwab authored
      016bd3c0
    • Andreas Schwab's avatar
      0bded065
    • Andreas Schwab's avatar
      (find_safe_codings): Fix last change. · 58f99379
      Andreas Schwab authored
      58f99379
    • Andreas Schwab's avatar
      Regenerated. · 25ca0bca
      Andreas Schwab authored
      25ca0bca
    • Andreas Schwab's avatar
      (AH_BOTTOM) [MAC_OSX]: Do not redefine bcopy, · 4e05abbe
      Andreas Schwab authored
      bzero, and bcmp.
      4e05abbe
    • Stefan Monnier's avatar
      25d887f0
    • Stefan Monnier's avatar
      *** empty log message *** · 2a89019f
      Stefan Monnier authored
      2a89019f
    • Stefan Monnier's avatar
      (iconify-or-deiconify-frame): Move to frame.el. · c3ef5084
      Stefan Monnier authored
      Turn on mouse-wheel support by default.
      c3ef5084
    • Stefan Monnier's avatar
      3db7df06
    • Stefan Monnier's avatar
    • Kai Großjohann's avatar
      Version 2.0.34 (of Tramp) released. · de4e4519
      Kai Großjohann authored
      de4e4519
    • Kai Großjohann's avatar
      Version 2.0.34 (of Tramp) released. · b25a52cc
      Kai Großjohann authored
      (tramp-handle-file-symlink-p): If target of symlink is absolute,
      return a Tramp filename.  (Ie, return "/user@host:/target" instead
      of "/target".)
      (tramp-handle-file-truename): Deal with new return value from
      `file-symlink-p'.
      (tramp-handle-expand-file-name): Make default method explicit in
      file name.
      (tramp-unified-filenames): Move to an earlier spot in the file.
      (top-level): If tramp-unified-filenames is set and we're running
      on XEmacs, load tramp-efs.
      (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt): New
      functions, used by tramp-send-command-internal.
      (tramp-open-connection-setup-interactive-shell): Simplify using
      `tramp-send-command-internal'.
      (tramp-send-command-internal): New function.
      (tramp-methods): New entries "remsh" and "remcp" are like "rsh"
      and "rcp" but invoke "remsh" instead of "rsh".  This is useful on
      Cray systems, for instance.  Unify tramp-rsh-program,
      tramp-telnet-program, tramp-su-program into tramp-login-program.
      Likewise with tramp-login-args, tramp-copy-program,
      tramp-copy-args, tramp-copy-keep-date-arg.  Users changed.  New
      method plink1; like plink but pass "-1" to force protocol version
      1.
      (tramp-default-method): Use plink as the default on machines where
      the plink program is present.
      (tramp-completion-file-name-handler): Add safe-magic property.
      (tramp-shell-prompt-pattern): Allow ANSI escapes at
      end of prompt.  (ANSI escapes elsewhere in the prompt are
      recognized properly already.)
      b25a52cc
    • Thien-Thi Nguyen's avatar
      (x_window): Fix typo. · 4dacadcc
      Thien-Thi Nguyen authored
      4dacadcc
    • Stefan Monnier's avatar
      Use `push' and replace `regi-pos' by equivalents. · d49b7f88
      Stefan Monnier authored
      (sc-emacs-features): Remove.  Use better tests instead.
      (sc-minor-mode): Use define-minor-mode.
      (sc-mode-string, sc-set-mode-string): Remove.
      Use a better modeline expression instead.
      (sc-completing-read, sc-read-string, sc-submatch, sc-member)
      (sc-string-text): Remove those compatibility functions.
      d49b7f88
  2. 23 May, 2003 11 commits