Commit | Line | Data |
---|---|---|
2c33c767 CBW |
1 | 2010-01-24 Russ Allbery <rra@stanford.edu> |
2 | ||
3 | * ANSIColor.pm: Version 3.00 released. | |
4 | ||
5 | * t/basic.t: Add some basic tests for bright color support. | |
6 | ||
7 | * ANSIColor.pm: Reorganize the documentation and be clearer about | |
8 | the function interface parameters. Reword the explanation of | |
9 | bright and regular colors, and provide some advice about which to | |
10 | use. | |
11 | ||
12 | 2010-01-24 Jakob Ilves <illvilja@gmail.com> | |
13 | ||
14 | * ANSIColor.pm: Add bright versions of the basic eight foreground | |
15 | and background colors using the 9x and 10x codes, supported by | |
16 | emulators with 16 color support. | |
17 | ||
cdab9eb9 S |
18 | 2009-08-30 Russ Allbery <rra@stanford.edu> |
19 | ||
20 | * ANSIColor.pm: Version 2.02 released. | |
21 | ||
22 | * ANSIColor.pm: Update compatibility matrix to reflect that xterm | |
23 | now supports blink. | |
24 | ||
25 | * ANSIColor.pm (colorvalid): New function to check whether an | |
26 | attribute is known. | |
27 | * t/basic.t: Test colorvalid. | |
28 | ||
b5b25974 RGS |
29 | 2009-07-04 Russ Allbery <rra@stanford.edu> |
30 | ||
cdab9eb9 S |
31 | * ANSIColor.pm: Add an example of checking color attributes by |
32 | catching exceptions from color() to the documentation. | |
33 | ||
34 | * ANSIColor.pm: Add FAINT as a synonym for DARK and export it when | |
35 | constants are requested. | |
36 | * t/basic.t: Test faint and FAINT as a synonym for dark/DARK. | |
37 | ||
b5b25974 RGS |
38 | * ANSIColor.pm: Version 2.01 released. |
39 | ||
40 | * t/basic.t: Test error handling in color, colored, and uncolor. | |
41 | ||
42 | * ANSIColor.pm (uncolor): When reporting errors for bad escape | |
43 | sequences, don't include the leading \e[ or trailing m in the | |
44 | error message. | |
45 | ||
46 | * ANSIColor.pm: Add section headings to the DESCRIPTION section of | |
47 | the module since it's getting rather long. | |
48 | (colorstrip): New function to remove ANSI color codes from | |
49 | strings. Thanks, Paul Miller. | |
50 | * t/basic.t: New tests for colorstrip. | |
51 | ||
52 | * ANSIColor.pm (AUTOLOAD): Untaint $AUTOLOAD, required by Perl | |
53 | 5.10 when running in taint mode. Thanks, Tim Bellinghausen. | |
54 | * t/basic.t: Two new tests for AUTOLOAD error handling. Enable | |
55 | warnings and taint mode. | |
56 | ||
c23d8173 RGS |
57 | 2009-02-28 Russ Allbery <rra@stanford.edu> |
58 | ||
59 | * ANSIColor.pm: Version 2.00 released. | |
60 | ||
61 | * Makefile.PL: Add LICENSE to the distribution metadata for Perl | |
62 | 5.10 and later. | |
63 | ||
64 | * ANSIColor.pm: Add explicit return statements instead of relying | |
65 | on the implicit return of the last expression. Use all caps for | |
66 | all global variables. | |
67 | ||
68 | * ANSIColor.pm: Add the new functions to a :pushpop export tag. | |
69 | (PUSHCOLOR): New function that stores in an internal stack the | |
70 | attributes that are being set. | |
71 | (POPCOLOR): New function that pops the attributes being set and | |
72 | sets the attributes previously found on the stack. | |
73 | (LOCALCOLOR): New function that surrounds its argument in | |
74 | PUSHCOLOR and POPCOLOR. | |
75 | (AUTOLOAD): If $AUTOLOCAL is set, surround all color constants | |
76 | with an implicit LOCALCOLOR. | |
77 | * t/basic.t: Test PUSHCOLOR, POPCOLOR, and LOCALCOLOR. | |
78 | ||
79 | * t/pod-spelling.t: Rewrite to use Test::More. Support and prefer | |
80 | aspell. | |
81 | ||
82 | * ANSIColor.pm: Fix additional spelling errors and rewrap the POD | |
83 | documentation to a 74-character margin. | |
84 | ||
85 | * t/basic.t: Rewrite to use Test::More. | |
86 | * t/pod.t: Likewise. | |
87 | ||
88 | * ANSIColor.pm (AUTOLOAD): If ANSI_COLORS_DISABLED is set, return | |
89 | the stringified arguments rather than creating a sub. This allows | |
90 | colors to work later if ANSI_COLORS_DISABLED is unset rather than | |
91 | making its effects permanent. It also avoids adding a reset | |
92 | escape sequence when $AUTORESET and ANSI_COLORS_DISABLED are both | |
93 | set. | |
94 | ||
95 | 2008-09-14 Russ Allbery <rra@stanford.edu> | |
96 | ||
97 | * ANSIColor.pm: Add faint as a synonym for dark and improve the | |
98 | documentation of text attributes. | |
99 | ||
100 | * t/pod-spelling.t: New check to spell-check POD documentation | |
101 | using ispell with Pod::Spell. | |
102 | * ANSIColor.pm: Fix spelling and markup errors in documentation | |
103 | and add stop-words where appropriate. | |
104 | ||
7cd34c57 RGS |
105 | 2007-04-22 Russ Allbery <rra@stanford.edu> |
106 | ||
107 | * ANSIColor.pm: Version 1.12 released. | |
108 | ||
109 | 2007-03-23 Russ Allbery <rra@stanford.edu> | |
110 | ||
111 | * ANSIColor.pm: Use the right syntax for internal POD links. | |
112 | Thanks, Rafael Garcia-Suarez. | |
113 | ||
114 | 2007-02-10 Russ Allbery <rra@stanford.edu> | |
115 | ||
116 | * ANSIColor.pm: Add cyan and white to the list of supported | |
117 | attributes. Not sure how I managed to omit them before. | |
118 | ||
cd07961b SP |
119 | 2006-07-12 Russ Allbery <rra@stanford.edu> |
120 | ||
121 | * ANSIColor.pm: Version 1.11 released. | |
122 | ||
123 | 2006-06-22 Russ Allbery <rra@stanford.edu> | |
124 | ||
125 | * ANSIColor.pm: Clarify in the documentation the behavior of | |
126 | terminals when background colors are set across newlines, and | |
127 | rewrite some of the examples to avoid doing things that confuse | |
128 | the terminal. Fix a couple of spelling errors. | |
129 | ||
130 | * test.pl: Moved to... | |
131 | * t/basic.t: ...here. | |
132 | * t/pod.t: New test for POD validity. | |
133 | ||
51da1d85 RGS |
134 | 2005-08-21 Russ Allbery <rra@stanford.edu> |
135 | ||
136 | * ANSIColor.pm: Version 1.10 released. | |
137 | ||
138 | * ANSIColor.pm (colored): Fix the $EACHLINE support to work | |
139 | properly with a line consisting solely of "0". Remove Zenin's | |
140 | now-defunct e-mail address from the documentation. | |
141 | * test.pl: Test 0 and the empty string in combination with | |
142 | $EACHLINE. | |
143 | ||
144 | * tests/ansicolor: Add terminal test file from Joe Smith. | |
145 | * tests/vt100-torture: Likewise. | |
146 | * tests/README: Add an explanation of the test files. | |
147 | ||
92c7d2a2 RGS |
148 | 2004-12-03 Russ Allbery <rra@stanford.edu> |
149 | ||
150 | * ANSIColor.pm: Version 1.09 released. | |
151 | ||
152 | * ANSIColor.pm: Add compatibility information for Mac OS X | |
153 | Terminal from Daniel Lindsley. | |
154 | ||
155 | 2004-02-20 Russ Allbery <rra@stanford.edu> | |
156 | ||
157 | * test.pl: Always use eq, not ==, for string comparisons. | |
158 | ||
2e589669 RGS |
159 | 2004-02-19 Russ Allbery <rra@stanford.edu> |
160 | ||
161 | * ANSIColor.pm: Version 1.08 released. | |
162 | ||
163 | * ANSIColor.pm: Add DARK to %EXPORT_TAGS and add CYAN and WHITE to | |
164 | the list of documented constants. | |
165 | * test.pl: Add a test for DARK. Redo the leading comment. | |
166 | ||
2d1e314f JH |
167 | 2003-03-25 Russ Allbery <rra@stanford.edu> |
168 | ||
169 | * ANSIColor.pm: Version 1.07 released. | |
170 | ||
171 | * ANSIColor.pm: Add PuTTY, Windows telnet, and Cygwin OpenSSH | |
172 | information to the terminal emulators table, and update the URL to | |
173 | the ECMA standard. | |
174 | ||
175 | 2002-12-09 Russ Allbery <rra@stanford.edu> | |
176 | ||
177 | * ANSIColor.pm: Version 1.06 released to synchronize the version | |
178 | on CPAN with the version in Perl core. | |
179 | ||
180 | * ANSIColor.pm: Fix typo in L<> link in documentation. | |
181 | ||
182 | 2002-06-28 Russ Allbery <rra@stanford.edu> | |
183 | ||
184 | * ANSIColor.pm: Version 1.05 released. | |
185 | ||
186 | * ANSIColor.pm: Update the formatting style, add a pointer to the | |
187 | module web site, use L<> for URLs, and use naked <>s where | |
188 | permissible rather than E<lt> and E<gt>. Renamed LICENSE to | |
189 | COPYRIGHT AND LICENSE. | |
190 | ||
191 | 2002-02-14 Russ Allbery <rra@stanford.edu> | |
192 | ||
193 | * ANSIColor.pm: Added a mention of the specific Windows consoles | |
194 | that don't work with this module. | |
195 | ||
110e9fb0 JH |
196 | 2001-07-10 Russ Allbery <rra@stanford.edu> |
197 | ||
198 | * ANSIColor.pm: Version 1.04 released. | |
199 | ||
200 | * ANSIColor.pm: Add documentation, examples, and diagnostics for | |
201 | uncolor. Document ANSI_COLORS_DISABLED. Add information about | |
202 | the relevant standards for these escape sequences and the | |
203 | additional ones that aren't supported by this module. Add a | |
204 | pointer to the relevant standards. Add a LICENSE section. Update | |
205 | Zenin's e-mail address. | |
206 | ||
207 | * ANSIColor.pm (AUTOLOAD): Add support for ANSI_COLORS_DISABLED. | |
208 | (color): Likewise. | |
209 | (colored): Likewise. | |
210 | * test.pl: Add tests for ANSI_COLORS_DISABLED. | |
211 | ||
212 | * ANSIColor.pm (uncolor): New function. | |
213 | * test.pl: Add a test for it. | |
214 | ||
215 | 2000-08-06 Russ Allbery <rra@stanford.edu> | |
216 | ||
217 | * ANSIColor.pm: Version 1.03 released. | |
218 | ||
219 | * Makefile.PL: Install in the Perl library directory for Perl | |
220 | versions >= 5.6.0. | |
221 | ||
222 | * test.pl: Added a new test for the array reference syntax for | |
223 | colored. | |
224 | ||
225 | * ANSIColor.pm: Changed $VERSION to a static string. Added dark | |
226 | to the attributes. Updated the documentation to include a table | |
227 | of supported attributes on different terminal emulators, to add | |
228 | dark, to document the new optional way to call colored, and to | |
229 | mark the diagnostics as fatal errors or warnings. | |
230 | (colored): Allow the attributes to be passed as an initial array | |
231 | reference as well as a final list, and for that calling syntax | |
232 | take the rest of the arguments as text to be colored. | |
233 | ||
234 | 1998-11-27 Russ Allbery <rra@stanford.edu> | |
235 | ||
236 | * ANSIColor.pm: Version 1.02 released. | |
237 | ||
238 | * Makefile.PL: Added a 5.005-only section giving ABSTRACT and | |
239 | AUTHOR settings for generating a PPD to go with a binary | |
240 | distribution or the Perl Resource Kits. | |
241 | ||
242 | 1998-04-14 Russ Allbery <rra@stanford.edu> | |
243 | ||
244 | * ANSIColor.pm: croak() instead of die() on AUTOLOAD failure to | |
245 | get the right error text, fixed a bunch of typos in the | |
246 | documentation, added a quote. | |
247 | ||
248 | 1997-12-10 Russ Allbery <rra@stanford.edu> | |
249 | ||
250 | * ANSIColor.pm: Version 1.01 released. | |
251 | ||
252 | * ANSIColor.pm (color): Carp::croak() isn't predeclared, so it | |
253 | needs parens around its argument. This bug will only show up in | |
254 | versions of Perl >5.004_04 since up until then strict.pm imports | |
255 | Carp which predeclares the function. | |
256 | ||
257 | 1997-11-29 Russ Allbery <rra@stanford.edu> | |
258 | ||
259 | * ANSIColor.pm: Version 1.00 released. | |
260 | ||
261 | * Makefile.PL: Now gets version information from the module, has | |
262 | the correct rules to build a distribution. | |
263 | ||
264 | * test.pl: Comments trimmed, minor test modifications. | |
265 | ||
266 | * ANSIColor.pm: Changed my e-mail address, fixed to deal correctly | |
267 | with trailing delimiters when EACHLINE is being used, die() | |
268 | changed to croak() if the caller uses an invalid attribute name, | |
269 | getting $VERSION from RCS updated to my current method, source | |
270 | detabified. | |
271 | ||
272 | * test.pl: Added test for EACHLINE with trailing delimiters. | |
273 | ||
274 | 1997-02-17 Russ Allbery <rra@stanford.edu> | |
275 | ||
276 | * ANSIColor.pm: Version 0.9 released. | |
277 | ||
278 | * ANSIColor.pm: Changed the runtime error message to start with an | |
279 | uppercase letter, reworked the documentation considerably | |
280 | including adding more comparison between the two interfaces, | |
281 | fixing some formatting bugs, fixing a typo, adding more | |
282 | diagnostics, and generally being more verbose. | |
283 | ||
284 | 1997-01-08 Russ Allbery <rra@stanford.edu> | |
285 | ||
286 | * ANSIColor.pm: Version 0.8 released. | |
287 | ||
288 | * test.pl: Fixed the test numbering in the BEGIN block. | |
289 | ||
290 | * test.pl: Reformatted and commented to fit my programming style. | |
291 | ||
292 | * ANSIColor.pm: Changed the method by which $VERSION is set so | |
293 | that it will always have two digits after the decimal point. | |
294 | ||
295 | * test.pl: New file. | |
296 | ||
297 | * ANSIColor.pm: [Revision 0.7] Changed the codes so that reset is | |
298 | always consistantly "\e[0m". | |
299 | ||
300 | * ANSIColor.pm: [Revision 0.6] Added $EACHLINE and support to | |
301 | colored() for it so that attributes can be reset around every | |
302 | newline (or other line delimiter -- we're flexible). Documented | |
303 | this as well. | |
304 | ||
305 | * ANSIColor.pm: [Revision 0.5] Changed implementation of the | |
306 | constants to autoloaded subs, added the $AUTORESET variable for | |
307 | use with the constants, and documented this. | |
308 | ||
309 | 1996-12-07 Russ Allbery <rra@stanford.edu> | |
310 | ||
311 | * ANSIColor.pm: [Revision 0.4] Added POD documentation. | |
312 | ||
313 | * ANSIColor.pm: [Revision 0.3] Added constant forms, modified to | |
314 | allow a space-separated string of attributes to be passed to | |
315 | color() and colored(), added Zenin to the credits. | |
316 | ||
317 | 1996-12-04 Russ Allbery <rra@stanford.edu> | |
318 | ||
319 | * ANSIColor.pm: [Revision 0.2] Changed return syntax and check for | |
320 | the null attribute string. | |
321 | ||
322 | * ANSIColor.pm: New file. |