3 years agodrop Package::Stash dependency master no-package-stash
Graham Knop [Tue, 22 Dec 2020 13:00:19 +0000]
drop Package::Stash dependency

Package::Stash refuses to work with package names that are valid, and
can break on earlier perls. Rather than working around this, just work
with the symbol tree manually. Using Package::Stash doesn't make the
code significantly cleaner or easier to understand. Additionally,
Package::Stash brings in a larger dependency tree than is reasonable for
the work it does.

5 years agoclean up debugger environment before testing with it
Graham Knop [Tue, 30 Oct 2018 17:21:39 +0000]
clean up debugger environment before testing with it

The perl debugger uses various environment variables to configure
itself, or pick which debugger to use.  Clean up those environment
variables before activating the debugger so that it behaves predictably.

Fixes RT#127516

7 years agoAdjust gitignore - we do track inc/ as of 58cd9d45
Peter Rabbitson [Thu, 19 May 2016 19:10:46 +0000]
Adjust gitignore - we do track inc/ as of 58cd9d45

7 years agoVersion 0.27 0.27
Peter Rabbitson [Wed, 18 May 2016 02:27:16 +0000]
Version 0.27

7 years agoWork around the upcoming -Dfortify_inc :/
Peter Rabbitson [Tue, 17 May 2016 14:45:40 +0000]
Work around the upcoming -Dfortify_inc :/

7 years agoSwitch to EU::HC (with an inc::latest-like approach)
Peter Rabbitson [Sun, 10 Apr 2016 03:04:16 +0000]
Switch to EU::HC (with an inc::latest-like approach)

Implement semi-elaborate Makefile.PL boilerplate for EU::HC use. While at
this point EU::HC seems rather stable, it still hasn't settled enough for
complete comfort.

This allow loading of "more-recent-than INC", in order to decrease amount of
needed release churn to work around newly-found problems.

7 years agoFix silly inconsistency in docs from 253c58bc
Peter Rabbitson [Tue, 17 May 2016 10:30:35 +0000]
Fix silly inconsistency in docs from 253c58bc

8 years agoRemove incorrect SKIP for 5.8.1
Peter Rabbitson [Sun, 10 Apr 2016 08:55:31 +0000]
Remove incorrect SKIP for 5.8.1

The reason this test failed is srictly the construct of the test itself, and
not part of namespace::clean's functionality. reqiure() in list-assign context
combined with an @INC coderef hook would result in visible stack corruption
as per http://www.nntp.perl.org/group/perl.perl5.porters/2003/10/msg83192.html

8 years agoAllow packages to be cleaned multiple times mirror/master
Graham Knop [Fri, 24 Oct 2014 19:29:06 +0000]
Allow packages to be cleaned multiple times

Originally the functionality was implmented via Filter::Util::Call, but when
it was removed in [1] the "one per scope" logic remained. Given the reliance
on B::Hooks::EndOfScope none of this is longer required.

[1] https://metacpan.org/diff/file?target=PHAYLON%2Fnamespace-clean-0.07%2Flib%2Fnamespace%2Fclean.pm&source=PHAYLON%2Fnamespace-clean-0.06%2Flib%2Fnamespace%2Fclean.pm

8 years agoSwitch to GH url in meta for metacpan's sake
Peter Rabbitson [Sun, 10 Apr 2016 02:09:31 +0000]
Switch to GH url in meta for metacpan's sake

See how it behaves when url/web mismatch during a trial, will fix properly
if a priblem

8 years agoRestrict debugger workaround to when DB::sub will be used
Graham Knop [Wed, 7 Oct 2015 22:49:34 +0000]
Restrict debugger workaround to when DB::sub will be used

The issues with the debugger only arise when DB::sub will be called.
Since the workaround requires XS modules, avoid it unless actually
needed.  This avoids XS prereqs when using modules like Devel::Confess
that use debugger features but don't require the workaround.

