Make things work within evals with a hint hash.
[p5sagit/Devel-Declare.git] / Changes
1 Changes for Devel-Declare
2
3 0.003003
4   - Devel::Declare::MethodInstaller::Simple now has code_for() which the
5     subclass can override to monkey with the magic shadowed subroutine.
6     This is handy if you want to employ Devel::BeginLift.
7
8 0.003002
9   - Depend on Sub::Name and B::Hooks::EndOfScope. MethodInstaller::Simple and
10     Context::Simple use them.
11
12 0.003001
13   - Don't use :lvalue in Context::Simple and MethodInstaller::Simple to keep
14     the debugger happy.
15
16 0.003000
17   - Add Devel::Declare::Context::Simple and
18     Devel::Declare::MethodInstaller::Simple as an experimental way to make
19     creating block- and sub-like keywords easier (Rhesa Rozendaal).
20
21 0.002999_01
22   - Use B::Hooks::OP::Check to register PL_check callbacks.
23   - Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.
24   - Don't segfault if HvNAME(PL_curstash) == NULL.
25   - Don't segfault on 5.9.5+, where PL_parser is a symbol, not a define.
26   - Don't delete the previous symbol table entry when shadowing subs. This
27     makes us work within the debugger.
28   - Don't mix declarations and code.
29
30 0.002002
31   - switch done_declare call from call_argv to call_pv.
32   - Make get_linestr{,_offset} return sensible values when called while the
33     parser isn't running.
34   - Remove several compile time warnings.
35   - Allow enabling of debug mode using $ENV{DD_DEBUG}.
36
37 0.002001
38   - clean up checks for whether we're lexing and whether lex_stuff exists
39     to handle the PL_parser factor-out in 5.10
40   - check if reallocation of PL_linestr is necessary before doing it. this way
41     we can bail out properly instead of corrupting memory in some cases
42   - don't call strlen twice on the same sting
43   - try to be more portable
44     - stop using Nullsv
45     - don't use Perl_* functions directly.
46     - don't define PERL_CORE
47     - use NEWSV from handy.h instead of defining our own
48     - don't define PERL_NO_GET_CONTEXT
49     - don't support preprocessors (perl -P)
50
51 0.002000
52   - rewrite guts into perl, add tests for new declaration style
53
54 0.001011
55   - add support for 'method main' and other package names
56
57 0.001010
58   - fix traits code, again, so it compiles on 5.10.
59
60 0.001009
61   - only mangle evals if o->op_ppaddr is actually PL_ppaddr[OP_ENTERVAL]
62   - don't set OPf_SPECIAL on entereval ops, mistaken cargo cult from autobox
63   - fix traits code to work on older 5.8.x perls
64
65 0.001008
66   - turns out 0.1.7 in Makefile.PL results in that version going into
67     the .xs file as well as the dist name. Then everything breaks.
68
69 0.001007
70   - bail on SvGROW during declare process since that can't work
71   - use a source filter on files and an op wrap on evals to pre-grow
72     PL_linestr so we don't get to the point of needing to bail
73
74 0.001006
75   - nasty goto &$func hack to avoid :lvalue+list context weirdness
76   - correct SvGROW invocation
77
78 0.001005
79   - stop using & prototypes at all
80
81 0.001004
82   - correct idiotic typo if ifndef
83
84 0.001003
85   - internalise definitions for toke.c chunks to save hassle
86   - make NEWSV macro defined via ifndef rather than version check in case
87     of 5.8.8-maint (and 5.8.9)
88
89 0.001002
90   - compilation fixes for 5.9.5 and -DDEBUGGING
91
92 0.001001
93   - compilation fixes for 5.8.1+
94   - set Makefile.PL to bomb out for <5.8.1
95
96 0.001000
97   - Initial release to CPAN