This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move Text::Balanced from ext/ to cpan/
[perl5.git] / cpan / Text-Balanced / Changes
CommitLineData
85831461
SM
1Revision history for Perl extension Text-Balanced.
2
32.02 Thu 20 Jul 2009
4 - Fixed the mixed "Damian Conway <adamk@cpan.org>" AUTHOR setting.
5 For the record, I am NOT the author, I'm just the maintainer.
6 Unfortunately, Makefile.PL does not have a MAINTAINER setting and
7 this way all the emails about this module come to me.
8
92.01 Tue 28 Jul 2009
10 - Taken over by Adam Kennedy to move it to a long-term maintenance mode
11 - Removing use warnings to restore 5.005 compatibility
12 - Removing Module::Build for higher back-compatibility
13 - Removing version.pm for higher back-compatibility
14 - use Exporter -> use Exporter () to avoid some pathalogical cases
15 - Upgraded the bundled author tests to be friendlier
16 - Changes order now a more normal reverse chronological
55a1c97c 17
85831461
SM
182.0.0 Wed Dec 20 10:50:24 2006
19 - Added patches from bleadperl version (thanks Rafael!)
20 - Fixed bug in second bracketed delimiters (thanks David)
55a1c97c 21
85831461
SM
221.99.1 Thu Nov 16 09:29:14 2006
23 - Included dependency on version.pm (thanks Andy)
55a1c97c 24
85831461
SM
251.99.0 Thu Nov 16 07:32:06 2006
26 - Removed reliance on expensive $& variable (thanks John)
27 - Made Makefile.PL play nice with core versions (thanks Schwern!)
55a1c97c 28
85831461
SM
291.98 Fri May 5 14:58:49 2006
30 - Reinstated full test suite (thanks Steve!)
55a1c97c 31
85831461
SM
321.97 Mon May 1 21:58:04 2006
33 - Removed three-part version number and dependency on version.pm
55a1c97c 34
85831461
SM
351.96.0 Mon May 1 21:52:37 2006
36 - Fixed major bug in extract_multiple handling of unknowns
37 - Fixed return value on failure (thanks Eric)
38 - Fixed bug differentiating heredocs and left-shift operators
39 (thanks Anthony)
55a1c97c 40
85831461
SM
411.95 Mon Apr 28 00:22:04 2003
42 - Constrainted _match_quote to only match at word boundaries
43 (so "exemplum(hic)" doesn't match "m(hic)")
44 (thanks Craig)
55a1c97c 45
85831461
SM
461.94 Sun Apr 13 02:18:41 2003
47 - rereleased in attempt to fix CPAN problems
55a1c97c 48
85831461
SM
491.91 Fri Mar 28 23:19:17 2003
50 - Fixed error count on t/extract_variable.t
51 - Fixed bug in extract_codelike when non-standard delimiters used
55a1c97c 52
85831461
SM
531.90 Tue Mar 25 11:14:38 2003
54 - Fixed subtle bug in gen_extract_tagged (thanks Martin)
55 - Doc fix: removed suggestion that extract_tagged defaults
56 to matching HTML tags
57 - Doc fix: clarified general matching behaviour
58 - Fixed bug in parsing /.../ after a (
59 - Doc fix: documented extract_variable
60 - Fixed extract_variable handling of $h{qr}, $h{tr}, etc.
61 (thanks, Briac)
62 - Fixed incorrect handling of $::var (thanks Tim)
55a1c97c 63
85831461
SM
641.89 Sun Nov 18 22:49:50 2001
65 - Fixed extvar.t tests
55a1c97c 66
85831461
SM
671.87 Thu Nov 15 21:25:35 2001
68 - Made extract_multiple aware of skipped prefixes returned
69 by subroutine extractors (such as extract_quotelike, etc.)
70 - Made extract_variable aware of punctuation variables
71 - Corified tests
55a1c97c 72
85831461
SM
731.86 Mon Sep 3 06:57:08 2001
74 - Revised licence for inclusion in core distribution
75 - Consolidated POD in .pm file
76 - renamed tests to let DOS cope with them
55a1c97c 77
85831461
SM
781.85 Sun Jun 3 07:47:18 2001
79 - Fixed bug in extract_variable recognizing method calls that
80 start with an underscore (thanks Jeff)
55a1c97c 81
85831461
SM
821.82 Sun Jan 14 16:56:04 2001
83 - Fixed nit in extract_variable.t
84 (tested more cases than it promised to)
85 - Fixed bug extracting prefix in extract_quotelike (Thanks Michael)
86 - Added handling of Perl 4 package qualifier: $Package'var, etc.
87 - Added handling of here docs (see documentation for limitations)
88 - Added reporting of failure position via $@->{pos} (see documentation)
55a1c97c 89
85831461
SM
901.84 Thu Apr 26 11:58:13 2001
91 - Fixed bug in certain extractions not matching strings
92 with embedded newlines (thanks Robin)
55a1c97c 93
85831461
SM
941.83 Mon Jan 15 12:43:12 2001
95 - Fixed numerous bugs in here doc extraction (many thanks Tim)
55a1c97c 96
85831461
SM
971.81 Wed Sep 13 11:58:49 2000
98 - Fixed test count in extract_codeblock.t
99 - Fixed improbable bug with trailing ->'s in extract_variable
100 - Fixed (HT|X)ML tag extraction in extract_tagged (thanks, Tim)
101 - Added explanatory note about prefix matching (thanks again, Tim)
102 - Added handling of globs and sub refs to extract_variable
103 - Pod tweak (thanks Abigail)
104 - Allowed right tags to be run-time evaluated, so
105 extract_tagged($text, '/([a-z]+)', '/end$1') works
106 as expected.
107 - Added optional blessing of matches via extract_multiple
108 - Fixed bug in autogeneration of closing tags in extract_tagged
109 (Thanks, Coke)
110 - Fixed bug in interaction between extract_multiple and
111 gen_extract_tagged (Thanks Anthony)
55a1c97c 112
85831461
SM
1131.77 Mon Nov 22 06:08:23 1999
114 - Fixed major bug in extract_codeblock (would not
115 terminate if there was trailing whitespace)
116 - Improved /.../ pattern parsing within codeblocks
55a1c97c 117
85831461 1181.76 Fri Nov 19 06:51:54 1999
55a1c97c 119 - IMPORTANT: Now requires 5.005 or better.
55a1c97c
JH
120 - IMPORTANT: Made extract methods sensitive to the pos()
121 value of the text they are parsing. In other words,
122 all extract subroutines now act like patterns of the form
123 /\G.../gc. See documentation for details.
55a1c97c
JH
124 - IMPORTANT: Changed semantics of extract_multiple, in line
125 with the above change, and to simplify the semantics to
126 something vaguely predictable. See documentation for details.
55a1c97c
JH
127 - Added ability to use qr/../'s and raw strings as extractors
128 in extract_multiple. See documentation.
55a1c97c
JH
129 - Added fourth argument to extract_codeblock to allow
130 outermost brackets to be separately specified. See
131 documentation for details.
55a1c97c
JH
132 - Reimplemented internals of all extraction subroutines
133 for significant speed-ups (between 100% and 2000%
134 improvement).
55a1c97c
JH
135 - Fixed nasty bug in extract_variable and extract_codeblock
136 (they were returning prefix as well in scalar context)
55a1c97c
JH
137 - Allowed read-only strings to be used as arguments in
138 scalar contexts.
55a1c97c
JH
139 - Renamed delimited_pat to gen-delimited pat (in line with
140 gen_extract_tagged). Old name still works, but is now deprecated.
85831461 141 - Tweaked all extraction subs so they correctly handle
55a1c97c
JH
142 zero-length prefix matches after another zero-length match.
143
85831461
SM
1441.66 Fri Jul 2 13:29:22 1999
145 - Added ability to use quotelike operators in extract_bracketed
146 - Fixed bug under 5.003 ('foreach my $func' not understood)
147 - Added escape specification as fourth arg to &extract_delimited
148 - Fixed handling of &delimited_pat and &extract_delimited
149 when delimiter is same as escape
150 - Fixed handling of ->, =>, and >> in &extract_code
151 when delimiters are "<>"
55a1c97c 152
85831461
SM
1531.52 Thu Mar 4 12:43:38 1999
154 - Added CSV parsing example to documentation of extract_multiple.
155 - Fixed a bug with extract_codeblock in "RecDescent" mode
156 (it would accept "subrule(s?)" and "subrule(?)", but
157 not "subrule(s)"). Thanks, Jan.
dd6316a9 158
85831461
SM
1591.51 Sat Feb 13 10:31:55 1999
160 - Fixed bugs in prefix matching in extract_variable:
161 * incorrectly used default if '' specified
162 * now handles $#array correctly
163 - Fixed bugs in extract_codeblock:
164 * Now handles !~ properly
165 * Now handles embedded comments better.
166 * Now handles "raw" pattern matches better.
167 - Added support for single strings or qr's as
168 'reject' and 'ignore' args to extract_tagged()
169 - Added gen_extract_tagged() to "precompile"
170 a specific tag extractor for repeated use
171 (approximately 3 times faster!)
dd6316a9 172
85831461
SM
1731.50 Thu Aug 27 09:20:19 1998
174 - Improved the structure of the regex generated by
175 delimited_pat (and used in extract_delimited). It's
176 considerably more complex, but also more robust and
177 much faster in the worst case.
178 - Altered extract_variable to accept whitespace in variables,
179 e.g. '$ a -> {'b'} -> [2]'
dd6316a9 180
85831461
SM
1811.41 Mon Aug 10 14:51:50 1998
182 - Reinstated change to extract_codeblock from 1.36 which were
183 mysteriously lost in 1.40
dd6316a9 184
85831461
SM
1851.40 Tue Aug 4 13:54:52 1998
186 - Added (optional) handling of embedded quoted text to
187 extract_delimited (see revised entry in Balanced.pod)
188 - Added extract_tagged which extracts text between arbitrary,
189 optionally nested start and end tags (see new entry in
190 Balanced.pod).
191 - Added delimited_pat which builds a pattern which matches a
192 string delimited by any of the delimiters specified (see new
193 entry in Balanced.pod).
194 - Added test.pl
dd6316a9 195
85831461
SM
1961.36 Tue Jul 14 12:26:04 1998
197 - Reinstated POD file missing from previous distribution
198 - Added undocumented fourth parameter to extract_codeblock
199 so as to correctly handle (?) and (s?) modifiers in
200 RecDescent grammars.
dd6316a9 201
85831461
SM
2021.35 Wed Jun 24 09:53:31 1998
203 - fixed handling of :: quantifiers in extract_variable()
204 - numerous trivial lexical changes to make xemacs happy
dd6316a9 205
85831461
SM
2061.24
207 - changed behaviour in scalar contexts. Scalar contexts
208 now return the extracted string _and_ remove it from the
209 first argument (or $_).
210 - changed return values on failure (all contexts return undef
211 for invalid return fields)
212 - fixed some lurking bugs with trailing modifier handling
213 - added :ALL tag to simplify wholesale importing of functions
214 - fixed serious bug with embedded division operators ("/")
215 This now also allows the ?...? form of pattern matching!
0c793b6f 216
85831461
SM
2171.23 Fri Oct 17 10:26:38 EST 1997
218 - changed behaviour in scalar and void contexts. Scalar contexts
219 now return only the extracted string. Void contexts now remove
220 the extracted string from the first argument (or $_).
0c793b6f 221
85831461
SM
2221.21 Sat Oct 4 17:21:54 EST 1997
223 - synchronised with Parse::RecDescent distribution (version number
224 will now reflect that package)
0c793b6f 225
85831461
SM
2261.10 Tue Sep 30 17:23:23 EST 1997
227 - reworked extract_quotelike to correct handling of some obscure cases
0c793b6f 228
85831461
SM
2291.01 Mon Sep 8 18:09:18 EST 1997
230 - changed "quotemeta" to "quotemeta $_" to work
231 around bug in Perl 5.002 and 5.003
0c793b6f 232
85831461
SM
2331.00 Mon Aug 11 12:42:56 1997
234 - original version