Commit graph

1594 commits

Author SHA1 Message Date
Gerd Moellmann
f9dbcda413 *** empty log message *** 2001-04-03 11:29:55 +00:00
Gerd Moellmann
651f03b6de (x_alloc_nearest_color_1): New function.
(x_alloc_nearest_color): Use it.
(x_color_cells): Take a Display as argument, instead of a frame.
(string_to_pixel_args, cvt_string_to_pixel_value): New variables.
(cvt_string_to_pixel, cvt_pixel_dtor): New functions.
(x_initialize): Register cvt_string_to_pixel as resource converter
string -> Pixel and cvt_pixel_dtor as pixel resource destructor.
2001-04-02 15:50:06 +00:00
Gerd Moellmann
b2046df875 (get_overlay_strings): Set iterator's end_charpos.
(set_iterator_to_next): If a string from a display property ends,
consider the case that this might also be the end of an
overlay string having the display property.
2001-03-30 18:35:46 +00:00
Gerd Moellmann
12700f406a (handle_display_prop): Fix recognition of subproperty
lists.
2001-03-30 17:52:51 +00:00
Gerd Moellmann
87d8eba4b7 *** empty log message *** 2001-03-30 16:05:40 +00:00
Gerd Moellmann
73d75a6228 (adjust_glyph_matrix): Don't try to reuse the current
matrix of a window when the header line changes, when
new rows are allocated, or when the width changes.
2001-03-30 14:09:29 +00:00
Eli Zaretskii
911a24060a *** empty log message *** 2001-03-30 11:41:13 +00:00
Eli Zaretskii
aea51abefd *** empty log message *** 2001-03-29 15:38:09 +00:00
Gerd Moellmann
ed31fabfe9 *** empty log message *** 2001-03-29 14:25:52 +00:00
Gerd Moellmann
176bc84713 (live_string_p, live_cons_p, live_symbol_p)
(live_float_p, live_misc_p): Return 1 only if the offset of the
pointer in its block is >= 0.
2001-03-29 10:35:51 +00:00
Gerd Moellmann
e59d0e9d09 *** empty log message *** 2001-03-28 15:51:15 +00:00
Gerd Moellmann
30a3f61cdc (inhibit_eval_during_redisplay)
(Qinhibit_eval_during_redisplay): New variables.
(safe_eval, safe_call): If inhibit_eval_during_redisplay is set,
don't eval, return nil instead.
(syms_of_xdisp): DEFVAR_BOOL inhibit-eval-during-redisplay.
Initialize Qinhibit_eval_during_redisplay.
2001-03-28 15:34:38 +00:00
Gerd Moellmann
e719f5aea7 (reseat_to_string): If STRING is multibyte, set
the iterator's multibyte_p flag.
2001-03-28 14:32:24 +00:00
Gerd Moellmann
deb2613a51 *** empty log message *** 2001-03-28 12:46:20 +00:00
Gerd Moellmann
44655e7796 (x_draw_relief_rect): Extend left shadow to the
bottom; change bottom shadow accordingly.
2001-03-28 12:37:12 +00:00
Gerd Moellmann
a02f1be0c0 (expose_window_tree, expose_frame): Don't compute
intersections here.
(expose_window): Do it here instead.
(x_draw_glyph_string): Fix a computation of the underline
position.
2001-03-28 12:06:39 +00:00
Gerd Moellmann
f827b862ad *** empty log message *** 2001-03-28 10:02:31 +00:00
Gerd Moellmann
607ec83c51 (try_window_reusing_current_matrix) <scrolling up>:
Give up if matrix starts in an ellipsis.
(init_from_display_pos): Do nothing if POS doesn't specify
a dpvec_index but the iterator has such a position.
2001-03-27 18:02:26 +00:00
Gerd Moellmann
0245398f1d (init_from_display_pos): Remove unwarranted assertion. 2001-03-27 16:52:09 +00:00
Gerd Moellmann
aba253484f (free_frame_menubar) [USE_MOTIF]: If the shell widget's
x/y position is (0, 0) after destroying the menu bar, restore
its original position.
2001-03-27 14:41:03 +00:00
Gerd Moellmann
4bde0ebb8d (in_ellipses_for_invisible_text_p): New function.
(init_from_display_pos): Use it.
(try_window_reusing_current_matrix): Don't use cursor_row_p.
2001-03-27 09:59:39 +00:00
Gerd Moellmann
8cdb267e09 (try_window_id): Undo last change. 2001-03-26 17:54:34 +00:00
Eli Zaretskii
9948db79dd (syms_of_buffer): Doc fix. 2001-03-26 17:09:00 +00:00
Gerd Moellmann
2eddf89900 (x_update_menu_appearance): Use local variable
popup_path for setting font resources.
2001-03-26 12:04:33 +00:00
Eli Zaretskii
6a65b1b512 (Fframe_list): Don't reference tip_frame if HAVE_WINDOW_SYSTEM is not defined. 2001-03-25 18:37:29 +00:00
Eli Zaretskii
6c145d351d (main): Update the copyright year.
From Werner LEMBERG <wl@gnu.org>.
2001-03-25 18:20:58 +00:00
Gerd Moellmann
20fbd92520 (init_from_display_pos): Test invisible property
with TEXT_PROP_MEANS_INVISIBLE instead of NILP.
2001-03-25 15:56:17 +00:00
Gerd Moellmann
927c5b3b64 (redisplay_internal) <update one window>: Make sure
last_arrow_position and last_arrow_string are set.
2001-03-25 12:01:31 +00:00
Gerd Moellmann
d74c19004f (Fframe_list): Don't return a tooltip frame. 2001-03-25 11:37:40 +00:00
Gerd Moellmann
43c099691a (mark_window_display_accurate_1): New function,
extracted from mark_window_display_accurate.  Compute
BUF_UNCHANGED_MODIFIED, BUF_OVERLAY_UNCHANGED_MODIFIED,
BUF_BEG_UNCHANGED, BUF_END_UNCHANGED.
(mark_window_display_accurate): Use it.
(redisplay_internal): Use it for the selected window.
(redisplay_internal): Avoid duplicate mark_window_display_accurate
for the selected frame.
2001-03-23 17:20:52 +00:00
Gerd Moellmann
ac90c44f60 (try_window_id): Disable rows below the window end.
(try_window_reusing_current_matrix): Use cursor_row_p.
(try_window_reusing_current_matrix) <scrolling up>: Fix disabling
of rows.
(init_from_display_pos): If POS specifies a position in a display
vector, maybe get the iterator set up for that ellipsis.
2001-03-23 16:22:00 +00:00
Gerd Moellmann
091f887891 (dump_glyph_row): Fix output for NGLYPHS == 2. 2001-03-23 12:26:28 +00:00
Eli Zaretskii
991786ddc0 Include widget.h only if USE_X_TOOLKIT is defined. 2001-03-23 12:09:53 +00:00
Gerd Moellmann
6c29b43cdc *** empty log message *** 2001-03-23 11:14:13 +00:00
Stefan Monnier
d873120270 (init_iterator): Check WINDOWP before using XWINDOW.
(string_buffer_position): Use `make_number'.
2001-03-23 04:24:35 +00:00
Gerd Moellmann
3c9e997b3c *** empty log message *** 2001-03-22 19:52:23 +00:00
Gerd Moellmann
364cd45042 (update_frame_menubar, set_frame_menubar, xmenu_show):
Remove calls to x_set_menu_resources_from_menu_face.
2001-03-22 18:34:55 +00:00
Gerd Moellmann
f61a541bca Include widget.h.
(single_submenu): Return int.  Some cleanup.
(set_frame_menubar): Call x_set_menu_resources_from_menu_face.
2001-03-22 13:34:00 +00:00
Gerd Moellmann
140330dee9 (x_update_window_end): Handle overwritten mouse face
also for tool bar windows.
(show_mouse_face): Set the glyph row's mouse_face_p flag also when
DRAW is DRAW_IMAGE_RAISED.
2001-03-21 17:13:05 +00:00
Gerd Moellmann
fa88947ed1 *** empty log message *** 2001-03-20 14:23:24 +00:00
Gerd Moellmann
1741905c9a *** empty log message *** 2001-03-20 13:37:59 +00:00
Gerd Moellmann
357e737652 (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
Clear area of the frame not occupied by the scroll bar.
2001-03-19 18:50:47 +00:00
Gerd Moellmann
c2c097cc4c *** empty log message *** 2001-03-19 14:22:49 +00:00
Gerd Moellmann
ade0bee1fc (highlight_trailing_whitespace): Glyphs whose object
is an integer don't have to be for space characters.
2001-03-19 12:35:22 +00:00
Gerd Moellmann
88c6e37e85 (current_column, current_column_1, Fmove_to_column)
(compute_motion): Handle characters from display vectors
differently.
2001-03-16 13:33:46 +00:00
Kenichi Handa
c62eed7678 *** empty log message *** 2001-03-16 02:50:18 +00:00
Gerd Moellmann
d0bbfc999a (timer_check): Preserve the value of deactivate-mark.
(command_loop_1): Undo last change.
2001-03-15 16:31:51 +00:00
Gerd Moellmann
03d1a18966 (fast_find_position): Return the correct vpos. 2001-03-15 16:29:17 +00:00
Gerd Moellmann
c899e7e637 *** empty log message *** 2001-03-15 09:44:37 +00:00
Gerd Moellmann
697617d9d7 *** empty log message *** 2001-03-14 16:37:12 +00:00