1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

13774 commits

Author SHA1 Message Date
Gerd Moellmann
ad18ffb15b (postprocess_image): New function.
(lookup_image): Call it for all image types except PostScript.
(x_kill_gs_process): Call postprocess_image.
2001-04-03 15:31:08 +00:00
Gerd Moellmann
f9dbcda413 *** empty log message *** 2001-04-03 11:29:55 +00:00
Gerd Moellmann
a72d5ce5f3 (x_use_underline_position_properties): New variable.
(x_draw_glyph_string): Use it.
(syms_of_xterm): DEFVAR_BOOL it.
2001-04-03 11:25:12 +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
1c76939805 Remove debugging code. 2001-03-30 18:44:37 +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
cabf45daae (reseat_to_string): Undo last change. 2001-03-30 15:11:53 +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
3c062f186d (Fprin1, Fprin1_to_string, Fprinc, Fprint): Fix last change. 2001-03-30 10:59:36 +00:00
Eli Zaretskii
aea51abefd *** empty log message *** 2001-03-29 15:38:09 +00:00
Eli Zaretskii
6d6ebdc1d8 (syms_of_fileio) <directory-sep-char>: Warn that it is deprecated. 2001-03-29 15:05:05 +00:00
Gerd Moellmann
ed31fabfe9 *** empty log message *** 2001-03-29 14:25:52 +00:00
Gerd Moellmann
cc515226ef (Fsubr_interactive_form): New function.
(syms_of_data): Defsubr it.
2001-03-29 13:58:30 +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
26fad6e5d6 (Ffloat_time): Fix off-by-factor-of-10 bug in the
microseconds calcuation.  Avoid double-rounding problem.
In doc string, warn that the result is approximate.
2001-03-28 15:50:47 +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
8efb6cc7ad (call_debugger): Bind `inhibit-redisplay' to nil, and
bind inhibit-eval-during-redisplay' to t.
2001-03-28 15:33:13 +00:00
Gerd Moellmann
04b80c65ce (Qinhibit_eval_during_redisplay): Declare extern. 2001-03-28 15:32:52 +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
84f68fd5d0 (realize_basic_faces): Decrement menu_face_change_count
instead of setting it to zero; it's incremented for each frame
where the menu face is changed.
2001-03-28 12:45:54 +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
e12ea64e79 (BYTE_CODE_QUIT): New macro.
(Fbyte_code): Use BYTE_CODE_QUIT instead of QUIT.
2001-03-28 10:01:51 +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
Eli Zaretskii
3fa0c5052b (Fprin1, Fprin1_to_string, Fprinc, Fprint): Doc fix. 2001-03-26 17:07:37 +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
Gerd Moellmann
8ad582ac65 (x_update_menu_appearance): Use a different path
for Lucid popup menus.
2001-03-23 11:13:43 +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
Stefan Monnier
eb49081e3e (note_mouse_highlight): Dec the int, not the Lisp_Object. 2001-03-23 04:24:23 +00:00