15 years agoMerge branch 'strip_names_and_args'
Florian Ragwitz [Sun, 24 May 2009 15:15:09 +0000]
Merge branch 'strip_names_and_args'

* strip_names_and_args:
  Fail hard if strip_names_and_args fails.
  Add strip_names_and_args

15 years agoFail hard if strip_names_and_args fails. strip_names_and_args
Florian Ragwitz [Sun, 24 May 2009 15:14:10 +0000]
Fail hard if strip_names_and_args fails.

15 years agoAdd copyright notice for stolen_chunk_of_toke.c.
Florian Ragwitz [Sun, 24 May 2009 13:25:18 +0000]
Add copyright notice for stolen_chunk_of_toke.c.

15 years agoAdd .gitignore.
Florian Ragwitz [Sun, 24 May 2009 13:23:41 +0000]
Add .gitignore.

15 years agoTODO failing tests.
Florian Ragwitz [Sat, 23 May 2009 20:57:58 +0000]
TODO failing tests.

15 years agoMerge commit 'ashb/master'
Florian Ragwitz [Sat, 23 May 2009 20:54:49 +0000]
Merge commit 'ashb/master'

* commit 'ashb/master':
  Failing tests for line number issues

15 years agoMerge commit 'yanick/docs'
Florian Ragwitz [Sat, 23 May 2009 20:13:04 +0000]
Merge commit 'yanick/docs'

* commit 'yanick/docs':
  was 'assing', assuming it to be 'were passing'

15 years agoAdd copyright statements.
Florian Ragwitz [Sat, 23 May 2009 19:43:10 +0000]
Add copyright statements.

15 years agoAnother pod fix.
Florian Ragwitz [Sat, 23 May 2009 19:40:34 +0000]
Another pod fix.

15 years agoAdd strip_names_and_args
Cory Watson [Wed, 20 May 2009 13:59:21 +0000]
Add strip_names_and_args

15 years agoFailing tests for line number issues
Ash Berlin [Sat, 23 May 2009 18:55:43 +0000]
Failing tests for line number issues

15 years agowas 'assing', assuming it to be 'were passing'
Yanick Champoux [Thu, 21 May 2009 16:51:03 +0000]
was 'assing', assuming it to be 'were passing'

15 years agoPOD fix.
Florian Ragwitz [Tue, 19 May 2009 16:07:41 +0000]
POD fix.

15 years agoVersion 0.005002. 0.005002
Florian Ragwitz [Sun, 10 May 2009 00:05:34 +0000]
Version 0.005002.

15 years agoDon't invoke linestr callback if the parser is expecting an operator. This makes...
Florian Ragwitz [Sun, 10 May 2009 00:01:49 +0000]
Don't invoke linestr callback if the parser is expecting an operator. This makes calling a method with the name of a declarator work.

15 years agoAdd testcase for calling a method with the name of a declarator.
Florian Ragwitz [Sun, 10 May 2009 00:01:43 +0000]
Add testcase for calling a method with the name of a declarator.

15 years agoVersion 0.005001. 0.005001
Florian Ragwitz [Wed, 6 May 2009 00:33:14 +0000]
Version 0.005001.

15 years agoImplement skip_declarator in terms of scan_word in Context::Simple.
Florian Ragwitz [Wed, 6 May 2009 00:23:24 +0000]
Implement skip_declarator in terms of scan_word in Context::Simple.

15 years agoVersion 0.005000. 0.005000
Florian Ragwitz [Sat, 18 Apr 2009 08:42:17 +0000]
Version 0.005000.

15 years agoDon't compare signed to unsigned.
Florian Ragwitz [Sat, 18 Apr 2009 08:42:13 +0000]
Don't compare signed to unsigned.

15 years agoInclude the multiline scan_str in the releases.
Florian Ragwitz [Sat, 18 Apr 2009 08:42:10 +0000]
Include the multiline scan_str in the releases.

15 years agoAllow extracting strings going over multiple lines using scan_str.
Florian Ragwitz [Sat, 18 Apr 2009 08:42:06 +0000]
Allow extracting strings going over multiple lines using scan_str.

15 years agoThe extracted string should contain the newline as well.
Florian Ragwitz [Sat, 18 Apr 2009 08:42:00 +0000]
The extracted string should contain the newline as well.

