1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
Commit graph

13144 commits

Author SHA1 Message Date
Gerd Moellmann
9b0e97aaa0 (struct redisplay_history) [GLYPH_DEBUG]: New.
(REDISPLAY_HISTORY_SIZE) [GLYPH_DEBUG]: New macro.
(redisplay_history, history_idx, history_tick) [GLYPH_DEBUG]: New
variables.
(add_window_display_history, add_frame_display_history)
(Fdump_redisplay_history) [GLYPH_DEBUG]: New functions.
(build_frame_matrix_from_leaf_window): Remove unused code.
(build_frame_matrix_from_leaf_window) [GLYPH_DEBUG]: Add to
redisplay history.
(update_frame) [GLYPH_DEBUG]: Add to redisplay history.
(update_window) [GLYPH_DEBUG]: Likewise.
(syms_of_display): Defsubr dump-redisplay-history.
2000-12-27 12:43:22 +00:00
Gerd Moellmann
3e32cc273a *** empty log message *** 2000-12-27 12:42:55 +00:00
Gerd Moellmann
f717c2baaa (echo_prompt): Always set current_kboard->echoptr to
the end of the prompt.  Set echo_after_prompt to the offset
of echoptr in echobuf.
2000-12-23 23:09:04 +00:00
Gerd Moellmann
aeb2b8fc29 (init_from_display_pos): Pop until the iterator's
stack is empty; there may be frames for stretch or images
on the stack.
2000-12-23 19:23:24 +00:00
Gerd Moellmann
31798cfeb5 (save_frame_matrix, restore_frame_matrix): Removed.
(save_or_restore_current_matrix): New function for the same
purpose, but more efficient.
(adjust_frame_glyphs_for_frame_redisplay): Use it.
2000-12-23 17:22:45 +00:00
Eli Zaretskii
f81561561a (syms_of_xdisp): Fix last change. 2000-12-23 16:20:22 +00:00
Gerd Moellmann
bdd6d4e85c *** empty log message *** 2000-12-23 15:43:08 +00:00
Gerd Moellmann
504454e824 (syms_of_xdisp): Doc fix.
(redisplay_window): Remove label restore_buffers;
use finish_scroll_bars instead to make sure that scroll bars
are redeemed.  If we don't do this, flickering can result from
scroll bars being destroyed and recreated.
2000-12-23 15:32:07 +00:00
Gerd Moellmann
856ff7a7ed *** empty log message *** 2000-12-22 13:49:57 +00:00
Gerd Moellmann
f18625cd58 (size_window): When setting the window's too_small_ok
flag, compare old size with minimum size depending on WIDTH_P,
don't compare with window_min_width.
2000-12-22 13:48:19 +00:00
Jason Rumney
9436cdf9a6 (w32_draw_bitmap): Fix drawing so it does not appear in the wrong colors
when the foreground is not black.
(expose_window): Don't redraw the window that's currently being updated.
2000-12-22 11:33:37 +00:00
Gerd Moellmann
951f9df517 (delete_window): Simplify somewhat.
(Fset_window_configuration): Don't SET_FRAME_GARBAGED after
freeing window matrices.  The flag windows_or_buffers_changed is
set, so the next redisplay will consider all windows; this should
suffice.
2000-12-22 10:51:42 +00:00
Kenichi Handa
f455f068fb (struct ccl_program): New member cr_consumed. 2000-12-22 00:07:09 +00:00
Kenichi Handa
17312e44d7 (CCL_WRITE_CHAR): Don't handle EOL conversion here.
(CCL_READ_CHAR): Handle EOL conversion here.
(ccl_driver) <CCL_ReadMultibyteChar2>: Likewise.
2000-12-22 00:06:52 +00:00
Kenichi Handa
80e0ca99ce (ccl_coding_driver): Initialize ccl->cr_consumed. 2000-12-21 23:22:16 +00:00
Kenichi Handa
886bc93350 *** empty log message *** 2000-12-21 23:17:22 +00:00
Gerd Moellmann
6ba384dc77 *** empty log message *** 2000-12-21 21:27:37 +00:00
Gerd Moellmann
7ef18b28bc Fix a typo. 2000-12-21 20:42:01 +00:00
Gerd Moellmann
e9abc29657 (Fdump_glyph_row) [GLYPH_DEBUG]: Add optional arg
GLYPHS.
2000-12-21 20:41:26 +00:00
Gerd Moellmann
726950c4dc (GLYPH_EQUAL_P): Also compare pixel widths,
otherwise tabs of different size compare equal.
2000-12-21 20:40:58 +00:00
Gerd Moellmann
4f8959185a (Fcall_interactively): Prevent a compiler warning. 2000-12-21 20:40:40 +00:00
Gerd Moellmann
ee5263afa8 (print_unwind): Return nil.
(PRINTDECLARE): Initialize all local variables.
(print_preprocess): Add a default case.
2000-12-21 20:40:10 +00:00
Gerd Moellmann
c6ae41f3c9 (Qinhibit_point_motion_hooks): Declare extern. 2000-12-21 16:57:00 +00:00
Gerd Moellmann
8e15274f3f *** empty log message *** 2000-12-21 16:56:38 +00:00
Gerd Moellmann
8c757fd783 (Fprimitive_undo): Bind `inhibit-point-motion-hooks' to t. 2000-12-21 16:56:13 +00:00
Gerd Moellmann
177f4e888d *** empty log message *** 2000-12-21 15:58:48 +00:00
Gerd Moellmann
9ab436b9e0 (dump_glyph_row, dump_glyph_matrix, Fdump_glyph_matrix)
[GLYPH_DEBUG]: Extended to dump glyphs in short form.
2000-12-21 15:39:58 +00:00
Gerd Moellmann
e797dea65e (ensure_frame_matrix): Removed.
(save_frame_matrix, restore_frame_matrix): New functions.
(adjust_frame_glyphs_for_frame_redisplay): Use them.
2000-12-21 15:39:27 +00:00
Gerd Moellmann
fa4b4cfd92 (ensure_frame_matrix): Function declaration removed. 2000-12-21 15:39:04 +00:00
Gerd Moellmann
a2d8ce7900 (delete_window, Fsplit_window)
(Fset_window_configuration): Calls to ensure_frame_matrix removed.
2000-12-21 15:38:38 +00:00
Andrew Innes
99012074ba (x_update_begin): Regenerate the palette here, rather
than for each window.
2000-12-21 14:58:55 +00:00
Andrew Innes
90f4a9f8e2 (select_palette): Avoid calling SelectPalette if
palette is NULL, since this corrupts memory!  Also get
display_info reference from frame.
2000-12-21 14:58:09 +00:00
Jason Rumney
988646fc79 (x_draw_hollow_cursor): Delay obtaining the frame's DC to avoid
returning without releasing it.
2000-12-21 11:06:32 +00:00
Jason Rumney
3e27fa1f83 (w32_init_bdf_font): Fix test for valid bmp heap. 2000-12-21 11:05:33 +00:00
Jason Rumney
29ef7d2de4 *** empty log message *** 2000-12-21 11:04:01 +00:00
Kenichi Handa
587fc3f9ed *** empty log message *** 2000-12-21 02:41:28 +00:00
Kenichi Handa
588fc8bdf0 (push_key_description): Don't convert eight-bit-control
and eight-bit-graphic to multibyte character.
2000-12-21 01:58:28 +00:00
Kenichi Handa
3073601217 (Fmake_char_internal): If CHARSET doesn't have a
generic character and CODE1 is nil, return the smallest character
in CHARSET.
2000-12-21 00:12:13 +00:00
Kenichi Handa
3f9d67a6d4 *** empty log message *** 2000-12-21 00:09:15 +00:00
Dave Love
774ba8c93d (NSIG): Don't redefine. 2000-12-21 00:01:55 +00:00
Stefan Monnier
88416888aa (where_is_internal): Check ascii_sequence_p rather than
excluding menu-bar and tool-bar.
(Fwhere_is_internal): Check ascii_sequence_p when looking up the cache.
(menu_item_p): Remove.
(where_is_internal_1): Don't ignore menu-items.
2000-12-20 22:46:44 +00:00
Gerd Moellmann
03ff8aabc3 *** empty log message *** 2000-12-20 15:37:23 +00:00
Gerd Moellmann
3172f70b51 (hscroll_window_tree): Take window's min_hscroll
into account.
2000-12-20 15:36:56 +00:00
Gerd Moellmann
ea68264b3a (make_window): Initialize window's min_hscroll.
(Fset_window_hscroll): Set window's hscroll and min_hscroll.
(set_window_buffer, temp_output_buffer_show): Set min_hscroll
to zero.
(struct saved_window): New member min_hscroll.
(SAVED_WINDOW_VECTOR_SIZE): Set to 17.
(Fset_window_configuration): Set window's min_hscroll.
(save_window_save): Save window's min_hscroll.
(compare_window_configurations): Compare min_hscroll values.
2000-12-20 15:36:29 +00:00
Gerd Moellmann
0248728d0d (struct window): New member min_hscroll. 2000-12-20 15:36:07 +00:00
Gerd Moellmann
102d8a2216 (echo_prompt): Prevent a compiler warning. 2000-12-20 15:13:36 +00:00
Gerd Moellmann
8de4aaf863 (try_cursor_movement): Fix last change. The real
condition is that PT is at the end of the row, and should
be displayed at the start of the next row.
2000-12-20 14:25:09 +00:00
Gerd Moellmann
3f7e303108 (try_cursor_movement): If we end on a partially
visible line, end we already decided to scroll, return -1.
2000-12-20 14:10:20 +00:00
Gerd Moellmann
c9f00270df (fake_current_matrices, ensure_frame_matrix): New
functions.
(adjust_frame_glyphs_for_frame_redisplay): If display has been
completed, call fake_current_matrices instead of marking frame
garbaged.
2000-12-20 12:00:57 +00:00
Gerd Moellmann
aa35ba9e18 (delete_window, Fsplit_window)
(Fset_window_configuration): Call ensure_frame_matrix.
2000-12-20 12:00:24 +00:00