emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/ChangeLog


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] Changes to emacs/src/ChangeLog
Date: Mon, 10 Oct 2005 23:35:55 -0400

Index: emacs/src/ChangeLog
diff -c emacs/src/ChangeLog:1.4639 emacs/src/ChangeLog:1.4640
*** emacs/src/ChangeLog:1.4639  Mon Oct 10 22:54:03 2005
--- emacs/src/ChangeLog Tue Oct 11 03:35:54 2005
***************
*** 1,3 ****
--- 1,26 ----
+ 2005-10-11  YAMAMOTO Mitsuharu  <address@hidden>
+ 
+       * macterm.c (PER_CHAR_METRIC): Remove unused macro.
+       (fm_font_family_alist): New variable.
+       (syms_of_macterm): Initialize and staticpro it.
+       (decode_mac_font_name): Replace '-' in family name with '_' if it
+       occurs just once.  Lower family name.
+       (parse_x_font_name): Rename from x_font_name_to_mac_font_name.
+       All uses changed.  Remove argument MF and code conversion for it.
+       Add argument SIZE.  Rename argument MF_DECODED to FAMILY, and CS
+       to CHARSET.  Parse font size.  Lower family name.  Return integer
+       value for status of parsing.
+       (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name.
+       Don't use Fdowncase because family name is already lowered by
+       decode_mac_font_name.
+       (init_font_name_table): Always call decode_mac_font_name.  Add
+       pair of family name and its reference to fm_font_family_alist.
+       (mac_clear_font_name_table): Clear fm_font_family_alist.
+       (XLoadQueryFont): Move font size parsing part to parse_x_font_name.
+       Lookup fm_font_family_alist to get font family reference.
+       (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family
+       name is already lowered by parse_x_font_name.
+ 
  2005-10-11  Kim F. Storm  <address@hidden>
  
        * xterm.c (glyph_rect): Return 0 if position is outside text area.
***************
*** 52,58 ****
        [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable.
        (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping
        rectangles stored in gc.
!       (XFreeGC): Dispose clipping region.
        (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions.
        (x_draw_fringe_bitmap, x_set_glyph_string_clipping)
        (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string)
--- 75,81 ----
        [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable.
        (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping
        rectangles stored in gc.
!       (XFreeGC): Dispose of clipping region.
        (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions.
        (x_draw_fringe_bitmap, x_set_glyph_string_clipping)
        (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string)
***************
*** 3772,3778 ****
        [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size
        of filename string.  Set event callback function when creating
        dialog boxes.  Add code conversions for filenames.  Don't dispose
!       apple event descriptor record if failed to create it.
  
        * macterm.c: Include sys/param.h.
        [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for
--- 3795,3801 ----
        [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size
        of filename string.  Set event callback function when creating
        dialog boxes.  Add code conversions for filenames.  Don't dispose
!       of apple event descriptor record if failed to create it.
  
        * macterm.c: Include sys/param.h.
        [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for
***************
*** 6879,6885 ****
        (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a
        scroll-bar click event.
        (mac_define_frame_cursor): Change the pointer shape.
!       (x_free_frame_resources): Reset tip_window to NULL when it is disposed.
        [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable.
        [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor.
        (do_window_update): Don't do anything if the updated window is the
--- 6902,6909 ----
        (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a
        scroll-bar click event.
        (mac_define_frame_cursor): Change the pointer shape.
!       (x_free_frame_resources): Reset tip_window to NULL when it is
!       disposed of.
        [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable.
        [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor.
        (do_window_update): Don't do anything if the updated window is the




reply via email to

[Prev in Thread] Current Thread [Next in Thread]