r47059 - in /branches/upstream/libparse-mediawikidump-perl/current: ./ lib/Parse/ lib/Parse/MediaWikiDump/ t/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Thu Nov 12 04:06:39 UTC 2009


Author: jawnsy-guest
Date: Thu Nov 12 04:05:17 2009
New Revision: 47059

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=47059
Log:
[svn-upgrade] Integrating new upstream version, libparse-mediawikidump-perl (1.0.1)

Modified:
    branches/upstream/libparse-mediawikidump-perl/current/Changes
    branches/upstream/libparse-mediawikidump-perl/current/META.yml
    branches/upstream/libparse-mediawikidump-perl/current/Makefile.PL
    branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump.pm
    branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/CategoryLinks.pm
    branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Links.pm
    branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Pages.pm
    branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Revisions.pm
    branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/XML.pm
    branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/category_link.pm
    branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/link.pm
    branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/page.pm
    branches/upstream/libparse-mediawikidump-perl/current/t/memory-leak.off

Modified: branches/upstream/libparse-mediawikidump-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/Changes?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/Changes (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/Changes Thu Nov 12 04:05:17 2009
@@ -1,9 +1,20 @@
 Revision history for Parse-MediaWikiDump
+
+1.01	Nov 11, 2009
+	* CPAN indexer did not like previous version number
+
+1.0.0	Nov 11, 2009
+	* Stable status achieved	
+	* Slight speed tweak on character handler for XML
+	  parser
+	* Added dependency on Devel::Cycle 1.11 as 1.10
+	  causes a false negative to be thrown on the 
+	  memory leak test
 
 0.98 	Oct 28, 2009
 	* Bumped processing speed back up
-    * Fixed possible infinite loop scenario	
-    * Ordered tests
+	* Fixed possible infinite loop scenario	
+	* Ordered tests
 	* Added test to find circular references
 
 0.97	Oct 23, 2009

Modified: branches/upstream/libparse-mediawikidump-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/META.yml?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/META.yml (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/META.yml Thu Nov 12 04:05:17 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Parse-MediaWikiDump
-version:            0.98
+version:            1.0.1
 abstract:           Tools to process MediaWiki dump files
 author:
     - Tyler Riddle <triddle at gmail.com>
@@ -8,7 +8,10 @@
 distribution_type:  module
 configure_requires:
     ExtUtils::MakeMaker:  0
+build_requires:
+    ExtUtils::MakeMaker:  0
 requires:
+    Devel::Cycle:         1.11
     List::Util:           0
     PadWalker:            0
     Scalar::Util:         0
@@ -20,7 +23,7 @@
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.48
+generated_by:       ExtUtils::MakeMaker version 6.54
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: branches/upstream/libparse-mediawikidump-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/Makefile.PL?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/Makefile.PL (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/Makefile.PL Thu Nov 12 04:05:17 2009
@@ -11,6 +11,7 @@
     PL_FILES            => {},
     PREREQ_PM => {
     'PadWalker' => 0,
+    'Devel::Cycle' => '1.11',
     'Test::Memory::Cycle' => 0,
     'Test::More' => 0,
     'Test::Exception' => 0,

Modified: branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump.pm?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump.pm (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump.pm Thu Nov 12 04:05:17 2009
@@ -1,5 +1,5 @@
 package Parse::MediaWikiDump;
-our $VERSION = '0.98';
+our $VERSION = '1.0.1';
 
 use Parse::MediaWikiDump::XML;
 use Parse::MediaWikiDump::Revisions;
@@ -200,6 +200,12 @@
 This software suite provides the tools needed to process the contents of the XML page 
 dump files and the SQL based links dump file.
 
+=head1 STATUS
+
+This software module is stable - there will not be any more API changes nor will there
+be additional features added. Bugs will be fixed but further development effort will be
+centered around a replacement for this module.
+
 =head1 USAGE
 
 This module is a factory class that allows you to create instances of the individual 

Modified: branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/CategoryLinks.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/CategoryLinks.pm?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/CategoryLinks.pm (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/CategoryLinks.pm Thu Nov 12 04:05:17 2009
@@ -1,6 +1,6 @@
 package Parse::MediaWikiDump::CategoryLinks;
 
-our $VERSION = '0.94';
+our $VERSION = '1.0.1';
 
 use strict;
 use warnings;

Modified: branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Links.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Links.pm?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Links.pm (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Links.pm Thu Nov 12 04:05:17 2009
@@ -1,6 +1,6 @@
 package Parse::MediaWikiDump::Links;
 
-our $VERSION = '0.94';
+our $VERSION = '1.0.1';
 
 use strict;
 use warnings;

Modified: branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Pages.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Pages.pm?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Pages.pm (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Pages.pm Thu Nov 12 04:05:17 2009
@@ -1,6 +1,6 @@
 package Parse::MediaWikiDump::Pages;
 
-our $VERSION = '0.98';
+our $VERSION = '1.0.1';
 
 use base qw(Parse::MediaWikiDump::Revisions);
 

Modified: branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Revisions.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Revisions.pm?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Revisions.pm (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/Revisions.pm Thu Nov 12 04:05:17 2009
@@ -1,6 +1,6 @@
 package Parse::MediaWikiDump::Revisions;
 
-our $VERSION = '0.98';
+our $VERSION = '1.0.1';
 
 use 5.8.0;
 

Modified: branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/XML.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/XML.pm?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/XML.pm (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/XML.pm Thu Nov 12 04:05:17 2009
@@ -13,8 +13,6 @@
 #but is also given an additional argument that is an accumulator
 #variable to store data in. 
 package Parse::MediaWikiDump::XML::Accumulator;
-
-our $VERSION = '0.97';
 
 use warnings;
 use strict;
@@ -154,9 +152,7 @@
 }
 
 sub handle_char_event {
-	my ($self, $expat, $chars) = @_; 
-	
-	push(@{$self->{char_buf}}, $chars); 
+	push(@{$_[0]->{char_buf}}, $_[2]); 
 }
 
 sub flush_chars {

Modified: branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/category_link.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/category_link.pm?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/category_link.pm (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/category_link.pm Thu Nov 12 04:05:17 2009
@@ -1,6 +1,6 @@
 package Parse::MediaWikiDump::category_link;
 
-our $VERSION = '0.94';
+our $VERSION = '1.0.1';
 
 #you must pass in a fully populated link array reference
 sub new {

Modified: branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/link.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/link.pm?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/link.pm (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/link.pm Thu Nov 12 04:05:17 2009
@@ -1,6 +1,6 @@
 package Parse::MediaWikiDump::link;
 
-our $VERSION = '0.94';
+our $VERSION = '1.0.1';
 
 #you must pass in a fully populated link array reference
 sub new {

Modified: branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/page.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/page.pm?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/page.pm (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/lib/Parse/MediaWikiDump/page.pm Thu Nov 12 04:05:17 2009
@@ -1,6 +1,6 @@
 package Parse::MediaWikiDump::page;
 
-our $VERSION = '0.94';
+our $VERSION = '1.0.1';
 
 use strict;
 use warnings;

Modified: branches/upstream/libparse-mediawikidump-perl/current/t/memory-leak.off
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-mediawikidump-perl/current/t/memory-leak.off?rev=47059&op=diff
==============================================================================
--- branches/upstream/libparse-mediawikidump-perl/current/t/memory-leak.off (original)
+++ branches/upstream/libparse-mediawikidump-perl/current/t/memory-leak.off Thu Nov 12 04:05:17 2009
@@ -17,6 +17,9 @@
 while ($i++ < $NUM_TESTS) {
 	my $dump = Parse::MediaWikiDump->pages('t/pages_test.xml');
 
-#	$dump->next;
 	while($dump->next) { }
+	
+	$dump = Parse::MediaWikiDump->pages('t/pages_test.xml');
+
+	$dump->next;
 }




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