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

10633 commits

Author SHA1 Message Date
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
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
1c89844b12 (read_process_output): Fix the args CHARPOS and LENINS
to signal_after_change.
1999-12-29 00:57:25 +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
bcdda9a4bb (dump_glyph_row): Adapt to changes in struct glyph. 1999-12-28 12:18:41 +00:00
Gerd Moellmann
481b505472 (modify_overlay): Always compute unchanged info. 1999-12-28 12:13:02 +00:00
Gerd Moellmann
9d60f77200 (try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED
if MODIFF > 1.
1999-12-28 12:05:39 +00:00
Richard M. Stallman
dbd2182a1c Comment change. 1999-12-28 03:34:56 +00:00
Kenichi Handa
c388b3c2b8 (FACE_FROM_ID): Cast the arg ID to `unsigned'. 1999-12-27 05:29:55 +00:00
Kenichi Handa
a2882b0d4a *** empty log message *** 1999-12-27 05:29:29 +00:00
Kenichi Handa
43d120d80e All codes adjusted for the change of struct glyph. 1999-12-27 05:09:13 +00:00
Kenichi Handa
32de38e46d (encode_terminal_code): Adjusted for the change of struct
glyph and GLYPH_FROM_CHAR_GLYPH.
(write_glyphs) (insert_glyphs) (append_glyph): Adjusted for the
change of struct glyph.
1999-12-27 05:07:56 +00:00
Kenichi Handa
4218698360 (line_hash_code) (direct_output_for_insert): Adjusted
for the change of struct glyph.
(line_draw_cost): Adjusted for the change of
GLYPH_FROM_CHAR_GLYPH.
(count_match): Use macro GLYPH_CHAR_AND_FACE_EQUAL_P.
1999-12-27 05:06:03 +00:00
Kenichi Handa
3305fc6a35 (struct glyph): Make face_id and padding_p the top
level members.  Change members in union `u'.
(GLYPH_EQUAL_P): Check also members face_id and padding_p.
(GLYPH_CHAR_AND_FACE_EQUAL_P): New macro.
(SET_CHAR_GLYPH): Adjusted for the change of struct glyph.
(CHAR_GLYPH_PADDING_P): Likewise.
(GLYPH_FROM_CHAR_GLYPH): Likewise.  Always return -1 for multibyte
characters.
1999-12-27 05:05:19 +00:00
Kenichi Handa
ae87e39643 (char_bytes): Use ((1 << CHARACTERBITS) - 1) instead
of GLYPH_MASK_CHAR.
1999-12-27 05:04:47 +00:00
Kenichi Handa
07129d9eaf (CHAR_BYTES): Use ((1 << CHARACTERBITS) - 1) instead
of GLYPH_MASK_CHAR.
1999-12-27 05:04:23 +00:00
Kenichi Handa
3b0fee460e (GLYPH): Defined as int', not unsigned int'. Now the
lowest 8 bits are single byte character code, the bits above are
face ID.
(GLYPH_MASK_FACE) (GLYPH_MASK_CHAR): Adjusted for the change
above.
(FAST_MAKE_GLYPH) (FSST_GLYPH_FACE): Likewise.
(GLYPH_MASK_REV_DIR) (GLYPH_MASK_PADDING): Macros deleted.
1999-12-27 05:03:46 +00:00
Kenichi Handa
89ba5b5f00 *** empty log message *** 1999-12-27 04:57:02 +00:00
Kenichi Handa
51e31f7a01 (struct composition): Change the order of declaring
members to reduce the byte size of the structure.
1999-12-27 03:34: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
Gerd Moellmann
de182d7041 (looking_at_1): Reset immediate_quit before modifying
global data.
1999-12-25 12:55:46 +00:00
Kenichi Handa
f9b537ecb3 (read_process_output): Fix the arg FROM to
update_compositions.
1999-12-24 01:06:50 +00:00