1. 14 May, 2008 1 commit
    • Kenichi Handa's avatar
      Throughout the file, delete all USE_FONT_BACKEND · 2dee4c0b
      Kenichi Handa authored
      conditionals.  Don't check enable_font_backend.  Delete all codes
      used only when USE_FONT_BACKEND is not defined.  Use
      FONT_XXX_NAME_NUMERIC instead of face_numeric_xxx.
      (QCfoundry, QCadstyle, QCregistry, QCspacing, QCsize, QCavgwidth)
      (Qp): Extern them.
      (clear_font_table, load_face_font, xlfd_lookup_field_contents):
      Deleted.
      (struct font_name): Deleted.
      (xlfd_numeric_value, xlfd_symbolic_value): Deleted.
      (compare_fonts_by_sort_order): New function.
      (xlfd_numeric_slant, xlfd_symbolic_slant, xlfd_numeric_weight)
      (xlfd_symbolic_weight, xlfd_numeric_swidth, xlfd_symbolic_swidth):
      Deleted.
      (Fx_family_fonts): Use font_list_entities, and sort fonts by
      compare_fonts_by_sort_order.
      (Fx_font_family_list): Call Ffont_family_list.
      (face_numeric_value, face_numeric_weight, face_numeric_slant)
      (face_numeric_swidth, face_symbolic_value, face_symbolic_weight)
      (face_symbolic_slant, face_symbolic_swidth)
      (split_font_name_into_vector, build_font_name_from_vector)
      (xlfd_fixed_p, xlfd_point_size, pixel_point_size)
      (font_rescale_ratio, split_font_name, build_font_name)
      (free_font_names, sort_fonts, x_face_list_fonts)
      (face_font_available_p, sorted_font_list, cmp_font_names)
      (font_list_1, concat_font_list, font_list, remove_duplicates):
      Deleted.
      (Fx_list_fonts): Use Ffont_list.
      (LFACE_AVGWIDTH): Deleted.
      (check_lface_attrs): Don't check LFACE_AVGWIDTH.  Check LFACE_FONT
      by FONTP.
      (lface_fully_specified_p): Don't check LFACE_AVGWIDTH.
      (set_lface_from_font_name): Delete it.
      (set_lface_from_font): Renamed from
      set_lface_from_font_and_fontset.  Caller changed.  Don't set
      LFACE_AVGWIDTH.  Use FONT_XXX_FOR_FACE to get a symbol suitable
      for face.
      (merge_face_vectors): Copy font-spec if necessary.  Clear
      properties of the font-spec if necessary.
      (merge_face_ref): Clear properties of the font-spec if necessary.
      (Finternal_set_lisp_face_attribute): Likewise.
      (set_font_frame_param): Use font_load_for_lface to load a
      font-object, and call Fmodify_frame_parameters with it.
      (x_update_menu_appearance): Don't check LFACE_AVGWIDTH.  Get XLFD
      font name by Ffont_xlfd_name.
      (Finternal_lisp_face_attribute_values): Don't check QCweight,
      QCslant, and QCwidth.
      (Fface_font): Get a font name from font->props[FONT_NAME_INDEX].
      (lface_same_font_attributes_p): Don't check LFACE_AVGWIDTH.
      Compare fonts by EQ.
      (lookup_non_ascii_face): Deleted.
      (face_for_font): The 2nd argument changed.
      (x_supports_face_attributes_p): Don't check LFACE_AVGWIDTH.  Check
      atomic font properties by case insensitive.
      (realize_non_ascii_face): Set face->overstrike correctly.
      (realize_x_face): Likewise.  Check if LFACE_FONT is a font_object.
      (dump_realized_face): Get font name from
      font->props[FONT_NAME_INDEX].  Don't print font_info_id.
      2dee4c0b
  2. 26 Feb, 2008 1 commit
  3. 24 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      Allow fine-grained image-cache flushing. · a2bc5bdd
      Stefan Monnier authored
      * dispextern.h (struct image): Add `dependencies' field.
      (clear_image_caches): Change arg to Lisp_Object.
      * image.c (make_image): Initialize `dependencies' field.
      (clear_image_cache): Change arg to allow fine-grained flushing.
      Perform the flush even if image-cache-eviction-delay is nil.
      (clear_image_caches): Change arg to Lisp_Object.
      (Fclear_image_cache): Expand meaning of the argument.
      (mark_image): Mark `dependencies' field.
      * xfaces.c (clear_face_cache): Adapt arg to call to clear_image_caches.
      (lface_hash): Use XHASH rather than XFASTINT.
      (face_at_buffer_position): Fix int -> EMACS_INT position.
      * xdisp.c (next_overlay_change): Fix int -> EMACS_INT position.
      (select_frame_for_redisplay): Remove code duplication.
      (redisplay_internal): Adapt arg to call to clear_image_caches.
      a2bc5bdd
  4. 22 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      Consolidate the image_cache to the terminal struct. · 354884c4
      Stefan Monnier authored
      * termhooks.h (P_): Remove redundant def.
      (struct terminal): New field `image_cache'.
      * frame.h (FRAME_IMAGE_CACHE): New macro.  Use it everywhere in place
      of FRAME_X_IMAGE_CACHE.
      * xterm.h (struct x_display_info): Remove image_cache field.
      (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
      * w32term.h (struct w32_display_info): Remove image_cache field.
      (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
      * macterm.h (struct mac_display_info): Remove image_cache field.
      (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
      * xterm.c (x_term_init):
      * w32term.c (w32_term_init):
      * macterm.c (mac_term_init): Set the image_cache in the terminal.
      * dispextern.h (clear_image_cache, forall_images_in_image_cache):
      Remove declarations.
      (clear_image_caches, mark_image_cache): New declarations.
      * xfaces.c (clear_face_cache):
      * xdisp.c (redisplay_internal): Use clear_image_caches.
      * image.c (clear_image_cache): Don't check that a frame is on
      a window-system before checking if it shares the same cache.
      (clear_image_caches): New function.
      (Fclear_image_cache): Use it.
      (mark_image): Move from allo.c.
      (mark_image_cache): Move from alloc.c and forall_images_in_image_cache.
      * alloc.c (mark_image, mark_image_cache): Move to image.c.
      (mark_object): Don't call mark_image_cache for frames.
      (mark_terminals): Call mark_image_cache.
      354884c4
  5. 17 Feb, 2008 1 commit
  6. 08 Feb, 2008 1 commit
  7. 05 Feb, 2008 1 commit
  8. 01 Feb, 2008 2 commits
  9. 23 Jan, 2008 1 commit
  10. 22 Jan, 2008 1 commit
  11. 10 Jan, 2008 1 commit
  12. 08 Jan, 2008 1 commit
  13. 03 Dec, 2007 1 commit
  14. 01 Dec, 2007 1 commit
  15. 30 Nov, 2007 1 commit
  16. 12 Nov, 2007 1 commit
  17. 04 Nov, 2007 1 commit
  18. 03 Nov, 2007 1 commit
  19. 13 Oct, 2007 1 commit
  20. 12 Oct, 2007 1 commit
    • Miles Bader's avatar
      Fix up multi-tty merge · 985773c9
      Miles Bader authored
      Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-261
      Creator:  Stefan Monnier <monnier@iro.umontreal.ca>
      985773c9
  21. 29 Sep, 2007 1 commit
  22. 23 Sep, 2007 1 commit
  23. 14 Sep, 2007 1 commit
  24. 29 Aug, 2007 1 commit
  25. 27 Aug, 2007 1 commit
  26. 25 Jul, 2007 1 commit
  27. 05 Jun, 2007 2 commits
  28. 02 Jun, 2007 1 commit
  29. 26 May, 2007 1 commit
    • Dan Nicolaescu's avatar
      * xfaces.c (syms_of_xfaces): Delete stray semicolon. · 3b8c0c70
      Dan Nicolaescu authored
      * xdisp.c (next_element_from_buffer):
      * window.c (delete_window):
      * term.c (term_mouse_highlight):
      * msdos.c (getdefdir):
      * macterm.c (mac_create_bitmap_from_bitmap_data)
      (init_font_name_table):
      * fns.c (Fsxhash):
      * data.c (Fmake_local_variable):
      * ccl.c (ccl_driver): Likewise.
      3b8c0c70
  30. 25 Apr, 2007 1 commit
  31. 17 Apr, 2007 1 commit
  32. 14 Feb, 2007 1 commit
  33. 21 Jan, 2007 1 commit
  34. 21 Nov, 2006 1 commit
  35. 19 Nov, 2006 1 commit
  36. 27 Oct, 2006 1 commit
  37. 20 Aug, 2006 1 commit
  38. 29 Jul, 2006 1 commit