pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Devel-Declare

Module Name:    pkgsrc
Committed By:   he
Date:           Sun Nov  2 23:34:14 UTC 2008

Modified Files:
        pkgsrc/devel/p5-Devel-Declare: Makefile distinfo

Log Message:
Update from version 0.001011nb1 to 0.003003.

Pkgsrc changes:
 o Adjust/update dependency lists

Upstream changes:

  - Devel::Declare::MethodInstaller::Simple now has code_for() which the
    subclass can override to monkey with the magic shadowed subroutine.
    This is handy if you want to employ Devel::BeginLift.

  - Depend on Sub::Name and B::Hooks::EndOfScope. MethodInstaller::Simple and
    Context::Simple use them.

  - Don't use :lvalue in Context::Simple and MethodInstaller::Simple to keep
    the debugger happy.

  - Add Devel::Declare::Context::Simple and
    Devel::Declare::MethodInstaller::Simple as an experimental way to make
    creating block- and sub-like keywords easier (Rhesa Rozendaal).

  - Use B::Hooks::OP::Check to register PL_check callbacks.
  - Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.
  - Don't segfault if HvNAME(PL_curstash) == NULL.
  - Don't segfault on 5.9.5+, where PL_parser is a symbol, not a define.
  - Don't delete the previous symbol table entry when shadowing subs. This
    makes us work within the debugger.
  - Don't mix declarations and code.

  - switch done_declare call from call_argv to call_pv.
  - Make get_linestr{,_offset} return sensible values when called while the
    parser isn't running.
  - Remove several compile time warnings.
  - Allow enabling of debug mode using $ENV{DD_DEBUG}.

  - clean up checks for whether we're lexing and whether lex_stuff exists
    to handle the PL_parser factor-out in 5.10
  - check if reallocation of PL_linestr is necessary before doing it. this way
    we can bail out properly instead of corrupting memory in some cases
  - don't call strlen twice on the same sting
  - try to be more portable
    - stop using Nullsv
    - don't use Perl_* functions directly.
    - don't define PERL_CORE
    - use NEWSV from handy.h instead of defining our own
    - don't define PERL_NO_GET_CONTEXT
    - don't support preprocessors (perl -P)

  - rewrite guts into perl, add tests for new declaration style

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/devel/p5-Devel-Declare/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/devel/p5-Devel-Declare/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index