Debian Codegraph @

Changes

raw
1 Revision history for Perl extension HTML::SimpleParse.
2
3 0.12 Wed Jul 9 12:19:38 CDT 2003
4
5 - Clarify the relationship between this module and HTML::TreeBuilder
6 in the documentation. [suggested by Gisle Aas]
7
8 - Moved regression tests from test.pl to t/basic.t
9
10 0.11 Sun Jan 26 10:00:41 CST 2003
11
12 - Use Test.pm to output testing results.
13
14 - Avoid an 'undefined value' warning when creating a SimpleParse
15 object with an empty string.
16
17 - Fixed a problem that caused an infinite loop in certain bizarre
18 (and as yet unduplicated by me) situations. Reported by Peter Suschlik.
19
20 - Added a Build.PL script to build & install via Module::Build.
21
22 0.10 Sat Jul 1 14:47:07 EDT 2000
23 - Added the 'offset' attribute to each tree element, which tells you how
24 many bytes the current tag is from the beginning of the HTML text.
25 Idea from [email protected] (Adrien Zamani).
26
27 - &parse_args will now recognize bare end tags correctly. Thanks to
28 [email protected] (Paul Makepeace).
29
30 0.09 Sat May 27 12:18:38 EDT 2000
31 - HTML tag attribute names should contain only letters, digits, periods,
32 or hyphens. I've made this change to parse_args().
33
34 - parse_args() handles single-quoted data now. [[email protected] (Tim Holt)]
35
36 - parse_args() now respects a new flag 'fix_case', which can be set
37 either as a package global or a class data member, which controls
38 whether attribute names are upper-cased or lower-cased or left alone.
39 Previously everything was left alone, which was incorrect because HTML
40 tag attribute names are supposed to be case-insensitive. Now the
41 default is to upper-case everything. [spot: [email protected] (Tim Holt)]
42
43 0.08 Sat Jan 29 03:16:48 EST 2000
44 - Avoid warning when new() is called without feeding HTML to it
45 [[email protected] (Jerome O'Neil)]
46
47 0.07 Wed Dec 1 17:09:23 EST 1999
48
49 - The parse_args routine will now allow whitespace between an attribute
50 and its value (on both sides of the equal sign). I believe this
51 is compliant with the SGML spec at
52 http://www.w3.org/MarkUp/SGML/sgml-lex/sgml.l . Thanks to
53 [email protected] (Joachim Seibert) for the spot.
54
55 0.06 Fri Feb 5 18:22:15 EST 1999
56 - Fixed a bug in the parse_args routine that should properly handle
57 escaping of parameters like var="a \"value\"" [thanks, Philippe
58 Chiasson]
59
60 0.05 Thu Aug 20 12:11:53 EDT 1998
61 - Fixed a bug in HTML::SimpleParse->parse_args('a="b=c"'). Thanks
62 to Shenghuo ZHU for finding it.
63
64 0.04 Tue Aug 18 19:46:01 EDT 1998
65
66 - added execute() method that lets you do:
67 foreach ($p->tree) {
68 print $p->execute($_);
69 }
70 This lets Apache::OutputChain and Apache::SSIChain output their results in
71 the correct order.
72
73 0.03 Fri Aug 7 13:03:34 EDT 1998
74 - changed the output_* methods so that they return their
75 output, instead of printing it. There's a new method, get_output(),
76 which returns a string containing the parsed output. The
77 output() method then prints the result of get_output().
78 This lets the module work with Apache::OutputChain. Thanks to
79 Honza Pazdziora for the patches (which I modified a little).
80
81 - fixed the processing of markup declarations (e.g. <!DOCTYPE ...>)
82
83 - parse_args method can handle leading whitespace now:
84 my %hash=HTML::SimpleParse->parse_args(' A="xx" B');
85 used to return an empty hash (thanks to Ben Laurie again).
86
87 - parse_args makes sure that it starts matching at the beginning
88 of the string you give it, by setting pos() to 0.
89
90 I'm also going to update Apache::SSI so that it can use this new version.
91
92 0.02 Thu Aug 6 16:08:22 EDT 1998
93 - fixed bug in parse_args method pointed out by Ben Laurie:
94 %hash=HTML::SimpleParse->parse_args('A="xx" B');
95 did not include B in %hash.
96
97 0.01 Fri Jun 26 17:42:41 1998
98 - original version; created by h2xs 1.18
99