12 years agobe adaptive about deleting the realloc filter
Zefram [Wed, 1 Feb 2012 21:40:24 +0000]
be adaptive about deleting the realloc filter

Filters can only be deleted in the correct order (reverse of the order in
which they were added).  Insisting on deleting the filter would break if
another filter were added after ours and is still around.  Not deleting
the filter at all would break if another filter were added earlier and
attempts to delete itself later.  We can play nicely to the maximum
possible extent by deleting our filter iff it is currently deletable
(i.e., it is on the top of the filter stack).  Can still run into trouble
in more complex situations, but can't avoid that.

12 years agodocument that injecting newlines doesn't work
Zefram [Wed, 1 Feb 2012 20:31:02 +0000]
document that injecting newlines doesn't work

12 years agopartially substitute for unexported symbols
Zefram [Wed, 1 Feb 2012 19:59:05 +0000]
partially substitute for unexported symbols

We use two interpreter variables on Perl 5.8 that are not exported on
Windows.  Can work around the lack of export on multiplicity/threading
builds.

12 years agojump through hoops to avoid compiler warnings
Zefram [Thu, 8 Dec 2011 21:03:02 +0000]
jump through hoops to avoid compiler warnings

12 years agofix a C declaration after statement
Zefram [Thu, 8 Dec 2011 20:28:40 +0000]
fix a C declaration after statement

13 years agoVersion 0.006008 0.006008
Zefram [Sat, 5 Nov 2011 21:53:20 +0000]
Version 0.006008

13 years agoleave linestr prefix unchanged in toke_scan_str
Zefram [Sat, 5 Nov 2011 21:50:24 +0000]
leave linestr prefix unchanged in toke_scan_str

13 years agoVersion 0.006007 0.006007
Zefram [Mon, 12 Sep 2011 18:53:50 +0000]
Version 0.006007

13 years agogive D:D:Context::Simple a version number
Zefram [Mon, 12 Sep 2011 18:52:17 +0000]
give D:D:Context::Simple a version number

13 years agoinitialize earlier to help with string evals
Zefram [Sun, 11 Sep 2011 18:17:14 +0000]
initialize earlier to help with string evals

13 years agotoke_scan_str return undef for unterminated string
Zefram [Sun, 11 Sep 2011 17:44:38 +0000]
toke_scan_str return undef for unterminated string

13 years agoprevent toke_scan_str moving backward in linestr
Zefram [Sun, 11 Sep 2011 17:31:30 +0000]
prevent toke_scan_str moving backward in linestr

13 years agoavoid memory leak in toke_scan_str
Zefram [Sun, 11 Sep 2011 12:57:41 +0000]
avoid memory leak in toke_scan_str

13 years agocroak if reallocation occurs during scan_str
Zefram [Sun, 11 Sep 2011 12:56:17 +0000]
croak if reallocation occurs during scan_str

13 years agoadd MYMETA.{json,yml} to MANIFEST.SKIP and .gitignore
Zefram [Sun, 11 Sep 2011 10:10:47 +0000]
add MYMETA.{json,yml} to MANIFEST.SKIP and .gitignore

13 years agodepend on bugfixed B::Hooks::OP::Check 0.19
Zefram [Sun, 11 Sep 2011 10:09:19 +0000]
depend on bugfixed B::Hooks::OP::Check 0.19

13 years agoVersion 0.006006 0.006006
Florian Ragwitz [Tue, 23 Aug 2011 14:22:48 +0000]
Version 0.006006

13 years agoIncrease the default linestr size to avoid reallocations
Florian Ragwitz [Tue, 23 Aug 2011 14:19:55 +0000]
Increase the default linestr size to avoid reallocations

13 years agoVersion 0.006005 0.006005
Florian Ragwitz [Wed, 6 Jul 2011 13:31:09 +0000]
Version 0.006005

13 years agoMerge pull request #4 from clkao/master
Florian Ragwitz [Tue, 5 Jul 2011 19:16:27 +0000]
Merge pull request #4 from clkao/master

this makes it possible for silencing the 'redefine' warns

13 years agotests for redefined subroutine warnings.
Chia-liang Kao [Wed, 15 Jun 2011 03:28:46 +0000]
tests for redefined subroutine warnings.

13 years agouse the "redefine" warning flag when importing DD to determine if redefined subs...
Chia-liang Kao [Mon, 30 May 2011 08:20:55 +0000]
use the "redefine" warning flag when importing DD to determine if redefined subs should be warned

13 years agoVersion 0.006004 0.006004
Florian Ragwitz [Mon, 2 May 2011 09:25:27 +0000]
Version 0.006004

