1. 15 May, 2008 3 commits
    • Miles Bader's avatar
      Merge from gnus--devo--0 · 4079589f
      Miles Bader authored
      Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1161
      4079589f
    • John Paul Wallington's avatar
      (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks) · 4e02f55c
      John Paul Wallington authored
      (define-ibuffer-column, define-ibuffer-sorter)
      (define-ibuffer-op, define-ibuffer-filter): Add declarations
      containing indentation specs, replacing equivalent top-level
      forms that set `lisp-indent-function' properties.
      (define-ibuffer-op): Use `derived-mode-p'.
      (define-ibuffer-filter): Remove redundant `concat' call.
      4e02f55c
    • John Paul Wallington's avatar
      (ibuffer-assert-ibuffer-mode): New defsubst. · 87a6a53a
      John Paul Wallington authored
      (ibuffer-mark-interactive, ibuffer-set-mark)
      (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
      (ibuffer-map-lines, ibuffer-switch-format)
      (ibuffer-update-title-and-summary)
      (ibuffer-redisplay-engine): Use it.
      87a6a53a
  2. 14 May, 2008 37 commits
    • Michael Albinus's avatar
      * net/tramp.el (tramp-echo-mark): Update docstring. · 674da028
      Michael Albinus authored
      (tramp-echo-mark-marker): New defconst.
      (tramp-check-for-regexp): Use it.
      674da028
    • Eric S. Raymond's avatar
    • Jason Rumney's avatar
      26a3b310
    • Jason Rumney's avatar
      (w32_get_glyph_overhangs): Remove. · e5e29349
      Jason Rumney authored
      (w32_redisplay_interface): Use x_get_glyph_overhangs instead.
      e5e29349
    • Kenichi Handa's avatar
      be9442ad
    • John Paul Wallington's avatar
      (convert-define-charset-argument): Remove period from end of error message. · d660b68f
      John Paul Wallington authored
      (coding-system-mnemonic): Doc fix.
      (ctext-pre-write-conversion): Doc fix.
      d660b68f
    • Kenichi Handa's avatar
      1f09f444
    • Glenn Morris's avatar
      9ec0b715
    • Glenn Morris's avatar
      Update for font-backend changes. · 2fc5063f
      Glenn Morris authored
      2fc5063f
    • Glenn Morris's avatar
      Regenerate. · 3d265861
      Glenn Morris authored
      3d265861
    • Glenn Morris's avatar
      Mark as part of the GNU C Library rather than of Emacs. · 4cec53bf
      Glenn Morris authored
      Re-fill permissions.
      4cec53bf
    • Miles Bader's avatar
      Merge from emacs--rel--22 · ecae6af9
      Miles Bader authored
      Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1159
      ecae6af9
    • Kenichi Handa's avatar
      131b3b11
    • Kenichi Handa's avatar
      (font-weight-table, font-slant-table) · 6e783e91
      Kenichi Handa authored
      (font-swidth-table): Declare them by defconst.  Change the format
      of elements.  Call internal-set-font-style-table after their
      declaration.
      (face-valid-attribute-values): Call font-family-list.  Get values
      for width, weight, and slant from font-xxx-table.
      6e783e91
    • Kenichi Handa's avatar
    • Kenichi Handa's avatar
      (setup-default-fontset): For kana, han, · e096e30e
      Kenichi Handa authored
      hangul, and cjk-misc, move an entry with font-spec at the end.
      (generate-fontset-menu): Exclue fontset-auto* from the list.
      e096e30e
    • Kenichi Handa's avatar
      8aeebac2
    • Kenichi Handa's avatar
      ("Chinese-GB", "Chinese-BIG5") · 11d95776
      Kenichi Handa authored
      ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
      ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
      11d95776
    • Kenichi Handa's avatar
      40551685
    • Kenichi Handa's avatar
      789c1a0c
    • Kenichi Handa's avatar
      Regenerate. · b8bdd8c9
      Kenichi Handa authored
      b8bdd8c9
    • Kenichi Handa's avatar
      Don't handle --disable-font-backend. Don't print · 1ef37fa8
      Kenichi Handa authored
      a message about a font backend.
      1ef37fa8
    • Kenichi Handa's avatar
      (fonts_changed_p): Comment improved. · 3aa9f0c4
      Kenichi Handa authored
      3aa9f0c4
    • Kenichi Handa's avatar
      (detect_coding_iso_2022): Ignore a coding category that · c6b278e7
      Kenichi Handa authored
      has no corresponding coding system.
      c6b278e7
    • Kenichi Handa's avatar
      Throughout the file, delete all USE_FONT_BACKEND · 90546022
      Kenichi Handa authored
      conditionals.  Don't check enable_font_backend.  Delete all codes
      used only when USE_FONT_BACKEND is not defined.  Don't include
      ccl.h.
      (x_per_char_metric, x_encode_char): Deleted.
      (x_set_cursor_gc, x_set_mouse_face_gc): Don't set GCFont.
      (x_compute_glyph_string_overhangs): Adjusted for the change of
      `struct face'
      (x_draw_glyph_string_foreground)
      (x_draw_composite_glyph_string_foreground): Likewise.
      (x_draw_glyph_string): Likewise.  Use font->underline_position and
      font->underline_thickness.
      (x_new_font): Renamed from x_new_fontset2.
      (x_new_fontset, x_get_font_info, x_list_fonts): Deleted.
      (x_check_font): Call `check' method of a font driver.
      (x_font_min_bounds, x_compute_min_glyph_bounds, x_load_font)
      (x_query_font, x_get_font_repertory): Deleted.
      (x_find_ccl_program): Renamed and moved to xfont.c.
      (x_redisplay_interface): Adjusted for the change of `struct
      redisplay_interface'.
      90546022
    • Kenichi Handa's avatar
      f6bac558
    • Kenichi Handa's avatar
      (xftfont_list): Adjusted for the change of `list' · 3528e709
      Kenichi Handa authored
      callback function.
      (xftfont_match): Adjusted for the fontmat change of font-entity.
      (xftfont_open): Adjusted for the format change of font-entity and
      font-object.  Adjusted for the change of struct font.  Return a
      font-object.  Don't update dpyinfo->smallest_font_height and
      dpyinfo->smallest_char_width.
      (xftfont_close): Block input while calling XftFontClose.
      (xftfont_prepare_face): Don't block input while calling
      xftfont_get_colors.  Adjusted for the change of struct font.
      (xftfont_shape): Return value of error case fixed.
      3528e709
    • Kenichi Handa's avatar
      Include <stdlib.h> and "ccl.h". · f0c55750
      Kenichi Handa authored
      (struct xfont_info): New structure.
      (xfont_query_font): Deleted.
      (xfont_find_ccl_program): Renamed from x_find_ccl_program and
      moved from xterm.c.
      (xfont_driver): Adjusted for the change of struct font_driver.
      (compare_font_names): New function.
      (xfont_list_pattern): Sort font names case insensitively.  Make
      font_entity by calling font_make_entity.  Avoid auto-scaled fonts.
      (xfont_list): Return a list, not vector.
      (xfont_match): If the font doesn't have QCname property, generate
      a name from the other font properties.
      (xfont_open): Return a font-ojbect.  Adjusted for the change of
      struct font.  Get underline_thickness and underline_position from
      font property.  Don't update dpyinfo->smallest_font_height and
      dpyinfo->smallest_char_width.
      (xfont_close): Don't free struct font.
      (xfont_prepare_face): Adjusted for the change of struct font.
      (xfont_done_face): Deleted.
      (xfont_has_char): Adjusted for the change of struct font.
      (xfont_encode_char, xfont_draw): Likewise.
      (xfont_check): New function.
      f0c55750
    • Kenichi Handa's avatar
      Throughout the file, delete all USE_FONT_BACKEND · b51238f5
      Kenichi Handa authored
      conditionals.  Don't check enable_font_backend.  Delete all codes
      used only when USE_FONT_BACKEND is not defined.
      (xic_create_xfontset): Original code deleted and renamed from
      xic_create_xfontset2.  Use FRAME_FONT, not FRAME_FONT_OBJECT.
      (x_make_gc): Don't set GCFont in GCs.
      (Fx_create_frame) [USE_LUCID]: Set xlwmenu_default_font to a font
      opened by "fixed".
      (syms_of_xfns): Don't set get_font_info_func, load_font_func,
      find_ccl_program_func, query_font_func, set_frame_fontset_func,
      get_font_repertory_func.
      b51238f5
    • 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
    • Kenichi Handa's avatar
      Throughout the file, delete all USE_FONT_BACKEND · 4039e20c
      Kenichi Handa authored
      conditionals.  Don't check enable_font_backend.  Delete all codes
      used only when USE_FONT_BACKEND is not defined.
      (handle_auto_composed_prop): Do nothing if it->f is not on a
      window system.  Check how many following characters can be
      displayed by the same font.
      (calc_pixel_width_or_height): Type of the 4th arg is changed to
      'struct font *'.
      (get_char_face_and_encoding): Assign the whole encoding task to
      the `encode-char' method of a font driver.
      (fill_composite_glyph_string): Adjusted for the change of `struct
      face' and `struct glyph_string'.
      (fill_glyph_string): Likewise.
      (get_per_char_metric): Arguments changed.
      (x_get_glyph_overhangs): Adjusted for the change of `struct face'
      and `struct glyph_string'.
      (produce_stretch_glyph, calc_line_height_property)
      (x_produce_glyphs): Likewise.
      4039e20c
    • Kenichi Handa's avatar
      Include font.h. · 2a7b7982
      Kenichi Handa authored
      (print_object): Handle font-related objects.
      2a7b7982
    • Kenichi Handa's avatar
      (enum pvec_type): New member PREV_FONT. · f85064bd
      Kenichi Handa authored
      (Fassoc_string): EXFUN it.
      f85064bd
    • Kenichi Handa's avatar
      (image_ascent): Don't include "charset.h". Include · 3dcc8b84
      Kenichi Handa authored
      "character.h" and "font.h".
      3dcc8b84
    • Kenichi Handa's avatar
      Throughout the file, delete all USE_FONT_BACKEND · e0c8ad78
      Kenichi Handa authored
      conditionals.  Don't check enable_font_backend.  Delete all codes
      used only when USE_FONT_BACKEND is not defined.
      (x_set_font): Call x_new_font, not x_new_fontset2.
      (x_set_font_backend): Use FRAME_FONT macro to check if a font is
      already set for the frame.
      e0c8ad78
    • Kenichi Handa's avatar
      (ftxfont_list): Return a list, not vector. · a952e54c
      Kenichi Handa authored
      (ftxfont_open): Return a font-ojbect.  Adjusted for the change of
      struct font.  Get underline_thickness and underline_position from
      font property.  Don't update dpyinfo->smallest_font_height and
      dpyinfo->smallest_char_width.
      (ftxfont_close): Don't decrese FRAME_X_DISPLAY_INFO (f)->n_fonts.
      (ftxfont_draw): Adjusted for the change of struct font.
      a952e54c
    • Kenichi Handa's avatar
      (ftfont_pattern_entity): Argument FRAME removed. Make · 42984a74
      Kenichi Handa authored
      a font-entity by font_make_entity.  Use font_intern_prop instead
      of intern_downcase.  Use FONT_SET_STYLE to set a style-related
      font property.  If a font is scalable, set avgwidth property to 0.
      Set font-entity property by font_put_extra.
      (ftfont_list_generic_family): Argument SPEC and REGISTRY removed.
      (ffont_driver): Adjusted for the change of struct font_driver.
      (ftfont_spec_pattern): New function.
      (ftfont_list): Return a list, not vector.
      (ftfont_match): Use ftfont_spec_pattern to get a pattern.
      (ftfont_list_family): Don't downcase names.
      (ftfont_free_entity): Deleted.
      (ftfont_open): Return a font-ojbect.  Adjusted for the change of
      struct font.  Get underline_thickness and underline_position from
      font property.  Don't update dpyinfo->smallest_font_height and
      dpyinfo->smallest_char_width.
      (ftfont_close): Don't free `struct font'.
      (ftfont_has_char): Adjusted for the format change of font-entity.
      (ftfont_encode_char, ftfont_text_extents): Likewise.
      42984a74