1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
Commit graph

13848 commits

Author SHA1 Message Date
Eli Zaretskii
e8918aee02 *** empty log message *** 2001-05-04 17:50:11 +00:00
Eli Zaretskii
12949a7fae (XTread_socket) <Expose> [!USE_TOOLKIT_SCROLL_BARS]: Fix
the change from 2001-04-30.
2001-05-03 17:49:33 +00:00
Gerd Moellmann
a779d21374 (file_dialog_unmap_cb): New function.
(Fx_file_dialog): Use it as XmNunmapCallback to capture the case
where a dialog is closed via the window manager.
2001-05-03 17:10:00 +00:00
Gerd Moellmann
2fa2f461f0 *** empty log message *** 2001-05-03 16:19:51 +00:00
Gerd Moellmann
27d16f056b (try_window_id): Cases of changes all in front of
the window start or all below the window end mostly rewritten.
(redisplay_window): Move the tests if try_window_id is
applicable to try_window_id.
(GIVE_UP): New macro.
2001-05-03 16:19:16 +00:00
Gerd Moellmann
a39202f60b (expose_window): Return int. If W is the window
currently being updated, mark the frame garbaged.  Fix
computation of rows intersection the exposed rectangle.
(expose_window_tree): Stop when expose_window returns 0.
2001-05-02 13:20:15 +00:00
Gerd Moellmann
3356df6382 *** empty log message *** 2001-05-02 11:45:00 +00:00
Gerd Moellmann
61e9f9f328 (x_draw_stretch_glyph_string): Don't draw background
again if it has already been drawn.
2001-05-02 11:12:42 +00:00
Stefan Monnier
a9d2fd1d6b *** empty log message *** 2001-05-01 13:49:59 +00:00
Stefan Monnier
423e705d9c (update_syntax_table): Check that oldi has the same
properties as old_prop before deciding not to invalidate.
2001-05-01 13:49:44 +00:00
Gerd Moellmann
a9793e4573 *** empty log message *** 2001-04-30 15:25:53 +00:00
Gerd Moellmann
38d56be353 (Fprimitive_undo): In a writable buffer, enable undoing
read-only text that is so because of text properties.
2001-04-30 14:57:35 +00:00
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
37526b42c1 (turn_on_face): Fix reverse video handling on terminals
that don't support colors.
2001-04-27 12:37:32 +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
86a7d192df (toggle_highlight): New function.
(turn_on_face): Change handling of reverse video.
2001-04-25 18:31:33 +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
d43fbe9d8c Comment fixes. 2001-04-20 19:14:21 +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
Gerd Moellmann
d21dd12d90 (Finsert_file_contents): If the file size returned from
stat is zero, set END to READ_BUF_SIZE.  This makes sure we can
read from files on a procfs whose contents are generated
dynamically.
2001-04-18 15:34:35 +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
Gerd Moellmann
c095a1dd19 (redisplay_window): Make sure to clear the desired glyph
matrix of mini-windows.
2001-04-17 16:20:33 +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
91b11d9df1 Include blockinput.h. 2001-04-11 13:58:25 +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
d4e7cf01c9 (window_scroll): Change the meaning of N to mean
N screen-fulls or N lines.
(window_scroll_pixel_based, window_scroll_line_based)
(scroll_command, Fscroll_other_window): Change accordingly.
2001-04-10 16:13:02 +00:00
Gerd Moellmann
3a03001381 (redisplay_window) <recenter>: Call window_box_height
instead of using it.last_visible_y for the height of the window.
2001-04-10 15:40:40 +00:00
Gerd Moellmann
202379cf46 (window_scroll_pixel_based, Frecenter): Call
window_box_height instead of using it.last_visible_y for the
height of the window.
2001-04-10 15:39:53 +00:00
Gerd Moellmann
719d83adfe *** empty log message *** 2001-04-10 12:16:20 +00:00
Gerd Moellmann
e8691c592f (Fcopy_file) [WINDOWSNT]: Use CopyFile. 2001-04-10 12:15:53 +00:00
Gerd Moellmann
302f0b2912 (sys_open): Try to open file without _O_CREAT first, to be
able to write to hidden and system files.  Make file handles
non-inheritable.
2001-04-10 12:15:25 +00:00
Gerd Moellmann
dbb7002916 (sys_spawnve): Quote more chars for Cygwin. 2001-04-10 12:14:49 +00:00
Gerd Moellmann
9170e5d4af *** empty log message *** 2001-04-09 15:11:06 +00:00
Gerd Moellmann
2d6fabfcdc (Fplist_get, Fplist_put): Add QUITs. 2001-04-09 15:10:30 +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
Gerd Moellmann
e9c195b1a4 (window_internal_height): Return 1 less if the
window has a header line.
2001-04-09 12:35:37 +00:00