Convert lib/Text/ParseWords.t to Test::More
[p5sagit/p5-mst-13.2.git] / lib / Text / TabsWrap / CHANGELOG
CommitLineData
95925ace 1= 2006/07/11
2
3Further bomb-proofing to pass more tests: Dan Jacobson <jidanni at
4jidanni dot org> found another way to generate a "this shouldn't happen".
5
6= 2006/07/05
7
8Made documentation and code changes to address perlbug:
9https://rt.perl.org/rt3/Ticket/Display.html?id=30229
10
11Added in changes from the distributed-with-perl version. This took
12care of perlbug: https://rt.perl.org/rt3/Ticket/Display.html?id=34902
13It also took care of suggestion from Matthijs Bomhoff <matthijs
14at bomhoff dot nl>.
15
16Made documentation changes (added EXAMPLES) as per a suggestion
17from Gabor Blasko <gblasko at cs dot columbia dot edu>
18
19belg4mit at MIT dot EDU reported that $columns==1 die'd. No longer.
20
21Added tests for each bug report.
22
8dfcc161 23= 2005/08/24
24
25Added $separator2 and tests for $separator and $separator2
26
27Aristotle Pagaltzis <pagaltzis at gmx.de> contributed a new version of
28expand() that is faster.
29
30Jarkko Hietaniemi <jhi at cc.hut.fi> sent in perl change #17917 which
31fixed a bug in wrap.
32
33Matthew Durante <matthew_durante at hotmail.com> and
34Don Buchholz <don at truedisk.com> sent in a doc patches.
35
37a581db 36= 2001/09/29
37
8dfcc161 38Philip Newton <Philip.Newton at gmx.net> sent in a clean patch that
37a581db 39added support for defining words differently; that prevents
40Text::Wrap from untainting strings; and that fixes a documentation
41bug.
42
43So that fill.t can be used in the version included in the perl
44distribution, fill.t no longer uses File::Slurp.
45
8dfcc161 46Both Sweth Chandramouli <svc at sweth.net> and Drew Degentesh
47<ddegentesh at daed.com> both objected to the automatic unexpand
37a581db 48that Text::Wrap does on its results. Drew sent a patch which
49has been integrated.
50
8dfcc161 51Way back in '97, Joel Earl <jrearl at VNET.IBM.COM> asked that
37a581db 52it be possible to use a line separator other than \n when
53adding new lines. There is now support for that.
54
55= 2001/01/30
56
8dfcc161 57Bugfix by Michael G Schwern <schwern at pobox.com>: don't add extra
37a581db 58whitespace when working one an array of input (as opposed to a
59single string).
60
61Performance rewrite: use m/\G/ rather than s///.
62
63You can now specify that words that are too long to wrap can simply
64overflow the line. Feature requested by James Hoagland
8dfcc161 65<hoagland at SiliconDefense.com> and by John Porter <jdporter at min.net>.
37a581db 66
8dfcc161 67Documentation changes from Rich Bowen <Rich at cre8tivegroup.com>.
37a581db 68
69= 1998/11/29
70
71Combined Fill.pm into Wrap.pm. It appears there are versions of
72Wrap.pm with fill in them.
73
74= 1998/11/28
75
76Over the last couple of years, many people sent in various
77rewrites of Text::Wrap. I should have done something about
78updating it long ago. If someone wants to take it over from
79me, discuss it in perl-porters. I'll be happy to hand it
80over.
81
82Anyway, I have a bunch of people to thank. I didn't
83use what any of them sent in, but I did take ideas from
84all of them. Many sent in complete new implamentations.
85
8dfcc161 86 Ivan Brawley <ibrawley at awadi.com.au>
37a581db 87
8dfcc161 88 Jacqui Caren <Jacqui.Caren at ig.co.uk>
37a581db 89
8dfcc161 90 Jeff Kowalski <jeff.kowalski at autodesk.com>
37a581db 91
8dfcc161 92 Allen Smith <easmith at beatrice.rutgers.edu>
37a581db 93
8dfcc161 94 Sullivan N. Beck <sbeck at cise.ufl.edu>
37a581db 95
96The end result is a very slight change in the API. There
97is now an additional package variable: $Text::Wrap::huge.
98When $huge is set to 'die' then long words will cause
99wrap() to die. When it is set to 'wrap', long words will
100be wrapped. The default is 'wrap'.
101
102<shout>LONG WORDS WILL NOW BE WRAPPED BY DEFAULT</shout>.
103This is a change in behavior.
104
105At the bottom of Text::Wrap, there was a function (fill())
106sitting there unpublished. There was a note that Tim Pierce
107had a faster version, but a search on CPAN failed to turn it
108up. Text::Fill is now available.
109