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