Hello community, here is the log from the commit of package perl-Parse-RecDescent for openSUSE:Factory checked in at Mon Jul 19 14:26:33 CEST 2010. -------- --- perl-Parse-RecDescent/perl-Parse-RecDescent.changes 2010-02-23 17:03:19.000000000 +0100 +++ /mounts/work_src_done/STABLE/perl-Parse-RecDescent/perl-Parse-RecDescent.changes 2010-07-16 17:30:10.000000000 +0200 @@ -1,0 +2,11 @@ +Fri Jul 16 15:08:46 CEST 2010 - anicka@suse.cz + +- update to 1.965001 + * Updated version number because versioning is a neverending + nightmare in Perl 5 (thanks Matt) + * Removed all references to /opts version of perl interpreter + * Added Parse::RecDescent::redirect_reporting_to() + to enable ERROR, TRACE, and TRACECONTEXT filehandles to be + easily redirected. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- Parse-RecDescent-1.964.diff Parse-RecDescent-1.964.tar.bz2 New: ---- Parse-RecDescent-1.965001.diff Parse-RecDescent-1.965001.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Parse-RecDescent.spec ++++++ --- /var/tmp/diff_new_pack.8QSWYa/_old 2010-07-19 14:24:47.000000000 +0200 +++ /var/tmp/diff_new_pack.8QSWYa/_new 2010-07-19 14:24:47.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package perl-Parse-RecDescent (Version 1.964) +# spec file for package perl-Parse-RecDescent (Version 1.965001) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,7 +21,7 @@ Name: perl-Parse-RecDescent %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Perl RecDescent Module -Version: 1.964 +Version: 1.965001 Release: 1 License: Artistic Group: Development/Libraries/Perl ++++++ Parse-RecDescent-1.964.diff -> Parse-RecDescent-1.965001.diff ++++++ ++++++ Parse-RecDescent-1.964.tar.bz2 -> Parse-RecDescent-1.965001.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/Changes new/Parse-RecDescent-1.965001/Changes --- old/Parse-RecDescent-1.964/Changes 2010-02-16 23:33:39.000000000 +0100 +++ new/Parse-RecDescent-1.965001/Changes 2010-04-05 00:00:10.000000000 +0200 @@ -584,3 +584,19 @@ - Fixed bug with undefined $1 when parsing literals (thanks Dan!) - Fixed premature namespace destruction bug with compiled grammars + + +1.964001 Tue Feb 23 15:15:18 2010 + + - Updated version number because versioning is a neverending + nightmare in Perl 5 (thanks Matt) + + + +1.965001 Sun Apr 4 15:00:10 2010 + + - Removed all references to /opts version of perl interpreter + + - Added Parse::RecDescent::redirect_reporting_to() + to enable ERROR, TRACE, and TRACECONTEXT filehandles to be + easily redirected. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/demo/demo_bad.pl new/Parse-RecDescent-1.965001/demo/demo_bad.pl --- old/Parse-RecDescent-1.964/demo/demo_bad.pl 2008-09-17 01:45:00.000000000 +0200 +++ new/Parse-RecDescent-1.965001/demo/demo_bad.pl 2010-03-26 22:17:07.000000000 +0100 @@ -1,4 +1,3 @@ -#! /opt/local/bin/perl5.10.0 use v5.10; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/demo/demo_calc.pl new/Parse-RecDescent-1.965001/demo/demo_calc.pl --- old/Parse-RecDescent-1.964/demo/demo_calc.pl 2009-07-02 03:00:51.000000000 +0200 +++ new/Parse-RecDescent-1.965001/demo/demo_calc.pl 2010-03-26 22:17:07.000000000 +0100 @@ -1,4 +1,3 @@ -#! /opt/local/bin/perl5.10.0 use v5.10; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/demo/demo_errors.pl new/Parse-RecDescent-1.965001/demo/demo_errors.pl --- old/Parse-RecDescent-1.964/demo/demo_errors.pl 2008-09-17 01:52:17.000000000 +0200 +++ new/Parse-RecDescent-1.965001/demo/demo_errors.pl 2010-03-26 22:17:08.000000000 +0100 @@ -1,4 +1,3 @@ -#! /opt/local/bin/perl5.10.0 use v5.10; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/demo/demo_LaTeXish_autoact.pl new/Parse-RecDescent-1.965001/demo/demo_LaTeXish_autoact.pl --- old/Parse-RecDescent-1.964/demo/demo_LaTeXish_autoact.pl 2008-09-11 08:41:28.000000000 +0200 +++ new/Parse-RecDescent-1.965001/demo/demo_LaTeXish_autoact.pl 2010-03-26 22:17:05.000000000 +0100 @@ -1,4 +1,3 @@ -#! /opt/local/bin/perl5.10.0 use Parse::RecDescent; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/demo/demo_LaTeXish.pl new/Parse-RecDescent-1.965001/demo/demo_LaTeXish.pl --- old/Parse-RecDescent-1.964/demo/demo_LaTeXish.pl 2009-04-08 12:23:17.000000000 +0200 +++ new/Parse-RecDescent-1.965001/demo/demo_LaTeXish.pl 2010-03-26 22:17:02.000000000 +0100 @@ -1,4 +1,3 @@ -#! /opt/local/bin/perl5.10.0 use v5.10; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/demo/demo_simple.pl new/Parse-RecDescent-1.965001/demo/demo_simple.pl --- old/Parse-RecDescent-1.964/demo/demo_simple.pl 2008-09-12 07:29:52.000000000 +0200 +++ new/Parse-RecDescent-1.965001/demo/demo_simple.pl 2010-03-26 22:17:09.000000000 +0100 @@ -1,4 +1,3 @@ -#! /opt/local/bin/perl5.10.0 use v5.10; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/lib/Parse/RecDescent.pm new/Parse-RecDescent-1.965001/lib/Parse/RecDescent.pm --- old/Parse-RecDescent-1.964/lib/Parse/RecDescent.pm 2010-02-16 23:33:39.000000000 +0100 +++ new/Parse-RecDescent-1.965001/lib/Parse/RecDescent.pm 2010-04-05 00:00:10.000000000 +0200 @@ -1725,7 +1725,7 @@ my $ERRORS = 0; -our $VERSION = '1.964'; +our $VERSION = '1.965001'; # BUILDING A PARSER @@ -2928,6 +2928,24 @@ use vars '$errortext'; use vars '$errorprefix'; +sub redirect_reporting_to(*;$) { + my ($filehandle, $mode) = (@_, '>'); + + # Ensure filehandles duplicate... + $mode =~ s{ (?&STDERR"); format ERROR = @>>>>>>>>>>>>>>>>>>>>: ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @@ -3130,7 +3148,7 @@ =head1 VERSION -This document describes version 1.964 of Parse::RecDescent +This document describes version 1.965001 of Parse::RecDescent released April 9, 2003. =head1 SYNOPSIS @@ -4646,6 +4664,33 @@ debugging features into a particular grammar (rather than having to set and reset external variables). +=item Redirecting diagnostics + +The diagnostics provided by the tracing mechanism go to STDERR by default, +but can be directed to a specific filehandle by calling the +CParse::RecDescent::redirect_reporting_to() subroutine (which must be fully +qualified, as it is not exported). + +This subroutine expects either one or two arguments. The first is the +filehandle you want all diagnostics redirected to. It must already be +open for output, and may be specified as a typeglob, or as a reference +to a filehandle: + + Parse::RecDescent::redirect_reporting_to(*STDOUT); + Parse::RecDescent::redirect_reporting_to($fh); + +The optional second argument specifies the mode in which data is to be written +to the handle. By default the "overwrite" mode ('>') is used, but you can +explicitly pass '>>' to select "append" mode: + + # Append reports to my log file... + Parse::RecDescent::redirect_reporting_to($my_log_file, '>>'); + +The subroutine returns true if it successfully redirects all reporting +streams, or false if it is not able to do so (typically because you gave +it an invalid filehandle). + + =item Consistency checks Whenever a parser is build, Parse::RecDescent carries out a number of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/META.yml new/Parse-RecDescent-1.965001/META.yml --- old/Parse-RecDescent-1.964/META.yml 2010-02-16 23:33:40.000000000 +0100 +++ new/Parse-RecDescent-1.965001/META.yml 2010-04-05 00:00:12.000000000 +0200 @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Parse-RecDescent -version: 1.964 +version: 1.965001 abstract: Generate Recursive-Descent Parsers license: ~ author: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/README new/Parse-RecDescent-1.965001/README --- old/Parse-RecDescent-1.964/README 2010-02-16 23:33:39.000000000 +0100 +++ new/Parse-RecDescent-1.965001/README 2010-04-05 00:00:10.000000000 +0200 @@ -1,4 +1,4 @@ -Parse::RecDescent version 1.964 +Parse::RecDescent version 1.965001 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Parse-RecDescent-1.964/t/pod.t new/Parse-RecDescent-1.965001/t/pod.t --- old/Parse-RecDescent-1.964/t/pod.t 2009-08-25 19:45:00.000000000 +0200 +++ new/Parse-RecDescent-1.965001/t/pod.t 2010-03-26 22:14:15.000000000 +0100 @@ -1,5 +1,3 @@ -#!perl -T - use Test::More; eval "use Test::Pod 1.14"; plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org