15 years agoPort the docs from Scope::Guard + %^H to B::Hooks::EndOfScope.
Florian Ragwitz [Mon, 13 Apr 2009 17:08:45 +0000]
Port the docs from Scope::Guard + %^H to B::Hooks::EndOfScope.

15 years agoVersion 0.004000.
Florian Ragwitz [Fri, 10 Apr 2009 00:20:37 +0000]
Version 0.004000.

15 years agoTest for not invoking the linestr callback for barewords quoted using the fat comma.
Florian Ragwitz [Fri, 10 Apr 2009 00:03:29 +0000]
Test for not invoking the linestr callback for barewords quoted using the fat comma.

15 years agoUpdated t/quote.t to quash warnings and use cross-platform /dev/null
Florian Ragwitz [Fri, 10 Apr 2009 00:03:12 +0000]
Updated t/quote.t to quash warnings and use cross-platform /dev/null

15 years agoRemove unused variable.
Florian Ragwitz [Thu, 9 Apr 2009 00:57:52 +0000]
Remove unused variable.

15 years agoUnTODO passing tests.
Florian Ragwitz [Thu, 9 Apr 2009 00:54:43 +0000]
UnTODO passing tests.

15 years agoDon't fire the linestr callback for const ops in backticks, qx or qq.
Florian Ragwitz [Thu, 9 Apr 2009 00:54:28 +0000]
Don't fire the linestr callback for const ops in backticks, qx or qq.

15 years agoSimplify the quoting fix.
Florian Ragwitz [Thu, 9 Apr 2009 00:54:13 +0000]
Simplify the quoting fix.

15 years agoUnTODO passing tests.
Florian Ragwitz [Thu, 9 Apr 2009 00:35:58 +0000]
UnTODO passing tests.

15 years agoDon't issue the linestr callback if the const op comes from m//, s///, qr// or tr///.
Florian Ragwitz [Thu, 9 Apr 2009 00:35:42 +0000]
Don't issue the linestr callback if the const op comes from m//, s///, qr// or tr///.

15 years agoRemember the previously compiled op.
Florian Ragwitz [Thu, 9 Apr 2009 00:35:26 +0000]
Remember the previously compiled op.

15 years agoUnTODO passing tests.
Florian Ragwitz [Thu, 9 Apr 2009 00:09:12 +0000]
UnTODO passing tests.

15 years agoTest that quoted words aren't interpreted as keywords.
Florian Ragwitz [Thu, 9 Apr 2009 00:07:57 +0000]
Test that quoted words aren't interpreted as keywords.

15 years agoFirst draft of documentation. This focuses on core API rather than the ::Simple...
Florian Ragwitz [Thu, 9 Apr 2009 00:05:46 +0000]
First draft of documentation.  This focuses on core API rather than the ::Simple:: modules

15 years agoVersion 0.003005.
Florian Ragwitz [Mon, 30 Mar 2009 18:50:27 +0000]
Version 0.003005.

15 years agoContext::Simple::inject_if_block returns true value on block
Ash Berlin [Sun, 18 Jan 2009 19:47:32 +0000]
Context::Simple::inject_if_block returns true value on block

15 years agoDepend on B::Hooks::EndOfScope 0.05.
Florian Ragwitz [Sun, 4 Jan 2009 20:38:57 +0000]
Depend on B::Hooks::EndOfScope 0.05.

This makes semicolon injection work even if a string eval is compiled inside of
the same block.

15 years agoAdd test for unicode methods
Marcus Ramberg [Fri, 2 Jan 2009 21:35:12 +0000]
Add test for unicode methods

15 years agoCheck failure for subs starting with numbers
Marcus Ramberg [Fri, 2 Jan 2009 21:21:54 +0000]
Check failure for subs starting with numbers

15 years agoFirst buckit of FAIL
Marcus Ramberg [Fri, 2 Jan 2009 21:11:01 +0000]
First buckit of FAIL

16 years agoFix some compiler warnings.
Florian Ragwitz [Sat, 15 Nov 2008 15:04:26 +0000]
Fix some compiler warnings.

16 years agoEliminate undefined symbols.
Florian Ragwitz [Mon, 10 Nov 2008 01:35:52 +0000]
Eliminate undefined symbols.

