comparison src/ChangeLog @ 30196:52c1b7a2e7a5

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 13 Jul 2000 19:13:53 +0000
parents b6c7d5bcf786
children 34881d6fc1f6
comparison
equal deleted inserted replaced
30195:1980037bbd8f 30196:52c1b7a2e7a5
1257 * charset.c (syms_of_charset): Revert last change. 1257 * charset.c (syms_of_charset): Revert last change.
1258 1258
1259 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> 1259 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
1260 1260
1261 * term.c (produce_glyphs): Treat characters from the eight-bit-* 1261 * term.c (produce_glyphs): Treat characters from the eight-bit-*
1262 charsets as unibyte, with 1-column screen width. Sent by Kenichi 1262 charsets as unibyte, with 1-column screen width. Sent by Kenichi
1263 Handa. 1263 Handa.
1264 1264
1265 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> 1265 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
1266 1266
1267 * charset.c (syms_of_charset): Set width of character sets 1267 * charset.c (syms_of_charset): Set width of character sets
1268 eight-bit-control and eight-bit-graphic to 1 column. 1268 eight-bit-control and eight-bit-graphic to 1 column.
3583 characters. 3583 characters.
3584 3584
3585 2000-02-22 Eli Zaretskii <eliz@is.elta.co.il> 3585 2000-02-22 Eli Zaretskii <eliz@is.elta.co.il>
3586 3586
3587 * frame.c (Fdelete_frame): Don't let echo_area_window remain on 3587 * frame.c (Fdelete_frame): Don't let echo_area_window remain on
3588 a deleted frame. 3588 a deleted frame.
3589 3589
3590 2000-02-21 Gerd Moellmann <gerd@gnu.org> 3590 2000-02-21 Gerd Moellmann <gerd@gnu.org>
3591 3591
3592 * frame.c (Fmouse_position): GCPRO retval instead of x and y. 3592 * frame.c (Fmouse_position): GCPRO retval instead of x and y.
3593 3593
7667 * sysdep.c (read_input_waiting): Pass read_socket_hook just 4 args. 7667 * sysdep.c (read_input_waiting): Pass read_socket_hook just 4 args.
7668 7668
7669 * syntax.h (SYNTAX_COMMENT_NESTED, SYNTAX_FLAGS_COMMENT_NESTED): 7669 * syntax.h (SYNTAX_COMMENT_NESTED, SYNTAX_FLAGS_COMMENT_NESTED):
7670 Add support for nested comments. 7670 Add support for nested comments.
7671 7671
7672 * syntax.c (Fforward_comment, scan_lists, scan_sexps_forward): 7672 * syntax.c (Fforward_comment, scan_lists, scan_sexps_forward):
7673 Consolidate the forward comment code into the new `forw_comment'. 7673 Consolidate the forward comment code into the new `forw_comment'.
7674 (forw_comment): New subroutine. Added support for nested comments. 7674 (forw_comment): New subroutine. Added support for nested comments.
7675 (lisp_parse_state, back_comment, Fmodify_syntax_entry) 7675 (lisp_parse_state, back_comment, Fmodify_syntax_entry)
7676 (Fparse_partial_sexp): Add support for nested comments. 7676 (Fparse_partial_sexp): Add support for nested comments.
7677 7677
7678 1999-08-28 Ken Raeburn <raeburn@gnu.org> 7678 1999-08-28 Ken Raeburn <raeburn@gnu.org>
7679 7679
7680 * lisp.h (struct Lisp_Cons, XCAR, XCDR, struct Lisp_Float): Change 7680 * lisp.h (struct Lisp_Cons, XCAR, XCDR, struct Lisp_Float): Change
7681 names of structure elements if HIDE_LISP_IMPLEMENTATION is 7681 names of structure elements if HIDE_LISP_IMPLEMENTATION is
7857 (Fcopy_hash_table): New. 7857 (Fcopy_hash_table): New.
7858 7858
7859 1999-08-22 Gerd Moellmann <gerd@gnu.org> 7859 1999-08-22 Gerd Moellmann <gerd@gnu.org>
7860 7860
7861 * xfns.c: Call change_frame_size and do_pending_window_change with 7861 * xfns.c: Call change_frame_size and do_pending_window_change with
7862 new parameter. 7862 new parameter.
7863 7863
7864 1999-08-21 Gerd Moellmann <gerd@gnu.org> 7864 1999-08-21 Gerd Moellmann <gerd@gnu.org>
7865 7865
7866 * xdisp.c (resize_mini_window): Do it for truncate-lines t as 7866 * xdisp.c (resize_mini_window): Do it for truncate-lines t as
7867 well. 7867 well.
8646 8646
8647 * window.c (Fsplit_window): For default size, round up for left window. 8647 * window.c (Fsplit_window): For default size, round up for left window.
8648 8648
8649 1999-07-21 Joe Ramey <ramey@ti.com> 8649 1999-07-21 Joe Ramey <ramey@ti.com>
8650 8650
8651 * filelock.c (lock_if_free): Return -1 if check_lock_owner 8651 * filelock.c (lock_if_free): Return -1 if check_lock_owner
8652 has returned -1 (lockfile exists but is not a symlink?). 8652 has returned -1 (lockfile exists but is not a symlink?).
8653 8653
8654 1999-07-20 Gerd Moellmann <gerd@gnu.org> 8654 1999-07-20 Gerd Moellmann <gerd@gnu.org>
8655 8655
8656 * xterm.c (x_draw_bar_cursor): Use scratch_cursor_gc to 8656 * xterm.c (x_draw_bar_cursor): Use scratch_cursor_gc to
14423 (expose_window_tree): Take trunc border into account. 14423 (expose_window_tree): Take trunc border into account.
14424 (x_phys_cursor_in_rect_p): Test if phys_cursor intersects a rect. 14424 (x_phys_cursor_in_rect_p): Test if phys_cursor intersects a rect.
14425 (expose_window): Use it. 14425 (expose_window): Use it.
14426 14426
14427 * xdisp.c (display_string): Catch case that we are called with 14427 * xdisp.c (display_string): Catch case that we are called with
14428 current_x already beyond max_x. 14428 current_x already beyond max_x.
14429 (global): Fix usage of FRAME_WINDOW_P <-> FRAME_WINDOW_REDISPLAY_P. 14429 (global): Fix usage of FRAME_WINDOW_P <-> FRAME_WINDOW_REDISPLAY_P.
14430 (init_display_info): Subtract vertical border glyph from 14430 (init_display_info): Subtract vertical border glyph from
14431 last_visible_x. 14431 last_visible_x.
14432 14432
14433 * scroll.c (scrolling_window_1): Removed. 14433 * scroll.c (scrolling_window_1): Removed.
14434 14434
14435 * dispnew.c (adjust_frame_glyphs): Split into two functions, 14435 * dispnew.c (adjust_frame_glyphs): Split into two functions,
14436 based on redisplay method used. 14436 based on redisplay method used.
14457 * emacs.c (main): Remove own profiling code because 0.95 now 14457 * emacs.c (main): Remove own profiling code because 0.95 now
14458 has it in. 14458 has it in.
14459 14459
14460 Fri Aug 22 18:46:43 1997 Gerd Moellmann <gerd@acm.org> 14460 Fri Aug 22 18:46:43 1997 Gerd Moellmann <gerd@acm.org>
14461 14461
14462 * xterm.c (XTupdate_end): Draw horizontal border at right 14462 * xterm.c (XTupdate_end): Draw horizontal border at right position.
14463 position.
14464 (expose_window): Draw vertical border. 14463 (expose_window): Draw vertical border.
14465 (XTclear_end_of_line): Accept width <= 0 and height <= 0 but 14464 (XTclear_end_of_line): Accept width <= 0 and height <= 0 but
14466 don't do anything. 14465 don't do anything.
14467 14466
14468 * xdisp.c (redisplay_internal): Set update_mode_line if paused 14467 * xdisp.c (redisplay_internal): Set update_mode_line if paused
14482 1997-08-21 Gerd Moellmann <gerd@acm.org> 14481 1997-08-21 Gerd Moellmann <gerd@acm.org>
14483 14482
14484 * dispnew.c (clear_glyph_matrix): Additional argument specifiying 14483 * dispnew.c (clear_glyph_matrix): Additional argument specifiying
14485 that rows should really be cleared. Used for current matrices. 14484 that rows should really be cleared. Used for current matrices.
14486 14485
14487 * dispnew.c (scrolling_window): Bug fix. 14486 * dispnew.c (scrolling_window): Bug fix.
14488 (line_dance_hook): Formerly line_dance_fn, take only one 14487 (line_dance_hook): Formerly line_dance_fn, take only one parameter.
14489 parameter.
14490 14488
14491 * dispextern.h (struct run): Remove current_vpos. 14489 * dispextern.h (struct run): Remove current_vpos.
14492 14490
14493 * xterm.c (do_line_dance): Only one parameter. 14491 * xterm.c (do_line_dance): Only one parameter.
14494 14492
14544 size. 14542 size.
14545 14543
14546 Tue Aug 19 14:38:05 1997 Gerd Moellmann <gerd@acm.org> 14544 Tue Aug 19 14:38:05 1997 Gerd Moellmann <gerd@acm.org>
14547 14545
14548 * xterm.c (x_display_and_set_cursor): Use FONT_WIDTH if width 14546 * xterm.c (x_display_and_set_cursor): Use FONT_WIDTH if width
14549 unknown. Some fonts have min_width zero. 14547 unknown. Some fonts have min_width zero.
14550 (draw_glyphs): Don't draw underlines to the end of the display 14548 (draw_glyphs): Don't draw underlines to the end of the display
14551 line if face is merely extended to that point. 14549 line if face is merely extended to that point.
14552 (draw_glyphs): Don't assume background is filled if 14550 (draw_glyphs): Don't assume background is filled if
14553 just_foreground_p but extending to end of line. 14551 just_foreground_p but extending to end of line.
14554 14552
14555 * xterm.c (XTclear_end_of_line): Clip only to display_height - 1 14553 * xterm.c (XTclear_end_of_line): Clip only to display_height - 1
14556 for partially visible last lines. 14554 for partially visible last lines.
14557 (x_clip_to_row): Ditto. 14555 (x_clip_to_row): Ditto.
14558 (x_clip_to_row): Clip to display_height-1 if y + line_height > 14556 (x_clip_to_row): Clip to display_height-1 if y + line_height >
14598 14596
14599 * xterm.h (WINDOW_COL_PIXEL_X etc.) Removed. 14597 * xterm.h (WINDOW_COL_PIXEL_X etc.) Removed.
14600 14598
14601 * dispextern.h (WINDOW_TO_FRAME_HPOS/VPOS): Moved to dispnew.c 14599 * dispextern.h (WINDOW_TO_FRAME_HPOS/VPOS): Moved to dispnew.c
14602 14600
14603 * xfns.c (x_contour_region): Use pixel coordinates from window 14601 * xfns.c (x_contour_region): Use pixel coordinates from window
14604 cursor instead of WINDOW_TO_FRAME_H/VPOS. 14602 cursor instead of WINDOW_TO_FRAME_H/VPOS.
14605 14603
14606 * dispextern.h (FRAME_TO_WINDOW_HPOS, FRAME_TO_WINDOW_VPOS): 14604 * dispextern.h (FRAME_TO_WINDOW_HPOS, FRAME_TO_WINDOW_VPOS):
14607 Removed. 14605 Removed.
14608 14606
14740 (skip_in_display_line_to): Test for to_pos after all glyphs 14738 (skip_in_display_line_to): Test for to_pos after all glyphs
14741 have been added to hpos so that hpos is at the end of all 14739 have been added to hpos so that hpos is at the end of all
14742 glyphs for to_pos. 14740 glyphs for to_pos.
14743 (start_display): Remove assertion. 14741 (start_display): Remove assertion.
14744 14742
14745 * dispnew.c (direct_output_forward_char): Bug fix, = instead of 14743 * dispnew.c (direct_output_forward_char): Bug fix, = instead of ==.
14746 ==.
14747 (update_window): Don't set row->y here. 14744 (update_window): Don't set row->y here.
14748 14745
14749 * xdisp.c (next_display_element): Don't translate control chars 14746 * xdisp.c (next_display_element): Don't translate control chars
14750 from display table entries. 14747 from display table entries.
14751 14748
14763 truncated line. 14760 truncated line.
14764 14761
14765 * xterm.c (x_draw_3d_borders): Use CapRound. Struct rect 14762 * xterm.c (x_draw_3d_borders): Use CapRound. Struct rect
14766 replaced by XRectangle. 14763 replaced by XRectangle.
14767 14764
14768 * dispnew.c (scrolling_window): New method. 14765 * dispnew.c (scrolling_window): New method.
14769 14766
14770 * xterm.c (do_line_dance): New implementation, new method. 14767 * xterm.c (do_line_dance): New implementation, new method.
14771 14768
14772 * xdisp.c (draw_glyphs): Draw truncation bitmaps. Clip to 14769 * xdisp.c (draw_glyphs): Draw truncation bitmaps. Clip to
14773 visible part of line. 14770 visible part of line.
14863 to canonical units. 14860 to canonical units.
14864 14861
14865 * window.h: phys_cursor_ascent + descent instead of height. 14862 * window.h: phys_cursor_ascent + descent instead of height.
14866 14863
14867 * xterm.c (XTget_char_info): Use per char metrics for multi-byte 14864 * xterm.c (XTget_char_info): Use per char metrics for multi-byte
14868 chars with charset width 1. 14865 chars with charset width 1.
14869 14866
14870 * dispnew.c (direct_output_for_insert): Set updated_row. 14867 * dispnew.c (direct_output_for_insert): Set updated_row.
14871 14868
14872 Sat Aug 9 12:11:44 1997 Gerd Moellmann <gerd@acm.org> 14869 Sat Aug 9 12:11:44 1997 Gerd Moellmann <gerd@acm.org>
14873 14870
14944 Use tabs as multiples of spaces. 14941 Use tabs as multiples of spaces.
14945 14942
14946 * dispextern.h (struct char_info ): WHAT field. 14943 * dispextern.h (struct char_info ): WHAT field.
14947 14944
14948 * term.c (encode_terminal_code): Don't use GLYPH_CHAR, use 14945 * term.c (encode_terminal_code): Don't use GLYPH_CHAR, use
14949 FAST_GLYPH_CHAR instead because GLYPH_CHAR won't remove faces. 14946 FAST_GLYPH_CHAR instead because GLYPH_CHAR won't remove faces.
14950 14947
14951 Mon Jul 28 14:23:06 1997 Gerd Moellmann <gerd@acm.org> 14948 Mon Jul 28 14:23:06 1997 Gerd Moellmann <gerd@acm.org>
14952 14949
14953 * dispnew.c (init_char_info): Correct TAB_WIDTH to a reasonable 14950 * dispnew.c (init_char_info): Correct TAB_WIDTH to a reasonable
14954 value. 14951 value.
15047 * xterm.c (XTflash): Flash last line of frame. 15044 * xterm.c (XTflash): Flash last line of frame.
15048 15045
15049 * dispextern.h (cursor_in_echo_area): Extern declaration. 15046 * dispextern.h (cursor_in_echo_area): Extern declaration.
15050 15047
15051 * xterm.c (dumpglyphs): 8-bit version to test if my Xserver 15048 * xterm.c (dumpglyphs): 8-bit version to test if my Xserver
15052 freezes stem from 16-bit functions. 15049 freezes stem from 16-bit functions.
15053 15050
15054 * xterm.c (x_display_and_set_cursor): Don't display hollow 15051 * xterm.c (x_display_and_set_cursor): Don't display hollow
15055 cursor in mini windows. 15052 cursor in mini windows.
15056 15053
15057 * window.c (replace_window): Initialize PHYS_CURSOR_TYPE. 15054 * window.c (replace_window): Initialize PHYS_CURSOR_TYPE.
15062 and X_DISPLAY_BAR_CURSOR. 15059 and X_DISPLAY_BAR_CURSOR.
15063 (x_display_cursor): Use it. 15060 (x_display_cursor): Use it.
15064 (x_update_window_cursor): Use it. 15061 (x_update_window_cursor): Use it.
15065 15062
15066 * xdisp.c (display_text_line): Set cursor for window even if not 15063 * xdisp.c (display_text_line): Set cursor for window even if not
15067 selected. 15064 selected.
15068 15065
15069 * xterm.c (x_display_bar_cursor): Use HPOS and VPOS instead 15066 * xterm.c (x_display_bar_cursor): Use HPOS and VPOS instead
15070 of X and Y to denote matrix positions. 15067 of X and Y to denote matrix positions.
15071 (x_display_cursor): Ditto. 15068 (x_display_cursor): Ditto.
15072 15069
15110 (x_draw_single_glyph): Ditto. 15107 (x_draw_single_glyph): Ditto.
15111 15108
15112 * xterm.h: Prototype for X_DISPLAY_CURSOR. 15109 * xterm.h: Prototype for X_DISPLAY_CURSOR.
15113 15110
15114 * xterm.c (XTcursor_to): Void return type. Test for 15111 * xterm.c (XTcursor_to): Void return type. Test for
15115 UPDATED_WINDOW. Call x_display_cursor with window. 15112 UPDATED_WINDOW. Call x_display_cursor with window.
15116 (x_display_cursor): Void return type. Window instead of frame 15113 (x_display_cursor): Void return type. Window instead of frame
15117 parameter. 15114 parameter.
15118 15115
15119 * window.h (WINDOW_RIGHTMOST_P, WINDOW_TOPMOST_P): Use functions 15116 * window.h (WINDOW_RIGHTMOST_P, WINDOW_TOPMOST_P): Use functions below.
15120 below.
15121 15117
15122 * window.c (window_rightmost_p, window_topmost_p): Based on 15118 * window.c (window_rightmost_p, window_topmost_p): Based on
15123 window tree. 15119 window tree.
15124 15120
15125 * dispnew.c (adjust_frame_message_buffer): Allocate with 15121 * dispnew.c (adjust_frame_message_buffer): Allocate with
15126 FRAME_MESSAGE_BUF_SIZE. 15122 FRAME_MESSAGE_BUF_SIZE.
15127 15123
15128 * window.h: PHYS_CURSOR_.* added. 15124 * window.h: PHYS_CURSOR_.* added.
15129 15125
15130 * frame.h (struct frame): Cursor information removed. 15126 * frame.h (struct frame): Cursor information removed.
15131 15127
15135 * window.h (WINDOW_LEFT_MARGIN): Remove FRAME_LEFT_SCROLL_BAR. 15131 * window.h (WINDOW_LEFT_MARGIN): Remove FRAME_LEFT_SCROLL_BAR.
15136 15132
15137 * window.c (window_internal_width): Scroll bars no longer 15133 * window.c (window_internal_width): Scroll bars no longer
15138 part of window. 15134 part of window.
15139 15135
15140 * xterm.c (XTclear_end_of_line): FRAME_LEFT_SCROLL_BAR_WIDTH 15136 * xterm.c (XTclear_end_of_line): FRAME_LEFT_SCROLL_BAR_WIDTH removed.
15141 removed. 15137
15142 15138 * xfns.c (x_set_scroll_bar_width): FRAME_LEFT_SCROLL_BAR_WIDTH removed.
15143 * xfns.c (x_set_scroll_bar_width): FRAME_LEFT_SCROLL_BAR_WIDTH
15144 removed.
15145 15139
15146 * xdisp.c (echo_area_display): FRAME_LEFT_SCROLL_BAR_WIDTH removed. 15140 * xdisp.c (echo_area_display): FRAME_LEFT_SCROLL_BAR_WIDTH removed.
15147 (redisplay_internal): Ditto. 15141 (redisplay_internal): Ditto.
15148 (redisplay_window): Ditto. 15142 (redisplay_window): Ditto.
15149 (redisplay_window): Ditto. 15143 (redisplay_window): Ditto.
15158 (update_frame_1): Ditto. 15152 (update_frame_1): Ditto.
15159 15153
15160 Mon Jul 14 12:30:03 1997 Gerd Moellmann <gerd@acm.org> 15154 Mon Jul 14 12:30:03 1997 Gerd Moellmann <gerd@acm.org>
15161 15155
15162 * dispnew.c (updated_window): Set by UPDATE_WINDOW to the window 15156 * dispnew.c (updated_window): Set by UPDATE_WINDOW to the window
15163 being updated. 15157 being updated.
15164 (update_window): Set and clear it. 15158 (update_window): Set and clear it.
15165 15159
15166 * dispnew.c (update_window_line, update_window, scrolling_window): 15160 * dispnew.c (update_window_line, update_window, scrolling_window):
15167 First versions. 15161 First versions.
15168 15162
15194 (change_frame_size_1): Ditto. 15188 (change_frame_size_1): Ditto.
15195 15189
15196 * xterm.c (XTupdate_begin): Set CURS_X/Y from selected window. 15190 * xterm.c (XTupdate_begin): Set CURS_X/Y from selected window.
15197 (XTwrite_glyphs): Use cursor position of selected window. 15191 (XTwrite_glyphs): Use cursor position of selected window.
15198 15192
15199 * xfns.c (x_set_scroll_bar_width): Set cursor pos of selected 15193 * xfns.c (x_set_scroll_bar_width): Set cursor pos of selected window.
15200 window.
15201 15194
15202 * dispnew.c (set_cursor_to): Set window cursor position. 15195 * dispnew.c (set_cursor_to): Set window cursor position.
15203 (direct_output_for_insert): Use window cursor position. 15196 (direct_output_for_insert): Use window cursor position.
15204 (init_display): Don't use frame cursor position. 15197 (init_display): Don't use frame cursor position.
15205 15198
15210 (FRAME_CURSOR_Y): Ditto. 15203 (FRAME_CURSOR_Y): Ditto.
15211 15204
15212 * dispnew.c (direct_output_for_insert): LAST_POINT_X removed. 15205 * dispnew.c (direct_output_for_insert): LAST_POINT_X removed.
15213 (direct_output_forward_char): Ditto. 15206 (direct_output_forward_char): Ditto.
15214 15207
15215 * xdisp.c (redisplay_internal): LAST_POINT_X and LAST_POINT_Y 15208 * xdisp.c (redisplay_internal): LAST_POINT_X and LAST_POINT_Y removed.
15216 removed.
15217 15209
15218 * window.c (make_window): LAST_POINT_X and LAST_POINT_Y removed. 15210 * window.c (make_window): LAST_POINT_X and LAST_POINT_Y removed.
15219 15211
15220 * window.h: LAST_POINT_X and LAST_POINT_Y removed. 15212 * window.h: LAST_POINT_X and LAST_POINT_Y removed.
15221 15213
15243 * dispnew.c (set_cursor_to): Set cursor position. 15235 * dispnew.c (set_cursor_to): Set cursor position.
15244 15236
15245 * minibuf.c (read_minibuf): Build frame matrix. 15237 * minibuf.c (read_minibuf): Build frame matrix.
15246 15238
15247 * xdisp.c (this_line_start_hpos): Renamed to 15239 * xdisp.c (this_line_start_hpos): Renamed to
15248 THIS_LINE_START_WINDOW_HPOS to make it clear that this is window 15240 THIS_LINE_START_WINDOW_HPOS to make it clear that this is window
15249 relative. 15241 relative.
15250 (this_line_vpos): Renamed to THIS_LINE_WINDOW_VPOS for the same 15242 (this_line_vpos): Renamed to THIS_LINE_WINDOW_VPOS for the same
15251 reason. 15243 reason.
15252 15244
15253 * dispnew.c (build_frame_matrix): Don't clear rows of the 15245 * dispnew.c (build_frame_matrix): Don't clear rows of the
15254 menu bar. 15246 menu bar.
15255 (clear_window_records): Clear window rows. 15247 (clear_window_records): Clear window rows.
15256 (clear_frame_records): Clear window and frame rows. 15248 (clear_frame_records): Clear window and frame rows.
15257 (clear_glyph_matrix): Set all rows of a matrix to empty. 15249 (clear_glyph_matrix): Set all rows of a matrix to empty.
15258 15250
15259 * xdisp.c (echo_area_display): Parameter UPDATE_FRAME_P. Update 15251 * xdisp.c (echo_area_display): Parameter UPDATE_FRAME_P.
15260 frame if set. 15252 Update frame if set.
15261 (message2_nolog): Pass 1 to ECHO_AREA_DISPLAY. UPDATE_FRAME 15253 (message2_nolog): Pass 1 to ECHO_AREA_DISPLAY. UPDATE_FRAME
15262 removed. 15254 removed.
15263 (redisplay_internal): Pass 0 to ECHO_AREA_DISPLAY. 15255 (redisplay_internal): Pass 0 to ECHO_AREA_DISPLAY.
15264 (redisplay_internal): Build frame matrix before UPDATE_FRAME. 15256 (redisplay_internal): Build frame matrix before UPDATE_FRAME.
15265 15257
15322 15314
15323 * dispnew.c (scroll_frame_lines): Make it work on window 15315 * dispnew.c (scroll_frame_lines): Make it work on window
15324 matrix. Change name to scroll_full_width_window. 15316 matrix. Change name to scroll_full_width_window.
15325 15317
15326 * xdisp.c (message2_nolog): Don't fwrite NULL message If 15318 * xdisp.c (message2_nolog): Don't fwrite NULL message If
15327 NONINTERACTIVE. 15319 NONINTERACTIVE.
15328 15320
15329 Mon Jul 7 14:44:38 1997 Gerd Moellmann <gerd@acm.org> 15321 Mon Jul 7 14:44:38 1997 Gerd Moellmann <gerd@acm.org>
15330 15322
15331 * dispnew.c (init_desired_glyphs): Clear both frame matrix 15323 * dispnew.c (init_desired_glyphs): Clear both frame matrix
15332 and window matrices. 15324 and window matrices.
15342 (try_window): Use window relative positions. 15334 (try_window): Use window relative positions.
15343 15335
15344 Sun Jul 6 17:02:26 1997 Gerd Moellmann <gerd@acm.org> 15336 Sun Jul 6 17:02:26 1997 Gerd Moellmann <gerd@acm.org>
15345 15337
15346 * dispnew.c (adjust_frame_glyphs): Allocate window matrices from 15338 * dispnew.c (adjust_frame_glyphs): Allocate window matrices from
15347 (0, 0). 15339 (0, 0).
15348 (allocate_leaf_matrix): Add FRAME_MENU_BAR_LINES to the height of 15340 (allocate_leaf_matrix): Add FRAME_MENU_BAR_LINES to the height of
15349 top-most windows. 15341 top-most windows.
15350 15342
15351 * window.h (WINDOW_TOPMOST_P): Added. 15343 * window.h (WINDOW_TOPMOST_P): Added.
15352 15344
15353 * xdisp.c (echo_area_display): Use PREPARE_DESIRED_ROW. 15345 * xdisp.c (echo_area_display): Use PREPARE_DESIRED_ROW.
15354 (redisplay_window): Ditto. 15346 (redisplay_window): Ditto.
15360 (display_mode_element): Ditto. 15352 (display_mode_element): Ditto.
15361 (echo_area_display): Don't display if frame has no pools yet. 15353 (echo_area_display): Don't display if frame has no pools yet.
15362 (echo_area_display): Work with window matrix for mini window. 15354 (echo_area_display): Work with window matrix for mini window.
15363 (redisplay_window): Use window marix for mini window. 15355 (redisplay_window): Use window marix for mini window.
15364 (display_text_line): Assume HPOS and VPOS are window relative and 15356 (display_text_line): Assume HPOS and VPOS are window relative and
15365 use that for DISPLAY_STRING. 15357 use that for DISPLAY_STRING.
15366 15358
15367 * dispextern.h: Prototype for prepare_desired_row. 15359 * dispextern.h: Prototype for prepare_desired_row.
15368 15360
15369 * dispnew.c (prepare_desired_row): Replacement for 15361 * dispnew.c (prepare_desired_row): Replacement for GET_DISPLAY_LINE.
15370 GET_DISPLAY_LINE.
15371 15362
15372 * dispnew.c (adjust_window_charstarts): Always allocate window 15363 * dispnew.c (adjust_window_charstarts): Always allocate window
15373 matrices. 15364 matrices.
15374 (clear_glyph_row): Only reset used counters and flags. 15365 (clear_glyph_row): Only reset used counters and flags.
15375 15366
15398 (preserve_other_columns): Add SPACE_GLYPH at then end of desired 15389 (preserve_other_columns): Add SPACE_GLYPH at then end of desired
15399 rows, instead of null-glyphs. 15390 rows, instead of null-glyphs.
15400 (direct_output_for_insert): Don't add null-glyph end marker. 15391 (direct_output_for_insert): Don't add null-glyph end marker.
15401 15392
15402 * scroll.c (do_direct_scrolling): Change algorithm to construct 15393 * scroll.c (do_direct_scrolling): Change algorithm to construct
15403 vector of lines assigned. Call MIRRORED_LINE_DANCE: 15394 vector of lines assigned. Call MIRRORED_LINE_DANCE:
15404 (do_scrolling): Ditto. 15395 (do_scrolling): Ditto.
15405 15396
15406 * dispnew.c (mirror_line_dance): Mirror line assignments in a 15397 * dispnew.c (mirror_line_dance): Mirror line assignments in a
15407 frame matrix in window matrices. 15398 frame matrix in window matrices.
15408 (mirrored_line_dance): Do line assignments during scrolling. 15399 (mirrored_line_dance): Do line assignments during scrolling.
15409 Maybe do corresponding assignments in window matrices. 15400 Maybe do corresponding assignments in window matrices.
15410 (check_window_matrix_pointers): Check that window rows and frame 15401 (check_window_matrix_pointers): Check that window rows and frame
15411 rows agree about glyph pointers. 15402 rows agree about glyph pointers.
15412 (check_matrix_pointers): Ditto. 15403 (check_matrix_pointers): Ditto.
15413 (mirrored_make_current): Make a row of a desired matrix current; 15404 (mirrored_make_current): Make a row of a desired matrix current;
15414 maybe mirror the operation in window matrices. 15405 maybe mirror the operation in window matrices.
15415 (mirror_make_current): Make window desired matrix row current when 15406 (mirror_make_current): Make window desired matrix row current when
15416 frame matrix row was made current. 15407 frame matrix row was made current.
15417 15408
15418 Fri Jul 4 13:27:46 1997 Gerd Moellmann <gerd@acm.org> 15409 Fri Jul 4 13:27:46 1997 Gerd Moellmann <gerd@acm.org>
15419 15410
15420 * dispnew.c (check_matrix_pointer_lossage): Check against 15411 * dispnew.c (check_matrix_pointer_lossage): Check against
15421 pointer lossage in matrices. 15412 pointer lossage in matrices.
15422 (get_glyph_matrix_row): Removed. 15413 (get_glyph_matrix_row): Removed.
15423 15414
15424 * scroll.c (do_scrolling): Simplified. 15415 * scroll.c (do_scrolling): Simplified.
15425 (do_direct_scrolling): Simplified. 15416 (do_direct_scrolling): Simplified.
15426 (scrolling_1): Pass CURRENT_MATRIX instead of FRAME to 15417 (scrolling_1): Pass CURRENT_MATRIX instead of FRAME to
15427 DO_.*SCROLLING. 15418 DO_.*SCROLLING.
15428 15419
15429 15420
15430 * dispnew.c (ins_del_glyph_rows): Insert/delete rows in a matrix. 15421 * dispnew.c (ins_del_glyph_rows): Insert/delete rows in a matrix.
15431 (rotate_vector): Removed. 15422 (rotate_vector): Removed.
15432 (rotate_pointers): Removed. 15423 (rotate_pointers): Removed.
15453 (struct glyph_row): HIGHLIGHT_P -> INVERSE_P 15444 (struct glyph_row): HIGHLIGHT_P -> INVERSE_P
15454 15445
15455 * all files: use above new names. 15446 * all files: use above new names.
15456 15447
15457 * dispnew.c (scroll_frame_lines): Simplified. Use 15448 * dispnew.c (scroll_frame_lines): Simplified. Use
15458 SCROLL_GLYPH_MATRIX. 15449 SCROLL_GLYPH_MATRIX.
15459 (make_glyph_row_empty): Mark a glyph row empty. 15450 (make_glyph_row_empty): Mark a glyph row empty.
15460 (increment_glyph_row_buffer_positions): Increment 15451 (increment_glyph_row_buffer_positions): Increment
15461 buffer positions in a glyph row. 15452 buffer positions in a glyph row.
15462 (increment_glyph_matrix_buffer_positions): Increment buffer 15453 (increment_glyph_matrix_buffer_positions): Increment buffer
15463 positions in a range of rows. 15454 positions in a range of rows.
15492 (cancel_my_columns): Ditto. 15483 (cancel_my_columns): Ditto.
15493 (update_line): Ditto. 15484 (update_line): Ditto.
15494 (direct_output_for_insert): Ditto. 15485 (direct_output_for_insert): Ditto.
15495 15486
15496 * dispextern.h (struct glyph_row): Use a vector of pointers 15487 * dispextern.h (struct glyph_row): Use a vector of pointers
15497 instead of individual members. Use a vector of used counters. 15488 instead of individual members. Use a vector of used counters.
15498 (MATRIX_ROW_SWAP_CONTENTS): Use vectors. 15489 (MATRIX_ROW_SWAP_CONTENTS): Use vectors.
15499 (MATRIX_ROW_GLYPH_START): Ditto. 15490 (MATRIX_ROW_GLYPH_START): Ditto.
15500 (MATRIX_ROW_GLYPH_END): Ditto. 15491 (MATRIX_ROW_GLYPH_END): Ditto.
15501 (MATRIX_ROW_USED): Ditto. 15492 (MATRIX_ROW_USED): Ditto.
15502 (MATRIX_ROW_SET_USED): Ditto. 15493 (MATRIX_ROW_SET_USED): Ditto.
15515 (bitch_at_user): Ditto. 15506 (bitch_at_user): Ditto.
15516 (init_display): Ditto. 15507 (init_display): Ditto.
15517 (syms_of_display): Ditto. 15508 (syms_of_display): Ditto.
15518 15509
15519 * dispextern.h: add prototypes for REDRAW_FRAME, 15510 * dispextern.h: add prototypes for REDRAW_FRAME,
15520 REDRAW_GARBAGED_FRAMES, CANCEL_LINE, CLEAR_FRAME_RECORDS, 15511 REDRAW_GARBAGED_FRAMES, CANCEL_LINE, CLEAR_FRAME_RECORDS,
15521 INIT_DESIRED_GLYPHS, SCROLL_FRAME_LINES, PRESERVE_OTHER_COLUMNS, 15512 INIT_DESIRED_GLYPHS, SCROLL_FRAME_LINES, PRESERVE_OTHER_COLUMNS,
15522 ADJUST_WINDOW_CHARSTARTS, CANCEL_MY_COLUMNS, 15513 ADJUST_WINDOW_CHARSTARTS, CANCEL_MY_COLUMNS,
15523 DIRECT_OUTPUT_FOR_INSERT, DIRECT_OUTPUT_FORWARD_CHAR, 15514 DIRECT_OUTPUT_FOR_INSERT, DIRECT_OUTPUT_FORWARD_CHAR,
15524 UPDATE_FRAME, SCROLLING, BUFFER_POSN_FROM_COORDS, 15515 UPDATE_FRAME, SCROLLING, BUFFER_POSN_FROM_COORDS,
15525 DO_PENDING_WINDOW_CHANGE, CHANGE_FRAME_SIZE, BITCH_AT_USER, 15516 DO_PENDING_WINDOW_CHANGE, CHANGE_FRAME_SIZE, BITCH_AT_USER,
15526 SIT_FOR, INIT_DISPLAY, SYMS_OF_DISPLAY, 15517 SIT_FOR, INIT_DISPLAY, SYMS_OF_DISPLAY,
15527 15518
15528 * dispnew.c (redraw_frame): FRAME_PTR -> struct frame. Return 15519 * dispnew.c (redraw_frame): FRAME_PTR -> struct frame. Return
15529 void. 15520 void.
15530 (cancel_line): Return void. 15521 (cancel_line): Return void.
15531 (clear_frame_records): Return void. 15522 (clear_frame_records): Return void.
15532 15523
15533 * dispextern.h (struct glyph): Remove GLYPH, add bit-fields. 15524 * dispextern.h (struct glyph): Remove GLYPH, add bit-fields.
15534 (SET_CHAR_GLYPH): Fill a character glyph. 15525 (SET_CHAR_GLYPH): Fill a character glyph.
15546 (MATRIX_ROW_SWAP_CONTENTS): Swap pointers between rows. 15537 (MATRIX_ROW_SWAP_CONTENTS): Swap pointers between rows.
15547 15538
15548 * term.c (reassert_line_highlight): Check CHARS_WASTED == 0. 15539 * term.c (reassert_line_highlight): Check CHARS_WASTED == 0.
15549 15540
15550 * window.h (struct window): Add comment that no Lisp data may 15541 * window.h (struct window): Add comment that no Lisp data may
15551 come below CURRENT_MATRIX. 15542 come below CURRENT_MATRIX.
15552 15543
15553 * alloc.c (mark_object): Change window mark code to stop with 15544 * alloc.c (mark_object): Change window mark code to stop with
15554 member CURRENT_MATRIX. 15545 member CURRENT_MATRIX.
15555 15546
15556 Sat Jun 28 13:54:55 1997 Gerd Moellmann <gerd@acm.org> 15547 Sat Jun 28 13:54:55 1997 Gerd Moellmann <gerd@acm.org>
15557 15548
15558 * scroll.c (do_scrolling): Change algorithm to use pointers. 15549 * scroll.c (do_scrolling): Change algorithm to use pointers.
15559 (do_direct_scrolling): Ditto. 15550 (do_direct_scrolling): Ditto.
15560 15551
15561 * dispnew.c (get_glyph_matrix_row): Use pointers stored in rows. 15552 * dispnew.c (get_glyph_matrix_row): Use pointers stored in rows.
15562 (new_glyph_pool): Formerly new_FRAME_GLYPH_MATRIX. 15553 (new_glyph_pool): Formerly new_FRAME_GLYPH_MATRIX.
15563 (free_glyph_pool): Formerly FREE_FRAME_GLYPH_MATRIX 15554 (free_glyph_pool): Formerly FREE_FRAME_GLYPH_MATRIX
15564 (realloc_glyph_pool): Formerly REALLOC_FRAME_GLYPH_MATRIX. 15555 (realloc_glyph_pool): Formerly REALLOC_FRAME_GLYPH_MATRIX.
15565 Returns 1 if pool changed. 15556 Returns 1 if pool changed.
15566 (matrix_row): Additional check for lost pointers to glyph rows. 15557 (matrix_row): Additional check for lost pointers to glyph rows.
15567 (compute_matrices): Additional parameter DIM_P set means that no 15558 (compute_matrices): Additional parameter DIM_P set means that no
15568 allocation should take place. Addtional parameter 15559 allocation should take place. Addtional parameter
15569 ANY_WINDOWS_CHANGED_P set if any windows matrix has changed. 15560 ANY_WINDOWS_CHANGED_P set if any windows matrix has changed.
15570 (compute_leaf_matrix): Additional parameter CHANGED_P set to 1 15561 (compute_leaf_matrix): Additional parameter CHANGED_P set to 1
15571 when window matrix changes. Additional parameter DIM_ONLY_P set 15562 when window matrix changes. Additional parameter DIM_ONLY_P set
15572 to 1 to indicate that no allocation should take place. 15563 to 1 to indicate that no allocation should take place.
15573 (adjust_frame_glyphs): Construct new glyph pools and glyph 15564 (adjust_frame_glyphs): Construct new glyph pools and glyph
15574 matrices. Optimize frame redraws. 15565 matrices. Optimize frame redraws.
15575 (free_glyphs): Free pools. 15566 (free_glyphs): Free pools.
15576 (check_glyph_memory): Check pools not freed. 15567 (check_glyph_memory): Check pools not freed.
15577 (rotate_pointers): Rotate pointers in a vector of glyph rows. 15568 (rotate_pointers): Rotate pointers in a vector of glyph rows.
15578 (scroll_frame_lines): Change algorithm to use pointers. 15569 (scroll_frame_lines): Change algorithm to use pointers.
15579 (update_line): Ditto. 15570 (update_line): Ditto.
15580 15571
15581 * dispextern.h (struct glyph_row): Use pointers to areas in a row. 15572 * dispextern.h (struct glyph_row): Use pointers to areas in a row.
15582 (global): All macro names changed from prefix FRAME_MATRIX to 15573 (global): All macro names changed from prefix FRAME_MATRIX to
15583 MATRIX. 15574 MATRIX.
15584 15575
15585 Fri Jun 27 14:51:15 1997 Gerd Moellmann <gerd@acm.org> 15576 Fri Jun 27 14:51:15 1997 Gerd Moellmann <gerd@acm.org>
15586 15577
15587 * dispextern.h (struct glyph_pool): Replacement for former 15578 * dispextern.h (struct glyph_pool): Replacement for former
15588 FRAME_GLYPH_MATRIX. 15579 FRAME_GLYPH_MATRIX.
15916 1999-06-11 Jason Rumney <jasonr@altavista.net> 15907 1999-06-11 Jason Rumney <jasonr@altavista.net>
15917 15908
15918 * w32term.c (cancel_mouse_face): New function. See equiv 15909 * w32term.c (cancel_mouse_face): New function. See equiv
15919 changes to xterm.c on 1996-10-31. 15910 changes to xterm.c on 1996-10-31.
15920 (x_set_window_size): Use cancel_mouse_face. 15911 (x_set_window_size): Use cancel_mouse_face.
15921 (w32_read_socket): Use cancel_mouse_face. 15912 (w32_read_socket): Use cancel_mouse_face.
15922 Update frame position when size is restored. 15913 Update frame position when size is restored.
15923 15914
15924 1999-06-04 Richard M. Stallman <rms@gnu.org> 15915 1999-06-04 Richard M. Stallman <rms@gnu.org>
15925 15916
15926 * lread.c (Vuser_init_file): New variable. 15917 * lread.c (Vuser_init_file): New variable.
15927 (syms_of_lread): Set up Lisp variable. 15918 (syms_of_lread): Set up Lisp variable.