1. 08 Sep, 2000 1 commit
  2. 07 Sep, 2000 3 commits
  3. 30 Aug, 2000 1 commit
  4. 29 Aug, 2000 1 commit
  5. 28 Aug, 2000 1 commit
    • Miles Bader's avatar
      (merge_face_vectors): · 87188200
      Miles Bader authored
        Clear TO's :font attribute if made inconsistent by a font-related attribute in FROM.
        Add function comment.
  6. 27 Aug, 2000 1 commit
  7. 26 Aug, 2000 1 commit
    • Miles Bader's avatar
      (QCinherit): · 2c20458f
      Miles Bader authored
        New variable.
        Initialize it.
        New macro.
      (Finternal_get_lisp_face_attribute, merge_face_vector_with_property)
        Deal with :inherit attribute.
        Allow new types of face height.  Check inherit attribute.
        New macro.
        New function.
        Merge inherited faces too.  Add F and CYCLE_CHECK arguments.
      (merge_face_vector_with_property, Finternal_merge_in_global_face)
      (lookup_named_face, lookup_derived_face, realize_named_face)
      (face_at_string_position, face_at_buffer_position):
        Supply new F and CYCLE_CHECK arguments to merge_face_vectors.
        New function.
      (merge_face_vectors, merge_face_vector_with_property)
        Call merge_face_heights to handle relative face heights.
        Compare heights using EQ.
  8. 20 Aug, 2000 1 commit
    • Gerd Moellmann's avatar
      (lface_equal_p): Compare strings differently. · ae4b4ba5
      Gerd Moellmann authored
      (Qtty_color_alist, Vtty_defined_color_alist): New variables.
      (realize_tty_face): Use them.
      (syms_of_xfaces): Initialize new variables.
      (map_tty_color): New function, extracted from realize_tty_face.
      (map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default
      foreground or background color, store the new color name in the
      realized face; previous code trying to do this had no effect.
      (realize_tty_face): Use map_tty_color.
      (Fclear_face_cache): Set face_change_count and ensure thorough
  9. 09 Aug, 2000 1 commit
  10. 08 Aug, 2000 1 commit
  11. 05 Aug, 2000 1 commit
  12. 18 Jul, 2000 1 commit
  13. 14 Jul, 2000 2 commits
  14. 13 Jul, 2000 1 commit
  15. 23 Jun, 2000 1 commit
  16. 20 Jun, 2000 1 commit
  17. 18 Jun, 2000 1 commit
  18. 12 Jun, 2000 1 commit
    • Gerd Moellmann's avatar
      (Fdump_colors) [DEBUG_X_COLORS]: New function. · 08dc08dc
      Gerd Moellmann authored
      (syms_of_xfaces): Defsubr Sdump_colors.
      (x_free_colors): Don't treat b&w specially on default visual.
      (x_free_dpy_colors): New function.
      (free_face_colors): Don't check visual class; it's done
      in x_free_colors.
  19. 02 Jun, 2000 1 commit
  20. 29 May, 2000 1 commit
  21. 28 Apr, 2000 1 commit
  22. 17 Apr, 2000 1 commit
  23. 10 Apr, 2000 1 commit
  24. 09 Apr, 2000 1 commit
    • Gerd Moellmann's avatar
      (tty_suppress_bold_inverse_default_colors_p): New · a4a76b61
      Gerd Moellmann authored
      (realize_tty_face): Suppress boldness if colors are the inverse of
      the default colors, and tty_suppress_bold_inverse_default_colors_p
      is set.
      (Ftty_suppress_bold_inverse_default_colors): New function.
      (syms_of_xfaces): Defsubr it.
  25. 01 Apr, 2000 2 commits
    • Ken Raeburn's avatar
      Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type: · 6fc556fd
      Ken Raeburn authored
      * xdisp.c (compute_string_pos): Fix order of arguments to
      (handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as
      count arg to variable-arg routines like Frun_hook_with_args and Fformat.
      (back_to_previous_visible_line_start, build_desired_tool_bar_string):
      Pass Lisp_Object, not int, to fixed-arg routines like
      Fget_char_property and Fmake_string.
      (reconsider_clip_changes): Use XINT when comparing integer lisp
      objects, or passing them as int arguments.
      (mark_window_display_accurate, insert_left_trunc_glyphs, append_space,
      extend_face_to_end_of_line): Use make_number when storing or passing
      integer values as lisp objects.
      (set_cursor_from_row, highlight_trailing_whitespace): Use INTEGERP,
      not implicit test against zero, for glyph object.
      (try_window_id): Don't use make_number when we want an int value.
      * xfaces.c (xlfd_symbolic_value): Make last argument a Lisp_Object, to
      be consistent with callers.
      (Fbitmap_spec_p): Use XINT to get numeric value of height.
      (lface_hash): Apply XFASTINT to lisp values before folding in.
      * xfns.c (Fx_show_tip): Use make_number to get lisp objects to fill in window
      width and height.  Pass an int, not a lisp object, as first arg to Finsert.
    • Gerd Moellmann's avatar
      (realize_basic_faces): Block input while realizing · 17e8204b
      Gerd Moellmann authored
      the faces.
  26. 30 Mar, 2000 3 commits
  27. 27 Mar, 2000 2 commits
  28. 22 Mar, 2000 1 commit
  29. 21 Mar, 2000 2 commits
    • Gerd Moellmann's avatar
      (check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error. · d2cafc8c
      Gerd Moellmann authored
      (lface_fully_specified_p): Don't check contents of
      LFACE_FONT_INDEX because that attribute is optional.
      (realize_x_face): Remove now unwarranted xassert.
    • Kenichi Handa's avatar
      (Qx_charset_registry, Vface_default_registry): · 39506348
      Kenichi Handa authored
      Variables removed.
      (clear_font_table, frame_update_line_height, load_face_font):
      Adjusted for the change of fontset implementation.
      (load_face_fontset_font): Function removed.
      (pixel_point_size): New function.
      (font_list): Argument type changed.  Caller changed.
      (LFACE_FONT): New macro.
      (check_lface_attrs): Check attr[LFACE_FONT_INDEX].
      (set_lface_from_font_name): Type of arg FONTNAME is changed to
      Lisp_Object.  Determine the font name by actually loading a font
      by the specified pattern.  Set LFACE_FONT (lface) to the specified
      pattern.  Even if a font is not found, don't try alternatives.
      (Finternal_set_lisp_face_attribute): Handle `font' slot in lface.
      (set_font_frame_param): If `font' is specified in lface, use it.
      (Finternal_get_lisp_face_attribute): Handle `font' slot in lface.
      (lface_same_font_attributes_p): Likewise.
      (make_realized_face): Arguent changed.  Caller changed.  Set
      face->ascii_face to face itself.
      (free_realized_face): Free face->fontset if face is for ASCII.
      (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p,
      deduce_unibyte_registry, x_charset_registry): Functions removed.
      (free_realized_multibyte_face): New function.
      (lookup_face, lookup_named_face, lookup_derived_face): Argument
      changed.  Caller changed.
      (try_font_list): Argument type changed.
      (face_fontset): Check `font' slot of ATTRS, not `family' slot.
      (choose_face_font): Argument changed.  Handle fontset properly.
      (choose_face_fontset_font): Function removed.
      (realize_default_face, realize_named_face): Don't remove the
      former face here.
      (realize_face): Argument changed.  Caller changed.  Remove face
      with the arg former_face_id in advance.  Load font for the new
      (realize_x_face): Argument changed.  Caller changed.  For a
      multibyte character, share fontset with base_face.  For a single
      byte character, make a new realized fontset.  Don't load a font
      (realize_tty_face): Argument changed.  Caller changed.
      (compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET.
      (face_at_buffer_position): Don't check multibyte_p for returning
      (face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not
      (syms_of_xfaces): Remove code for Qx_charset_registry and
  30. 04 Mar, 2000 2 commits
    • Gerd Moellmann's avatar
      (x_free_colors): Access colormap of frame using · 27610470
      Gerd Moellmann authored
      FRAME_X_COLORMAP.  Be paranoid about freeing black and white
      when default colormap is used.
    • Jason Rumney's avatar
      Change many FRAME_X... macros to FRAME_WINDOW... or other · c3cee013
      Jason Rumney authored
      non-platform-specific equivalents.
      [WINDOWSNT]: include w32term.h, fontset.h and define X specific
      functions and macros as their w32 equivalents where
      non-platform-specifics are not available.
      [HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM.
      (x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions.
      (clear_font_table) [WINDOWSNT]: Call w32_unload_font.
      (frame_update_line_height): Use macros to access f->output_data.
      (defined_color): Remove FIXME comments; fixed.
      (x_face_list_fonts, prepare_face_for_display): Put X specifics into
      #ifdef blocks. Add WINDOWSNT blocks.
      (Fx_list_fonts): Use macros for accessing font data.
      (set_lface_from_font_name): Different default fonts for X and WINDOWSNT.
      (font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as
      scalable for backward compatibility.
      (realize_tty_face) [MSDOS]: do the same for WINDOWSNT.
      (syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default.
  31. 02 Mar, 2000 1 commit