Hello community,
here is the log from the commit of package perl-HTML-Parser for openSUSE:Factory
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 2010-04-07 22:04:27.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Apr 7 20:01:30 UTC 2010 - chris@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=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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ä (1):
+ Documentation fixes.
+
+
+_______________________________________________________________________________
2009-10-25 Release 3.64
Gisle Aas (5):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Parser-3.64/META.yml new/HTML-Parser-3.65/META.yml
--- 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=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Parser-3.64/Parser.pm new/HTML-Parser-3.65/Parser.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);
-$VERSION = "3.64";
+$VERSION = "3.65";
require HTML::Entities;
@@ -891,7 +891,7 @@
Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html40/strict.dtd">
+ "http://www.w3.org/TR/html4/strict.dtd">
DTDs inside <!DOCTYPE ...> will confuse HTML::Parser.
@@ -954,7 +954,7 @@
=head2 Unicode
-The CHTML::Parser can parse Unicode strings when running under
+CHTML::Parser 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 @@
LHTML::TreeBuilder (part of the I<HTML-Tree> distribution)
-http://www.w3.org/TR/html4
+Lhttp://www.w3.org/TR/html4/
More information about marked sections and processing instructions may
-be found at Chttp://www.sgml.u-net.com/book/sgml-8.htm.
+be found at Lhttp://www.is-thought.co.uk/book/sgml-8.htm.
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Parser-3.64/hparser.c new/HTML-Parser-3.65/hparser.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 >= 2 && strnEQ(beg, "\xFF\xFE", 2)) {
- warn("Parsing string decoded with wrong endianess");
+ warn("Parsing string decoded with wrong endianness");
}
#endif
if (!utf8 && len >= 4 &&
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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 @@
my %subst; # compiled encoding regexps
-sub decode_entities_old
-{
- my $array;
- if (defined wantarray) {
- $array = [@_]; # copy
- } else {
- $array = \@_; # modify in-place
- }
- my $c;
- for (@$array) {
- s/(&\#(\d+);?)/$2 < 256 ? chr($2) : $1/eg;
- s/(&\#[xX]([0-9a-fA-F]+);?)/$c = 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=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Parser-3.64/lib/HTML/HeadParser.pm new/HTML-Parser-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 @@
# <!ENTITY % head.content "TITLE & BASE?">
# <!ELEMENT HEAD O O (%head.content;) +(%head.misc;)>
#
-# 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, [...]
+# => base, command, link, meta, noscript, script, style, title
sub start
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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_numeric);
-use Test::More tests => 17;
+use Test::More tests => 18;
$a = "Våre norske tegn bør æres";
@@ -73,6 +73,8 @@
is(decode_entities("Attention Homeοωnөrs...1ѕt Tімe Eνөг"),
"Attention Home\x{3BF}\x{3C9}n\x{4E9}rs...1\x{455}t T\x{456}\x{43C}e E\x{3BD}\x{4E9}\x{433}");
+is(decode_entities("{&&& also Яœ}"),
+ "{&&& also \x{42F}\x{153}}");
__END__
# Quoted from rfc1866.txt
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org