From root@Hilbert.suse.de Thu Apr 8 10:31:11 2010 From: root@Hilbert.suse.de To: commit@lists.opensuse.org Subject: commit perl-HTML-Parser for openSUSE:Factory Date: Thu, 08 Apr 2010 12:36:24 +0200 Message-ID: <20100408103625.1FDE2202A8@Hilbert.suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5689197097868870550==" --===============5689197097868870550== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello community, here is the log from the commit of package perl-HTML-Parser for openSUSE:Fact= ory checked in at Thu Apr 8 12:36:24 CEST 2010. -------- --- perl-HTML-Parser/perl-HTML-Parser.changes 2010-01-13 17:41:25.000000000 += 0100 +++ /mounts/work_src_done/STABLE/perl-HTML-Parser/perl-HTML-Parser.changes 20= 10-04-07 22:04:27.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Apr 7 20:01:30 UTC 2010 - chris(a)computersalat.de + +- update to 3.65 + * Eliminate buggy entities_decode_old + * Fixed endianness typo [RT#50811] + * Documentation fixes. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- HTML-Parser-3.64.tar.bz2 New: ---- HTML-Parser-3.65.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-HTML-Parser.spec ++++++ --- /var/tmp/diff_new_pack.XcOgDA/_old 2010-04-08 12:36:11.000000000 +0200 +++ /var/tmp/diff_new_pack.XcOgDA/_new 2010-04-08 12:36:11.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package perl-HTML-Parser (Version 3.64) +# spec file for package perl-HTML-Parser (Version 3.65) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,7 +21,7 @@ Name: perl-HTML-Parser %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: HTML parser class -Version: 3.64 +Version: 3.65 Release: 1 License: Artistic License .. Group: Development/Libraries/Perl ++++++ HTML-Parser-3.64.tar.bz2 -> HTML-Parser-3.65.tar.bz2 ++++++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/HTML-Parser-3.64/Changes new/HTML-Parser-3.65/Changes --- old/HTML-Parser-3.64/Changes 2009-10-25 13:18:56.000000000 +0100 +++ new/HTML-Parser-3.65/Changes 2010-04-04 22:41:14.000000000 +0200 @@ -1,4 +1,17 @@ ____________________________________________________________________________= ___ +2010-04-04 Release 3.65 + +Gisle Aas (1): + Eliminate buggy entities_decode_old + +Salvatore Bonaccorso (1): + Fixed endianness typo [RT#50811] + +Ville Skytt=C3=A4 (1): + Documentation fixes. + + +____________________________________________________________________________= ___ 2009-10-25 Release 3.64 =20 Gisle Aas (5): diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/HTML-Parser-3.64/META.yml new/HTML-Parser-3.65/META.y= ml --- old/HTML-Parser-3.64/META.yml 2009-10-25 13:22:03.000000000 +0100 +++ new/HTML-Parser-3.65/META.yml 2010-04-04 22:42:15.000000000 +0200 @@ -1,6 +1,6 @@ --- #YAML:1.0 name: HTML-Parser -version: 3.64 +version: 3.65 abstract: HTML parser class author: - Gisle Aas @@ -22,7 +22,7 @@ directory: - t - inc -generated_by: ExtUtils::MakeMaker version 6.55_02 +generated_by: ExtUtils::MakeMaker version 6.56 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/HTML-Parser-3.64/Parser.pm new/HTML-Parser-3.65/Parse= r.pm --- old/HTML-Parser-3.64/Parser.pm 2009-10-25 13:16:18.000000000 +0100 +++ new/HTML-Parser-3.65/Parser.pm 2010-04-04 22:38:57.000000000 +0200 @@ -9,7 +9,7 @@ use strict; use vars qw($VERSION @ISA); =20 -$VERSION =3D "3.64"; +$VERSION =3D "3.65"; =20 require HTML::Entities; =20 @@ -891,7 +891,7 @@ Example: =20 + "http://www.w3.org/TR/html4/strict.dtd"> =20 DTDs inside will confuse HTML::Parser. =20 @@ -954,7 +954,7 @@ =20 =3Dhead2 Unicode =20 -The C can parse Unicode strings when running under +C can parse Unicode strings when running under perl-5.8 or better. If Unicode is passed to $p->parse() then chunks of Unicode will be reported to the handlers. The offset and length argspecs will also report their position in terms of characters. @@ -1224,10 +1224,10 @@ =20 L (part of the I distribution) =20 -http://www.w3.org/TR/html4 +L =20 More information about marked sections and processing instructions may -be found at C. +be found at L. =20 =3Dhead1 COPYRIGHT =20 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/HTML-Parser-3.64/hparser.c new/HTML-Parser-3.65/hpars= er.c --- old/HTML-Parser-3.64/hparser.c 2009-10-23 20:30:46.000000000 +0200 +++ new/HTML-Parser-3.65/hparser.c 2009-10-25 22:52:01.000000000 +0100 @@ -1847,7 +1847,7 @@ warn("Parsing of undecoded UTF-8 will give garbage when decoding entities"= ); } if (utf8 && len >=3D 2 && strnEQ(beg, "\xFF\xFE", 2)) { - warn("Parsing string decoded with wrong endianess"); + warn("Parsing string decoded with wrong endianness"); } #endif if (!utf8 && len >=3D 4 && diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/HTML-Parser-3.64/lib/HTML/Entities.pm new/HTML-Parser= -3.65/lib/HTML/Entities.pm --- old/HTML-Parser-3.64/lib/HTML/Entities.pm 2009-10-25 13:16:50.000000000 += 0100 +++ new/HTML-Parser-3.65/lib/HTML/Entities.pm 2010-04-04 22:29:07.000000000 += 0200 @@ -434,23 +434,6 @@ =20 my %subst; # compiled encoding regexps =20 -sub decode_entities_old -{ - my $array; - if (defined wantarray) { - $array =3D [@_]; # copy - } else { - $array =3D \@_; # modify in-place - } - my $c; - for (@$array) { - s/(&\#(\d+);?)/$2 < 256 ? chr($2) : $1/eg; - s/(&\#[xX]([0-9a-fA-F]+);?)/$c =3D hex($2); $c < 256 ? chr($c) : $1/eg; - s/(&(\w+);?)/$entity2char{$2} || $1/eg; - } - wantarray ? @$array : $array->[0]; -} - sub encode_entities { return undef unless defined $_[0]; diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/HTML-Parser-3.64/lib/HTML/HeadParser.pm new/HTML-Pars= er-3.65/lib/HTML/HeadParser.pm --- old/HTML-Parser-3.64/lib/HTML/HeadParser.pm 2009-08-13 22:54:14.000000000= +0200 +++ new/HTML-Parser-3.65/lib/HTML/HeadParser.pm 2010-04-04 22:28:52.000000000= +0200 @@ -178,7 +178,10 @@ # # # -# Added in HTML 5 as of WD-html5-20090423: noscript, command +# From HTML 5 as of WD-html5-20090825: +# +# One or more elements of metadata content, [...] +# =3D> base, command, link, meta, noscript, script, style, title =20 sub start { diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/HTML-Parser-3.64/t/entities.t new/HTML-Parser-3.65/t/= entities.t --- old/HTML-Parser-3.64/t/entities.t 2009-10-22 21:43:47.000000000 +0200 +++ new/HTML-Parser-3.65/t/entities.t 2010-04-04 22:29:07.000000000 +0200 @@ -1,6 +1,6 @@ use HTML::Entities qw(decode_entities encode_entities encode_entities_numeri= c); =20 -use Test::More tests =3D> 17; +use Test::More tests =3D> 18; =20 $a =3D "Våre norske tegn bør æres"; =20 @@ -73,6 +73,8 @@ =20 is(decode_entities("Attention Homeοωnөrs...1ѕt Tі = 84e Eνөг"), "Attention Home\x{3BF}\x{3C9}n\x{4E9}rs...1\x{455}t T\x{456}\x{43C}e E\x{3= BD}\x{4E9}\x{433}"); +is(decode_entities("{&amp;&amp;& also Яœ}"), + "{&&& also \x{42F}\x{153}}"); =20 __END__ # Quoted from rfc1866.txt ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --=20 To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: opensuse-commit+help(a)opensuse.org --===============5689197097868870550==--