(syms_of_xfaces): defsubr Scolor_gray_p and
[bpt/emacs.git] / src / ChangeLog
index 22875ea..99e667e 100644 (file)
@@ -1,7 +1,221 @@
+2000-01-04  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xfaces.c (syms_of_xfaces): defsubr Scolor_gray_p and
+       Scolor_supported_p even if HAVE_X_WINDOWS is not defined.
+
+2000-01-04  Kenichi Handa  <handa@etl.go.jp>
+
+       * fileio.c (Finsert_file_contents): Signal error if visiting file
+       in a non-empty buffer. 
+
+       * term.c (encode_terminal_code): Fix the previous change.
+
+2000-01-03  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfaces.c (syms_of_xfaces): Change Sface_color_gray_p to
+       Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p.
+
+       * s/hpux9.h (NO_EDITRES): Define even if HAVE_LIBXMU.
+
+2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xdisp.c (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No
+       need to test for MSDOS frames.
+
+2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * dosfns.c (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.
+
+       * xfaces.c (Qunspecified_fg, Qunspecified_bg): Remove.
+       (syms_of_xfaces): Remove theit 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  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (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  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xfaces.c (Fcolor_gray_p): Renamed from face-color-gray-p.
+       (Fcolor_supported_p): Renamed from face-color-supported-p.
+
+2000-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xfaces.c (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.
+
+       * term.c (Ftty_display_color_p): Accept an optional argument
+       FRAME.
+
+2000-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * term.c (insert_glyphs): Pass glyph, not &glyph, to
+       encode_terminal_code.
+
+2000-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * dispnew.c (mode_line_string): Support termcap frames as well.
+
+2000-01-01  Gerd Moellmann  <gerd@gnu.org>
+
+       * syntax.c (Fforward_word): Undo previous change.
+
+       * editfns.c (Fconstrain_to_field): Don't constrain if
+       inhibit-field-text-motion is non-nil.
+       (Fline_beginning_position): Undo previous change.
+       (Fline_end_position): Ditto.
+
+       * syntax.c (Fforward_word): Notice field boundaries only if
+       inhibit-field-text-motion is nil.
+
+       * lisp.h: Add extern declaration for Vinhibit_field_text_motion.
+
+       * editfns.c (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.
+
+       * xfns.c (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.
+
+       * xfns.c (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.
+
+1999-12-31  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfns.c: New image functions adapted to Emacs conventions.
+       (png_load, tiff_load, jpeg_load, gif_load): Always GCPRO local
+       variable `file'.
+
+1999-12-31  William M. Perry  <wmperry@aventail.com>
+
+       * xfns.c (jpeg_format): Added the :data keyword
+       (jpeg_image_p): JPEG is valid with :file _or_ :data
+       (jpeg_memory_src): Defined new JPEG image source to read from a
+       memory buffer.
+       (jpeg_load): Pay attention to the :data keyword if specified.
+       Instantiates a jpeg_memory_src instead of jpeg_stdio_src if
+       found.
+       (png_format): Added the :data keyword
+       (png_image_p): PNG is valid with :file _or_ :data
+       (png_read_from_memory): New PNG read function to read from a
+       memory buffer.
+       (png_load): Pay attention to the :data keyword if specified.  Uses
+       png_set_read_fn() instead of png_init_io() if specified.
+       (tiff_format): Added the :data keyword for TIFF images.
+       (tiff_image_p): TIFF is valid with :file _or_ :data
+       (tiff_read_from_memory): Defined new TIFF I/O functions to read
+       from a memory buffer.
+       (tiff_load): Pay attention to the :data keyword if specified.
+       Uses TIFFClientOpen() instead of TIFFOpen() if specified.
+       (gif_format): Added the :data keyword
+       (gif_image_p): GIF is valid with :file _or_ :data
+       (gif_read_from_memory): New GIF input function to read from a
+       memory buffer.
+       (gif_load): Pay attention tot he :data keyword.  Uses DGifOpen()
+       instead of DGifOpenFileName() if specified.
+
+1999-12-31  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (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-30  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (IT_update_begin): Don't dereference members of struct
+       window for deleted windows.
+
+1999-12-30  Gerd Moellmann  <gerd@gnu.org>
+
+       * abbrev.c (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.
+
+       * xterm.c (x_make_frame_visible): Wait for frame becoming visible
+       differently.
+
+1999-12-30  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (IT_write_glyphs): Track last changes to struct glyph.
+
+1999-12-29  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * dispnew.c (mode_line_string): Support MS-DOS frames.
+
+1999-12-29  Gerd Moellmann  <gerd@gnu.org>
+
+       * eval.c (syms_of_eval): Initialize debugger_may_continue.
+
+1999-12-29  Kenichi Handa  <handa@etl.go.jp>
+
+       * process.c (read_process_output): Fix the args CHARPOS and LENINS
+       to signal_after_change.
+
+1999-12-28  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (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.
+
+       * msdos.h (struct display_info): New.
+       (struct x_output): Add the display_info member.
+       (FRAME_X_DISPLAY_INFO): New macro.
+
 1999-12-28  Gerd Moellmann  <gerd@gnu.org>
 
        * xdisp.c (try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED
        if MODIFF > 1.
+       (dump_glyph_row): Adapt to changes in struct glyph.
 
        * buffer.c (modify_overlay): Always compute unchanged info.