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

9963 commits

Author SHA1 Message Date
Gerd Moellmann
e90dbbd17e (XTset_vertical_scroll_bar): Fix previous change. Clear
under scroll bar with width FRAME_SCROLL_BAR_COLS.
1999-08-19 13:56:14 +00:00
Dave Love
84394d4482 Use termcap.h. 1999-08-18 13:25:45 +00:00
Dave Love
8bf4cd99cd Add HAVE_TERMCAP_H. 1999-08-18 13:23:38 +00:00
Dave Love
495de6e953 Use lisp.h
(tparam): Use xmalloc.
1999-08-18 13:17:06 +00:00
Dave Love
48236137f4 Use stdlib.h, unistd.h. 1999-08-18 13:14:37 +00:00
Dave Love
c4a10daf11 Use stdlib.h. 1999-08-18 13:10:52 +00:00
Dave Love
a36837e471 (Finsert_file_contents): Use xfree. 1999-08-18 13:07:21 +00:00
Gerd Moellmann
495fa05e41 (x_window) [USE_X_TOOLKIT]: Remove test for
FRAME_X_WINDOW (f) being null at the of the function.  If widgets
cannot be created we will already have crashed earlier.  Call
lw_set_main_areas with a null menu-bar widget, so that we have
a reasonable default.
(Fx_create_frame): Rearranged so that Lisp errors during frame
initialization cause less damage.  Initialize menu bar widget
here.
1999-08-18 12:04:53 +00:00
Gerd Moellmann
f937bde202 (update_frame_line): Fix previous change. If writing
whole line clear to end of frame.
1999-08-18 10:37:34 +00:00
Gerd Moellmann
28514cd97b (unwind_redisplay): New. Resets flag redisplaying_p.
(redisplay_internal): Register unwind_redisplay with
register_unwind_protect.
(try_window_reusing_current_matrix): If new start > old start,
give up if start pos of first reusable row is not equal to new
start.
1999-08-17 22:44:56 +00:00
Gerd Moellmann
fbad6f9a28 (Fcoordinates_in_window_p): Return `left-bitmap-area'
and `right-bitmap-area' if position is in the bitmap areas.  This
avoids an error when clicking on the bitmap areas.  Instead, they
are currently treated like clicks inside the window.
(coordinates_in_window): Return 5 and 6 for bitmap areas.
(Qleft_bitmap_area, Qright_bitmap_area): New.
(syms_of_window): Initialize new symbols.
1999-08-17 22:44:47 +00:00
Gerd Moellmann
0b5791c4a0 (Fsignal): Don't reset redisplaying_p here. 1999-08-17 22:44:44 +00:00
Gerd Moellmann
74ca462f6d (update_frame_line): If writing whole line,
don't write trailing spaces unless we must.
1999-08-17 22:44:37 +00:00
Gerd Moellmann
6fb13182e0 (expose_area): If row extends face to end of line,
write the whole line.
1999-08-17 13:02:04 +00:00
Gerd Moellmann
8f897821fc (Qshow_trailing_whitespace): Removed.
(Vshow_trailing_whitespace): Added.
(init_iterator): Remove initialization code for
show_trailing_whitespace_p.
(redisplay_internal): Don't try cursor movement in this_line
if showing trailing whitespace.
(redisplay_window): Likewise for cursor movement in current
matrix and try_window_id.
(try_window_reusing_current_matrix): Likewise.
(trailing_whitespace_p): Return 0 if trailing whitespace is
in front of point.
(display_line): Use Vshow_trailing_whitespace instead of
former iterator member show_trailing_whitespace_p.
(syms_of_xdisp): Add DEFVAR_LISP for show-trailing-whitespace.
1999-08-17 00:46:09 +00:00
Gerd Moellmann
f1f134908a (direct_output_for_insert): Use
Vshow_trailing_whitespace instead of former iterator member
show_trailing_whitespace_p.
(direct_output_forward_char): Don't do it if hightlighting
trailing whitespace.
1999-08-17 00:46:01 +00:00
Gerd Moellmann
c1ff17c59c (struct it): Remove member
show_trailing_whitespace_p.
1999-08-17 00:45:58 +00:00
Gerd Moellmann
a7aeb2dec3 (x_draw_glyph_string_box): Use the background width
of the glyph string for the width of the box.
1999-08-17 00:38:28 +00:00
Gerd Moellmann
7dbdfcf866 (add_to_log): Renamed from display_message.
Don't display messages in echo area.
1999-08-17 00:38:21 +00:00
Gerd Moellmann
9a132b1f43 (Fpos_visible_in_window_p): Rewritten. 1999-08-17 00:38:14 +00:00
Karl Heuer
da71ab916b (Fforward_comment): Set comstyle for Scomment_fence. 1999-08-16 20:34:56 +00:00
Geoff Voelker
a797a73ddc (x_set_frame_parameters): Set foreground and
background first, and then set other parameters that might
depend upon their new values.
1999-08-16 18:32:29 +00:00
Gerd Moellmann
057df17c4b (Vfont_list_limit): New.
(syms_of_xfaces): Make it a user-variable.
(DEFAULT_FONT_LIST_LIMIT): New.
(sorted_font_list): If Vfont_list_limit is an integer > 0, list
maximally that number of fonts, otherwise use
DEFAULT_FONT_LIST_LIMIT.
(Fx_font_family_list): Bind `font-list-limit' to higher values
until we have all fonts.
(Fxfont_list): Additionally return the full names of fonts and
their registry and encoding.
1999-08-15 22:29:45 +00:00
Gerd Moellmann
fe6f39d99b (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
Simplify clearing "under" scroll bar.
1999-08-15 22:01:01 +00:00
Gerd Moellmann
233a4a2c3f (Qfixed_window_size): New.
(syms_of_window): Initialiaze it.
(check_all_windows): Add return type void.
(window_fixed_size_p): New.  Return non-zero if window
is fixed-size.
(window_min_size_1): New.
(window_min_size): Handle fixed-size windows.
(size_window): New. Rewritten combination of set_window_height and
set_window_width that handles fixed-size windows.
(set_window_height): Call it.
(set_window_width): Call it.
(Fsplit_window): Give an error on attempt to split a fixed-size
window.
(change_window_height): Partly rewritten to handle fixed-size
windows.
1999-08-15 22:00:53 +00:00
Karl Heuer
418b48fddf (Fopen_network_stream): Fix previous change. 1999-08-14 04:36:10 +00:00
Karl Heuer
5d121aec6d (line_number_display_limit_width): New var.
(decode_mode_spec): Use it instead of hardcoded value.
(syms_of_xdisp): Defvar it.
1999-08-14 03:13:35 +00:00
Karl Heuer
fada05d6d1 (run_hook_list_with_args): Gcpro `globals'.
(run_hook_with_args): Likewise.
1999-08-14 02:30:27 +00:00
Gerd Moellmann
5f47720c30 (struct window): New field too_small_ok. 1999-08-13 21:24:42 +00:00
Gerd Moellmann
b5f05b503d (set_window_height, set_window_width):
If window starts out "too small", set its too_small_ok flag.
If window's too_small_ok flag is set, don't delete it
unless it is so small it would cause a crash.
1999-08-13 21:24:35 +00:00
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