15 years agoctx-simple: integrated multiline proto handling from M::S context_object
Rhesa Rozendaal [Fri, 24 Oct 2008 11:43:49 +0000]
ctx-simple: integrated multiline proto handling from M::S

15 years agoVersion 0.002999_01.
Florian Ragwitz [Fri, 24 Oct 2008 08:30:42 +0000]
Version 0.002999_01.

15 years agoChangelogging
Florian Ragwitz [Fri, 24 Oct 2008 07:53:50 +0000]
Changelogging

15 years agoAdd an abstract.
Florian Ragwitz [Fri, 24 Oct 2008 07:34:21 +0000]
Add an abstract.

15 years agoDon't mix declarations and code when declaring the stack pointer.
Florian Ragwitz [Fri, 24 Oct 2008 07:17:20 +0000]
Don't mix declarations and code when declaring the stack pointer.

15 years agoDon't delete the previous symbol table entry when shadowing subs.
Florian Ragwitz [Thu, 23 Oct 2008 21:54:03 +0000]
Don't delete the previous symbol table entry when shadowing subs.

Instead just overwrite the CODE slot within. That prevents the GV from being
freed, which totally throws off the tokenizer, that holds a pointer to the gv
already.

This makes t/method.t and others work under the debugger, although I have no
idea why it ever worked, even with the debugger disabled.

15 years agoimprovements from MX::MS and MX::Declare
Rhesa Rozendaal [Wed, 22 Oct 2008 22:09:49 +0000]
improvements from MX::MS and MX::Declare

15 years agoMerge branch 'hooks_endofscope'
Florian Ragwitz [Wed, 22 Oct 2008 18:33:31 +0000]
Merge branch 'hooks_endofscope'

* hooks_endofscope:
  Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.
  Create branch 'hooks_op_endofscope'.

Conflicts:
Makefile.PL

15 years agoMerge branch 'hook_op_check'
Florian Ragwitz [Wed, 22 Oct 2008 18:29:36 +0000]
Merge branch 'hook_op_check'

* hook_op_check:
  Update for latest B::Hooks::OP::Check API.
  Use B::Hooks::OP::Check to register PL_check callbacks.
  Create branch hook_op_check

15 years agoUpdate for latest B::Hooks::OP::Check API. hook_op_check
Florian Ragwitz [Wed, 22 Oct 2008 18:27:57 +0000]
Update for latest B::Hooks::OP::Check API.

15 years agoClean up tests.
Florian Ragwitz [Mon, 20 Oct 2008 11:35:00 +0000]
Clean up tests.

15 years agoRemove test intended to be used for debugging.
Florian Ragwitz [Mon, 20 Oct 2008 11:34:51 +0000]
Remove test intended to be used for debugging.

15 years agoOn 5.9.5+ PL_parser is always available, although not always a define, but a symbol.
Florian Ragwitz [Mon, 20 Oct 2008 11:29:34 +0000]
On 5.9.5+ PL_parser is always available, although not always a define, but a symbol.

15 years agoadded 2 tests wrt utf string manipulations causing segfaults
Rhesa Rozendaal [Mon, 20 Oct 2008 11:00:19 +0000]
added 2 tests wrt utf string manipulations causing segfaults

15 years agoDon't segfault if HvNAME(PL_curstash) == NULL.
Florian Ragwitz [Sun, 19 Oct 2008 17:23:19 +0000]
Don't segfault if HvNAME(PL_curstash) == NULL.

15 years agoUse B::Hooks::EndOfScope instead of %^H and Scope::Guard. hooks_endofscope
Florian Ragwitz [Sun, 19 Oct 2008 07:53:54 +0000]
Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.

15 years agoRemove unused inject_scope from method.t
Florian Ragwitz [Sun, 19 Oct 2008 07:50:00 +0000]
Remove unused inject_scope from method.t

15 years agoVersion 0.002002.
Florian Ragwitz [Sun, 19 Oct 2008 04:39:58 +0000]
Version 0.002002.

15 years agoChangelogging.
Florian Ragwitz [Sun, 19 Oct 2008 04:39:51 +0000]
Changelogging.

15 years agoDon't include the multiline proto test in releases.
Florian Ragwitz [Sun, 19 Oct 2008 04:39:43 +0000]
Don't include the multiline proto test in releases.

15 years agoAdd a multiline proto test in an extra file.
Florian Ragwitz [Sun, 19 Oct 2008 04:30:23 +0000]
Add a multiline proto test in an extra file.

15 years agoRevert "Test multiline signatures where the closing parent has a smaller offset than...
Florian Ragwitz [Sun, 19 Oct 2008 04:30:18 +0000]
Revert "Test multiline signatures where the closing parent has a smaller offset than the opening one."

