Subject: CVS commit: pkgsrc/www/p5-HTML-Parser
To: None <pkgsrc-changes@NetBSD.org>
From: Klaus Heinz <heinz@netbsd.org>
List: pkgsrc-changes
Date: 08/25/2003 00:00:10
Module Name:	pkgsrc
Committed By:	heinz
Date:		Mon Aug 25 00:00:10 UTC 2003

Modified Files:
	pkgsrc/www/p5-HTML-Parser: Makefile distinfo
	pkgsrc/www/p5-HTML-Parser/patches: patch-aa

Log Message:
Update to 3.31.
Better compatibility with Mozilla/MSIE behaviour.

==== Changes since 3.27 ====

2003-08-19   Gisle Aas <gisle@ActiveState.com>

     Release 3.31

     The -DDEBUGGING fix in 3.30 was not really there :-(

2003-08-17   Gisle Aas <gisle@ActiveState.com>

     Release 3.30

     The previous release failed to compile on a -DDEBUGGING perl
     like the one provided by Redhat 9.

     Got rid of references to perl-5.7.

     Further fixes to avoid warnings from Visual C.
     Patch by Steve Hay <steve.hay@uk.radan.com>.

2003-08-14   Gisle Aas <gisle@ActiveState.com>

     Release 3.29

     Setting xml_mode now implies strict_names also for end tags.

     Avoid warning from Visual C.  Patch by <gsar@activestate.com>.

     64-bit fix from Doug Larrick <doug@ties.org>
     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=195500

     Try to parse similar to Mozilla/MSIE in certain edge cases.
     All these are outside of the official definition of HTML but
     HTML spam often tries to take advantage of these.

       - New configuration attribute 'strict_end'.  Unless enabled
         we will allow end tags to contain extra words or stuff
         that look like attributes before the '>'.  This means that
         tags like these:

            </foo foo="<ignored>">
            </foo ignored>
            </foo ">" ignored>

         are now all parsed as a 'foo' end tag instead of text.
         Even if the extra stuff looks like attributes they will not
         be reported if requested via the 'attr' or 'tokens' argspecs
         for the 'end' handler.

       - Parse '</:comment>' and '</ comment>' as comments unless
         strict_comment is enabled.  Previous versions of the parser
         would report these as text.  If these comments contain
         quoted words prefixed by space or '=' these words can
         contain '>' without terminating the comment.

       - Parse '<! "<>" foo>' as comment containing ' "<>" foo'.
         Previous versions of the parser would terminate the comment
         at the first '>' and report the rest as text.

       - Legacy comment mode:  Parse with comments terminated with a
         lone '>' if no '-->' is found before eof.

       - Incomplete tag at eof is reported as a 'comment' instead
         of 'text' unless strict_comment is enabled.

2003-04-16   Gisle Aas <gisle@ActiveState.com>

     Release 3.28

     When 'strict_comment' is off (which it is by default)
     treat anything that matches <!...> a comment.

     Should now be more efficient on threaded perls.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 pkgsrc/www/p5-HTML-Parser/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/www/p5-HTML-Parser/distinfo
cvs rdiff -r1.1 -r1.2 pkgsrc/www/p5-HTML-Parser/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.