1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Gerd Moellmann
c1636aa6ab (MINSIZE): Removed.
(window_min_size): New.
(set_window_height): Use window_min_size.
(change_window_height): Ditto.
1999-08-13 20:51:51 +00:00
Kenichi Handa
048151c1c1 (CHAR_MODIFIER_MASK): New macro. 1999-08-13 12:55:11 +00:00
Kenichi Handa
164d590d5c (read_escape): For Control modifier, pay attention to
multibyte character.
(read1): Likewise.  Singal error or a multibyte character which
has a modifer bit.  Check validity of Shift modifer.
1999-08-13 12:54:36 +00:00
Kenichi Handa
6662e69b7f (non_ascii_char_to_string): Handle modifier bits as
the same as Lisp reader.
1999-08-13 12:54:08 +00:00
Gerd Moellmann
708ca3c8f9 (vmotion): Don't add in mini-buffer prompt width
if prompts are inserted into mini-buffer.
1999-08-12 20:49:57 +00:00
Karl Heuer
a319f7c188 (Fopen_network_stream): Use getaddrinfo. 1999-08-12 16:35:22 +00:00
Karl Heuer
5c644c1dd8 Add HAVE_GETADDRINFO. 1999-08-12 15:59:36 +00:00
Gerd Moellmann
337042a9b7 (get_overlay_arrow_glyph_row): Set the charpos of
glyphs to -1.
1999-08-11 15:36:17 +00:00
Gerd Moellmann
7085174642 (face_before_or_after_it_pos): If position after
or before iterator's current position in the buffer is out
of bounds, return the iterator's original face id.
1999-08-11 11:50:20 +00:00
Gerd Moellmann
a38634ff1f (mirror_make_current): If desired row isn't enabled,
just swap glyphs pointers between current and desired row.
(build_frame_matrix_from_leaf_window) [GLYPH_DEBUG]: Copy
desired matrix method string to current matrix.
1999-08-11 10:47:38 +00:00
Geoff Voelker
7f5d1df85e (x_bitmap_icon): New function.
(x_make_frame_visible, x_iconify_frame): Invoke x_bitmap_icon.
1999-08-10 17:33:38 +00:00
Geoff Voelker
eb7576cefd (x_set_icon_type): Support setting frame icons. 1999-08-10 17:32:59 +00:00
Karl Heuer
ae53401aeb (BCOPY_SHORT): Fix typo `unsigined'. 1999-08-10 17:30:22 +00:00
Karl Heuer
4dbcac312d [__linux__ && __alpha__] (HAS_SBSS_SECTION): Define. 1999-08-10 17:28:10 +00:00
Eli Zaretskii
e30aee93e2 (IT_set_face): Abort if the default face is not realized
and cached.
(IT_write_glyphs): Reset the screen face to the default face
before writing glyphs.
1999-08-10 10:43:12 +00:00
Eli Zaretskii
1697ca3831 (realize_default_face) [MSDOS]: Don't take default
colors from the frame here.
(realize_tty_face) [MSDOS]: Do it here.  Update the face
attributes with the actual name of the color taken from the
frame.
1999-08-10 10:38:37 +00:00
Eli Zaretskii
6821243b5f (msdos_stdcolor_name): Remove const from return value. 1999-08-10 10:29:20 +00:00
Eli Zaretskii
87f1940e4a (Fframe_parameters): Swap foreground and background
colors returned in frame parameters if the frame has reverse in
its parameter alist.
(Fmake_terminal_frame): Make a unique copy of face_alist for
each frame.
1999-08-10 10:13:05 +00:00
Richard M. Stallman
1076254d83 (Feval_buffer): New arg DO_ALLOW_PRINT. 1999-08-07 16:16:32 +00:00
Richard M. Stallman
daa1c1093c (Fprevious_overlay_change): Just return the answer obtained from overlays_at. 1999-08-07 16:10:47 +00:00
Gerd Moellmann
5dd6aea877 (LIBTIFF): Use -ltiff instead of -ltiff34 1999-08-07 16:01:17 +00:00
Richard M. Stallman
e4c082be5e (xpm_load) [!XpmAllocCloseColors]:
Use XpmCloseness and attrs.closeness instead.
1999-08-07 11:28:27 +00:00
Gerd Moellmann
286bcbc971 (set_iterator_to_next): After delivering a character
from a display vector, restore face and charset to what they were
before the display vector was processed.
1999-08-06 21:08:08 +00:00
Geoff Voelker
b19cc00c30 (stat): Check for directory ending in separator when
doing readdir fast path.
1999-08-06 20:40:36 +00:00
Geoff Voelker
4424b2557f (directory_files_internal, Fdirectory_files_and_attributes,
Ffile_attributes_lessp): New functions.
(Fdirectory_files): Use directory_files_internal.
(syms_of_dired): Initialize Fdirectory_files_and_attributes,
Ffile_attributes_lessp.
1999-08-06 20:40:10 +00:00
Gerd Moellmann
9b4a7047ab (x_display_and_set_cursor): If cursor_in_echo_area,
show hollow box cursor for windows other than echo_area_window,
show normal cursor for echo_area_window.
1999-08-06 15:05:34 +00:00
Gerd Moellmann
862b479030 (set_window_cursor_after_update): Correct cursor
position if cursor_in_echo_area:
1999-08-06 15:05:27 +00:00
Gerd Moellmann
66ac4b0e5f (x_draw_phys_cursor_glyph): Redraw overlaps.
(x_fix_overlapping_area): New.
(x_redisplay_interface): Add x_fix_overlapping_area.
(x_draw_glyphs): Add parameter overlaps_p.
(struct glyph_string): Add member for_overlaps_p.
(x_get_glyph_string_clip_rect): If glyph string draws foreground
of overlapping rows, clip to window bottom.
(x_fill_glyph_string): Add parameter overlaps_p.
(x_fill_composite_glyph_string): Ditto.
(BUILD_GLYPH_STRINGS): Ditto.
(BUILD_CHAR_GLYPH_STRINGS): Ditto.
(x_draw_glyph_string): Don't draw anything but the foreground
if glyph string draws row overlaps.
(x_append_glyph): Set glyph flag overlaps_vertically_p.
(x_produce_image_glyph): Compute iterator's physical
ascent and descent.
(x_produce_stretch_glyph): Ditto.
(x_produce_glyphs): Ditto.
1999-08-06 13:59:59 +00:00
Gerd Moellmann
312246d12f (compute_line_metrics): If first line's physical ascent
is larger than its logical ascent, use the physical ascent, and
make the row taller.  Set row's overlapping_p flag.
(init_iterator): Reset physical line height info
after producing special glyphs.
(display_toolbar_line): Set physical line height info.
(compute_line_metrics): Ditto.
(display_line): Ditto.
(display_string): Ditto.
(reseat_at_next_visible_line_start): New parameter
on_newline_p.
(set_iterator_to_next):  After delivering last char
from display vector, reseat on next visible line start if
dpvec_char_len < 0.
(next_element_from_buffer): Set dpvec_char_len to -1 for
selective display.
1999-08-06 13:59:43 +00:00
Gerd Moellmann
cfe8a05e43 (produce_glyphs): Set iterator's physical height
information.
1999-08-06 13:59:39 +00:00
Gerd Moellmann
408f5064df (redraw_overlapping_rows): Use flag overlapping_p.
(direct_output_for_insert): Ditto.
(direct_output_for_insert): Don't use this method if
row is overlapped by others.
(update_text_area): Write full line if current line is overlapped.
(redraw_overlapped_rows): New.
(update_window): Call it.
(redraw_overlapping_rows): New.
(update_window): Call it.
(scrolling_window): Make sure overlapped_p flag in current rows is
unchanged.
(row_equal_p): Take rows overlapped_p flag into account.
(adjust_glyphs): Block input while adjusting matrices.
(direct_output_for_insert): Don't use this
optimization for rows that overlap others.
(update_window_line): Return non-zero if display has changed.
(update_text_area): Ditto.
(update_window): Record if display has been changed.
(blank_row): Compute glyph row's physical height.
(row_equal_p): Take physical row heights into account.
(direct_output_for_insert): Ditto.
(update_text_area): Ditto.
1999-08-06 13:59:32 +00:00
Gerd Moellmann
2febf6e033 (struct glyph_row): Add overlapping_p.
(MATRIX_ROW_OVERLAPS_PRED_P): New.
(MATRIX_ROW_OVERLAPS_SUCC_P): New.
(struct glyph_row): Add flag overlapped_p.
(MATRIX_ROW_OVERLAPPING_P): New.
(struct redisplay_interface): Add
fix_overlapping_area.
(struct glyph): Add overlaps_vertically_p.
(struct glyph_row): Add phys_ascent and
phys_height.
(struct it): Add phys_ascent, phys_descent, max_phys_ascent,
max_phys_descent.
1999-08-06 13:59:29 +00:00
Richard M. Stallman
413e06a447 (switch_to_buffer_1): New subroutine, taken out from Fswitch_to_buffer.
(no_switch_buffer): New function.
(Fswitch_to_buffer): Call them.  Don't get confused
by "same-window" buffers in a dedicated frame.
1999-08-06 11:45:48 +00:00
Richard M. Stallman
aee631c210 (display-buffer): Don't get confused
by "same-window" buffers in a dedicated frame.
1999-08-05 19:40:03 +00:00
Richard M. Stallman
2594e0fdb5 (switch_to_buffer_1): New subroutine, taken out from Fswitch_to_buffer.
(no_switch_buffer): New function.
(Fswitch_to_buffer): Call them.  Don't get confused
by "same-window" buffers in a dedicated frame.
1999-08-05 19:38:34 +00:00
Andreas Schwab
534b98409f (insert_from_string_1): Check gap size against number
of outgoing bytes, not incoming bytes.
1999-08-04 11:26:17 +00:00
Richard M. Stallman
9e062b6cc0 (read1): Added circular reading code to #N=.
(SUBSTITUTE): New macro.
(seen_list): New variable.
(substitute_object_in_subtree): New function.
(substitute_object_recurse): New function.
(substitute_in_interval): New function.
1999-08-03 17:27:46 +00:00
Eli Zaretskii
1c56132258 (frame.o, sysdep.o, xfaces.o): Depend on dosfns.h. 1999-08-02 12:46:06 +00:00
Eli Zaretskii
1a6d362313 (make_terminal_frame): Don't call init_frame_faces if
noninteractive, for termcap frames as well.
1999-08-02 12:41:09 +00:00
Eli Zaretskii
045942b2e9 (init_sys_modes): Call init_frame_faces for termcap
frames.
1999-08-02 12:37:31 +00:00
Richard M. Stallman
ae1ef097ac Comment change. 1999-08-02 01:17:41 +00:00
Richard M. Stallman
95aa0336b5 (x_set_internal_border_width):
Call do_pending_window_change.  Don't block input, don't call XFlush.
(x_set_vertical_scroll_bars): Call do_pending_window_change.
(x_set_scroll_bar_width, x_set_font): Likewise.
1999-08-02 00:10:19 +00:00
Richard M. Stallman
b5dd21a8e6 (Fset_frame_height): Call do_pending_window_change.
(Fset_frame_width, Fset_frame_size): Likewise.
1999-08-02 00:01:27 +00:00
Richard M. Stallman
79e03a85f9 (EmacsFrameSetCharSize): Don't call do_pending_window_change here. 1999-08-02 00:01:05 +00:00
Richard M. Stallman
fddd5cebcc (x_set_window_size): When calling change_frame_size, specify 1 for DELAY. 1999-08-02 00:00:14 +00:00
Richard M. Stallman
e23f814f70 (internal_equal): Fix overlay comparison. 1999-08-01 22:31:00 +00:00
Dave Love
4a8443fcdd Add HAVE_STDLIB_H. 1999-07-30 17:32:20 +00:00
Karl Heuer
331e2d7b60 (allocate_vectorlike): Add missing increment. 1999-07-30 15:49:10 +00:00
Karl Heuer
32f532b7e2 (Fdefalias): Call Ffset instead of duplicating code. 1999-07-30 15:46:56 +00:00
Karl Heuer
fc14013c81 (create_process): Detect failure of `pipe'. 1999-07-30 14:39:27 +00:00