This reverts commit aafff9cd2deac1c87315f9289b1bac210f71b16a.

15 years agobranches/context_object: reformatted with 2-space indent, and "if ("
Rhesa Rozendaal [Sat, 18 Oct 2008 13:40:29 +0000]
branches/context_object: reformatted with 2-space indent, and "if ("

15 years agoTest multiline signatures where the closing parent has a smaller offset than the...
Florian Ragwitz [Sat, 18 Oct 2008 11:49:59 +0000]
Test multiline signatures where the closing parent has a smaller offset than the opening one.

15 years agoswitch done_declare from call_argv to call_pv
Matt S Trout [Sat, 18 Oct 2008 09:06:13 +0000]
switch done_declare from call_argv to call_pv

15 years agoMake get_linestr_offset return -1 if we're not parsing.
Florian Ragwitz [Sun, 12 Oct 2008 14:27:04 +0000]
Make get_linestr_offset return -1 if we're not parsing.

15 years agoMake get_linestr return NULL/undef if we aren't parsing.
Florian Ragwitz [Sun, 12 Oct 2008 14:26:44 +0000]
Make get_linestr return NULL/undef if we aren't parsing.

15 years agoclear_lex_stuff returns void, not char *.
Florian Ragwitz [Sun, 12 Oct 2008 14:26:12 +0000]
clear_lex_stuff returns void, not char *.

15 years agoRemove unused vars.
Florian Ragwitz [Sun, 12 Oct 2008 14:25:52 +0000]
Remove unused vars.

15 years agoadded DD::Context::Simple, which packages the synopsis (or method_no_semi.t) for...
Rhesa Rozendaal [Mon, 6 Oct 2008 11:40:27 +0000]
added DD::Context::Simple, which packages the synopsis (or method_no_semi.t) for easier reuse

15 years agoCreate branch context_object
Rhesa Rozendaal [Mon, 6 Oct 2008 11:20:13 +0000]
Create branch context_object

15 years agoAllow enabling of debug mode with an env var.
Florian Ragwitz [Sun, 5 Oct 2008 23:36:08 +0000]
Allow enabling of debug mode with an env var.

15 years agoRemove DD_DEBUG_S. It's unused.
Florian Ragwitz [Sun, 5 Oct 2008 23:36:01 +0000]
Remove DD_DEBUG_S. It's unused.

15 years agoVersion 0.002001.
Florian Ragwitz [Sat, 4 Oct 2008 22:30:57 +0000]
Version 0.002001.

15 years agoAdd myself to AUTHORS.
Florian Ragwitz [Sat, 4 Oct 2008 22:30:47 +0000]
Add myself to AUTHORS.

15 years agoChangelogging.
Florian Ragwitz [Sat, 4 Oct 2008 22:30:39 +0000]
Changelogging.

15 years agoRemove support for long-deprecated -P for better portability.
Florian Ragwitz [Sat, 4 Oct 2008 15:23:15 +0000]
Remove support for long-deprecated -P for better portability.

15 years agoCheck if reallocation of PL_linestr is necessary before doing it.
Florian Ragwitz [Sat, 4 Oct 2008 13:18:02 +0000]
Check if reallocation of PL_linestr is necessary before doing it.

That way memory curruption caused by SvGROW on a PL_linestr comming from perl
-e goes away.

15 years agoRevert "nuke PERL_5_9_PLUS"
Florian Ragwitz [Sat, 4 Oct 2008 02:32:03 +0000]
Revert "nuke PERL_5_9_PLUS"

Using #ifdef PL_parser is not enough. In some perls, depending on
configuration, PL_parser is a real symbol and not a define.

15 years agoDon't define PERL_NO_GET_CONTEXT.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:56 +0000]
Don't define PERL_NO_GET_CONTEXT.

Seems to be cargo-culted from Data::Alias and works just fine without.

15 years agoDon't define NEWSV. handy.h does that for us.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:51 +0000]
Don't define NEWSV. handy.h does that for us.

15 years agoDon't define PERL_CORE.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:46 +0000]
Don't define PERL_CORE.

Seems to be cargo-culted anyway. Everything works just fine without it on
5.8.1, 5.8.8 and 5.10.0.

15 years agoDon't call strlen() twice on the same string.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:41 +0000]
Don't call strlen() twice on the same string.

15 years agoUse croak instead of Perl_croak.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:35 +0000]
Use croak instead of Perl_croak.

15 years agoNullsv is kinda deprecated and not available anymore if PERL_CORE is defined.
Florian Ragwitz [Wed, 1 Oct 2008 13:49:59 +0000]
Nullsv is kinda deprecated and not available anymore if PERL_CORE is defined.

