]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorMiles Bader <miles@gnu.org>
Sun, 9 Jun 2002 13:03:29 +0000 (13:03 +0000)
committerMiles Bader <miles@gnu.org>
Sun, 9 Jun 2002 13:03:29 +0000 (13:03 +0000)
lisp/ChangeLog
src/ChangeLog

index dc31ec09da04e44c7be8454677cdaf78954e51f6..13ab17c18688254d2c6c7604cb7faa04bad2c1e5 100644 (file)
@@ -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
index 1347eca1626a59707a73d62f268d2de53b869f8d..6376ed004469070e5cc41c3325c6486512bc5dd0 100644 (file)
@@ -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.