(mh-recenter): Call recenter with arg `(4)'.
[bpt/emacs.git] / src / ChangeLog
index f34199c..185cb03 100644 (file)
@@ -1,5 +1,110 @@
+2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * lisp.h (make_fixnum_or_float): Coerce double to int explicitly.
+
+       * editfns.c (text_property_stickiness): Fix Lisp_Object used as boolean.
+
+2001-10-25  Miles Bader  <miles@gnu.org>
+
+       * xfns.c (png_load): Make sure SPECIFIED_BG is a string.
+       BG is a pointer to a structure, not a structure.
+       (gif_format, png_format): Add missing commas.
+
+2001-10-24  Richard M. Stallman  <rms@gnu.org>
+
+       * xfaces.c (Fface_attributes_as_vector): New function.
+       (syms_of_xfaces): defsubr it.
+
+2001-10-24  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused
+       variable `area'.
+
+2001-10-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * search.c (scan_newline): Remove unused variable
+       `selective_display'.
+
+2001-10-25  Miles Bader  <miles@gnu.org>
+
+       * dispextern.h (struct image): Add `background',
+       `background_valid', and `background_transparent' fields.
+       (image_background, image_background_transparent): New declarations.
+       (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros.
+       * xfns.c (image_background, image_background_transparent)
+       (four_corners_best): New functions.
+       (xpm_format, png_format, jpeg_format, tiff_format, gif_format) 
+       (gs_format): Add `:background' entry.
+       (lookup_image): Set IMG's background color if specified.
+       (pbm_load, xbm_load_image, png_load): Set IMG's background field
+       when appropriate.
+       (x_clear_image_1): Reset `background_valid' and
+       `background_transparent_valid' fields.
+       (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
+       calculating it here.  Set IMG's background_transparent field.
+       (enum xpm_keyword_index): Add XPM_BACKGROUND.
+       (enum png_keyword_index): Add PNG_BACKGROUND.
+       (enum jpeg_keyword_index): Add JPEG_BACKGROUND.
+       (enum tiff_keyword_index): Add TIFF_BACKGROUND.
+       (enum gif_keyword_index): Add GIF_BACKGROUND.
+       (enum gs_keyword_index): Add GS_BACKGROUND.
+       (pbm_load, png_load, jpeg_load, tiff_load, gif_load): 
+       Pre-calculate image background color where necessary.
+       * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
+       `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
+       color to use for image glyph reliefs.
+
+2001-10-24  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_draw_glyphs): Don't check for cursor overwriting
+       in full-width rows.
+       
+       * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
+       Fix clearing of area not covered by scroll bar.
+
 2001-10-24  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
+       * xterm.c: (x_insert_glyphs): Remove unused variables `real_end'
+       and `real_start'.
+       (x_draw_image_foreground): Remove unused variables `mask' and
+       `xgcv'.
+       (glyph_rect): Remove unused variable `area'.
+
+2001-10-24  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c: Change #ifdef GLYPH_DEBUG to #if.
+       
+       * xdisp.c (try_window_reusing_current_matrix): Use
+       row_containing_pos.
+       (row_containing_pos): Take additional argument DY.  Treat
+       rows ending in middle of char differently.
+       (display_line): Handle tabs on window systems differently.
+
+       * xterm.c, w32term.c (fast_find_position): Call row_containing_pos
+       with additional argument.
+
+       * dispextern.h (row_containing_pos): Adjust prototype.
+
+       * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing)
+       (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables.
+       (try_window_id, try_window_reusing_current_matrix)
+       (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited.
+       (syms_of_xdisp) [GLYPH_DEBUG]:  DEFVAR_BOOL the variables.
+
+2001-10-24  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of
+       gnuemacs).
+       (HAVE_BOXES): Fix typo in comment.
+       (push_menu_pane): Fix typo in comment.
+
+       * xdisp.c: (display_prop_string_p): Remove unused local declaration
+       of `Qwhen'.
+       (single_display_prop_string_p): Remove unused local declarations
+       of `Qwhen' and `Qmargin'.
+       (string_buffer_position): Remove unused variable `around'.
+       (store_frame_title): Remove unused variable `width'.
+
        * window.c: Don't define max.
        (coordinates_in_window): Remove unused variable `uy'.