Commit graph

12 commits

Author SHA1 Message Date
sno
8a968e9fb8 Updating package for Parse::RecDescent in devel/p5-Parse-RecDescent from
1.965.1nb3 (upstream version: 1.965001) to 1.967.9 (upstream version:
1.967009)

Upstream changes since 1.965001:
1.967009      Fri Mar 16 07:25:09 2012

      - Bumped version to 1.967009 for non-development release.

1.967_008      Tue Mar 13 22:28:00 2012

      - Restore old _parserepeat calling convention.  Change a
        parser's DESTROY method to check for $self->{_not_precompiled}
        instead of $self->{_precompiled}. (Fix for RT #74593).

1.967_007      Thu Feb 23 07:26:03 2012

      - Revised ExtUtils::MakeMaker build/configure version
        requirements. (RT.cpan.org #74787, Thanks Paul!)

      - Revised Text::Balanced prereq to require version 1.95,
        necessary for t/skip.t to pass.
        (RT.cpan.org #74787, Thanks Paul!)

      - Removed unused version.pm prereq.

      - Fix a circular reference memory leak caused by the use of
        $AUTOLOAD in sub AUTOLOAD{} in the generated parser's
        namespace.  Workaround documented in perl5 RT #110248.
        Workaround a circular reference memory leak in ISA documented
        by perl5 RT #92708.  A parser's DESTROY() method redefines all
        subs before deleting the stash, to avoid circular references
        between subrules. (RT #53710, thanks Andreas!)

      - Parse::RecDescent::AUTOLOAD did not correctly handle
        initializing the line counting mechanism when a reference to a
        scalar was passed to the parser. (RT.cpan.org #27705, thanks
        Justin!)

1.967006   Fri Feb 10 20:48:48 2012

      - Bumped version to 1.967006 for non-development release.

1.967_005   Wed Feb  8 18:46:35 2012

      - Added JTBRAUN@CPAN.org as author in Build.PL.

      - Added ExtUtils::MakeMaker build/configure version
        requirements. (RT.cpan.org #74787, Thanks POPEL!)

1.967_004  Tue Feb  7 22:11:11 2012

    - Localize the OUT filehandle during Precompile.

    - Document the <autotree:Base::Class> form of the <autotree>
      directive.

    - Provide a simple test for the <autotree> directive,
      t/autotree.t.  Renamed basics.t to ensure it runs before
      autotree.t.

    - Allow a global <skip:> directive that functions the same as
      modifying $Parse::RecDescent::skip prior to compiling a
      grammar. (Thanks Flavio!)

    - Require that the $file returned by caller() be eq '-', rather than merely
      starting with '-'.  This allows execution of the following.  (Thanks Christopher)
        perl -MParse::RecDescent -e 'print "$Parse::RecDescent::VERSION\n";'

    - Warn on empty productions followed by other productions.  The
      empty production always matches, so following productions will
      never be reached.

    - *** NON-BACKWARDS COMPATIBLE CHANGE! *** A repetition directive
      such as 'id(s /,/)' correctly creates a temporary @item variable
      to hold the 'id's that are matched.  That @item variable is them
      used to set the real $item[] entry for that repetition.  The
      same treatment is now given to %item.  Formerly, in a production like:

          id ',' id(s /,/)

      matched against:

          xxx, yyy, zzz

      The $item{id} entry which should be 'xxx' is overwritten by
      'yyy' and then 'zzz' prior to the action being executed.  Now
      'yyy' and 'zzz' set $item{id}, but in the private %item, which
      goes out of scope once the repetition match completes.

    - ** EXPERIMENTAL ** When precompiling, optionally create a
      standalone parser by including most of the contents of
      Parse::RecDescent in the resulting Precompiled output.

      - Accept an optional $options hashref to Precompile, which can
        be used to specify $options->{-standalone}, which currently
        defaults to false.

      - The subroutines import, Precompile and Save are not included
        in the Precompile'd parser.

      - The included Parse::RecDescent module is renamed to
        Parse::RecDescent::_Runtime to avoid namespace conflicts with
        an installed and use'd Parse::RecDescent.

      - Add a new t/precompile.t to test precompilation.

      - Add a new $_FILENAME global to Parse::RecDescent to make it
        easy for the Precompile method to find the module.

      - Remove the prototype from _generate.  It is not required, and
        it caused t/precompile.t (which ends up re-definiing a lot of
        Parse::RecDescent subroutines) to fail needlessly, as the
        calls to _generate in Replace and Extend normally do not see
        the prototype, but do when re-defined.

      - POD documentation for standalone parsers added.

1.967003  Mon Jan 30 07:24:53 2012

    - Remove the 'use 5.10' from t/skip_dynamic.t, it runs fine
      against Perl 5.8.9. (Thanks Slaven!)

1.967002  Sun Jan 29 19:13:04 2012

    - Addressed RT.cpan.org #29966: regex with single backslash not
      recognized.  Changed the definition of $TOKEN to handle
      backslashes inside of regex patterns.

    - Skip tests in t/reentry.t if Test::Warn isn't available.

1.967001  Sat Jan 28 20:54:48 2012

    - Addressed RT.cpan.org #28314: regex modifiers for tokens not
      honored during regex syntax check. (Thanks SADAHIRO!)

    - Fixed some POD typos

    - Added message on how to turn off "default" hint value in the
      default hint value ($::RD_HINT = 0). RT.cpan.org # #4898.

    - Modified _write_ERROR to call formline twice to avoid repeated
      $errorprefix.

    - Collected match tracing messages into a common function which
      takes into account positive/negative lookahead.

    - Addressed RT.cpan.org #74258: RD_AUTOSTUB does not work with
      precompiled parsers.  (Thanks Yuri!)

      - Special-case $::RD_AUTOSTUB eq 1.  $::RD_AUTOSTUB's value is
        ignored, and the unknown subrule 'rule' has a production
        "rule: 'rule'", rather than "rule: '1'".

      - Change Parse::RecDescent::new to call $self->Replace with only
        the grammar as an argument.  That prevents the $compiling
        argument to new() from being incorrectly interpreted as
        $isimplicit.

1.966_002  Sun Jan 22 19:08:37 2012

    - *** NON-BACKWARDS COMPATIBLE CHANGE! *** Change the caches for
      $prevline and $thisline to be local to the parser, rather than
      lexical vars in Parse::RecDescent.  This prevents previously
      generated parsers from interfering with the line counts of
      later parsers.

    - removed trailing whitespace from all member files (cosmetic)

    - new tests, updated MANIFEST

    - Added Jeremy Braun as an author and current maintainer

    - update file permissions

    - fixed a few broken links in the pod

1.966_001  Mon Nov 14 10:34:52 2011

    - Applied fix to restore skipped prefixes on match failure
      (thanks Jeremy!)

    - *** NON-BACKWARDS COMPATIBLE CHANGE! *** Removed formats to
      eliminate problems with filehandle duplication in forked
      environments.  Removed redirect_reporting_to() in favor of using
      STDERR for all error/trace output.

1.966_000  Mon Jun 27 08:32:50 2011

    - Patched unnamed subrules, so that they actual fail when
      not correctly specified (thanks Evgeniy!)

    - Added skip tests (thanks Flavio)

    - Added doc patch to make $skip semantics clearer (thanks Flavio!)

    - Fixed POD description of <rightop:...> semantics (thanks Dirk!)
2012-10-19 07:42:25 +00:00
seb
ca34726558 Update p5-Parse-RecDescent from version 1.96.4 to version 1.965.1 (upstream
version 1.965001).

Pkgsrc changes:
- adopt a new module to pkgsrc versioning scheme, along the line
of "Equivalence between Decimal and Dotted‐Decimal Versions" in
Perl module 'version' documentation

Upstream changes:
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.
2010-07-14 16:15:03 +00:00
sno
18d0ac2508 Updating devel/p5-Parse-RecDescent from 1.96.3 to 1.96.4
Upstream changes:
1.964  Wed Feb 17 09:33:39 2010
    - Fixed bug with undefined $1 when parsing literals (thanks Dan!)
    - Fixed premature namespace destruction bug with compiled grammars
2010-02-17 11:58:57 +00:00
sno
cbffd2451e Updating devel/p5-Parse-RecDescent from 1.96.2.2 to 1.96.3
Upstream changes (1.962.2 -> 1.963):
1.963  Thu Jan 21 09:13:19 2010
    - Fixed even subtler bug in leftop and rightop caused by removal of $&
      (Thanks Francesco)
2010-01-25 13:37:33 +00:00
sno
53b9e0d62c Updating devel/p5-Parse-RecDescent from 1.962.1 to 1.962.2
Upstream changes:
1.962.2  Fri Aug 28 13:39:33 2009
    - Fixed subtle bug in leftop and rightop caused by removal of $&
2009-09-12 18:05:37 +00:00
sno
20aabb1bad Updating package for devel/p5-Parse-RecDescent from 1.96 to 1.96.2.1
pkgsrc changes:
  - Adding license
  - removing patch for wrong formed version

Upstream changes:
1.962.1  Thu Aug 27 21:39:30 2009
    - Fixed subtle bug in leftop and rightop caused by removal of $&

1.962.0  Tue Aug 25 19:45:15 2009
    - Doc bug fix (thanks Christophe)
    - Fixed assymmetrical push/pop on @lines tracker (thanks Peter!)
    - Bumped sub-version number hugely to fix CPAN indexing (thanks Jerome)
    - Remove all occurrences of $& so we don't affect other regular expressions.
    - Perl 5.6.0 required for use of $+[0] and $-[0] for replacement of $&.
2009-08-28 07:32:07 +00:00
sno
adda0e7049 PkgSrc changes:
- Updating module to 1.96.0
- adapting patch-aa

Upstream changes:

1.96.0  Fri Oct  3 06:08:24 2008
    - Propagated correct Changes file (thanks Matthew!)
    - Added: <warn> <hint> <trace_build> <trace_parse> <nocheck>

Oked by rhaen@
2009-03-10 17:43:19 +00:00
he
f77c18bf6d Update from 1.95.1 to 1.95.1nb1.
This adds a patch to work around problems encountered when code does

use Parse::RecDescent 1.80;

which caused an error saying that "Parse::RecDescent version 1.8
required--this is only version 1.95.1".  Work around this by patching
Parse::RecDescent's VERSION setting to be 1.951.
2008-09-10 19:40:00 +00:00
he
cacdf9ac0a Update from version 1.94nb1 to 1.95.1.
No recorded changes upstream.
2008-09-10 19:31:10 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
mjl
91c0b6fdae Update p5-Parse-RecDescent to 1.94
- Fixed bug in <reject> handling: failed to reject if $return
	  had been set.
	- Added two useful demos of restructuring nested data
	- Fixed doc bug re use of //
	- Localized filehandles, like a good citizen should
	- Misc doc bug fixes
	- Fixed Text::Balance dependency in Makefile.PL
	- Fixed bug that @itempos wasn't set up if referred to only in
	  an autoaction.
	- Fixed truncation bug in tracing contexts
	- Dramatically improved speed of line counting
	- Made item(s) and item(s /,/) behave consistently wrt %item
	- Added prototype <autorule:...> handling
	- Added outer block markers for <perl_codeblock>
	- Fixed multi-grammar precompilation
	- Fixed numerous snafus in tutorial.html
	- Added nesting level information to traces
	- Fixed resetting of $text after an <uncommit> rule.
	- Updated Text::Balanced to fix various bugs
	- Removed Text::Balanced from distribution (now a prereq only)
	- Fixed fatal error with $tracelevel
	- Replaced 'our' with 'use vars' to reinstate 5.005 compatibility.
2003-04-25 17:11:04 +00:00
mjl
fef15ce41a Re-import of misnamed p5-Parse-RescDescent
RecDescent incrementally generates top-down recursive-descent text
parsers from simple yacc-like grammar specifications.
2002-03-19 14:48:25 +00:00