13 years agoMake sure we keep working with Devel::CallParser loaded
Florian Ragwitz [Mon, 2 May 2011 09:23:52 +0000]
Make sure we keep working with Devel::CallParser loaded

13 years agoBail out earlier when not lexing
Florian Ragwitz [Mon, 2 May 2011 09:23:31 +0000]
Bail out earlier when not lexing

13 years agoVersion 0.006003 0.006003
Florian Ragwitz [Tue, 12 Apr 2011 07:23:49 +0000]
Version 0.006003

13 years agoFix test failures on old perls
Florian Ragwitz [Tue, 12 Apr 2011 07:22:24 +0000]
Fix test failures on old perls

This also makes the tests much more similar to MXD, which they emulate. Thanks
Zefram for this patch.

13 years agoVersion 0.006002 0.006002
Florian Ragwitz [Fri, 8 Apr 2011 03:25:28 +0000]
Version 0.006002

13 years agoRe-instate linestr growing using filters
Florian Ragwitz [Fri, 8 Apr 2011 03:18:34 +0000]
Re-instate linestr growing using filters

This way very early linestr re-allocations will continue to work as they did
before. However, we still don't support growing within the first line that
loaded Devel::Declare.

13 years agoVersion 0.006001 0.006001
Florian Ragwitz [Sat, 26 Feb 2011 06:04:29 +0000]
Version 0.006001

13 years agoRe-alloc PL_linestr in block hooks, if available
Florian Ragwitz [Sat, 26 Feb 2011 05:52:08 +0000]
Re-alloc PL_linestr in block hooks, if available

This makes us work again on perl >= 5.13.7, where evaled strings are always
being copied.

Thanks Zefram.

14 years agoVersion 0.006000. 0.006000
Florian Ragwitz [Tue, 9 Mar 2010 01:52:33 +0000]
Version 0.006000.

14 years agoMake things work on 5.11.2 and newer.
Florian Ragwitz [Tue, 9 Mar 2010 01:48:10 +0000]
Make things work on 5.11.2 and newer.

14 years agoAdd tests for how MXMS uses D::D.
Florian Ragwitz [Tue, 9 Mar 2010 01:47:35 +0000]
Add tests for how MXMS uses D::D.

15 years agoFix warnins in fail.t.
Florian Ragwitz [Fri, 4 Sep 2009 03:29:26 +0000]
Fix warnins in fail.t.

15 years agoVersion 0.005011. 0.005011
Florian Ragwitz [Fri, 14 Aug 2009 00:18:02 +0000]
Version 0.005011.

15 years agoNo need to create an empty PV first.
Florian Ragwitz [Fri, 14 Aug 2009 00:01:19 +0000]
No need to create an empty PV first.

15 years agoUnTODO a passing test.
Florian Ragwitz [Thu, 13 Aug 2009 23:53:01 +0000]
UnTODO a passing test.

15 years agoDon't invoke the const callback for a keyword followed by a fat comma.
Florian Ragwitz [Thu, 13 Aug 2009 21:21:29 +0000]
Don't invoke the const callback for a keyword followed by a fat comma.

15 years agoTest for correct runtime behaviour of keyword + fat comma.
Florian Ragwitz [Thu, 13 Aug 2009 21:20:56 +0000]
Test for correct runtime behaviour of keyword + fat comma.

15 years agoMake the fat comma test more pathological.
Florian Ragwitz [Thu, 13 Aug 2009 21:20:33 +0000]
Make the fat comma test more pathological.

15 years agoDepend on a Test::More with done_testing support.
Florian Ragwitz [Thu, 13 Aug 2009 20:33:00 +0000]
Depend on a Test::More with done_testing support.

15 years agoAdd tests for not interpreting various things as barewords when they aren't.
Florian Ragwitz [Thu, 13 Aug 2009 20:30:15 +0000]
Add tests for not interpreting various things as barewords when they aren't.

15 years agoVersion 0.005010. 0.005010
Florian Ragwitz [Tue, 11 Aug 2009 20:50:06 +0000]
Version 0.005010.

15 years agoDon't invoke the linestr callback if we found a keyword and the bufptr still contains...
Florian Ragwitz [Tue, 11 Aug 2009 20:00:59 +0000]
Don't invoke the linestr callback if we found a keyword and the bufptr still contains an arrow at its beginning.

This means we're about to compile a method invocation, the tokenizer forced
parsing a word, and we got the const op of that.

I'm not too happy with this. I see how it can be useful to hook into those
places, but it should probably be a different feature of DD.

