changeset 45719:3809dbad829a

*** empty log message ***
author Miles Bader <miles@gnu.org>
date Sun, 09 Jun 2002 13:03:29 +0000
parents e495189229e4
children c145c11ef3b3
files lisp/ChangeLog src/ChangeLog
diffstat 2 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <miles@gnu.org>
+
+	* 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  <bug-cc-mode@gnu.org>
 
 	* progmodes/cc-style.el (c-set-style, c-set-style-1): Added
--- 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  <miles@gnu.org>
+
+	* 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  <walters@verbum.org>
 
 	* textprop.c (Vchar_property_alias_alist): New variable.