Change 23620 by [EMAIL PROTECTED] on 2004/12/06 22:22:11

        Upgrade to Term::ANSIColor 1.09

Affected files ...

... //depot/perl/lib/Term/ANSIColor.pm#10 edit
... //depot/perl/lib/Term/ANSIColor/ChangeLog#4 edit
... //depot/perl/lib/Term/ANSIColor/README#4 edit
... //depot/perl/lib/Term/ANSIColor/test.pl#4 edit

Differences ...

==== //depot/perl/lib/Term/ANSIColor.pm#10 (text) ====
Index: perl/lib/Term/ANSIColor.pm
--- perl/lib/Term/ANSIColor.pm#9~22345~ Fri Feb 20 00:21:47 2004
+++ perl/lib/Term/ANSIColor.pm  Mon Dec  6 14:22:11 2004
@@ -1,5 +1,5 @@
 # Term::ANSIColor -- Color screen output using ANSI escape sequences.
-# $Id: ANSIColor.pm,v 1.8 2004/02/20 06:21:26 eagle Exp $
+# $Id: ANSIColor.pm,v 1.9 2004/12/04 01:29:12 eagle Exp $
 #
 # Copyright 1996, 1997, 1998, 2000, 2001, 2002
 #   by Russ Allbery <[EMAIL PROTECTED]> and Zenin <[EMAIL PROTECTED]>
@@ -34,7 +34,7 @@
 
 # Don't use the CVS revision as the version, since this module is also in Perl
 # core and too many things could munge CVS magic revision strings.
-$VERSION = 1.08;
+$VERSION = 1.09;
 
 ##############################################################################
 # Internal data structures
@@ -424,12 +424,14 @@
  PuTTY         yes     color     no      yes      no       yes      no
  Windows       yes      no       no      no       no       yes      no
  Cygwin SSH    yes      yes      no     color    color    color     yes
+ Mac Terminal  yes      yes      no      yes      yes      yes      yes
 
-Windows is Windows telnet, and Cygwin SSH is the OpenSSH implementation under
-Cygwin on Windows NT.  Where the entry is other than yes or no, that emulator
-displays the given attribute as something else instead.  Note that on an
-aixterm, clear doesn't reset colors; you have to explicitly set the colors
-back to what you want.  More entries in this table are welcome.
+Windows is Windows telnet, Cygwin SSH is the OpenSSH implementation under
+Cygwin on Windows NT, and Mac Terminal is the Terminal application in Mac OS
+X.  Where the entry is other than yes or no, that emulator displays the
+given attribute as something else instead.  Note that on an aixterm, clear
+doesn't reset colors; you have to explicitly set the colors back to what you
+want.  More entries in this table are welcome.
 
 Note that codes 3 (italic), 6 (rapid blink), and 9 (strikethrough) are
 specified in ANSI X3.64 and ECMA-048 but are not commonly supported by most

==== //depot/perl/lib/Term/ANSIColor/ChangeLog#4 (text) ====
Index: perl/lib/Term/ANSIColor/ChangeLog
--- perl/lib/Term/ANSIColor/ChangeLog#3~22345~  Fri Feb 20 00:21:47 2004
+++ perl/lib/Term/ANSIColor/ChangeLog   Mon Dec  6 14:22:11 2004
@@ -1,3 +1,14 @@
+2004-12-03  Russ Allbery  <[EMAIL PROTECTED]>
+
+       * ANSIColor.pm: Version 1.09 released.
+
+       * ANSIColor.pm: Add compatibility information for Mac OS X
+       Terminal from Daniel Lindsley.
+
+2004-02-20  Russ Allbery  <[EMAIL PROTECTED]>
+
+       * test.pl: Always use eq, not ==, for string comparisons.
+
 2004-02-19  Russ Allbery  <[EMAIL PROTECTED]>
 
        * ANSIColor.pm: Version 1.08 released.

==== //depot/perl/lib/Term/ANSIColor/README#4 (text) ====
Index: perl/lib/Term/ANSIColor/README
--- perl/lib/Term/ANSIColor/README#3~22345~     Fri Feb 20 00:21:47 2004
+++ perl/lib/Term/ANSIColor/README      Mon Dec  6 14:22:11 2004
@@ -1,4 +1,4 @@
-                       Term::ANSIColor version 1.08
+                       Term::ANSIColor version 1.09
               (A simple ANSI text attribute control module)
 
   Copyright 1996, 1997, 1998, 2000, 2001, 2002
@@ -89,5 +89,11 @@
 
   To Richard Maus for pointing out DARK was missing from the exported
   constants list and CYAN and WHITE were missing from the documentation.
+
+  To Autrijus Tang for noticing a problem with string comparisons in the
+  test suite.
+
+  To Daniel Lindsley for the information about what Mac OS X Terminal
+  supports.
 
   To Larry Wall, as always, for Perl.

==== //depot/perl/lib/Term/ANSIColor/test.pl#4 (xtext) ====
Index: perl/lib/Term/ANSIColor/test.pl
--- perl/lib/Term/ANSIColor/test.pl#3~22345~    Fri Feb 20 00:21:47 2004
+++ perl/lib/Term/ANSIColor/test.pl     Mon Dec  6 14:22:11 2004
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: test.pl,v 1.3 2004/02/20 06:21:26 eagle Exp $
+# $Id: test.pl,v 1.4 2004/02/20 21:50:10 eagle Exp $
 #
 # test.pl -- Test suite for the Term::ANSIColor Perl module.
 #
@@ -91,12 +91,12 @@
 
 # Test ANSI_COLORS_DISABLED.
 $ENV{ANSI_COLORS_DISABLED} = 1;
-if (color ('blue') == '') {
+if (color ('blue') eq '') {
     print "ok 10\n";
 } else {
     print "not ok 10\n";
 }
-if (colored ('testing', 'blue', 'on_red') == 'testing') {
+if (colored ('testing', 'blue', 'on_red') eq 'testing') {
     print "ok 11\n";
 } else {
     print "not ok 11\n";
End of Patch.

Reply via email to