Make kill() fatal for non-numeric pids
[p5sagit/p5-mst-13.2.git] / lib / Term / ANSIColor / ChangeLog
CommitLineData
c23d8173 12009-02-28 Russ Allbery <rra@stanford.edu>
2
3 * ANSIColor.pm: Version 2.00 released.
4
5 * Makefile.PL: Add LICENSE to the distribution metadata for Perl
6 5.10 and later.
7
8 * ANSIColor.pm: Add explicit return statements instead of relying
9 on the implicit return of the last expression. Use all caps for
10 all global variables.
11
12 * ANSIColor.pm: Add the new functions to a :pushpop export tag.
13 (PUSHCOLOR): New function that stores in an internal stack the
14 attributes that are being set.
15 (POPCOLOR): New function that pops the attributes being set and
16 sets the attributes previously found on the stack.
17 (LOCALCOLOR): New function that surrounds its argument in
18 PUSHCOLOR and POPCOLOR.
19 (AUTOLOAD): If $AUTOLOCAL is set, surround all color constants
20 with an implicit LOCALCOLOR.
21 * t/basic.t: Test PUSHCOLOR, POPCOLOR, and LOCALCOLOR.
22
23 * t/pod-spelling.t: Rewrite to use Test::More. Support and prefer
24 aspell.
25
26 * ANSIColor.pm: Fix additional spelling errors and rewrap the POD
27 documentation to a 74-character margin.
28
29 * t/basic.t: Rewrite to use Test::More.
30 * t/pod.t: Likewise.
31
32 * ANSIColor.pm (AUTOLOAD): If ANSI_COLORS_DISABLED is set, return
33 the stringified arguments rather than creating a sub. This allows
34 colors to work later if ANSI_COLORS_DISABLED is unset rather than
35 making its effects permanent. It also avoids adding a reset
36 escape sequence when $AUTORESET and ANSI_COLORS_DISABLED are both
37 set.
38
392008-09-14 Russ Allbery <rra@stanford.edu>
40
41 * ANSIColor.pm: Add faint as a synonym for dark and improve the
42 documentation of text attributes.
43
44 * t/pod-spelling.t: New check to spell-check POD documentation
45 using ispell with Pod::Spell.
46 * ANSIColor.pm: Fix spelling and markup errors in documentation
47 and add stop-words where appropriate.
48
7cd34c57 492007-04-22 Russ Allbery <rra@stanford.edu>
50
51 * ANSIColor.pm: Version 1.12 released.
52
532007-03-23 Russ Allbery <rra@stanford.edu>
54
55 * ANSIColor.pm: Use the right syntax for internal POD links.
56 Thanks, Rafael Garcia-Suarez.
57
582007-02-10 Russ Allbery <rra@stanford.edu>
59
60 * ANSIColor.pm: Add cyan and white to the list of supported
61 attributes. Not sure how I managed to omit them before.
62
cd07961b 632006-07-12 Russ Allbery <rra@stanford.edu>
64
65 * ANSIColor.pm: Version 1.11 released.
66
672006-06-22 Russ Allbery <rra@stanford.edu>
68
69 * ANSIColor.pm: Clarify in the documentation the behavior of
70 terminals when background colors are set across newlines, and
71 rewrite some of the examples to avoid doing things that confuse
72 the terminal. Fix a couple of spelling errors.
73
74 * test.pl: Moved to...
75 * t/basic.t: ...here.
76 * t/pod.t: New test for POD validity.
77
51da1d85 782005-08-21 Russ Allbery <rra@stanford.edu>
79
80 * ANSIColor.pm: Version 1.10 released.
81
82 * ANSIColor.pm (colored): Fix the $EACHLINE support to work
83 properly with a line consisting solely of "0". Remove Zenin's
84 now-defunct e-mail address from the documentation.
85 * test.pl: Test 0 and the empty string in combination with
86 $EACHLINE.
87
88 * tests/ansicolor: Add terminal test file from Joe Smith.
89 * tests/vt100-torture: Likewise.
90 * tests/README: Add an explanation of the test files.
91
92c7d2a2 922004-12-03 Russ Allbery <rra@stanford.edu>
93
94 * ANSIColor.pm: Version 1.09 released.
95
96 * ANSIColor.pm: Add compatibility information for Mac OS X
97 Terminal from Daniel Lindsley.
98
992004-02-20 Russ Allbery <rra@stanford.edu>
100
101 * test.pl: Always use eq, not ==, for string comparisons.
102
2e589669 1032004-02-19 Russ Allbery <rra@stanford.edu>
104
105 * ANSIColor.pm: Version 1.08 released.
106
107 * ANSIColor.pm: Add DARK to %EXPORT_TAGS and add CYAN and WHITE to
108 the list of documented constants.
109 * test.pl: Add a test for DARK. Redo the leading comment.
110
2d1e314f 1112003-03-25 Russ Allbery <rra@stanford.edu>
112
113 * ANSIColor.pm: Version 1.07 released.
114
115 * ANSIColor.pm: Add PuTTY, Windows telnet, and Cygwin OpenSSH
116 information to the terminal emulators table, and update the URL to
117 the ECMA standard.
118
1192002-12-09 Russ Allbery <rra@stanford.edu>
120
121 * ANSIColor.pm: Version 1.06 released to synchronize the version
122 on CPAN with the version in Perl core.
123
124 * ANSIColor.pm: Fix typo in L<> link in documentation.
125
1262002-06-28 Russ Allbery <rra@stanford.edu>
127
128 * ANSIColor.pm: Version 1.05 released.
129
130 * ANSIColor.pm: Update the formatting style, add a pointer to the
131 module web site, use L<> for URLs, and use naked <>s where
132 permissible rather than E<lt> and E<gt>. Renamed LICENSE to
133 COPYRIGHT AND LICENSE.
134
1352002-02-14 Russ Allbery <rra@stanford.edu>
136
137 * ANSIColor.pm: Added a mention of the specific Windows consoles
138 that don't work with this module.
139
110e9fb0 1402001-07-10 Russ Allbery <rra@stanford.edu>
141
142 * ANSIColor.pm: Version 1.04 released.
143
144 * ANSIColor.pm: Add documentation, examples, and diagnostics for
145 uncolor. Document ANSI_COLORS_DISABLED. Add information about
146 the relevant standards for these escape sequences and the
147 additional ones that aren't supported by this module. Add a
148 pointer to the relevant standards. Add a LICENSE section. Update
149 Zenin's e-mail address.
150
151 * ANSIColor.pm (AUTOLOAD): Add support for ANSI_COLORS_DISABLED.
152 (color): Likewise.
153 (colored): Likewise.
154 * test.pl: Add tests for ANSI_COLORS_DISABLED.
155
156 * ANSIColor.pm (uncolor): New function.
157 * test.pl: Add a test for it.
158
1592000-08-06 Russ Allbery <rra@stanford.edu>
160
161 * ANSIColor.pm: Version 1.03 released.
162
163 * Makefile.PL: Install in the Perl library directory for Perl
164 versions >= 5.6.0.
165
166 * test.pl: Added a new test for the array reference syntax for
167 colored.
168
169 * ANSIColor.pm: Changed $VERSION to a static string. Added dark
170 to the attributes. Updated the documentation to include a table
171 of supported attributes on different terminal emulators, to add
172 dark, to document the new optional way to call colored, and to
173 mark the diagnostics as fatal errors or warnings.
174 (colored): Allow the attributes to be passed as an initial array
175 reference as well as a final list, and for that calling syntax
176 take the rest of the arguments as text to be colored.
177
1781998-11-27 Russ Allbery <rra@stanford.edu>
179
180 * ANSIColor.pm: Version 1.02 released.
181
182 * Makefile.PL: Added a 5.005-only section giving ABSTRACT and
183 AUTHOR settings for generating a PPD to go with a binary
184 distribution or the Perl Resource Kits.
185
1861998-04-14 Russ Allbery <rra@stanford.edu>
187
188 * ANSIColor.pm: croak() instead of die() on AUTOLOAD failure to
189 get the right error text, fixed a bunch of typos in the
190 documentation, added a quote.
191
1921997-12-10 Russ Allbery <rra@stanford.edu>
193
194 * ANSIColor.pm: Version 1.01 released.
195
196 * ANSIColor.pm (color): Carp::croak() isn't predeclared, so it
197 needs parens around its argument. This bug will only show up in
198 versions of Perl >5.004_04 since up until then strict.pm imports
199 Carp which predeclares the function.
200
2011997-11-29 Russ Allbery <rra@stanford.edu>
202
203 * ANSIColor.pm: Version 1.00 released.
204
205 * Makefile.PL: Now gets version information from the module, has
206 the correct rules to build a distribution.
207
208 * test.pl: Comments trimmed, minor test modifications.
209
210 * ANSIColor.pm: Changed my e-mail address, fixed to deal correctly
211 with trailing delimiters when EACHLINE is being used, die()
212 changed to croak() if the caller uses an invalid attribute name,
213 getting $VERSION from RCS updated to my current method, source
214 detabified.
215
216 * test.pl: Added test for EACHLINE with trailing delimiters.
217
2181997-02-17 Russ Allbery <rra@stanford.edu>
219
220 * ANSIColor.pm: Version 0.9 released.
221
222 * ANSIColor.pm: Changed the runtime error message to start with an
223 uppercase letter, reworked the documentation considerably
224 including adding more comparison between the two interfaces,
225 fixing some formatting bugs, fixing a typo, adding more
226 diagnostics, and generally being more verbose.
227
2281997-01-08 Russ Allbery <rra@stanford.edu>
229
230 * ANSIColor.pm: Version 0.8 released.
231
232 * test.pl: Fixed the test numbering in the BEGIN block.
233
234 * test.pl: Reformatted and commented to fit my programming style.
235
236 * ANSIColor.pm: Changed the method by which $VERSION is set so
237 that it will always have two digits after the decimal point.
238
239 * test.pl: New file.
240
241 * ANSIColor.pm: [Revision 0.7] Changed the codes so that reset is
242 always consistantly "\e[0m".
243
244 * ANSIColor.pm: [Revision 0.6] Added $EACHLINE and support to
245 colored() for it so that attributes can be reset around every
246 newline (or other line delimiter -- we're flexible). Documented
247 this as well.
248
249 * ANSIColor.pm: [Revision 0.5] Changed implementation of the
250 constants to autoloaded subs, added the $AUTORESET variable for
251 use with the constants, and documented this.
252
2531996-12-07 Russ Allbery <rra@stanford.edu>
254
255 * ANSIColor.pm: [Revision 0.4] Added POD documentation.
256
257 * ANSIColor.pm: [Revision 0.3] Added constant forms, modified to
258 allow a space-separated string of attributes to be passed to
259 color() and colored(), added Zenin to the credits.
260
2611996-12-04 Russ Allbery <rra@stanford.edu>
262
263 * ANSIColor.pm: [Revision 0.2] Changed return syntax and check for
264 the null attribute string.
265
266 * ANSIColor.pm: New file.