16 years agoTest if we're loadable without deferred symbol resolution.
Florian Ragwitz [Mon, 10 Nov 2008 01:28:01 +0000]
Test if we're loadable without deferred symbol resolution.

16 years agoVersion 0.003004.
Florian Ragwitz [Mon, 10 Nov 2008 01:27:55 +0000]
Version 0.003004.

16 years agoAdd strip_indent to Ctx::Simple.
Florian Ragwitz [Fri, 7 Nov 2008 06:51:47 +0000]
Add strip_indent to Ctx::Simple.

16 years agoExpose scan_ident to perl space.
Florian Ragwitz [Fri, 7 Nov 2008 06:51:40 +0000]
Expose scan_ident to perl space.

16 years agoAdd S_scan_ident from toke.c.
Florian Ragwitz [Fri, 7 Nov 2008 06:51:34 +0000]
Add S_scan_ident from toke.c.

16 years agoMake things work within evals with a hint hash.
Florian Ragwitz [Wed, 5 Nov 2008 23:55:50 +0000]
Make things work within evals with a hint hash.

16 years agoAdd a failing testcase for string eval mangling if there's a hints hash.
Florian Ragwitz [Wed, 5 Nov 2008 18:57:58 +0000]
Add a failing testcase for string eval mangling if there's a hints hash.

16 years agoMake t/method-installer-runtime.t more sane.
Florian Ragwitz [Mon, 27 Oct 2008 20:34:14 +0000]
Make t/method-installer-runtime.t more sane.

16 years agoMake parse_proto default to an empty string.
Florian Ragwitz [Mon, 27 Oct 2008 20:34:03 +0000]
Make parse_proto default to an empty string.

16 years agoAdd a VERSION to MethodInstaller::Simple.
Florian Ragwitz [Mon, 27 Oct 2008 20:30:50 +0000]
Add a VERSION to MethodInstaller::Simple.

16 years agoVersion 0.003003.
Florian Ragwitz [Mon, 27 Oct 2008 20:30:40 +0000]
Version 0.003003.

16 years agoRefactor MethodInstaller::Simple.
Florian Ragwitz [Mon, 27 Oct 2008 20:27:13 +0000]
Refactor MethodInstaller::Simple.

It now has code_for() which the subclass can override to monkey with the magic
shadowed subroutine. This is handy if you want to employ Devel::BeginLift.

16 years agochanged runtime test to use can()
Rhesa Rozendaal [Mon, 27 Oct 2008 03:20:25 +0000]
changed runtime test to use can()

16 years agoprevent warnings in t/method-installer-runtime.t
Rhesa Rozendaal [Sun, 26 Oct 2008 17:28:34 +0000]
prevent warnings in t/method-installer-runtime.t

16 years agoadded test demonstrating that "method" works at runtime
Rhesa Rozendaal [Sun, 26 Oct 2008 17:11:49 +0000]
added test demonstrating that "method" works at runtime

16 years agoVersion 0.003002.
Florian Ragwitz [Sat, 25 Oct 2008 17:44:34 +0000]
Version 0.003002.

16 years agoAdd dependency for B::Hooks::EndOfScope and Sub::Name.
Florian Ragwitz [Sat, 25 Oct 2008 17:44:18 +0000]
Add dependency for B::Hooks::EndOfScope and Sub::Name.

16 years agoVersion 0.003001.
Florian Ragwitz [Sat, 25 Oct 2008 10:38:58 +0000]
Version 0.003001.

16 years agousing :lvalue subs breaks the debugger, so I added a inc_offset method to Context...
Rhesa Rozendaal [Sat, 25 Oct 2008 10:32:32 +0000]
using :lvalue subs breaks the debugger, so I added a inc_offset method to Context::Simple

16 years agoVersion 0.003000.
Florian Ragwitz [Fri, 24 Oct 2008 21:26:27 +0000]
Version 0.003000.

16 years agoMerge branch 'context_object'
Florian Ragwitz [Fri, 24 Oct 2008 21:17:24 +0000]
Merge branch 'context_object'

16 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

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

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

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

16 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.

16 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.

16 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

16 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

16 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

16 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.

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

16 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.

16 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.

16 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

16 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.

16 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.

16 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

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

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

16 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.

16 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.

16 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.

16 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 ("

16 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.

16 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

16 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.

16 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.

16 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 *.

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

16 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

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

16 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.

16 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.

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