1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
Commit graph

69 commits

Author SHA1 Message Date
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Stefan Monnier
e7b394e177 (Fwindow_minibuffer_p): Declare (for use in minibuf.c). 2006-01-03 16:56:15 +00:00
Andreas Schwab
9f1cf0e3c9 (struct window): Remove height_fixed_p, no longer set. 2005-09-18 16:30:27 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Kim F. Storm
3f34b6bd01 (struct window): Remove member overlay_arrow_bitmap. 2005-04-18 14:09:56 +00:00
Kim F. Storm
71a0ff9a80 (struct glyph_matrix): New members nrows_scale_factor
and ncols_scale_factor.
2004-07-21 21:08:56 +00:00
Kim F. Storm
a0ecb2ac8e Update copyright. 2004-06-16 15:10:55 +00:00
Kim F. Storm
754dc3d823 (Fwindow_vscroll, Fset_window_vscroll): Fix EXFUN. 2004-04-20 22:18:43 +00:00
Kim F. Storm
4789e691f8 (struct window): New member overlay_arrow_bitmap. 2004-03-01 23:56:20 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
01aa0b2e3b (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS)
(WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros.
2003-06-03 11:11:56 +00:00
Stefan Monnier
fccd208dec (window_box_text_cols): Declare. 2003-05-25 17:48:26 +00:00
Kim F. Storm
6000501bd8 (struct window): Rename members left to left_col,
top to top_line, height to total_lines, width to total_cols,
left_margin_width to left_margin_cols, right_margin_width to
right_margin_cols, orig_height to orig_total_lines, orig_top to
orig_top_line.  All uses changed.
(struct window): New members left_fringe_width, right_fringe_width,
fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type.
(WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT):
New macros primarily used to simplify other macros.
(WINDOW_TOTAL_COLS): New macro.  Change relevant code that
referred to XINT (w->width).
(WINDOW_TOTAL_LINES): New macro.  Change relevant code that
referred to XINT (w->height).
(WINDOW_TOTAL_WIDTH): New macro.  Change relevant code that
referred to XINT (w->width) * canon_x_unit.
(WINDOW_TOTAL_HEIGHT): New macro.  Change relevant code that
referred to XINT (w->height) * canon_y_unit.
(WINDOW_LEFT_EDGE_COL): New macro.  Change relevant code that
referred to XINT (w->left).
(WINDOW_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_EDGE.  Change
all uses and code that referred to XINT (w->left) + XINT (w->width).
(WINDOW_TOP_EDGE_LINE): New macro.  Change relevant code that
referred to XINT (w->top).
(WINDOW_BOTTOM_EDGE_LINE): New macro.  Change relevant code that
referred to XINT (w->top) + XINT (w->height).
(WINDOW_LEFT_EDGE_X): New macro.  Change relevant code that
referred to XINT (w->left) * canon_x_unit.
(WINDOW_RIGHT_EDGE_X): New macro.  Change relevant code that
referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit.
(WINDOW_TOP_EDGE_Y): New macro.  Change relevant code that
referred to XINT (w->top) * canon_y_unit.
(WINDOW_BOTTOM_EDGE_Y): New macro.  Change relevant code that
referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit.
(WINDOW_LEFTMOST_P): New macro.
(WINDOW_BOX_LEFT_EDGE_COL): Renamed from WINDOW_LEFT_MARGIN.
All uses changed.
(WINDOW_BOX_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_MARGIN.
All uses changed.
(WINDOW_BOX_LEFT_EDGE_X): Renamed from
WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h.
Do not exclude left fringe width.
(WINDOW_BOX_RIGHT_EDGE_X): Renamed from
WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h.
Do not exclude fringe widths.
(WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH)
(WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros.
Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH,
FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and
FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings.
(WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro.
(WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR)
(WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT)
(WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT)
(WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS):
New macros.  Change code which referenced corresponding
FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS,
FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT,
FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT,
FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to
allow per-window scroll-bar settings.
(WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros.
(WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro.  Change code that
referred to FRAME_LEFT_SCROLL_BAR_WIDTH.
(WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro.  Change code
that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and
FRAME_SCROLL_BAR_WIDTH.
(WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH)
(WINDOW_SCROLL_BAR_AREA_X): New macros.
(WINDOW_HEADER_LINE_HEIGHT): Renamed from
WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h.
(WINDOW_BOX_HEIGHT_NO_MODE_LINE): Renamed from
WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h.
(WINDOW_BOX_TEXT_HEIGHT): Renamed from
WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h.
(WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y)
(FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y)
(WINDOW_TEXT_TO_FRAME_PIXEL_X): Moved here from dispextern.h.
(WINDOW_LEFT_MARGIN_WIDTH): Renamed from
WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h.
(WINDOW_RIGHT_MARGIN_WIDTH): Renamed from
WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h.
(window_from_coordinates): Update prototype.
(Fset_window_buffer): Update EXFUN.
(set_window_buffer): Update prototype.
2003-05-24 22:08:20 +00:00
Stefan Monnier
f1321dc307 (Fselect_window): Add optional arg `norecord'. 2003-05-17 21:17:45 +00:00
Stefan Monnier
9a274fbd38 (Qwindowp, Qwindow_live_p, Vwindow_list)
(Fwindow_end, Fselected_window, Fdelete_window, Fwindow_buffer)
(Fget_buffer_window, Fsave_window_excursion, Fsplit_window)
(Fset_window_configuration, Fcurrent_window_configuration)
(compare_window_configurations, Fcoordinates_in_window_p, Fwindow_at)
(Fpos_visible_in_window_p, mark_window_cursors_off)
(window_internal_height, window_internal_width, Frecenter)
(Fscroll_other_window, Fset_window_start, temp_output_buffer_show)
(replace_buffer_in_all_windows, init_window_once, init_window)
(syms_of_window, keys_of_window): Move from lisp.h to window.h.
2003-05-14 18:52:13 +00:00
Kim F. Storm
92a373e30f (change_window_heights): Add prototype. 2003-03-31 20:35:57 +00:00
Kim F. Storm
b74b839745 (window_from_coordinates): Fix prototype. 2003-03-21 13:52:14 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Richard M. Stallman
f47d4504cc Comment change. 2002-07-01 07:59:16 +00:00
Richard M. Stallman
d1a0ea0ae2 (cursor_type_changed): Hew variable. 2002-03-18 04:38:43 +00:00
Kim F. Storm
7e913f913f (struct window): New member phys_cursor_width. 2002-03-01 22:36:09 +00:00
Kim F. Storm
5705966b35 (minibuf_selected_window): Renamed from Vminibuf_selected_window. 2002-02-28 22:11:49 +00:00
Kim F. Storm
76e316e0da (Vminibuf_selected_window): Declare extern. 2002-02-26 22:52:07 +00:00
Gerd Moellmann
36d8561d49 (MINI_WINDOW_P): Use NILP. 2001-10-05 09:52:23 +00:00
Gerd Moellmann
91523be925 (WINDOW_LIVE_P): New macro. 2001-01-18 14:10:06 +00:00
Gerd Moellmann
0248728d0d (struct window): New member min_hscroll. 2000-12-20 15:36:07 +00:00
Dave Love
30da6d9580 (Fset_window_point): Declare. 2000-12-12 18:50:49 +00:00
Ken Raeburn
caf9deeeed * window.h (Fwindow_live_p): Declare. 2000-10-27 22:59:52 +00:00
Gerd Moellmann
f5588a407c (foreach_window): Change prototype. 2000-07-21 14:33:46 +00:00
Gerd Moellmann
65113618fc Extend comment for optional_new_start. 1999-10-30 20:43:26 +00:00
Gerd Moellmann
57209cbae0 (struct window): New members orig_top, orig_height.
(toplevel): Add prototypes for grow_mini_window and
shrink_mini_window.  Remove prototype for change_window_height.
1999-09-23 11:58:41 +00:00
Gerd Moellmann
a71eca925b (struct window): New member height_fixed_p. 1999-09-16 12:52:25 +00:00
Gerd Moellmann
4dedbdd83c (freeze_window_starts): Fix typo in prototype. 1999-09-14 13:09:33 +00:00
Gerd Moellmann
e9abf3946d New member frozen_window_start_p. 1999-09-03 15:52:15 +00:00
Gerd Moellmann
5e8355b2e3 (beg_unchanged, end_unchanged, unchanged_modified,
overlay_unchanged_modified): Removed.
(with_echo_area_unwind_data): Don't save beg/end_unchanged.
(unwind_with_echo_area_buffer): Don't restore them.
(debug_beg_unchanged, debug_end_unchanged) [GLYPH_DEBUG]: Removed.
(text_outside_line_unchanged_p, redisplay_internal,
try_scrolling): Use/set buffer-specific beg/end_unchanged.
(redisplay_window): Let try_window_id be called if more than one
window is displayed.  Use/set buffer-specific beg/end_unchanged.
(get_last_unchanged_at_beg_row, get_first_unchanged_at_end_row,
try_window_id):
Use buffer-specific beg/end_unchanged.
(beg_unchanged, end_unchanged, unchanged_modified,
overlay_unchanged_modified): Remove extern declarations.
1999-08-23 00:11:54 +00:00
Gerd Moellmann
4da4347545 Remove references to echo_area_glyphs
and previous_echo_glyphs.
1999-08-21 19:30:42 +00:00
Gerd Moellmann
5f47720c30 (struct window): New field too_small_ok. 1999-08-13 21:24:42 +00:00
Gerd Moellmann
f43dd8341a (struct window): Add vscroll.
(struct window): New member cursor_off_p.
(struct window): Remove phys_cursor_glyph.
(struct window): New members phys_cursor_ascent and
phys_cursor_descent.
(struct window): New flag pseudo_window_p.
(struct window): Add left_margin_width, right_margin_width.
New member last_cursor.
(WINDOW_LEFT_MARGIN): Remove FRAME_LEFT_SCROLL_BAR.
(WINDOW_TO_FRAME_VPOS): Convert window vpos
to frame vpos.
(WINDOW_TO_FRAME_HPOS): Convert window hpos to frame hpos.
(FRAME_TO_WINDOW_VPOS): Convert frame vpos to window vpos.
(FRAME_TO_WINDOW_HPOS): Convert frame hpos to window hpos.
(WINDOW_TOPMOST_P): Added.
(struct window): Rewrittenf for new glyphs.
1999-07-21 21:43:52 +00:00
Richard M. Stallman
490fe8b05c (WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when there are no
vertical scrollbars and this is the rightmost window in the frame.
1998-05-04 20:14:36 +00:00
Kenichi Handa
c257933282 Change argument number of Fdisplay_buffer to 3. 1998-02-06 13:45:24 +00:00
Richard M. Stallman
14a65ffe42 (WINDOW_RIGHT_MARGIN): Deduct width of vertical line
if frame has no scroll bars.
1998-01-21 21:43:58 +00:00
Andreas Schwab
4c571d0903 Add prototypes. 1997-11-25 13:44:34 +00:00
Richard M. Stallman
fbf44f72c8 (struct window): New field optional_new_start. 1996-11-10 00:25:20 +00:00
Richard M. Stallman
8516ba9afe (WINDOW_LEFT_MARGIN): New macro.
(WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros.
(WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros.
1996-09-21 03:31:53 +00:00
Richard M. Stallman
cc885e42e3 (struct window): New field last_overlay_modified. 1996-09-15 01:49:52 +00:00
Richard M. Stallman
30308d5e72 (struct window): New field, last_had_star. 1996-06-28 08:09:53 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Richard M. Stallman
a3bee872ef (struct window): New field redisplay_end_trigger. 1995-11-10 16:05:24 +00:00
Richard M. Stallman
c0acc1122b (echo_area_window): Declared. 1995-07-21 07:51:20 +00:00