Make things work within evals with a hint hash.
[p5sagit/Devel-Declare.git] / Changes
CommitLineData
71511651 1Changes for Devel-Declare
2
7715fb8f 30.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
45333fcc 80.003002
9 - Depend on Sub::Name and B::Hooks::EndOfScope. MethodInstaller::Simple and
10 Context::Simple use them.
11
5ed603f1 120.003001
13 - Don't use :lvalue in Context::Simple and MethodInstaller::Simple to keep
14 the debugger happy.
371427af 15
5ed603f1 160.003000
371427af 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
b1e909d3 210.002999_01
e6486283 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
7347020e 300.002002
e422fec0 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}.
001d53d0 36
82e5ff1c 370.002001
96f12726 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
5a96176c 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)
96f12726 50
2ee34f20 510.002000
52 - rewrite guts into perl, add tests for new declaration style
53
bedac9ff 540.001011
55 - add support for 'method main' and other package names
56
9673d7ca 570.001010
58 - fix traits code, again, so it compiles on 5.10.
59
600.001009
d8e65fc8 61 - only mangle evals if o->op_ppaddr is actually PL_ppaddr[OP_ENTERVAL]
a9eb4da1 62 - don't set OPf_SPECIAL on entereval ops, mistaken cargo cult from autobox
f5262149 63 - fix traits code to work on older 5.8.x perls
64
650.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
690.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
498cc8bc 740.001006
c5912dc7 75 - nasty goto &$func hack to avoid :lvalue+list context weirdness
76 - correct SvGROW invocation
498cc8bc 77
780.001005
003ac394 79 - stop using & prototypes at all
80
552a9b31 810.001004
82 - correct idiotic typo if ifndef
83
78160085 840.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
14ab3472 890.001002
90 - compilation fixes for 5.9.5 and -DDEBUGGING
91
71511651 920.001001
93 - compilation fixes for 5.8.1+
daf38100 94 - set Makefile.PL to bomb out for <5.8.1
c560c752 95
960.001000
97 - Initial release to CPAN