(try_alternative_families): First try the FAMILY.
[bpt/emacs.git] / src / ChangeLog
index bac8654..280b828 100644 (file)
@@ -1,5 +1,60 @@
+2001-05-14  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * xfaces.c (try_alternative_families): First try the FAMILY.
+       And if nothing is found in the end, try again with scalable fonts.
+       (try_font_list): Let try_alternative_families do a bit more of
+       the work.  Only use FAMILY if it is not nil.
+       (syms_of_xfaces) <scalable-fonts-allowed>: Fix docstring.
+
+2001-05-14  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_draw_glyphs): Fix compuation of rightmost x for
+       full-width rows.
+
+       * xfaces.c (split_font_name): Make sure to leave the loop
+       with the right value of `i'.
+
+       * xfaces.c (split_font_name): Handle matrix transformations
+       in the pixel and point size fields of XLFD font names.
+       (xlfd_point_size): Likewise.
+
+2001-05-12  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * w32fns.c (w32_to_x_font): Change prototype to fit the declaration.
+       (x_to_w32_font): Add prototype.
+
+       * regex.c (malloc, realloc, free) [emacs]: Undefine before
+       redefining, to avoid compiler warnings.
+
+       * w32proc.c: Include syssignal.h, to avoid compiler warnings.
+
+       * w32bdf.c (search_file_line, set_bdf_font_info, seek_char)
+       (w32_get_bdf_glyph): Cast between unsigned char and char when
+       passing arguments to subroutines, to shut up compiler warnings.
+       (w32_get_bdf_glyph): Don't mix signed and unsigned when calling
+       GET_HEX_VAL.
+
+       * xfaces.c: Include keyboard.h before frame.h, not after it.
+
+       * widget.c: Include keyboard.h before frame.h.
+
+       * w32term.h (struct image, struct face): Forward declaration, to
+       avoid compiler warnings.
+
 2001-05-11  Gerd Moellmann  <gerd@gnu.org>
 
+       * keyboard.c (read_key_sequence): Don't modify events when
+       generating fake prefix keys (mode-line, scroll-bar, ...) since
+       this prevents proper processing of such events when pushed back
+       into unread-command-events.
+
+       * xterm.c (clear_mouse_face): Return 1 if text with mouse face was
+       actually redrawn.  Make the function static.
+       (note_mouse_highlight): Fix a case where the mouse cursor
+       was changed back to the text cursor.
+
+       * xterm.h (clear_mouse_face): Remove prototype.
+
        * xdisp.c (try_window_id): Fix the fix and set the right
        window_end_vpos.
 
@@ -17,7 +72,7 @@
 
        * xdisp.c (try_window_id): Fix case of all changes before
        the window start.
-       
+
        * xdisp.c (try_window_id): Add some xasserts.
 
 2001-05-09  Gerd Moellmann  <gerd@gnu.org>
 
 2001-05-03  Eli Zaretskii  <eliz@is.elta.co.il>
 
-       * xterm.c (XTread_socket) <Expose> [!USE_TOOLKIT_SCROLL_BARS]: Fix
-       the change from 2001-04-30.
+       * xterm.c (XTread_socket) <Expose> [!USE_TOOLKIT_SCROLL_BARS]:
+       Fix the change from 2001-04-30.
 
 2001-05-03  Gerd Moellmann  <gerd@gnu.org>
 
        (Fx_file_dialog): Use it as XmNunmapCallback to capture the case
        where a dialog is closed via the window manager.
 
-       * xdisp.c (try_window_id): Cases of changes all in front of 
+       * xdisp.c (try_window_id): Cases of changes all in front of
        the window start or all below the window end mostly rewritten.
        (redisplay_window): Move the tests if try_window_id is
        applicable to try_window_id.
 2001-05-02  Gerd Moellmann  <gerd@gnu.org>
 
        * xterm.c (expose_window): Return int.  If W is the window
-       currently being updated, mark the frame garbaged.  Fix
-       computation of rows intersecting the exposed rectangle.
+       currently being updated, mark the frame garbaged.
+       Fix computation of rows intersecting the exposed rectangle.
        (expose_window_tree): Stop when expose_window returns 0.
-       
+
        * xterm.c (x_draw_stretch_glyph_string): Don't draw background
        again if it has already been drawn.
 
        * term.c (toggle_highlight): New function.
        (turn_on_face): Change handling of reverse video.
 
-       * process.c (wait_reading_process_input): Call
-       record_asynch_buffer_change only if a timer really changed
-       buffers.
+       * process.c (wait_reading_process_input):
+       Call record_asynch_buffer_change only if a timer really changed buffers.
 
        * buffer.c (mouse_face_overlay_overlaps): Fix the computation
        of the number of overlays to check.
        (x_face_list_fonts): Special handling for realizing_basic_faces_p
        removed.
        (realize_basic_faces): Specbind Qscalable_fonts_allowed to t.
-       (syms_of_xfaces): Initialize Qscalable_fonts_allowed.  Change
-       default for scalable-fonts-allowed to t.
+       (syms_of_xfaces): Initialize Qscalable_fonts_allowed.  Change default
+       for scalable-fonts-allowed to t.
 
        * fileio.c (Finsert_file_contents): If the file size returned from
        stat is zero, set END to READ_BUF_SIZE.  This makes sure we can