23 Commits (9c56409d3353b8cd4cfc19e0467bbe23fd34fc92)

Author SHA1 Message Date
Georg Brandl bf82e374ee More 2to3 fixes in the Tools directory. Fixes #2893. 18 years ago
Raymond Hettinger d4cb56d4e8 Convert some custom sort comparison functions to equivalent key functions. 19 years ago
Georg Brandl 86def6cb2b Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge from 19 years ago
Collin Winter 6afaeb757a Convert print statements to function calls in Tools/. 19 years ago
Barry Warsaw 5c458052f0 FILETYPES: Newer XFree86 rgb.txt files use the key Xorg instead of 24 years ago
Barry Warsaw 6c50ae0801 De-string-module-ification and other Python 2.x improvements. 25 years ago
Barry Warsaw 0604d72318 Lots of changes to support loading alternative color name database. 28 years ago
Barry Warsaw 840a84d37a Updated __main__ unit test 28 years ago
Barry Warsaw b7b1cf0088 rrggbb_to_triplet(): When color doesn't start with `#' raise a 28 years ago
Barry Warsaw a9053f65de Updated docstring. 28 years ago
Barry Warsaw 9f3ea211dd all_names(): => unique_names() 28 years ago
Barry Warsaw 8be2594a24 all_names(): Return just the unique names of rgb colors 28 years ago
Barry Warsaw 7a13418e12 Changed interface for nearest() method to take individual red, green, 28 years ago
Barry Warsaw 0e3e699178 triplet_to_brightness(): New function 28 years ago
Barry Warsaw a5a018fbd4 Fixed unit test 28 years ago
Barry Warsaw 2e7a32046b rrggbb_to_triplet(), triplet_to_rrggbb(): Improvements given by GvR 29 years ago
Barry Warsaw 8d3e5ee552 Cache conversions from triplets to rrggbb's and vice versa. Wasteful 29 years ago
Barry Warsaw 2662e15f58 triplet_to_pmwrgb(): New function 29 years ago
Barry Warsaw eb9b8af8fc __init__(): simplify, use tuple as key to __byrgb, lowercase __byname key. 29 years ago
Barry Warsaw f4562a7a0a Simplification of conversion routines 29 years ago
Barry Warsaw 9f4d73a9cf BadColor: new exception class 29 years ago
Barry Warsaw bfbe67f47f Better implementation of nearest(). Not faster, but better 29 years ago
Barry Warsaw 2406b1d40a Initial revision 29 years ago