# HG changeset patch # User Miles Bader # Date 1023627809 0 # Node ID 3809dbad829a1246a506210b29ce437d707d3ef7 # Parent e495189229e461a215fa65a16f469237d3a43d78 *** empty log message *** diff -r e495189229e4 -r 3809dbad829a lisp/ChangeLog --- a/lisp/ChangeLog Sun Jun 09 13:02:16 2002 +0000 +++ b/lisp/ChangeLog Sun Jun 09 13:03:29 2002 +0000 @@ -1,3 +1,20 @@ +2002-06-05 Miles Bader + + * faces.el (display-supports-face-attributes-p): New function. + * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values + instead of 8-bit, for consistency with the rest of emacs. + (tty-color-canonicalize): Only copy COLOR if we need to change it. + (tty-color-approximate): Scale values from `color-name-rgb-alist' + appropriately. Return the whole color description, rather than + just the RGB values. + (tty-color-standard-values): New function. Code mostly taken from + `tty-color-translate'. + (tty-color-translate, tty-color-values): Use `tty-color-desc' to + do all the work. + (tty-color-desc): Do color lookup here instead of calling + `tty-color-translate' and `tty-color-by-index'; this is now the + main place to do it. + 2002-06-09 Martin Stjernholm * progmodes/cc-style.el (c-set-style, c-set-style-1): Added diff -r e495189229e4 -r 3809dbad829a src/ChangeLog --- a/src/ChangeLog Sun Jun 09 13:02:16 2002 +0000 +++ b/src/ChangeLog Sun Jun 09 13:03:29 2002 +0000 @@ -1,3 +1,13 @@ +2002-06-09 Miles Bader + + * xfaces.c (Ftty_supports_face_attributes_p): New function. + (parse_rgb_list, tty_lookup_color): New functions. + (tty_defined_color): Use `tty_lookup_color' to do all the work. + (color_distance, Fcolor_distance): New functions. + (TTY_SAME_COLOR_THRESHOLD): New macro. + (Qtty_color_standard_values): New variable. + (syms_of_xfaces): Initialize new vars & functions. + 2002-06-08 Colin Walters * textprop.c (Vchar_property_alias_alist): New variable.