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