Commit Graph

1631 Commits

Author SHA1 Message Date
Gerd Moellmann
c95fc5f1b9 (x_window_to_menu_bar) [USE_LUCID]: New function.
(XTread_socket) [USE_LUCID] <Expose>: Handle events for
windows that are components of a Lucid menu bar.
2001-04-30 14:38:34 +00:00
Gerd Moellmann
5a5d918531 *** empty log message *** 2001-04-27 13:01:17 +00:00
Gerd Moellmann
ba973f7a65 (save_excursion_restore): Don't use XBUFFER on
a non-buffer.
2001-04-26 12:37:43 +00:00
Gerd Moellmann
a728644cc8 *** empty log message *** 2001-04-25 18:32:07 +00:00
Gerd Moellmann
c88164fe6b (wait_reading_process_input): Call
record_asynch_buffer_change only if a timer really changed
buffers.
2001-04-25 15:12:49 +00:00
Gerd Moellmann
bfd8410fc2 (mouse_face_overlay_overlaps): Fix the computation
of the number of overlays to check.
2001-04-25 14:51:11 +00:00
Gerd Moellmann
be2488ca37 (command_loop_1): Redo change of 2001-03-12. 2001-04-25 14:36:32 +00:00
Gerd Moellmann
8c56a9830e (try_window_id): Fix a case where window_end_pos
and window_end_bytepos were not adjusted.
2001-04-25 14:15:21 +00:00
Gerd Moellmann
522d42f715 (compute_char_face): If buffer is unibyte, set CH to
zero instead of -1.
2001-04-23 14:58:40 +00:00
Eli Zaretskii
78c1afb681 (wait_reading_process_input) [!subprocesses]: Don't
reference waiting_for_user_input_p, it's not defined in the branch
without async subprocesses support.
2001-04-21 19:52:11 +00:00
Gerd Moellmann
a122a38eee (delete_kboard): Prevent a dangling reference
from current_kboard to KB, which is freed.
2001-04-19 13:00:29 +00:00
Gerd Moellmann
a2fab450ed (wait_reading_process_input): Call
record_asynch_buffer_change after running timers, to make
read_key_sequence aware of buffer changes from under it.
2001-04-19 12:47:59 +00:00
Gerd Moellmann
eeffb293a3 (Qscalable_fonts_allowed): New variable.
(realizing_basic_faces_p): Removed.
(x_face_list_fonts): Special handling for realizing_basic_faces_p
removed.
(realize_basic_faces): Specbind Qscalable_fonts_allowed to t.
(syms_of_xfaces): Initialize Qscalable_fonts_allowed.  Change
default for scalable-fonts-allowed to t.
2001-04-18 18:53:11 +00:00
Gerd Moellmann
0f8d6dc7c2 *** empty log message *** 2001-04-18 15:36:20 +00:00
Eli Zaretskii
eec2d1ded9 (__malloc_size_t) [__GNUC__]: If STDC_HEADERS is not
defined, include stddef.h and use __SIZE_TYPE__ instead of size_t.
(__memalign_hook): Make the two prototypes consistent.
2001-04-18 10:26:16 +00:00
Gerd Moellmann
f4f480bdba *** empty log message *** 2001-04-17 16:33:44 +00:00
Stefan Monnier
522836336e (find_interval): Don't rebalance during signal handling. 2001-04-12 12:13:27 +00:00
Gerd Moellmann
30cb0001ff *** empty log message *** 2001-04-11 14:29:29 +00:00
Gerd Moellmann
ec2423c930 (Fplist_get): Don't QUIT is interrupt_input_blocked. 2001-04-11 12:58:21 +00:00
Gerd Moellmann
60f8d73535 (Fcompare_strings): Fix return values. 2001-04-10 18:36:02 +00:00
Gerd Moellmann
afffeb573c *** empty log message *** 2001-04-10 16:13:33 +00:00
Gerd Moellmann
719d83adfe *** empty log message *** 2001-04-10 12:16:20 +00:00
Gerd Moellmann
9170e5d4af *** empty log message *** 2001-04-09 15:11:06 +00:00
Gerd Moellmann
522ed7fb45 (try_window_id): When scrolling on a terminal, take
the change of window_internal_height into account.
2001-04-09 12:38:20 +00:00
Eli Zaretskii
ceeb3d7db5 (align): If the argument SIZE would overflow
__malloc_ptrdiff_t, fail right away.
2001-04-09 10:53:42 +00:00
Gerd Moellmann
63685b9d09 (xmenu_show): Use FRAME_X_SCREEN_NUMBER. 2001-04-06 17:00:26 +00:00
Dave Love
3ffb33bb50 *** empty log message *** 2001-04-06 10:24:47 +00:00
Gerd Moellmann
afa3935f3d *** empty log message *** 2001-04-06 10:14:50 +00:00
Gerd Moellmann
869fb12c1d (Qinhibit_eval_during_redisplay): Make it a Lisp_Object. 2001-04-06 09:09:39 +00:00
Gerd Moellmann
4d664b0433 *** empty log message *** 2001-04-05 15:57:52 +00:00
Gerd Moellmann
a55e4e68ee *** empty log message *** 2001-04-05 14:05:12 +00:00
Gerd Moellmann
30ca89f529 (x_free_frame_resources) [USE_X_TOOLKIT]: Set
f->output_data.x->widget to null after destroying it.
2001-04-05 13:08:48 +00:00
Gerd Moellmann
81a81c0fd1 (Frequire): Doc fix. Rename parameter FILE_NAME to
FILENAME to bring it in synch with the documentation.
2001-04-05 12:29:24 +00:00
Gerd Moellmann
441bf85699 (realizing_basic_faces_p): Renamed from
realize_default_face_p.
(realize_basic_faces): Set/clear realizing_basic_faces_p.
(realize_default_face): Don't set the flag.
2001-04-05 12:13:17 +00:00
Gerd Moellmann
1013f4e380 (with_echo_area_buffer): Avoid confusion from reusing
the buffer that was used for echoing.
2001-04-04 14:06:06 +00:00
Gerd Moellmann
702a1e8e62 (best_matching_font): Remove unused parameter PATTERN.
(first_font_matching): Removed unused function.
(x_face_list_fonts): Remove unused parameter SCALABLE_P.
(may_use_scalable_font_p): Remove parameter FONT; rename
parameter NAME to FONT.
(x_face_list_fonts): Fix missing bounds check.
(realizing_default_face_p): New variable.
(realize_default_face): Set and clear that flag.
(x_face_list_fonts): When called during the realization of the
default face, and no matching fonts are found when ignoring
scalable fonts and fonts matching a regexp from
face-ignored-fonts, try without ignoring fonts.
2001-04-04 12:56:14 +00:00
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
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