15 years agoUse B::Hooks::OP::Check to register PL_check callbacks.
Florian Ragwitz [Wed, 1 Oct 2008 09:50:25 +0000]
Use B::Hooks::OP::Check to register PL_check callbacks.

15 years agonuke PERL_5_9_PLUS
Matt S Trout [Tue, 30 Sep 2008 12:01:11 +0000]
nuke PERL_5_9_PLUS

15 years agomissed a PL_lex_stuff check
Matt S Trout [Tue, 30 Sep 2008 11:58:38 +0000]
missed a PL_lex_stuff check

15 years agoclean up lexing checks
Matt S Trout [Tue, 30 Sep 2008 11:17:32 +0000]
clean up lexing checks

15 years agoMake Declare.o depend on stolen_chunk_of_toke.c.
Florian Ragwitz [Sun, 28 Sep 2008 15:15:42 +0000]
Make Declare.o depend on stolen_chunk_of_toke.c.

15 years agomove D-D to new layout
Matt S Trout [Sun, 28 Sep 2008 14:39:57 +0000]
move D-D to new layout

15 years agoI have no idea why this isn't in svn already
Matt S Trout [Sun, 28 Sep 2008 14:38:53 +0000]
I have no idea why this isn't in svn already

15 years agofinal tweaking and ChangeLog
Matt S Trout [Sat, 20 Sep 2008 14:30:28 +0000]
final tweaking and ChangeLog

15 years agoadd offset function for non-callback driven stuff, add tests
Matt S Trout [Sat, 20 Sep 2008 14:22:27 +0000]
add offset function for non-callback driven stuff, add tests

15 years agostop accidentally picking up 'foo' as bareword foo
Matt S Trout [Sat, 20 Sep 2008 14:21:04 +0000]
stop accidentally picking up 'foo' as bareword foo

15 years agoinitial sketch of shadow_sub and hashref-based callback API
Matt S Trout [Sat, 20 Sep 2008 14:20:22 +0000]
initial sketch of shadow_sub and hashref-based callback API

15 years agosimplify the C level of callback stuff
Matt S Trout [Sat, 20 Sep 2008 14:18:09 +0000]
simplify the C level of callback stuff

15 years agoinitial working perl-space version
Matt S Trout [Sat, 20 Sep 2008 14:15:50 +0000]
initial working perl-space version

15 years agoextract move_past_token, add XS wraps for toke chunks
Matt S Trout [Wed, 17 Sep 2008 06:57:36 +0000]
extract move_past_token, add XS wraps for toke chunks

15 years agoget_linestr works, callback code works, set_linestr compiles but not tested
Matt S Trout [Wed, 17 Sep 2008 05:16:04 +0000]
get_linestr works, callback code works, set_linestr compiles but not tested

15 years agomove const wrap to using new function as well
Matt S Trout [Wed, 17 Sep 2008 00:39:44 +0000]
move const wrap to using new function as well

15 years agofactor out is_declarator decision code
Matt S Trout [Wed, 17 Sep 2008 00:30:54 +0000]
factor out is_declarator decision code

15 years agomake 'method main' work
Matt S Trout [Wed, 4 Jun 2008 14:30:26 +0000]
make 'method main' work

15 years agoassloads of changes, apparently my previous commits failed
Matt S Trout [Wed, 4 Jun 2008 10:56:51 +0000]
assloads of changes, apparently my previous commits failed

15 years agofix the fucking segfault
Matt S Trout [Tue, 3 Jun 2008 15:02:01 +0000]
fix the fucking segfault

15 years agothis OPf_SPECIAL was bollocks. remove it.
Matt S Trout [Tue, 3 Jun 2008 07:27:46 +0000]
this OPf_SPECIAL was bollocks. remove it.

15 years agoNewx -> New
Matt S Trout [Tue, 3 Jun 2008 07:06:41 +0000]
Newx -> New

15 years agonow survives eval
Matt S Trout [Sun, 1 Jun 2008 12:54:58 +0000]
now survives eval

15 years agoextra test, forget where it came from
Matt S Trout [Sun, 1 Jun 2008 12:54:48 +0000]
extra test, forget where it came from

15 years agomissed an aTHX_
Matt S Trout [Sun, 1 Jun 2008 10:41:45 +0000]
missed an aTHX_

