r60819 - in /branches/upstream/libpod-xhtml-perl/current: Changes MANIFEST META.yml README lib/Pod/Xhtml.pm t/FH.xhtml t/Pod_Hyperlink_BounceURL.t t/a.xhtml t/d.new.uriescape.xhtml

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Thu Jul 29 06:19:46 UTC 2010


Author: ansgar-guest
Date: Thu Jul 29 06:19:38 2010
New Revision: 60819

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=60819
Log:
[svn-upgrade] new version libpod-xhtml-perl (1.60)

Added:
    branches/upstream/libpod-xhtml-perl/current/t/d.new.uriescape.xhtml
Modified:
    branches/upstream/libpod-xhtml-perl/current/Changes
    branches/upstream/libpod-xhtml-perl/current/MANIFEST
    branches/upstream/libpod-xhtml-perl/current/META.yml
    branches/upstream/libpod-xhtml-perl/current/README
    branches/upstream/libpod-xhtml-perl/current/lib/Pod/Xhtml.pm
    branches/upstream/libpod-xhtml-perl/current/t/FH.xhtml
    branches/upstream/libpod-xhtml-perl/current/t/Pod_Hyperlink_BounceURL.t
    branches/upstream/libpod-xhtml-perl/current/t/a.xhtml

Modified: branches/upstream/libpod-xhtml-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-xhtml-perl/current/Changes?rev=60819&op=diff
==============================================================================
--- branches/upstream/libpod-xhtml-perl/current/Changes (original)
+++ branches/upstream/libpod-xhtml-perl/current/Changes Thu Jul 29 06:19:38 2010
@@ -1,3 +1,7 @@
+Wed Jul 28 18:17:36 2010 - 1.60
+    Index entries e.g. X<Topic> should not be rendered
+    Check for both old and new URI::Escape behaviour (RT #56324)
+
 Fri Sep 21 16:43:17 2007 - 1.59
     honour xhtml content from =begin -> =end blocks, and =for lines
 

Modified: branches/upstream/libpod-xhtml-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-xhtml-perl/current/MANIFEST?rev=60819&op=diff
==============================================================================
--- branches/upstream/libpod-xhtml-perl/current/MANIFEST (original)
+++ branches/upstream/libpod-xhtml-perl/current/MANIFEST Thu Jul 29 06:19:38 2010
@@ -18,6 +18,7 @@
 t/c.xhtml
 t/d.pod
 t/d.xhtml
+t/d.new.uriescape.xhtml
 t/e.pod
 t/e.xhtml
 t/02links.t

Modified: branches/upstream/libpod-xhtml-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-xhtml-perl/current/META.yml?rev=60819&op=diff
==============================================================================
--- branches/upstream/libpod-xhtml-perl/current/META.yml (original)
+++ branches/upstream/libpod-xhtml-perl/current/META.yml Thu Jul 29 06:19:38 2010
@@ -1,14 +1,25 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Pod-Xhtml
-version:      1.59
-version_from: lib/Pod/Xhtml.pm
-installdirs:  site
+--- #YAML:1.0
+name:               Pod-Xhtml
+version:            1.60
+abstract:           Generate well-formed XHTML documents from POD format documentation
+author:
+    - British Broadcasting Corporation
+license:            unknown
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
+    ExtUtils::MakeMaker:  0
 requires:
-    Pod::Parser:                   0
-    Pod::ParseUtils:               0
+    Pod::Parser:          0
+    Pod::ParseUtils:      0
     Test::Assertions::TestScript:  0
-    Test::More:                    0
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+    Test::More:           0
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.56
+meta-spec:
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4

Modified: branches/upstream/libpod-xhtml-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-xhtml-perl/current/README?rev=60819&op=diff
==============================================================================
--- branches/upstream/libpod-xhtml-perl/current/README (original)
+++ branches/upstream/libpod-xhtml-perl/current/README Thu Jul 29 06:19:38 2010
@@ -1,4 +1,4 @@
-Pod::Xhtml v1.59
+Pod::Xhtml v1.60
 
 (c) BBC 2004. This program is free software; you can redistribute it and/or
 modify it under the GNU GPL.

Modified: branches/upstream/libpod-xhtml-perl/current/lib/Pod/Xhtml.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-xhtml-perl/current/lib/Pod/Xhtml.pm?rev=60819&op=diff
==============================================================================
--- branches/upstream/libpod-xhtml-perl/current/lib/Pod/Xhtml.pm (original)
+++ branches/upstream/libpod-xhtml-perl/current/lib/Pod/Xhtml.pm Thu Jul 29 06:19:38 2010
@@ -1,4 +1,4 @@
-# $Id: Xhtml.pm,v 1.59 2007/08/02 12:24:15 andreww Exp $
+# $Id: Xhtml.pm,v 1.60 2007/12/21 10:52:27 andreww Exp $
 package Pod::Xhtml;
 
 use strict;
@@ -12,7 +12,7 @@
 $ContentSuffix = "-CONTENT";
 
 @ISA = qw(Pod::Parser);
-($VERSION) = ('$Revision: 1.59 $' =~ m/([\d\.]+)/);
+($VERSION) = ('$Revision: 1.60 $' =~ m/([\d\.]+)/);
 
 # recognized commands
 %COMMANDS = map { $_ => 1 } qw(pod head1 head2 head3 head4 item over back for begin end);
@@ -695,8 +695,7 @@
 sub seqX {
 	my $self = shift;
 	my $arg = shift;
-	my $anchor = $self->_addSection( 'head1', $arg );
-	return qq[<span id="$anchor">$arg</span>];
+	return qq[];
 }
 
 sub seqE {

Modified: branches/upstream/libpod-xhtml-perl/current/t/FH.xhtml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-xhtml-perl/current/t/FH.xhtml?rev=60819&op=diff
==============================================================================
--- branches/upstream/libpod-xhtml-perl/current/t/FH.xhtml (original)
+++ branches/upstream/libpod-xhtml-perl/current/t/FH.xhtml Thu Jul 29 06:19:38 2010
@@ -6,7 +6,6 @@
 <ul><li><a href="#NAME">NAME</a></li>
 <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
 <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
-<li><a href="#Sed_diam_nomumny">Sed diam nomumny</a></li>
 <li><a href="#METHODS">METHODS</a>
 <ul><li><a href="#TOP-2">TOP</a></li>
 <li><a href="#EXAMPLE">EXAMPLE</a></li>
@@ -47,7 +46,7 @@
 This is a module to translate POD to Xhtml. <a href="#Lorem">The Lorem entry</a> ipsum dolor sit amet
 consectueur adipscing elit. Sed diam nomumny.
 This is a module to translate <cite>POD</cite> to Xhtml. <strong>Lorem</strong> ipsum <i>dolor</i> sit amet
-<code>consectueur adipscing</code> elit. <span id="Sed_diam_nomumny">Sed diam nomumny</span>.
+<code>consectueur adipscing</code> elit. .
 This is a module to translate POD to Xhtml. See <a href="#Lorem">Lorem</a> ipsum dolor sit amet
 consectueur adipscing elit. Sed diam <cite>nomumny</cite>. <a href="http://foo.bar/baz/">http://foo.bar/baz/</a></p>
 

Modified: branches/upstream/libpod-xhtml-perl/current/t/Pod_Hyperlink_BounceURL.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-xhtml-perl/current/t/Pod_Hyperlink_BounceURL.t?rev=60819&op=diff
==============================================================================
--- branches/upstream/libpod-xhtml-perl/current/t/Pod_Hyperlink_BounceURL.t (original)
+++ branches/upstream/libpod-xhtml-perl/current/t/Pod_Hyperlink_BounceURL.t Thu Jul 29 06:19:38 2010
@@ -1,5 +1,5 @@
 #!/usr/local/bin/perl
-# $Revision: 1.3 $
+# $Revision: 1.4 $
 
 use strict;
 use Test::Assertions::TestScript;
@@ -7,8 +7,6 @@
 use Pod::Xhtml;
 
 ASSERT($Pod::Hyperlink::BounceURL::VERSION, "Loaded $Pod::Hyperlink::BounceURL::VERSION");
-
-my $canned = 'd.xhtml';
 
 my $lp = new Pod::Hyperlink::BounceURL;
 $lp->configure( URL => '/apps/trampoline.rb?p=%s&n=%s&s=1' );
@@ -25,4 +23,11 @@
 $xhtml =~ s!</html>.*!!s;
 DUMP("Made this XHTML >>>$xhtml<<<");
 
-ASSERT(EQUALS_FILE($xhtml, $canned), "Generated XHTML matched expected XHTML");
+# Newer versions of URI::Escape escape more than what older versions did.
+# Check to see if either baseline matches.  We don't care which since they are 
+# functionally equivalent bits of XHTML.
+my $match = "";
+foreach my $f (qw/d.xhtml d.new.uriescape.xhtml/) {
+    $match = $f if(EQUALS_FILE($xhtml, $f));
+}
+ASSERT($match, "Generated XHTML matched expected XHTML ($match)");

Modified: branches/upstream/libpod-xhtml-perl/current/t/a.xhtml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-xhtml-perl/current/t/a.xhtml?rev=60819&op=diff
==============================================================================
--- branches/upstream/libpod-xhtml-perl/current/t/a.xhtml (original)
+++ branches/upstream/libpod-xhtml-perl/current/t/a.xhtml Thu Jul 29 06:19:38 2010
@@ -6,7 +6,6 @@
 <ul><li><a href="#NAME">NAME</a></li>
 <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
 <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
-<li><a href="#Sed_diam_nomumny">Sed diam nomumny</a></li>
 <li><a href="#METHODS">METHODS</a>
 <ul><li><a href="#TOP-2">TOP</a></li>
 <li><a href="#EXAMPLE">EXAMPLE</a></li>
@@ -47,7 +46,7 @@
 This is a module to translate POD to Xhtml. <a href="#Lorem">The Lorem entry</a> ipsum dolor sit amet
 consectueur adipscing elit. Sed diam nomumny.
 This is a module to translate <cite>POD</cite> to Xhtml. <strong>Lorem</strong> ipsum <i>dolor</i> sit amet
-<code>consectueur adipscing</code> elit. <span id="Sed_diam_nomumny">Sed diam nomumny</span>.
+<code>consectueur adipscing</code> elit. .
 This is a module to translate POD to Xhtml. See <a href="#Lorem">Lorem</a> ipsum dolor sit amet
 consectueur adipscing elit. Sed diam <cite>nomumny</cite>. <a href="http://foo.bar/baz/">http://foo.bar/baz/</a></p>
 

Added: branches/upstream/libpod-xhtml-perl/current/t/d.new.uriescape.xhtml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-xhtml-perl/current/t/d.new.uriescape.xhtml?rev=60819&op=file
==============================================================================
--- branches/upstream/libpod-xhtml-perl/current/t/d.new.uriescape.xhtml (added)
+++ branches/upstream/libpod-xhtml-perl/current/t/d.new.uriescape.xhtml Thu Jul 29 06:19:38 2010
@@ -1,0 +1,43 @@
+<body>
+<div class="pod">
+<!-- INDEX START -->
+<h3 id="TOP">Index</h3>
+
+<ul><li><a href="#OFF_PAGE">OFF PAGE</a></li>
+<li><a href="#ON_PAGE">ON PAGE</a></li>
+<li><a href="#HYPERLINK">HYPERLINK</a>
+</li>
+</ul><hr />
+<!-- INDEX END -->
+
+<h1 id="OFF_PAGE">OFF PAGE</h1><p><a href="#TOP" class="toplink">Top</a></p>
+<div id="OFF_PAGE_CONTENT">
+<p><a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=name&amp;n=&amp;s=1">name</a> X
+<a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=Net%3A%3APing&amp;n=&amp;s=1">Net::Ping</a> X
+<a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=crontab%285%29&amp;n=&amp;s=1">crontab</a>(5) X</p>
+<p><strong class="pod_xhtml_bounce_url_text">sec</strong> in <a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=name&amp;n=sec&amp;s=1">name</a> X
+<strong class="pod_xhtml_bounce_url_text">For Loops</strong> in <a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=perlsyn&amp;n=For%20Loops&amp;s=1">perlsyn</a> X
+<strong class="pod_xhtml_bounce_url_text">Apple Juice</strong> in <a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=Net%3A%3APing&amp;n=Apple%20Juice&amp;s=1">Net::Ping</a> X
+<strong class="pod_xhtml_bounce_url_text">BUGS</strong> in <a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=crontab%285%29&amp;n=BUGS&amp;s=1">crontab</a>(5) X</p>
+<p><a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=name&amp;n=&amp;s=1">text</a> X
+<a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=perldiag&amp;n=&amp;s=1">Perl Error Messages</a> X
+<a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=Net%3A%3APing&amp;n=&amp;s=1">Is the host up?</a> X
+<a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=crontab%285%29&amp;n=&amp;s=1">User Crontab</a> X</p>
+<p><a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=name&amp;n=sec&amp;s=1">text</a> X
+<a class="pod_xhtml_bounce_url" href="/apps/trampoline.rb?p=perlsyn&amp;n=Basic%20BLOCKs%20and%20Switch%20Statements&amp;s=1">SWITCH statements</a> X</p>
+
+</div>
+<h1 id="ON_PAGE">ON PAGE</h1><p><a href="#TOP" class="toplink">Top</a></p>
+<div id="ON_PAGE_CONTENT">
+<p><a href="#BUGS">BUGS</a> X
+<a href="#Constructor_Options">Constructor Options</a> X</p>
+<p><a href="#sec">text</a> X
+<a href="#Member_Data">the various attributes</a> X</p>
+
+</div>
+<h1 id="HYPERLINK">HYPERLINK</h1><p><a href="#TOP" class="toplink">Top</a></p>
+<div id="HYPERLINK_CONTENT">
+<p><a href="http://www.bbc.co.uk/">http://www.bbc.co.uk/</a> X</p>
+
+</div>
+</div></body>




More information about the Pkg-perl-cvs-commits mailing list