r35874 - in /trunk/libhtml-treebuilder-xpath-perl: Changes META.yml debian/README.source debian/changelog debian/patches/ lib/HTML/TreeBuilder/XPath.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Tue May 19 16:29:53 UTC 2009
Author: jawnsy-guest
Date: Tue May 19 16:29:48 2009
New Revision: 35874
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=35874
Log:
* New upstream release
* Removed quilt patch as this issue is fixed upstream :-)
(Closes: RT#46203)
-> Remove README.source and quilt-related stuff
* Upstream has updated docs
Removed:
trunk/libhtml-treebuilder-xpath-perl/debian/README.source
trunk/libhtml-treebuilder-xpath-perl/debian/patches/
Modified:
trunk/libhtml-treebuilder-xpath-perl/Changes
trunk/libhtml-treebuilder-xpath-perl/META.yml
trunk/libhtml-treebuilder-xpath-perl/debian/changelog
trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm
Modified: trunk/libhtml-treebuilder-xpath-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/Changes?rev=35874&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/Changes (original)
+++ trunk/libhtml-treebuilder-xpath-perl/Changes Tue May 19 16:29:48 2009
@@ -1,5 +1,11 @@
$Id: /html-treebuilder-xpath/Changes 40 2006-05-15T07:42:34.182385Z mrodrigu $
Revision history for Perl extension HTML::TreeBuilder::XPath.
+
+version 0.11
+date:
+# minor bug fixes
+added: mention $tree->delete in docs to warn about memory leaks
+fix: pod fix (https://rt.cpan.org/Ticket/Display.html?id=46203)
version: 0.10
date: 2008-02-11
Modified: trunk/libhtml-treebuilder-xpath-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/META.yml?rev=35874&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/META.yml (original)
+++ trunk/libhtml-treebuilder-xpath-perl/META.yml Tue May 19 16:29:48 2009
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: HTML-TreeBuilder-XPath
-version: 0.10
+version: 0.11
abstract: add XPath support to HTML::TreeBuilder
license: perl
author:
Modified: trunk/libhtml-treebuilder-xpath-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/debian/changelog?rev=35874&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/debian/changelog (original)
+++ trunk/libhtml-treebuilder-xpath-perl/debian/changelog Tue May 19 16:29:48 2009
@@ -1,3 +1,13 @@
+libhtml-treebuilder-xpath-perl (0.11-1) unstable; urgency=low
+
+ * New upstream release
+ * Removed quilt patch as this issue is fixed upstream :-)
+ (Closes: RT#46203)
+ -> Remove README.source and quilt-related stuff
+ * Upstream has updated docs
+
+ -- Jonathan Yu <frequency at cpan.org> Tue, 19 May 2009 12:26:18 -0400
+
libhtml-treebuilder-xpath-perl (0.10-1) unstable; urgency=low
[ Jonathan Yu ]
Modified: trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm?rev=35874&op=diff
==============================================================================
--- trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm (original)
+++ trunk/libhtml-treebuilder-xpath-perl/lib/HTML/TreeBuilder/XPath.pm Tue May 19 16:29:48 2009
@@ -7,7 +7,7 @@
use vars qw($VERSION);
-$VERSION = '0.10';
+$VERSION = '0.11';
my %CHAR2DEFAULT_ENT= ( '&' => '&', '<' => '<', '>' => '>', '"' => '"');
my %NUM2DEFAULT_ENT= ( '38' => 'amp', '60' => 'lt', '62' => 'gt', '"' => '"');
@@ -531,6 +531,7 @@
1;
__END__
+
=head1 NAME
HTML::TreeBuilder::XPath - add XPath support to HTML::TreeBuilder
@@ -545,6 +546,7 @@
my $p= $html->findnodes( '//p[@id="toto"]')->[0];
my $link_texts= $p->findvalue( './a'); # the texts of all a elements in $p
+ $tree->delete; # to avoid memory leaks, if you parse many HTML documents
=head1 DESCRIPTION
More information about the Pkg-perl-cvs-commits
mailing list