Update to 1.220
Upstream changes:
1.220 Tue 11 Nov 2014
Summary:
- incompatible behavior fixes on PPI::Statement::Sub->prototype
- improved parsing of various syntax elements
- code quality improvements
- various small documentation fixes
Details:
- {} is now recognized as anonymous hash constructor instead of a code
block after these operators: &&= //= || && // ? :
(GitHub #36) (MOREGAN)
- regex capture variables greater than $9 are now parsed completely,
instead of being parsed as single digit captures with numbers after
them (GitHub #38) (MOREGAN)
- DESTROY and AUTOLOAD subs are now parsed even without the sub
keyword (GitHub #39) (MOREGAN)
- PPI::Statement::Sub->prototype behavior now matches its
documentation, instead of returning the prototype string
unchanged and still including the parens (GitHub #56) (MOREGAN)
- PPI::Statement::Sub->prototype now returns undef on subs without a
prototype, instead of returning an empty string
(GitHub #56) (MOREGAN)
- list of keywords which are not parsed as packages when followed by
the Perl4 package separator ' has been increased
(GitHub #77) (MOREGAN)
- application of a number of Perl::Critic policies and documentation
fixes (GitHub #53) (MOREGAN, MITHALDU)
- automation of README.md generation for git (GitHub #86) (COWENS)
- various small documentation fixes (Github #96) (MOREGAN)
1.218 Sat 16 Aug 2014
Summary:
- Fixes for various parsing and documentation bugs
- 1MB limit on input document size removed
- Moved repository to GitHub: https://github.com/adamkennedy/PPI
Details:
- Stop directing bugs to rt.cpan.org (GitHub #40) (MOREGAN)
- Fix documentation reference to List::Util (RT #75308) (RWSTAUNER)
- Improve scalability of parsing long lines, and remove the size
limit on documents PPI will parse (GitHub #5) (MITHALDU)
- Speed up adding an element to an unlabeled statement.
Allow inlining of some methods. (WOLFSAGE)
- Expanded test coverage (DOLMEN, MOREGAN)
- Convert inline tests to standalone tests (GitHub #12) (MOREGAN)
- Fix for '1=>x' being parsed as x operator (GitHub #46) (MOREGAN)
- Recognize that '1 x3' is the x operator followed by a 3
(RT #37892, GitHub #27) (MOREGAN)
- Support all augmented assignment operators (<<=, ||=, etc.)
(RT #68176, 71705) (MOREGAN)
- Stop upper-case "=CUT" from terminating POD (RT #75039) (JAE)
- Support upper-case digits in hex and binary numbers, including
in the leading '0X' and '0B'. (RT #36540) (KRYDE, MOREGAN)
- Fix float argument to range operator misparsed as version
string (RT #45014) (MOREGAN)
- Fix POD markup in PPI::Find (RT #51693) (FWIE)
- Fix spelling of "Tom Christiansen" (RT #67264) (TADMC)
- Fix a large raft of spelling and grammar errors (RT #85049) (David
Steinbrunner, DOLMEN, MOREGAN)
- Fix errors in documentation of the PPI::Element class hierarchy
(RT #30863, 69026) (SJQUINNEY)
- Prevent PPI::XSAccessor packages from hiding corresponding PPI
packages in CPAN (RT #90792) (MITHALDU)
- Recognize the formfeed character as whitespace (RT #67517) (WYANT)
- Recognize regex match following 'return' (RT #27475) (ADAMK)
- Fix missing dereference, length called on reference (RT #40103)
(ADAMK)
2015-01-06 15:22:20 +01:00
|
|
|
# $NetBSD: Makefile,v 1.20 2015/01/06 14:22:20 wen Exp $
|
2007-04-22 23:04:13 +02:00
|
|
|
|
Update to 1.220
Upstream changes:
1.220 Tue 11 Nov 2014
Summary:
- incompatible behavior fixes on PPI::Statement::Sub->prototype
- improved parsing of various syntax elements
- code quality improvements
- various small documentation fixes
Details:
- {} is now recognized as anonymous hash constructor instead of a code
block after these operators: &&= //= || && // ? :
(GitHub #36) (MOREGAN)
- regex capture variables greater than $9 are now parsed completely,
instead of being parsed as single digit captures with numbers after
them (GitHub #38) (MOREGAN)
- DESTROY and AUTOLOAD subs are now parsed even without the sub
keyword (GitHub #39) (MOREGAN)
- PPI::Statement::Sub->prototype behavior now matches its
documentation, instead of returning the prototype string
unchanged and still including the parens (GitHub #56) (MOREGAN)
- PPI::Statement::Sub->prototype now returns undef on subs without a
prototype, instead of returning an empty string
(GitHub #56) (MOREGAN)
- list of keywords which are not parsed as packages when followed by
the Perl4 package separator ' has been increased
(GitHub #77) (MOREGAN)
- application of a number of Perl::Critic policies and documentation
fixes (GitHub #53) (MOREGAN, MITHALDU)
- automation of README.md generation for git (GitHub #86) (COWENS)
- various small documentation fixes (Github #96) (MOREGAN)
1.218 Sat 16 Aug 2014
Summary:
- Fixes for various parsing and documentation bugs
- 1MB limit on input document size removed
- Moved repository to GitHub: https://github.com/adamkennedy/PPI
Details:
- Stop directing bugs to rt.cpan.org (GitHub #40) (MOREGAN)
- Fix documentation reference to List::Util (RT #75308) (RWSTAUNER)
- Improve scalability of parsing long lines, and remove the size
limit on documents PPI will parse (GitHub #5) (MITHALDU)
- Speed up adding an element to an unlabeled statement.
Allow inlining of some methods. (WOLFSAGE)
- Expanded test coverage (DOLMEN, MOREGAN)
- Convert inline tests to standalone tests (GitHub #12) (MOREGAN)
- Fix for '1=>x' being parsed as x operator (GitHub #46) (MOREGAN)
- Recognize that '1 x3' is the x operator followed by a 3
(RT #37892, GitHub #27) (MOREGAN)
- Support all augmented assignment operators (<<=, ||=, etc.)
(RT #68176, 71705) (MOREGAN)
- Stop upper-case "=CUT" from terminating POD (RT #75039) (JAE)
- Support upper-case digits in hex and binary numbers, including
in the leading '0X' and '0B'. (RT #36540) (KRYDE, MOREGAN)
- Fix float argument to range operator misparsed as version
string (RT #45014) (MOREGAN)
- Fix POD markup in PPI::Find (RT #51693) (FWIE)
- Fix spelling of "Tom Christiansen" (RT #67264) (TADMC)
- Fix a large raft of spelling and grammar errors (RT #85049) (David
Steinbrunner, DOLMEN, MOREGAN)
- Fix errors in documentation of the PPI::Element class hierarchy
(RT #30863, 69026) (SJQUINNEY)
- Prevent PPI::XSAccessor packages from hiding corresponding PPI
packages in CPAN (RT #90792) (MITHALDU)
- Recognize the formfeed character as whitespace (RT #67517) (WYANT)
- Recognize regex match following 'return' (RT #27475) (ADAMK)
- Fix missing dereference, length called on reference (RT #40103)
(ADAMK)
2015-01-06 15:22:20 +01:00
|
|
|
DISTNAME= PPI-1.220
|
2007-04-22 23:04:13 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PPI/}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://search.cpan.org/dist/PPI/
|
|
|
|
COMMENT= Perl 5 module to parse, analyze and manipulate Perl (without perl)
|
Updating package for p5 module PPI from 1.203nb2 to 1.206
pkgsrc changes:
- Adjust dependencies according to META.yml
- Add license (perl5 license)
Upstream changes:
1.206 Sun 9 Aug 2009
Summary:
- This is an optimisation release (1-2% speed up)
(Using information uncovered by a Devel::NYTProf 3 alpha)
Details:
- Removing som superfluous 1; returns
- Using defined and ref to avoid highly excessive calls
to PPI::Util::TRUE
1.205 Mon 3 Aug 2009
Summary:
- This is a production release
Details:
- No changes from 1.204_07
1.204_07 Fri 31 Jul 2009
Summary:
- Minor tweaks
Details:
- Allow ::For and ::List to return true to ->isa(::ForLoop)
and do a once-per-process warning when we do.
- Fixed a bug in Class::XSAccessor prototype.
1.204_06 Wed 22 Jul 2009
Summary:
- API Change
Details:
- Changing PPI::Structure::ForLoop to PPI::Structure::For
1.204_05 Tue 21 Jul 2009
Summary:
- Bug fixes in preparation for production release
Details:
- There is no longer any real reason to bundle the testing modules
except as a potential source of more bugs.
- Removed quantifier ? on zero-length ^ in /^?for(?:each)?\z/
- Run-time load PPI::Document instal of compile-time loading it
- Tweak a few load orders to get PPI::Util loaded earlier.
- Fixed location access methods on PPI::Element
- New PPI::Statement::Include::version_literal() method.
1.204_04 Thu 16 Jul 2009
Summary:
- Dependency tweaks
Details:
- Because we bundle Test::ClassAPI, we need to explicitly match its
dependencies. Bumped Params::Util to 1.00.
- Bumped a couple of deps a couple of revisions to get better XS.
1.204_03 Tue 14 Jul 2009
Summary:
- More bug fixing, clean up, and optimisation
- Cleaning up contributed APIs
- Adding some demonstration classes
Details:
- Implemented PPI::Transform::UpdateCopyright
- Removed the use of 'use base'
- Various minor simplifications
- Renamed PPI::Statement::Switch to ::Given
- Renamed PPI::Structure::WhenMatch to ::When
- Converted the Lexer internals to use exception-based error
handling.
- Take advantage of the removal of all those "or return undef"
to simplify the Lexer code, remove variable declarations, and
inline calls to several hot-code-path functions. The Lexer
should be significantly faster (FSDO "significant").
- The v6 key on Tokenizer broke support for Perl 5.6
(perl thought it was a numeric v-string)
1.204_02 Sun 10 May 2009
Summary:
- Various bug fixing and stabilisation work
- It's a perl 5.10 extravaganza!
Details:
- Updated Module::Install to 0.87
- Added Test::NoWarnings to the test suite
- Added support for qw{foo} in addition to for ('foo')
- Added support for vstrings again
- Now supports the 5.10 "state" keyword.
(As far as PPI is concerned it's a synonym for "my")
- Now supports switch statements.
- Now supports the smart match operator (~~).
- Now supports keeping track of line numbers and file names as
affected by the #line directive.
- Now supports UNITCHECK blocks.
- Statement::Include::module_version() implemented.
- Statement::Include::arguments() implemented.
- Statement::Variable::symbols() implemented.
- Token::QuoteLike::Words::literal() implemented.
- Token::Quote::Double::simplify() fixed.
- Element line_number(), column_number(), visual_column_number(),
logical_line_number(), and logical_filename() implemented.
- Support for Unicode byte order marks (PPI::Token::BOM) added.
- Token::Word::method_call() implemented.
- Element::descendant_of() and Element::ancestor_of() implemented.
- Statement::specialized() implemented.
- Now can handle files named "0".
(Perl::Critic got a complaint about this)
- foreach loop variables can be declared using "our".
- Much more comprehensive testing of compound statement detection.
1.204_01 Sun 18 May 2008
Summary:
- Unicode cleanup and bug fixing
- Taking the opportunity to do some house cleaning while the
code base is relatively stable, before things get crazy again.
Details:
- For completeness sake, add support for empty documents
- Moved capability detection into PPI::Util
- POD test script now skips on install properly
- Removed 200 lines of old dead "rawinput" code from PPI::Tokenizer
- 100% of PPI::Tokenizer is now exception-driven
- Workaround for "RT#35917 - charsets.t eats all available VM"
(unicode bug in 5.8.6, works in 5.8.8)
- Temporarily disable round-trip testing of 14_charset.t
2009-08-09 09:55:42 +02:00
|
|
|
LICENSE= ${PERL5_LICENSE}
|
2007-04-22 23:04:13 +02:00
|
|
|
|
2008-08-14 14:53:11 +02:00
|
|
|
# Before update this package, please check $XS_COMPATIBLE in lib/PPI.pm.
|
|
|
|
# If it is greater than version of devel/p5-PPI-XS, p5-PPI-XS should be updated.
|
Updating package for p5 module PPI from 1.203nb2 to 1.206
pkgsrc changes:
- Adjust dependencies according to META.yml
- Add license (perl5 license)
Upstream changes:
1.206 Sun 9 Aug 2009
Summary:
- This is an optimisation release (1-2% speed up)
(Using information uncovered by a Devel::NYTProf 3 alpha)
Details:
- Removing som superfluous 1; returns
- Using defined and ref to avoid highly excessive calls
to PPI::Util::TRUE
1.205 Mon 3 Aug 2009
Summary:
- This is a production release
Details:
- No changes from 1.204_07
1.204_07 Fri 31 Jul 2009
Summary:
- Minor tweaks
Details:
- Allow ::For and ::List to return true to ->isa(::ForLoop)
and do a once-per-process warning when we do.
- Fixed a bug in Class::XSAccessor prototype.
1.204_06 Wed 22 Jul 2009
Summary:
- API Change
Details:
- Changing PPI::Structure::ForLoop to PPI::Structure::For
1.204_05 Tue 21 Jul 2009
Summary:
- Bug fixes in preparation for production release
Details:
- There is no longer any real reason to bundle the testing modules
except as a potential source of more bugs.
- Removed quantifier ? on zero-length ^ in /^?for(?:each)?\z/
- Run-time load PPI::Document instal of compile-time loading it
- Tweak a few load orders to get PPI::Util loaded earlier.
- Fixed location access methods on PPI::Element
- New PPI::Statement::Include::version_literal() method.
1.204_04 Thu 16 Jul 2009
Summary:
- Dependency tweaks
Details:
- Because we bundle Test::ClassAPI, we need to explicitly match its
dependencies. Bumped Params::Util to 1.00.
- Bumped a couple of deps a couple of revisions to get better XS.
1.204_03 Tue 14 Jul 2009
Summary:
- More bug fixing, clean up, and optimisation
- Cleaning up contributed APIs
- Adding some demonstration classes
Details:
- Implemented PPI::Transform::UpdateCopyright
- Removed the use of 'use base'
- Various minor simplifications
- Renamed PPI::Statement::Switch to ::Given
- Renamed PPI::Structure::WhenMatch to ::When
- Converted the Lexer internals to use exception-based error
handling.
- Take advantage of the removal of all those "or return undef"
to simplify the Lexer code, remove variable declarations, and
inline calls to several hot-code-path functions. The Lexer
should be significantly faster (FSDO "significant").
- The v6 key on Tokenizer broke support for Perl 5.6
(perl thought it was a numeric v-string)
1.204_02 Sun 10 May 2009
Summary:
- Various bug fixing and stabilisation work
- It's a perl 5.10 extravaganza!
Details:
- Updated Module::Install to 0.87
- Added Test::NoWarnings to the test suite
- Added support for qw{foo} in addition to for ('foo')
- Added support for vstrings again
- Now supports the 5.10 "state" keyword.
(As far as PPI is concerned it's a synonym for "my")
- Now supports switch statements.
- Now supports the smart match operator (~~).
- Now supports keeping track of line numbers and file names as
affected by the #line directive.
- Now supports UNITCHECK blocks.
- Statement::Include::module_version() implemented.
- Statement::Include::arguments() implemented.
- Statement::Variable::symbols() implemented.
- Token::QuoteLike::Words::literal() implemented.
- Token::Quote::Double::simplify() fixed.
- Element line_number(), column_number(), visual_column_number(),
logical_line_number(), and logical_filename() implemented.
- Support for Unicode byte order marks (PPI::Token::BOM) added.
- Token::Word::method_call() implemented.
- Element::descendant_of() and Element::ancestor_of() implemented.
- Statement::specialized() implemented.
- Now can handle files named "0".
(Perl::Critic got a complaint about this)
- foreach loop variables can be declared using "our".
- Much more comprehensive testing of compound statement detection.
1.204_01 Sun 18 May 2008
Summary:
- Unicode cleanup and bug fixing
- Taking the opportunity to do some house cleaning while the
code base is relatively stable, before things get crazy again.
Details:
- For completeness sake, add support for empty documents
- Moved capability detection into PPI::Util
- POD test script now skips on install properly
- Removed 200 lines of old dead "rawinput" code from PPI::Tokenizer
- 100% of PPI::Tokenizer is now exception-driven
- Workaround for "RT#35917 - charsets.t eats all available VM"
(unicode bug in 5.8.6, works in 5.8.8)
- Temporarily disable round-trip testing of 14_charset.t
2009-08-09 09:55:42 +02:00
|
|
|
DEPENDS+= p5-Clone>=0.30:../../devel/p5-Clone
|
|
|
|
DEPENDS+= {perl>=5.10,p5-Digest-MD5>=2.35}:../../security/p5-Digest-MD5
|
2007-04-22 23:04:13 +02:00
|
|
|
DEPENDS+= p5-IO-String>=1.07:../../devel/p5-IO-String
|
2008-08-09 03:19:34 +02:00
|
|
|
DEPENDS+= p5-List-MoreUtils>=0.16:../../devel/p5-List-MoreUtils
|
Updating package for p5 module PPI from 1.203nb2 to 1.206
pkgsrc changes:
- Adjust dependencies according to META.yml
- Add license (perl5 license)
Upstream changes:
1.206 Sun 9 Aug 2009
Summary:
- This is an optimisation release (1-2% speed up)
(Using information uncovered by a Devel::NYTProf 3 alpha)
Details:
- Removing som superfluous 1; returns
- Using defined and ref to avoid highly excessive calls
to PPI::Util::TRUE
1.205 Mon 3 Aug 2009
Summary:
- This is a production release
Details:
- No changes from 1.204_07
1.204_07 Fri 31 Jul 2009
Summary:
- Minor tweaks
Details:
- Allow ::For and ::List to return true to ->isa(::ForLoop)
and do a once-per-process warning when we do.
- Fixed a bug in Class::XSAccessor prototype.
1.204_06 Wed 22 Jul 2009
Summary:
- API Change
Details:
- Changing PPI::Structure::ForLoop to PPI::Structure::For
1.204_05 Tue 21 Jul 2009
Summary:
- Bug fixes in preparation for production release
Details:
- There is no longer any real reason to bundle the testing modules
except as a potential source of more bugs.
- Removed quantifier ? on zero-length ^ in /^?for(?:each)?\z/
- Run-time load PPI::Document instal of compile-time loading it
- Tweak a few load orders to get PPI::Util loaded earlier.
- Fixed location access methods on PPI::Element
- New PPI::Statement::Include::version_literal() method.
1.204_04 Thu 16 Jul 2009
Summary:
- Dependency tweaks
Details:
- Because we bundle Test::ClassAPI, we need to explicitly match its
dependencies. Bumped Params::Util to 1.00.
- Bumped a couple of deps a couple of revisions to get better XS.
1.204_03 Tue 14 Jul 2009
Summary:
- More bug fixing, clean up, and optimisation
- Cleaning up contributed APIs
- Adding some demonstration classes
Details:
- Implemented PPI::Transform::UpdateCopyright
- Removed the use of 'use base'
- Various minor simplifications
- Renamed PPI::Statement::Switch to ::Given
- Renamed PPI::Structure::WhenMatch to ::When
- Converted the Lexer internals to use exception-based error
handling.
- Take advantage of the removal of all those "or return undef"
to simplify the Lexer code, remove variable declarations, and
inline calls to several hot-code-path functions. The Lexer
should be significantly faster (FSDO "significant").
- The v6 key on Tokenizer broke support for Perl 5.6
(perl thought it was a numeric v-string)
1.204_02 Sun 10 May 2009
Summary:
- Various bug fixing and stabilisation work
- It's a perl 5.10 extravaganza!
Details:
- Updated Module::Install to 0.87
- Added Test::NoWarnings to the test suite
- Added support for qw{foo} in addition to for ('foo')
- Added support for vstrings again
- Now supports the 5.10 "state" keyword.
(As far as PPI is concerned it's a synonym for "my")
- Now supports switch statements.
- Now supports the smart match operator (~~).
- Now supports keeping track of line numbers and file names as
affected by the #line directive.
- Now supports UNITCHECK blocks.
- Statement::Include::module_version() implemented.
- Statement::Include::arguments() implemented.
- Statement::Variable::symbols() implemented.
- Token::QuoteLike::Words::literal() implemented.
- Token::Quote::Double::simplify() fixed.
- Element line_number(), column_number(), visual_column_number(),
logical_line_number(), and logical_filename() implemented.
- Support for Unicode byte order marks (PPI::Token::BOM) added.
- Token::Word::method_call() implemented.
- Element::descendant_of() and Element::ancestor_of() implemented.
- Statement::specialized() implemented.
- Now can handle files named "0".
(Perl::Critic got a complaint about this)
- foreach loop variables can be declared using "our".
- Much more comprehensive testing of compound statement detection.
1.204_01 Sun 18 May 2008
Summary:
- Unicode cleanup and bug fixing
- Taking the opportunity to do some house cleaning while the
code base is relatively stable, before things get crazy again.
Details:
- For completeness sake, add support for empty documents
- Moved capability detection into PPI::Util
- POD test script now skips on install properly
- Removed 200 lines of old dead "rawinput" code from PPI::Tokenizer
- 100% of PPI::Tokenizer is now exception-driven
- Workaround for "RT#35917 - charsets.t eats all available VM"
(unicode bug in 5.8.6, works in 5.8.8)
- Temporarily disable round-trip testing of 14_charset.t
2009-08-09 09:55:42 +02:00
|
|
|
DEPENDS+= p5-Params-Util>=1.00:../../devel/p5-Params-Util
|
2010-01-16 17:34:40 +01:00
|
|
|
DEPENDS+= {perl>=5.10.1,p5-Scalar-List-Utils>=1.20}:../../devel/p5-Scalar-List-Utils
|
Updating package for p5 module PPI from 1.203nb2 to 1.206
pkgsrc changes:
- Adjust dependencies according to META.yml
- Add license (perl5 license)
Upstream changes:
1.206 Sun 9 Aug 2009
Summary:
- This is an optimisation release (1-2% speed up)
(Using information uncovered by a Devel::NYTProf 3 alpha)
Details:
- Removing som superfluous 1; returns
- Using defined and ref to avoid highly excessive calls
to PPI::Util::TRUE
1.205 Mon 3 Aug 2009
Summary:
- This is a production release
Details:
- No changes from 1.204_07
1.204_07 Fri 31 Jul 2009
Summary:
- Minor tweaks
Details:
- Allow ::For and ::List to return true to ->isa(::ForLoop)
and do a once-per-process warning when we do.
- Fixed a bug in Class::XSAccessor prototype.
1.204_06 Wed 22 Jul 2009
Summary:
- API Change
Details:
- Changing PPI::Structure::ForLoop to PPI::Structure::For
1.204_05 Tue 21 Jul 2009
Summary:
- Bug fixes in preparation for production release
Details:
- There is no longer any real reason to bundle the testing modules
except as a potential source of more bugs.
- Removed quantifier ? on zero-length ^ in /^?for(?:each)?\z/
- Run-time load PPI::Document instal of compile-time loading it
- Tweak a few load orders to get PPI::Util loaded earlier.
- Fixed location access methods on PPI::Element
- New PPI::Statement::Include::version_literal() method.
1.204_04 Thu 16 Jul 2009
Summary:
- Dependency tweaks
Details:
- Because we bundle Test::ClassAPI, we need to explicitly match its
dependencies. Bumped Params::Util to 1.00.
- Bumped a couple of deps a couple of revisions to get better XS.
1.204_03 Tue 14 Jul 2009
Summary:
- More bug fixing, clean up, and optimisation
- Cleaning up contributed APIs
- Adding some demonstration classes
Details:
- Implemented PPI::Transform::UpdateCopyright
- Removed the use of 'use base'
- Various minor simplifications
- Renamed PPI::Statement::Switch to ::Given
- Renamed PPI::Structure::WhenMatch to ::When
- Converted the Lexer internals to use exception-based error
handling.
- Take advantage of the removal of all those "or return undef"
to simplify the Lexer code, remove variable declarations, and
inline calls to several hot-code-path functions. The Lexer
should be significantly faster (FSDO "significant").
- The v6 key on Tokenizer broke support for Perl 5.6
(perl thought it was a numeric v-string)
1.204_02 Sun 10 May 2009
Summary:
- Various bug fixing and stabilisation work
- It's a perl 5.10 extravaganza!
Details:
- Updated Module::Install to 0.87
- Added Test::NoWarnings to the test suite
- Added support for qw{foo} in addition to for ('foo')
- Added support for vstrings again
- Now supports the 5.10 "state" keyword.
(As far as PPI is concerned it's a synonym for "my")
- Now supports switch statements.
- Now supports the smart match operator (~~).
- Now supports keeping track of line numbers and file names as
affected by the #line directive.
- Now supports UNITCHECK blocks.
- Statement::Include::module_version() implemented.
- Statement::Include::arguments() implemented.
- Statement::Variable::symbols() implemented.
- Token::QuoteLike::Words::literal() implemented.
- Token::Quote::Double::simplify() fixed.
- Element line_number(), column_number(), visual_column_number(),
logical_line_number(), and logical_filename() implemented.
- Support for Unicode byte order marks (PPI::Token::BOM) added.
- Token::Word::method_call() implemented.
- Element::descendant_of() and Element::ancestor_of() implemented.
- Statement::specialized() implemented.
- Now can handle files named "0".
(Perl::Critic got a complaint about this)
- foreach loop variables can be declared using "our".
- Much more comprehensive testing of compound statement detection.
1.204_01 Sun 18 May 2008
Summary:
- Unicode cleanup and bug fixing
- Taking the opportunity to do some house cleaning while the
code base is relatively stable, before things get crazy again.
Details:
- For completeness sake, add support for empty documents
- Moved capability detection into PPI::Util
- POD test script now skips on install properly
- Removed 200 lines of old dead "rawinput" code from PPI::Tokenizer
- 100% of PPI::Tokenizer is now exception-driven
- Workaround for "RT#35917 - charsets.t eats all available VM"
(unicode bug in 5.8.6, works in 5.8.8)
- Temporarily disable round-trip testing of 14_charset.t
2009-08-09 09:55:42 +02:00
|
|
|
DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
|
2013-11-24 10:57:02 +01:00
|
|
|
#DEPENDS+= {perl>=5.8,p5-Storable>=2.17}:../../devel/p5-Storable
|
2007-04-22 23:04:13 +02:00
|
|
|
|
2010-02-16 09:43:30 +01:00
|
|
|
BUILD_DEPENDS+= p5-Class-Inspector>=1.22:../../devel/p5-Class-Inspector
|
|
|
|
BUILD_DEPENDS+= p5-File-Remove>=1.42:../../sysutils/p5-File-Remove
|
Updating package for p5 module PPI from 1.203nb2 to 1.206
pkgsrc changes:
- Adjust dependencies according to META.yml
- Add license (perl5 license)
Upstream changes:
1.206 Sun 9 Aug 2009
Summary:
- This is an optimisation release (1-2% speed up)
(Using information uncovered by a Devel::NYTProf 3 alpha)
Details:
- Removing som superfluous 1; returns
- Using defined and ref to avoid highly excessive calls
to PPI::Util::TRUE
1.205 Mon 3 Aug 2009
Summary:
- This is a production release
Details:
- No changes from 1.204_07
1.204_07 Fri 31 Jul 2009
Summary:
- Minor tweaks
Details:
- Allow ::For and ::List to return true to ->isa(::ForLoop)
and do a once-per-process warning when we do.
- Fixed a bug in Class::XSAccessor prototype.
1.204_06 Wed 22 Jul 2009
Summary:
- API Change
Details:
- Changing PPI::Structure::ForLoop to PPI::Structure::For
1.204_05 Tue 21 Jul 2009
Summary:
- Bug fixes in preparation for production release
Details:
- There is no longer any real reason to bundle the testing modules
except as a potential source of more bugs.
- Removed quantifier ? on zero-length ^ in /^?for(?:each)?\z/
- Run-time load PPI::Document instal of compile-time loading it
- Tweak a few load orders to get PPI::Util loaded earlier.
- Fixed location access methods on PPI::Element
- New PPI::Statement::Include::version_literal() method.
1.204_04 Thu 16 Jul 2009
Summary:
- Dependency tweaks
Details:
- Because we bundle Test::ClassAPI, we need to explicitly match its
dependencies. Bumped Params::Util to 1.00.
- Bumped a couple of deps a couple of revisions to get better XS.
1.204_03 Tue 14 Jul 2009
Summary:
- More bug fixing, clean up, and optimisation
- Cleaning up contributed APIs
- Adding some demonstration classes
Details:
- Implemented PPI::Transform::UpdateCopyright
- Removed the use of 'use base'
- Various minor simplifications
- Renamed PPI::Statement::Switch to ::Given
- Renamed PPI::Structure::WhenMatch to ::When
- Converted the Lexer internals to use exception-based error
handling.
- Take advantage of the removal of all those "or return undef"
to simplify the Lexer code, remove variable declarations, and
inline calls to several hot-code-path functions. The Lexer
should be significantly faster (FSDO "significant").
- The v6 key on Tokenizer broke support for Perl 5.6
(perl thought it was a numeric v-string)
1.204_02 Sun 10 May 2009
Summary:
- Various bug fixing and stabilisation work
- It's a perl 5.10 extravaganza!
Details:
- Updated Module::Install to 0.87
- Added Test::NoWarnings to the test suite
- Added support for qw{foo} in addition to for ('foo')
- Added support for vstrings again
- Now supports the 5.10 "state" keyword.
(As far as PPI is concerned it's a synonym for "my")
- Now supports switch statements.
- Now supports the smart match operator (~~).
- Now supports keeping track of line numbers and file names as
affected by the #line directive.
- Now supports UNITCHECK blocks.
- Statement::Include::module_version() implemented.
- Statement::Include::arguments() implemented.
- Statement::Variable::symbols() implemented.
- Token::QuoteLike::Words::literal() implemented.
- Token::Quote::Double::simplify() fixed.
- Element line_number(), column_number(), visual_column_number(),
logical_line_number(), and logical_filename() implemented.
- Support for Unicode byte order marks (PPI::Token::BOM) added.
- Token::Word::method_call() implemented.
- Element::descendant_of() and Element::ancestor_of() implemented.
- Statement::specialized() implemented.
- Now can handle files named "0".
(Perl::Critic got a complaint about this)
- foreach loop variables can be declared using "our".
- Much more comprehensive testing of compound statement detection.
1.204_01 Sun 18 May 2008
Summary:
- Unicode cleanup and bug fixing
- Taking the opportunity to do some house cleaning while the
code base is relatively stable, before things get crazy again.
Details:
- For completeness sake, add support for empty documents
- Moved capability detection into PPI::Util
- POD test script now skips on install properly
- Removed 200 lines of old dead "rawinput" code from PPI::Tokenizer
- 100% of PPI::Tokenizer is now exception-driven
- Workaround for "RT#35917 - charsets.t eats all available VM"
(unicode bug in 5.8.6, works in 5.8.8)
- Temporarily disable round-trip testing of 14_charset.t
2009-08-09 09:55:42 +02:00
|
|
|
BUILD_DEPENDS+= p5-Test-NoWarnings>=0.084:../../devel/p5-Test-NoWarnings
|
2008-08-09 03:19:34 +02:00
|
|
|
BUILD_DEPENDS+= p5-Test-Object>=0.07:../../devel/p5-Test-Object
|
2010-01-16 17:34:40 +01:00
|
|
|
BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.86}:../../devel/p5-Test-Simple
|
2008-08-11 16:33:14 +02:00
|
|
|
BUILD_DEPENDS+= p5-Test-SubCalls>=1.07:../../devel/p5-Test-SubCalls
|
2007-04-22 23:04:13 +02:00
|
|
|
|
2010-02-16 09:43:30 +01:00
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
PERL5_PACKLIST= auto/PPI/.packlist
|
|
|
|
PERL5_MODULE_TYPE= Module::Install::Bundled
|
2007-04-22 23:04:13 +02:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|