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