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

10662 commits

Author SHA1 Message Date
Gerd Moellmann
834938d20f (Fcompleting_read): Doc fix. 2000-01-07 13:56:00 +00:00
Dave Love
caff32a7cb (Fuser_variable_p): Check customizability too. 2000-01-06 16:37:03 +00:00
Gerd Moellmann
8a26744bb3 *** empty log message *** 2000-01-05 09:17:53 +00:00
Gerd Moellmann
ef539202f1 (C_SWITCH_SYSTEM): Add -I /usr/local/include and
-L /usr/local/lib.
2000-01-05 09:15:33 +00:00
Gerd Moellmann
e0303cd645 *** empty log message *** 2000-01-04 23:09:30 +00:00
Gerd Moellmann
86779fac99 (x_create_im): New function to set IM and IC of a frame.
Check that input style is supported before trying to create an
IC for it.
(x_window): Call x_create_im.
2000-01-04 23:08:36 +00:00
Gerd Moellmann
560a7bd208 *** empty log message *** 2000-01-04 21:32:26 +00:00
Gerd Moellmann
f036834aeb (current_gif_memory_src): New variable.
(gif_load): Record the address of the current memory source
in current_gif_memory_src.
(gif_read_from_memory): Use current_gif_memory_src.
2000-01-04 21:22:24 +00:00
Gerd Moellmann
f9ee84a38c (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give
macros statement form.
2000-01-04 17:14:55 +00:00
Gerd Moellmann
d1299cdeca (struct sound): Renamed from struct sound_file.
(struct sound): Add members `data' and `header_size'.
(enum sound_attr): Add SOUND_DATA.
(current_sound, current_sound_device): Variables renamed from
sound_file and sound_device.
(parse_sound): Parse :data.
(parse_sound): Handle sound data in strings.
(find_sound_type): Function renamed from find_sound_file_type.
(wav_init, au_init): Fail if sound's header_size is smaller than
needed header size.
(wav_play, au_play): Play sounds from string data.
2000-01-04 14:45:08 +00:00
Gerd Moellmann
2e471eb5f3 (Fgarbage_collect): Return number of live and free
strings.

(mark_buffer): Remove code in #if 0.
(gc_sweep): Ditto.
(UNMARK_BALANCE_INTERVALS): Give the macro statement form.
(strings_consed): New variable.
(allocate_string): Set it.
(syms_of_alloc): Add DEFVAR_INT for strings_consed.
(Fmemory_use_counts): Return strings_consed.  Use Flist.

General cleanup in comments etc.  Remove conditional
compilation for `standalone'.

(MARK_STRING, UNMARK_STRING, STRING_MARKED_P):
(GC_STRING_BYTES, GC_STRING_CHARS): New macros.
(DONT_COPY_FLAG): Removed.
(SBLOCK_SIZE, LARGE_STRING_BYTES): New macros.
(struct sdata, struct sblock): New
(struct string_block): Rewritten.
(STRINGS_IN_STRING_BLOCK): New macro.
(oldest_sblock, current_sblock, total_strings, total_free_strings)
(large_sblocks, string_blocks, string_free_list): New variables.
(NEXT_FREE_LISP_STRING, SDATA_OF_STRING, SDATA_SIZE): New macros.
(init_strings): Rewritten.
(allocate_string, allocate_string_data, compact_small_strings)
(free_large_strings, sweep_strings): New functions.
(STRING_BLOCK_SIZE, STRING_BLOCK_OUTSIZE)
(struct string_block_head, current_string_block)
(first_string_block, large_string_blocks, STRING_FULLSIZE)
(STRING_PAD): Removed.
(make_uninit_multibyte_string, make_pure_string): Rewritten.
(Fgarbage_collect): Don't set mark bit in large strings.
(mark_object): Mark strings differently.  Mark symbol names
differently.
(survives_gc_p): Test marked strings differently.
(gc_sweep): Sweep strings differently, unmark strings in
symbol names.
(compact_strings): Removed.
2000-01-04 12:25:51 +00:00
Gerd Moellmann
f05d7ea229 Add prototype for allocate_string_data.
(struct Lisp_String): Make DATA member `unsigned char *'.
2000-01-04 12:21:48 +00:00
Gerd Moellmann
e5372b9c5e (BASE_PURE_SIZE): Increase to 600000. 2000-01-04 12:21:21 +00:00
Eli Zaretskii
42608ba81d (syms_of_xfaces): defsubr Scolor_gray_p and
Scolor_supported_p even if HAVE_X_WINDOWS is not defined.
2000-01-04 11:56:22 +00:00
Kenichi Handa
9f57b6b4ef (Finsert_file_contents): Signal error if visiting file
in a non-empty buffer.
2000-01-04 08:15:09 +00:00
Kenichi Handa
dd9f0750da *** empty log message *** 2000-01-04 08:14:39 +00:00
Kenichi Handa
3c0f3b1567 *** empty log message *** 2000-01-04 02:42:44 +00:00
Kenichi Handa
c989b7be8f (encode_terminal_code): Fix the previous change. 2000-01-04 01:58:49 +00:00
Kenichi Handa
e0a09e1a04 *** empty log message *** 2000-01-04 01:53:54 +00:00
Gerd Moellmann
44cd3ae58d (NO_EDITRES): Define even if HAVE_LIBXMU. 2000-01-03 21:22:35 +00:00
Gerd Moellmann
ea4fa0af4b (syms_of_xfaces): Change Sface_color_gray_p to
Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p.
2000-01-03 21:20:37 +00:00
Eli Zaretskii
c182a70f74 *** empty log message *** 2000-01-03 17:04:20 +00:00
Eli Zaretskii
fb3842a809 (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No
need to test for MSDOS frames.
2000-01-03 17:02:31 +00:00
Eli Zaretskii
24480d5b08 (unspecified_colors): Remove.
(msdos_stdcolor_idx): Use global variables unspecified_fg and
unspecified_bg.
(msdos_stdcolor_name): Return strings for unspecified fore- and
back-ground colors.
2000-01-03 16:56:40 +00:00
Eli Zaretskii
ef917393c4 (Qunspecified_fg, Qunspecified_bg): Remove.
(syms_of_xfaces): Remove their staticpro's.
(tty_color_name): Return Lisp strings for unspecified fore- and
back-ground colors.
(Finternal_set_lisp_face_attribute): Remove the special treatment
for Qunspecified_{f,b}g.
(realize_default_face): Replace Qunspecified_{f,b}g with a Lisp
string.
2000-01-03 16:52:52 +00:00
Gerd Moellmann
047f434ac5 *** empty log message *** 2000-01-03 14:55:38 +00:00
Gerd Moellmann
13f19968a9 (reseat_at_next_visible_line_start): Position before
newline only if ending up on a newline.
(next_element_from_ellipsis): Return success.  Handle case of
displaying no ellipsis.  Fix case of ellipsis defined in display
table.
(next_element_from_buffer): Return 0 if next_element_from_ellipsis
returns 0.
2000-01-03 14:04:14 +00:00
Eli Zaretskii
d684c67612 *** empty log message *** 2000-01-03 11:58:49 +00:00
Eli Zaretskii
da47150ddc (Fcolor_gray_p): Renamed from face-color-gray-p.
(Fcolor_supported_p): Renamed from face-color-supported-p.
2000-01-03 11:51:33 +00:00
Eli Zaretskii
5fe1d13989 *** empty log message *** 2000-01-02 14:13:48 +00:00
Eli Zaretskii
a61c12d547 (tty_defined_color): Pass frame to tty-color-desc. The
list of colors renamed to tty-defined-color-alist.
(tty_color_name): Pass the frame to tty-color-by-index.
(realize_tty_face): tty-color-alist is now a function which
accepts the frame as argument.
2000-01-02 14:07:32 +00:00
Eli Zaretskii
981e4297b4 (Ftty_display_color_p): Accept an optional argument FRAME. 2000-01-02 14:06:15 +00:00
Eli Zaretskii
816be8b8eb (insert_glyphs): Pass glyph, not &glyph, to
encode_terminal_code.
2000-01-02 14:00:03 +00:00
Eli Zaretskii
b635321e17 (mode_line_string): Support termcap frames as well. 2000-01-02 12:09:58 +00:00
Gerd Moellmann
27189709c1 *** empty log message *** 2000-01-01 17:25:11 +00:00
Gerd Moellmann
ee5cd4dba2 (Fconstrain_to_field): Don't constrain if
inhibit-field-text-motion is non-nil.
(Fline_beginning_position): Undo previous change.
(Fline_end_position): Ditto.
2000-01-01 17:24:22 +00:00
Gerd Moellmann
64aa4eb1f3 (Fforward_word): Undo previous change. 2000-01-01 17:23:34 +00:00
Gerd Moellmann
e6d8341fe6 (Fforward_word): Notice field boundaries only if
inhibit-field-text-motion is nil.
2000-01-01 17:06:50 +00:00
Gerd Moellmann
8ca534c482 Add extern declaration for Vinhibit_field_text_motion. 2000-01-01 17:06:26 +00:00
Gerd Moellmann
9a74e7e566 (Vinhibit_field_text_motion): New variable.
(inhibit-field-text-motion): New DEFVAR_LISP.
(Fline_beginning_position, Fline_end_position): Notice field
boundaries only if inhibit-field-text-motion is nil.
2000-01-01 17:06:00 +00:00
Gerd Moellmann
45158a9105 (x_create_x_image_and_pixmap): Remove parameter file.
All calls adjusted.
(x_build_heuristic_mask): Likewise.
(xbm_load_image_from_file): Change error output.
(xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load)
(gif_load, gs_load, x_kill_gs_process): Ditto.
2000-01-01 10:35:43 +00:00
Gerd Moellmann
63cec32f8d (gif_load): Avoid sign extension and thus out of bounds
color indices when accessing raster pixels.
(gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only
one of :file or :data.
(enum pbm_keyword_index): Add PBM_DATA.
(pbm_format): Add :data.
(pbm_image_p): Allow either :file or :data.
(pbm_read_file): New function.
(pbm_scan_number): Rewritten to read from string.
(pbm_load): Support :data.
2000-01-01 10:09:45 +00:00
Gerd Moellmann
9b784e9676 (gif_load): Avoid sign extension and thus out of bounds
color indices when accessing raster pixels.
2000-01-01 00:04:52 +00:00
Gerd Moellmann
5ad6a5fb89 New image functions adapted to Emacs conventions.
(png_load, tiff_load, jpeg_load, gif_load): Always GCPRO local
variable `file'.
1999-12-31 16:47:13 +00:00
William M. Perry
63448a4dc2 Changes to xfns.c to support reading images from a memory buffer instead of forcing them to be on disk. GIF/JPEG/PNG/TIFF currently support this. 1999-12-31 15:47:49 +00:00
Gerd Moellmann
c880678e3e (next_element_from_buffer): Change assertion at the end
because it doesn't hold when there's an overlay string at the end
from which we deliver an image.
1999-12-31 15:35:03 +00:00
Gerd Moellmann
8e39770ae5 (enum jpeg_keyword_index): Add JPEG_DATA.
(jpeg_format): Add :data.
(jpeg_image_p): Handle :data.
(our_fill_input_buffer, our_skip_input_data, our_term_source)
(jpeg_memory_src): New functions.
(jpeg_load): Read image from string data.
1999-12-31 14:55:28 +00:00
Eli Zaretskii
8ccb9a546b (IT_update_begin): Don't dereference members of struct
window for deleted windows.
1999-12-30 14:14:38 +00:00
Gerd Moellmann
a915c6488f *** empty log message *** 1999-12-30 12:27:44 +00:00
Gerd Moellmann
79d2af9c26 (Fexpand_abbrev): If expanding an abbrev which has only
a hook, and the hook has a non-nil `no-self-insert' property, let
the return value of the hook specify whether an expansion took
place.  If it returns nil, no expansion has been performed.
1999-12-30 12:26:53 +00:00