Change 31036 by [EMAIL PROTECTED] on 2007/04/23 15:07:52 Upgrade to Term::ANSIColor 1.12.
Affected files ... ... //depot/perl/lib/Term/ANSIColor.pm#15 edit ... //depot/perl/lib/Term/ANSIColor/ChangeLog#7 edit ... //depot/perl/lib/Term/ANSIColor/README#7 edit ... //depot/perl/lib/Term/ANSIColor/t/basic.t#2 edit Differences ... ==== //depot/perl/lib/Term/ANSIColor.pm#15 (text) ==== Index: perl/lib/Term/ANSIColor.pm --- perl/lib/Term/ANSIColor.pm#14~30684~ 2007-03-22 07:25:54.000000000 -0700 +++ perl/lib/Term/ANSIColor.pm 2007-04-23 08:07:52.000000000 -0700 @@ -1,5 +1,5 @@ # Term::ANSIColor -- Color screen output using ANSI escape sequences. -# $Id: ANSIColor.pm 58 2006-07-12 22:30:55Z eagle $ +# $Id: ANSIColor.pm 64 2007-03-23 17:58:18Z eagle $ # # Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2005, 2006 # by Russ Allbery <[EMAIL PROTECTED]> and Zenin @@ -32,7 +32,7 @@ ON_CYAN ON_WHITE)]); Exporter::export_ok_tags ('constants'); -$VERSION = '1.11_01'; +$VERSION = '1.12'; ############################################################################## # Internal data structures @@ -239,13 +239,13 @@ uncolor() performs the opposite translation, turning escape sequences into a list of strings. -The recognized attributes (all of which should be fairly intuitive) are -clear, reset, dark, bold, underline, underscore, blink, reverse, concealed, -black, red, green, yellow, blue, magenta, on_black, on_red, on_green, +The recognized attributes (all of which should be fairly intuitive) are clear, +reset, dark, bold, underline, underscore, blink, reverse, concealed, black, +red, green, yellow, blue, magenta, cyan, white, on_black, on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, and on_white. Case is not -significant. Underline and underscore are equivalent, as are clear and -reset, so use whichever is the most intuitive to you. The color alone sets -the foreground color, and on_color sets the background color. +significant. Underline and underscore are equivalent, as are clear and reset, +so use whichever is the most intuitive to you. The color alone sets the +foreground color, and on_color sets the background color. Note that not all attributes are supported by all terminal types, and some terminals may not support any of these sequences. Dark, blink, and ==== //depot/perl/lib/Term/ANSIColor/ChangeLog#7 (text) ==== Index: perl/lib/Term/ANSIColor/ChangeLog --- perl/lib/Term/ANSIColor/ChangeLog#6~28580~ 2006-07-15 08:22:35.000000000 -0700 +++ perl/lib/Term/ANSIColor/ChangeLog 2007-04-23 08:07:52.000000000 -0700 @@ -1,3 +1,17 @@ +2007-04-22 Russ Allbery <[EMAIL PROTECTED]> + + * ANSIColor.pm: Version 1.12 released. + +2007-03-23 Russ Allbery <[EMAIL PROTECTED]> + + * ANSIColor.pm: Use the right syntax for internal POD links. + Thanks, Rafael Garcia-Suarez. + +2007-02-10 Russ Allbery <[EMAIL PROTECTED]> + + * ANSIColor.pm: Add cyan and white to the list of supported + attributes. Not sure how I managed to omit them before. + 2006-07-12 Russ Allbery <[EMAIL PROTECTED]> * ANSIColor.pm: Version 1.11 released. ==== //depot/perl/lib/Term/ANSIColor/README#7 (text) ==== Index: perl/lib/Term/ANSIColor/README --- perl/lib/Term/ANSIColor/README#6~28580~ 2006-07-15 08:22:35.000000000 -0700 +++ perl/lib/Term/ANSIColor/README 2007-04-23 08:07:52.000000000 -0700 @@ -1,4 +1,4 @@ - Term::ANSIColor version 1.11 + Term::ANSIColor version 1.12 (A simple ANSI text attribute control module) Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2005, 2006 Russ Allbery @@ -101,4 +101,7 @@ To Helge Kreutzmann for pointing out the need for warnings in the documentation about background colors that span newlines. + To Baron Schwartz for pointing out that cyan and white were missing from + the documentation. + To Larry Wall, as always, for Perl. End of Patch.