8 years agoDitch done_testing - less Test::More upgrade-churn
Peter Rabbitson [Tue, 1 Mar 2016 20:13:46 +0000]
Ditch done_testing - less Test::More upgrade-churn

8 years agoMake sure t/10-pure-perl.t runs are identical regardless of invocation
Peter Rabbitson [Sun, 10 Apr 2016 00:26:08 +0000]
Make sure t/10-pure-perl.t runs are identical regardless of invocation

Previously `prove -lr ./t` would trip things up

8 years agoGet tests running under -T (cosmetics only)
Peter Rabbitson [Sun, 11 Oct 2015 03:14:01 +0000]
Get tests running under -T (cosmetics only)

8 years agoMake sure $] checks run correctly (another thing my smokers didn't catch)
Peter Rabbitson [Fri, 9 Oct 2015 11:09:36 +0000]
Make sure $] checks run correctly (another thing my smokers didn't catch)

8 years agoFix thinko from 18377f5b (RT#107813)
Peter Rabbitson [Tue, 1 Mar 2016 17:09:57 +0000]
Fix thinko from 18377f5b (RT#107813)

8 years agoVersion 0.26 0.26
Peter Rabbitson [Wed, 7 Oct 2015 17:44:57 +0000]
Version 0.26

8 years agoExplicitly document the late runtime binding of `sort SUBNAME ...`
Peter Rabbitson [Wed, 7 Oct 2015 17:42:23 +0000]
Explicitly document the late runtime binding of `sort SUBNAME ...`

8 years agoRewrap Changes to be more compatible with metacpan
Peter Rabbitson [Wed, 7 Oct 2015 06:56:01 +0000]
Rewrap Changes to be more compatible with metacpan

This commit should have never existed - the way metacpan tries to parse the
changelogs is broken in the first place, on a very deep conceptual level.
Nevertheless, compromising for the sake of readability.

8 years agoSwitch around the preference of S::U / S::N
Peter Rabbitson [Wed, 7 Oct 2015 06:16:10 +0000]
Switch around the preference of S::U / S::N

This makes the code more complex, but will save on loading the rather heavy
B set of modules in case Sub::Util is in fact available

8 years agoStreamline meta etc
Peter Rabbitson [Mon, 28 Sep 2015 06:52:07 +0000]
Streamline meta etc

8 years agoNo idea why $DebuggerFixup was originally introduced - fold it back
Peter Rabbitson [Mon, 28 Sep 2015 04:34:24 +0000]
No idea why $DebuggerFixup was originally introduced - fold it back

Also clarify Father C's original comment

8 years agoMake sure to exercise P::S::PP under t/10-pure-perl.t
Peter Rabbitson [Mon, 28 Sep 2015 06:21:16 +0000]
Make sure to exercise P::S::PP under t/10-pure-perl.t

8 years agoReign in XS portions needed for certain perls under debugging, several things:
Peter Rabbitson [Mon, 28 Sep 2015 05:59:16 +0000]
Reign in XS portions needed for certain perls under debugging, several things:

- Do not rely on Sub::Identify at all (it is too finicky) - either use
  Sub::Util::subname if already loaded, or just use B (RT#96945)

- Allow either Sub::Name or Sub::Util to be used for namings

- Only add Sub::Name to the install list if neither Sub::* is available

- Clarify constant names, move them to _Util, make sure we use them everywhere

- Make sure that t/07-debugger.t runs on all perls, including the ones not
  needing the XS dance

8 years agoAdd an once-and-for-all workaround for Package::Stash::XS + =< 5.8.6
Peter Rabbitson [Sun, 27 Sep 2015 15:29:43 +0000]
Add an once-and-for-all workaround for Package::Stash::XS + =< 5.8.6

The simple workaround in ac5c00e9 got broken by P::S::XS 0.36. Since at this
point this is more or less a pattern, add a ridiculous-ish workaround forcing
Package::Stash::PP-only on perls under 5.8.7.

While not ideal, the benefits of ::XS are virtually invisible in this use case
and moreover there is work underway to fix ::XS once and for all. Thus the
commit is considered a viable temporary measure to stave off further errors.

8 years agoEject pod to the end of the file
Peter Rabbitson [Sun, 27 Sep 2015 08:13:54 +0000]
Eject pod to the end of the file

The current file structure is very chaotic, electing to move POD out out of the
way before doing any further changes

`git blame -M` is smart enough to preserve authorship etc in such cases

10 years agoVersion 0.25 0.25
Peter Rabbitson [Wed, 5 Mar 2014 11:26:15 +0000]
Version 0.25

10 years agocorrect EU::CBuilder check
Graham Knop [Fri, 17 Jan 2014 04:09:57 +0000]
correct EU::CBuilder check

11 years agoReorganize PP test to fail comprehensibly on failed prereqs
Peter Rabbitson [Sun, 9 Dec 2012 04:30:16 +0000]
Reorganize PP test to fail comprehensibly on failed prereqs

Prompted by http://www.cpantesters.org/cpan/report/33f54a42-3f59-11e2-b03f-503131b64f85

11 years agoVersion 0.24 0.24
Peter Rabbitson [Tue, 4 Dec 2012 22:56:51 +0000]
Version 0.24

11 years agoB::H::EOS is now PP-capable on its own
Peter Rabbitson [Fri, 23 Nov 2012 15:44:43 +0000]
B::H::EOS is now PP-capable on its own

11 years agoFix tests on space-containing paths RT#77528
Peter Rabbitson [Fri, 23 Nov 2012 17:26:05 +0000]
Fix tests on space-containing paths RT#77528

11 years agoProperly skip debugger test when optional deps not available
Peter Rabbitson [Fri, 23 Nov 2012 17:24:29 +0000]
Properly skip debugger test when optional deps not available

12 years agoVersion 0.23 0.23
Peter Rabbitson [Sun, 11 Mar 2012 15:05:34 +0000]
Version 0.23

12 years agoBump dep to B::Hooks::EndOfScope 0.10
Tomas Doran [Fri, 17 Feb 2012 07:53:35 +0000]
Bump dep to B::Hooks::EndOfScope 0.10

12 years agoFix failures on 5.13.6, RT#74683, Zefram++
Peter Rabbitson [Sun, 5 Feb 2012 13:20:11 +0000]
Fix failures on 5.13.6, RT#74683, Zefram++

12 years agoVersion 0.22 0.22
Peter Rabbitson [Mon, 26 Dec 2011 13:01:03 +0000]
Version 0.22

12 years agoWhoops, more hidden packages
Peter Rabbitson [Thu, 22 Dec 2011 23:16:24 +0000]
Whoops, more hidden packages

12 years agoSimplify even more - we don't care about context anymore
Peter Rabbitson [Thu, 22 Dec 2011 23:12:04 +0000]
Simplify even more - we don't care about context anymore

12 years agoEven more simplifications of the PP callback
Peter Rabbitson [Thu, 22 Dec 2011 22:54:09 +0000]
Even more simplifications of the PP callback

12 years agoAnother devrel to see how happy smokers are
Peter Rabbitson [Thu, 22 Dec 2011 11:36:37 +0000]
Another devrel to see how happy smokers are

12 years agoRun the PP tests with or without Devek::Hide
Peter Rabbitson [Thu, 22 Dec 2011 11:20:59 +0000]
Run the PP tests with or without Devek::Hide

12 years agoThe real fix for RT#73402 (abaondon tie %^H entirely), FC++
Peter Rabbitson [Thu, 22 Dec 2011 11:15:20 +0000]
The real fix for RT#73402 (abaondon tie %^H entirely), FC++

12 years agoDisable the debugger fixup entirely on perl 5.15.5+
Peter Rabbitson [Thu, 22 Dec 2011 09:43:45 +0000]
Disable the debugger fixup entirely on perl 5.15.5+

12 years agoDo not rerun PP tests twice if the envvar is set
Peter Rabbitson [Thu, 22 Dec 2011 09:29:40 +0000]
Do not rerun PP tests twice if the envvar is set

12 years agoTrial release to smoketest the hinthash handling changes
Peter Rabbitson [Wed, 21 Dec 2011 11:39:11 +0000]
Trial release to smoketest the hinthash handling changes

12 years agoFix careless handling of the hinthash in PP mode (RT#73402)
Peter Rabbitson [Wed, 21 Dec 2011 11:33:54 +0000]
Fix careless handling of the hinthash in PP mode (RT#73402)

12 years agoAdd an envvar to make it easier to smoke the PP codepath
Peter Rabbitson [Wed, 21 Dec 2011 10:26:20 +0000]
Add an envvar to make it easier to smoke the PP codepath
Still use Devel::Hide for the actual testing, as to not mask breakage
of the B::H::EOS detector

12 years agoInstall the debugger fixup deps iff can_cc (RT#72368)
Peter Rabbitson [Wed, 21 Dec 2011 10:05:36 +0000]
Install the debugger fixup deps iff can_cc (RT#72368)

12 years agoP::S::XS buggery strikes again
Peter Rabbitson [Wed, 21 Dec 2011 09:51:04 +0000]
P::S::XS buggery strikes again

12 years agoFix all debugger issues from perl 5.8.1 on FC++ (RT#69862)
Peter Rabbitson [Wed, 21 Dec 2011 09:37:45 +0000]
Fix all debugger issues from perl 5.8.1 on FC++ (RT#69862)

12 years agoignore mymetas
Peter Rabbitson [Wed, 21 Dec 2011 09:37:07 +0000]
ignore mymetas

12 years agoAdd dropped NAME pod section (RT#70259)
Peter Rabbitson [Wed, 21 Dec 2011 09:07:04 +0000]
Add dropped NAME pod section (RT#70259)

12 years agoVersion 0.21 0.21
Peter Rabbitson [Wed, 3 Aug 2011 21:23:20 +0000]
Version 0.21

12 years agoBuild correct meta, not including B::H::EOS
Peter Rabbitson [Wed, 3 Aug 2011 21:46:15 +0000]
Build correct meta, not including B::H::EOS

12 years agoStrictures and changelogging
Peter Rabbitson [Wed, 3 Aug 2011 21:04:54 +0000]
Strictures and changelogging

12 years agoTry harder to detect tie(%^H) clashes
Peter Rabbitson [Wed, 3 Aug 2011 20:19:27 +0000]
Try harder to detect tie(%^H) clashes

12 years agoClarification as per doy's request
Peter Rabbitson [Wed, 3 Aug 2011 19:49:48 +0000]
Clarification as per doy's request

12 years agoFix borked git url
Peter Rabbitson [Mon, 1 Aug 2011 14:02:56 +0000]
Fix borked git url

12 years agoTrial release preparing for pure-perl-capable 0.21
Peter Rabbitson [Sun, 31 Jul 2011 09:25:40 +0000]
Trial release preparing for pure-perl-capable 0.21

12 years agoDe-dzilify. This may look odd and borderline revolting - read on
Peter Rabbitson [Sun, 31 Jul 2011 03:28:30 +0000]
De-dzilify. This may look odd and borderline revolting - read on

Currently available dzil plugins do not offer the dynconfig flexibility
that this module requires. Instead of taking a 2 day course in dzil
internals, I opted for using a tool I know to accomplish the same task.

I have absolutely no problem with someone reverting this commit and re-
doing things in dzil, as long as the resulting Makefile.PL is functionally
equivalent. Some points:

* Dzil's autorequires can't possibly understand what an optional dep is
  This is an easy fix - just specify all deps manually

* There is no plugin for "require list depending on can_cc". Package::Stash
  does something to the effect, but with some sort of hack I am not entirely
  capable of comprehending

* There is no plugin to "require list depending on smoking env", nor there
  is an easy mechanism (that I see) of combining it with the above

12 years agoPure-perlize
Peter Rabbitson [Tue, 26 Jul 2011 18:47:49 +0000]
Pure-perlize

12 years agoSpellfixoring RT#54388
Peter Rabbitson [Wed, 27 Jul 2011 08:55:04 +0000]
Spellfixoring RT#54388

12 years agoThis used to fail with old V::M, add it to make sure it behaves under PP
Jason Kohles [Mon, 16 Feb 2009 22:33:25 +0000]
This used to fail with old V::M, add it to make sure it behaves under PP

12 years agoMoar stresstesting
Peter Rabbitson [Tue, 26 Jul 2011 13:21:02 +0000]
Moar stresstesting

12 years agoOnly ask for debugger bits when debugger detected
Peter Rabbitson [Tue, 26 Jul 2011 14:57:49 +0000]
Only ask for debugger bits when debugger detected

12 years agoMini $RemoveSubs refactoring: less loops, less concat
Olivier Mengué [Sun, 8 May 2011 13:54:27 +0000]
Mini $RemoveSubs refactoring: less loops, less concat

Small refactoring in $RemoveSubs in the cleanup of the GLOB entry:
- grep for undefined symbols just once
- less string concatenation

13 years agoVersion 0.20 0.20
Florian Ragwitz [Thu, 6 Jan 2011 18:06:46 +0000]
Version 0.20

13 years agoBump Package::Stash dependency to 0.22
Florian Ragwitz [Thu, 6 Jan 2011 18:04:52 +0000]
Bump Package::Stash dependency to 0.22

This pulls in a bugfix in Package::Stash::XS 0.19.

13 years agoVersion 0.19 0.19
Florian Ragwitz [Mon, 3 Jan 2011 16:30:49 +0000]
Version 0.19

13 years agoRemove back-compat for old Package::Stash versions
Florian Ragwitz [Mon, 3 Jan 2011 16:28:25 +0000]
Remove back-compat for old Package::Stash versions

0.18 is stable and doesn't have the deprecation warnings for the old API
methods. That makes it safe for us to depend on it because the upgrade won't
break existing code using it, such as Moose.

13 years agowork with new package::stash api
Jesse Luehrs [Sun, 2 Jan 2011 11:56:54 +0000]
work with new package::stash api

13 years agodon't rely on package::stash's remove_package_symbol implementation
Jesse Luehrs [Sat, 13 Nov 2010 21:13:18 +0000]
don't rely on package::stash's remove_package_symbol implementation

13 years agoVersion 0.18 0.18
Florian Ragwitz [Sun, 13 Jun 2010 17:10:38 +0000]
Version 0.18

13 years agovivify the storage var manually
Jesse Luehrs [Sun, 13 Jun 2010 16:44:14 +0000]
vivify the storage var manually

13 years agoVersion 0.17 0.17
Florian Ragwitz [Sat, 5 Jun 2010 23:13:22 +0000]
Version 0.17

13 years agoAllow the debugger test to be skipped early
Florian Ragwitz [Sat, 5 Jun 2010 23:07:20 +0000]
Allow the debugger test to be skipped early

Loading the debugger often goes wrong, so it's important we skip the
test before it gets loaded.

13 years agoVersion 0.16 0.16
Florian Ragwitz [Sat, 5 Jun 2010 20:52:02 +0000]
Version 0.16

13 years agoStop declaring unused variables
Florian Ragwitz [Sat, 5 Jun 2010 20:51:34 +0000]
Stop declaring unused variables

13 years agoCredit doy
Florian Ragwitz [Sat, 5 Jun 2010 20:49:22 +0000]
Credit doy

13 years agoConvert to Dist::Zilla
Florian Ragwitz [Sat, 5 Jun 2010 20:47:21 +0000]
Convert to Dist::Zilla

13 years agochangelog and version bump 0.15
Jesse Luehrs [Fri, 14 May 2010 17:27:05 +0000]
changelog and version bump

13 years agos/Stash::Manip/Package::Stash/g
Jesse Luehrs [Fri, 14 May 2010 16:52:21 +0000]
s/Stash::Manip/Package::Stash/g

13 years agoadjust deps and add changelog
Jesse Luehrs [Wed, 12 May 2010 22:47:37 +0000]
adjust deps and add changelog

13 years agostart converting to use Stash::Manip
Jesse Luehrs [Tue, 11 May 2010 07:48:37 +0000]
start converting to use Stash::Manip

14 years agoVersion 0.14. 0.14
Florian Ragwitz [Thu, 18 Mar 2010 10:17:12 +0000]
Version 0.14.

14 years agoTurn the very faily debugger test into an author test.
Florian Ragwitz [Thu, 18 Mar 2010 10:14:52 +0000]
Turn the very faily debugger test into an author test.

14 years agoRemove auto_install for mbm as using git is 'too much yak hair'.
Tomas Doran (t0m) [Tue, 16 Mar 2010 17:08:07 +0000]
Remove auto_install for mbm as using git is 'too much yak hair'.

14 years agoVersion 0.13. 0.13
Florian Ragwitz [Sun, 17 Jan 2010 01:42:24 +0000]
Version 0.13.

14 years agoSkip failing debugger tests on 5.8.8 and older.
Florian Ragwitz [Sun, 17 Jan 2010 01:40:26 +0000]
Skip failing debugger tests on 5.8.8 and older.

14 years agoVersion 0.12. 0.12
Florian Ragwitz [Thu, 14 Jan 2010 02:23:28 +0000]
Version 0.12.

14 years agoRemove auto-generated README.
Florian Ragwitz [Thu, 14 Jan 2010 02:19:44 +0000]
Remove auto-generated README.

14 years agoStop relying on stash entries always being upgraded into real GVs.
Florian Ragwitz [Thu, 14 Jan 2010 01:51:59 +0000]
Stop relying on stash entries always being upgraded into real GVs.

14 years agowork around $DB::sub
Yuval Kogman [Wed, 23 Sep 2009 15:20:31 +0000]
work around $DB::sub

The variable is a string which is dereferenced as a sub that no longer
exists.

When we delete the glob where the sub was defined, we therefore alias it
to "namespace::clean::deleted::$fq" so that the debugger can still
dereference a symbolic ref and get back a working subroutine

14 years agoFix restoring of non-code symbols when cleaning.
Florian Ragwitz [Sat, 11 Jul 2009 15:31:30 +0000]
Fix restoring of non-code symbols when cleaning.

Curtesy of Ben Morrows.

14 years agoAdd testcase for clobbering globs when trying to restore them.
Florian Ragwitz [Tue, 30 Jun 2009 05:10:50 +0000]
Add testcase for clobbering globs when trying to restore them.

Courtesy of Ben Morrows.

15 years agoVersion 0.11. 0.11
Florian Ragwitz [Tue, 3 Mar 2009 16:39:12 +0000]
Version 0.11.

15 years agoAdd reference to RT ticket the recent changes fix.
Florian Ragwitz [Tue, 3 Mar 2009 16:32:31 +0000]
Add reference to RT ticket the recent changes fix.

15 years agoupdated README
Robert 'phaylon' Sedlacek [Tue, 3 Mar 2009 16:20:31 +0000]
updated README

15 years agoremoval subroutine named clean_subroutines, not remove_subroutines
Robert 'phaylon' Sedlacek [Tue, 3 Mar 2009 16:18:45 +0000]
removal subroutine named clean_subroutines, not remove_subroutines