15 years agoVersion 0.005009. 0.005009
Florian Ragwitz [Mon, 10 Aug 2009 04:35:59 +0000]
Version 0.005009.

15 years agoStop mixing declarations with code.
Florian Ragwitz [Mon, 10 Aug 2009 04:29:50 +0000]
Stop mixing declarations with code.

15 years agoUpdate changelog with the version and the release date from last time around.
Florian Ragwitz [Mon, 10 Aug 2009 04:28:07 +0000]
Update changelog with the version and the release date from last time around.

15 years agoMove strip_attrs which is a purely parsing method down into the base class
nperez [Sun, 9 Aug 2009 00:16:09 +0000]
Move strip_attrs which is a purely parsing method down into the base class

15 years agoVersion 0.005008. 0.005008
Florian Ragwitz [Tue, 28 Jul 2009 06:30:19 +0000]
Version 0.005008.

15 years agoadd repository for META.yml
Florian Ragwitz [Tue, 28 Jul 2009 06:28:22 +0000]
add repository for META.yml

Conflicts:

Makefile.PL

15 years agonew versions of deps due to fixed ExtUtils::Depends
Alexandr Ciornii [Tue, 7 Jul 2009 06:46:02 +0000]
new versions of deps due to fixed ExtUtils::Depends

15 years agoMake DD_DEBUG handling more robust.
Florian Ragwitz [Tue, 28 Jul 2009 06:25:03 +0000]
Make DD_DEBUG handling more robust.

15 years agoConditionally expand linestrings under perl debugger.
Ash Berlin [Tue, 14 Jul 2009 20:20:29 +0000]
Conditionally expand linestrings under perl debugger.

15 years agoVersion 0.005007 0.005007
Ash Berlin [Tue, 14 Jul 2009 08:24:57 +0000]
Version 0.005007

15 years agoBrackets needed on OSX/5.8.8
Ash Berlin [Fri, 10 Jul 2009 20:37:15 +0000]
Brackets needed on OSX/5.8.8

15 years agoChangelog for line number fix
Ash Berlin [Fri, 10 Jul 2009 19:17:47 +0000]
Changelog for line number fix

15 years agoMake the toke.c functions always operate on PL_compiling, even if we call them at...
Florian Ragwitz [Fri, 10 Jul 2009 10:31:33 +0000]
Make the toke.c functions always operate on PL_compiling, even if we call them at runtime.

This fixes the broken line numbers. Thanks Ash Berlin, for working this out!

15 years agoVersion 0.005006. 0.005006
Florian Ragwitz [Sun, 7 Jun 2009 11:01:50 +0000]
Version 0.005006.

15 years agoFix compilation on 5.8.
Florian Ragwitz [Sun, 7 Jun 2009 11:00:06 +0000]
Fix compilation on 5.8.

15 years agoVersion 0.005005. 0.005005
Florian Ragwitz [Fri, 5 Jun 2009 14:01:15 +0000]
Version 0.005005.

15 years agoMerge branch 'master' into mad mad
Florian Ragwitz [Fri, 5 Jun 2009 13:34:29 +0000]
Merge branch 'master' into mad

* master:
  Version 0.005004.
  Don't define MEM_WRAP_CHECK_ if it's already there.
  Version 0.005003.
  Properly ignore dist tarballs.
  Fail hard if strip_names_and_args fails.
  Add copyright notice for stolen_chunk_of_toke.c.
  Add .gitignore.
  TODO failing tests.
  Add strip_names_and_args
  Failing tests for line number issues
  was 'assing', assuming it to be 'were passing'

Conflicts:
stolen_chunk_of_toke.c

15 years agoVersion 0.005004. 0.005004
Florian Ragwitz [Wed, 3 Jun 2009 10:41:44 +0000]
Version 0.005004.

15 years agoDon't define MEM_WRAP_CHECK_ if it's already there.
Florian Ragwitz [Fri, 29 May 2009 18:43:16 +0000]
Don't define MEM_WRAP_CHECK_ if it's already there.

Courtesy of Maik Fischer.

15 years agoVersion 0.005003. 0.005003
Florian Ragwitz [Sun, 24 May 2009 15:22:47 +0000]
Version 0.005003.

15 years agoProperly ignore dist tarballs.
Florian Ragwitz [Sun, 24 May 2009 15:21:55 +0000]
Properly ignore dist tarballs.

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 agoImprove compatibility with MAD-enabled perls.
Florian Ragwitz [Sat, 23 May 2009 20:12:14 +0000]
Improve compatibility with MAD-enabled perls.

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