1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-27 18:30:47 -08:00
Commit graph

198 commits

Author SHA1 Message Date
Gerd Moellmann
834938d20f (Fcompleting_read): Doc fix. 2000-01-07 13:56:00 +00:00
Gerd Moellmann
8a26744bb3 *** empty log message *** 2000-01-05 09:17:53 +00:00
Gerd Moellmann
e0303cd645 *** empty log message *** 2000-01-04 23:09:30 +00:00
Gerd Moellmann
560a7bd208 *** empty log message *** 2000-01-04 21:32:26 +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
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
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
Eli Zaretskii
c182a70f74 *** empty log message *** 2000-01-03 17:04:20 +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
Gerd Moellmann
047f434ac5 *** empty log message *** 2000-01-03 14:55:38 +00:00
Eli Zaretskii
d684c67612 *** empty log message *** 2000-01-03 11:58:49 +00:00
Eli Zaretskii
5fe1d13989 *** empty log message *** 2000-01-02 14:13:48 +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
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
12ce2351b5 (x_make_frame_visible): Wait for frame becoming visible
differently.
1999-12-30 11:45:10 +00:00
Eli Zaretskii
04ee4f45e1 (IT_write_glyphs): Track last changes to struct glyph. 1999-12-30 11:21:53 +00:00
Eli Zaretskii
7f4bc0c36c (mode_line_string): Support MS-DOS frames. 1999-12-29 12:31:58 +00:00
Gerd Moellmann
dac204bce1 (syms_of_eval): Initialize debug_may_continue. 1999-12-29 10:41:49 +00:00
Kenichi Handa
7b712ad8f5 *** empty log message *** 1999-12-29 00:56:48 +00:00
Eli Zaretskii
41ad069bdc Changes for supporting mouse/modeline highlight and help echo features:
(dos_set_window_size) [__DJGPP__ > 1]: If the frame
dimensions changed, invalidate the mouse highlight info.
(disable_mouse_highlight, help_echo, previous_help_echo): New
variables.
(IT_set_mouse_pointer, show_mouse_face, clear_mouse_face)
(fast_find_position, IT_note_mode_line_highlight)
(IT_note_mouse_highlight): New functions.
(IT_update_begin): If the redisplay affects the window where the
mouse highlight is, clear the highlight.  If the frame where the
highlight was displayed was killed, invalidate the highlight
info.
(IT_update_end): Reset the highlight flag.  Reset the mouse
highlight-defer flag.
(IT_frame_up_to_date): New function, if mouse highlight was
deferred due to GC, do it now.
(internal_terminal_init): Initialize mouse-highlight related
members of the_only_x_display.  Assign IT_frame_up_to_date to
frame_up_to_date_hook.
(dos_rawgetc): If the mouse moved, update mouse highlight.  If
help_echo changed value, generate a HELP_EVENT event.
(syms_of_msdos): Staticpro help_echo and previous_help_echo.
1999-12-28 15:59:34 +00:00
Eli Zaretskii
adb9900f35 (struct display_info): New.
(struct x_output): Add the display_info member.
(FRAME_X_DISPLAY_INFO): New macro.
1999-12-28 15:56:29 +00:00
Gerd Moellmann
6448a6b36f *** empty log message *** 1999-12-28 13:05:57 +00:00
Gerd Moellmann
481b505472 (modify_overlay): Always compute unchanged info. 1999-12-28 12:13:02 +00:00
Kenichi Handa
a2882b0d4a *** empty log message *** 1999-12-27 05:29:29 +00:00
Kenichi Handa
89ba5b5f00 *** empty log message *** 1999-12-27 04:57:02 +00:00
Kenichi Handa
5bcd116ca9 *** empty log message *** 1999-12-27 03:33:17 +00:00
Richard M. Stallman
f7c9e039d2 *** empty log message *** 1999-12-25 23:01:14 +00:00
Gerd Moellmann
f21b06b762 *** empty log message *** 1999-12-25 13:01:06 +00:00
Kenichi Handa
e36557c98b *** empty log message *** 1999-12-24 01:06:20 +00:00
Dave Love
0b863bd9ea *** empty log message *** 1999-12-22 23:15:17 +00:00
Gerd Moellmann
28d7281dc7 (Fx_create_frame): Move x_default_parameter calls that
lead to size changes to after the X window has been created.
1999-12-22 16:09:37 +00:00
Gerd Moellmann
e22ef6eb69 (realize_x_face): Don't use uninitialized local
variable in xassert.
1999-12-22 16:01:16 +00:00
Gerd Moellmann
6d8e8ef35c (clear_font_table): Don't use uninitialized local
variable in xassert.
1999-12-22 12:11:42 +00:00
Kenichi Handa
8affcced09 (face_color_supported_p): Check by tty_defined_color
only when the frame is not window.
1999-12-22 11:41:16 +00:00