15 years agoreallocate PL_linestr to 8192 chars min in a source filter to avoid need to realloc...
Matt S Trout [Sun, 1 Jun 2008 10:21:29 +0000]
reallocate PL_linestr to 8192 chars min in a source filter to avoid need to realloc later (where we can't)

15 years agorealloc code
Matt S Trout [Sat, 31 May 2008 08:44:25 +0000]
realloc code

15 years agoMake devel::declare parse the part between prototype and
Chia-liang Kao [Mon, 5 May 2008 08:37:19 +0000]
Make devel::declare parse the part between prototype and
sub body as traits and pass them to the callback.

16 years agobus error
Yuval Kogman [Sun, 27 Apr 2008 18:15:57 +0000]
bus error

16 years agoadd eval.t, thought it would fail but it doesn't
Yuval Kogman [Sun, 27 Apr 2008 18:05:09 +0000]
add eval.t, thought it would fail but it doesn't

16 years agoactually, this will be 0.1.6
Matt S Trout [Mon, 26 Nov 2007 20:49:17 +0000]
actually, this will be 0.1.6

16 years ago0.1.5 changes
Matt S Trout [Mon, 26 Nov 2007 20:47:44 +0000]
0.1.5 changes

16 years agomake test less noisy
Matt S Trout [Fri, 9 Nov 2007 07:36:47 +0000]
make test less noisy

16 years agostop using & prototypes at all
Matt S Trout [Fri, 9 Nov 2007 07:22:28 +0000]
stop using & prototypes at all

16 years agocorrect typo in ifndef
Matt S Trout [Fri, 9 Nov 2007 07:21:56 +0000]
correct typo in ifndef

16 years ago0.001003 changes
Matt S Trout [Thu, 25 Oct 2007 00:44:28 +0000]
0.001003 changes

16 years agotest I never noticed to add
Matt S Trout [Sun, 21 Oct 2007 22:17:35 +0000]
test I never noticed to add

16 years agoversion and POD updates for 0.001002
Matt S Trout [Sun, 21 Oct 2007 22:16:54 +0000]
version and POD updates for 0.001002

16 years agocompile fixes for 5.9.5 and DDEBUGGING
Matt S Trout [Sun, 21 Oct 2007 20:45:11 +0000]
compile fixes for 5.9.5 and DDEBUGGING

16 years agoset Makefile.PL to bomb out for <5.8.1 at compile time
Matt S Trout [Sun, 14 Oct 2007 22:33:47 +0000]
set Makefile.PL to bomb out for <5.8.1 at compile time

16 years agoset Makefile.PL to bomb out for <5.8.1
Matt S Trout [Sun, 14 Oct 2007 22:33:00 +0000]
set Makefile.PL to bomb out for <5.8.1

16 years agocompiles against 5.8.1 (no threads, no multiplicity)
Matt S Trout [Sun, 14 Oct 2007 21:40:59 +0000]
compiles against 5.8.1 (no threads, no multiplicity)

16 years agoMore specifically include stolen_chunk_of_toke.c in MANIFEST.SKIP so that it
Christopher Nehren [Fri, 21 Sep 2007 19:33:03 +0000]
More specifically include stolen_chunk_of_toke.c in MANIFEST.SKIP so that it
doesn't pull in Declare.c when it's generated after running make.

Pointy-hat to: apeiron
Prodding from: mst (as always)

16 years agoFix MANIFEST.SKIP to include stolen_chunk_of_toke.c
Christopher Nehren [Fri, 21 Sep 2007 18:48:58 +0000]
Fix MANIFEST.SKIP to include stolen_chunk_of_toke.c

16 years agofix mail and web addresses
Matt S Trout [Mon, 17 Sep 2007 01:45:10 +0000]
fix mail and web addresses

16 years agomade method { ... }; work
Matt S Trout [Mon, 17 Sep 2007 01:10:55 +0000]
made method { ... }; work

16 years agosugar test basically working
Matt S Trout [Mon, 17 Sep 2007 00:43:15 +0000]
sugar test basically working

16 years agoMANIFEST.SKIP and Changes
Matt S Trout [Sat, 15 Sep 2007 23:07:52 +0000]
MANIFEST.SKIP and Changes

16 years agomust use aTHX_ for anything with a pTHX_ in proto
Matt S Trout [Sat, 28 Jul 2007 10:05:18 +0000]
must use aTHX_ for anything with a pTHX_ in proto

16 years agolatest updates
Matt S Trout [Thu, 26 Jul 2007 22:32:41 +0000]
latest updates

16 years agosplit usepack and namepack
Matt S Trout [Sun, 1 Jul 2007 19:58:15 +0000]
split usepack and namepack

16 years agopackage handling
Matt S Trout [Sun, 1 Jul 2007 18:42:26 +0000]
package handling

16 years agopad stuffing by source injection
Matt S Trout [Sun, 1 Jul 2007 16:58:39 +0000]
pad stuffing by source injection

16 years agofun ($a, $b) { ... }
Matt S Trout [Fri, 29 Jun 2007 08:29:41 +0000]
fun ($a, $b) { ... }

16 years agodebug flag, extra test
Matt S Trout [Fri, 29 Jun 2007 05:20:23 +0000]
debug flag, extra test