(syms_of_xfaces): defsubr Scolor_gray_p and
[bpt/emacs.git] / src / ChangeLog
index 34e6123..99e667e 100644 (file)
-1999-12-31  William M. Perry <wmperry@gnu.org>
-
-       * xfns.c (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.
+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>