From: Miles Bader Date: Sun, 9 Jun 2002 13:03:29 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ttn-vms-21-2-B4~14698 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab2e49a0b5b09b69a2cd375170b031d8045a2de4;p=emacs.git *** empty log message *** --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dc31ec09da0..13ab17c1868 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/src/ChangeLog b/src/ChangeLog index 1347eca1626..6376ed00446 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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.