Login
gknop/Perl-Critic.git
15 years agoAdded test for legit-but-falsely-identified-as-bad form of bless, with a fat comma
Andy Lester [Fri, 14 Jul 2006 22:15:13 +0000 (22:15 +0000)] 
Added test for legit-but-falsely-identified-as-bad form of bless, with a fat comma

15 years ago0.05
Josh ben Jore [Fri, 14 Jul 2006 14:10:11 +0000 (14:10 +0000)] 
0.05
  * perlcritic-bin invocation now shown in output.
  * Fixed indentation
  * perlcritic-region is now interactive.

15 years agoMinor textual cleanup on docs for policies A-M
Andy Lester [Fri, 14 Jul 2006 05:44:25 +0000 (05:44 +0000)] 
Minor textual cleanup on docs for policies A-M

15 years agoAdded perlcritic minor-mode for emacs. Contributed by Josh ben Jore.
Jeffrey Ryan Thalhammer [Fri, 14 Jul 2006 04:08:55 +0000 (04:08 +0000)] 
Added perlcritic minor-mode for emacs.  Contributed by Josh ben Jore.

15 years agoAdd TODO entry for RT #20439 (rules for $VERSION construction)
Chris Dolan [Thu, 13 Jul 2006 15:00:03 +0000 (15:00 +0000)] 
Add TODO entry for RT #20439 (rules for $VERSION construction)

15 years agoFix the third-party policy issues right this time
Chris Dolan [Wed, 12 Jul 2006 06:14:13 +0000 (06:14 +0000)] 
Fix the third-party policy issues right this time

15 years agoCode changes to comply with Perl::Critic::Bangs
Chris Dolan [Wed, 12 Jul 2006 05:35:48 +0000 (05:35 +0000)] 
Code changes to comply with Perl::Critic::Bangs

15 years agoAvoid failures triggered by the presence of installed third-party
Chris Dolan [Wed, 12 Jul 2006 05:33:50 +0000 (05:33 +0000)] 
Avoid failures triggered by the presence of installed third-party
policies.

15 years agoBugfix: _find_home_dir was mistakenly returning 'HOME' instead of $ENV{HOME}
Chris Dolan [Wed, 12 Jul 2006 04:15:32 +0000 (04:15 +0000)] 
Bugfix: _find_home_dir was mistakenly returning 'HOME' instead of $ENV{HOME}

15 years agoBetter support for
Chris Dolan [Tue, 11 Jul 2006 21:46:11 +0000 (21:46 +0000)] 
Better support for
  perlcritic < file.pm
Thanks to Joshua ben Jore for this idea and initial patch

15 years agoIncreased VERSION to 0.18. Hopefully, this will be the last release before going...
Jeffrey Ryan Thalhammer [Tue, 4 Jul 2006 18:42:26 +0000 (18:42 +0000)] 
Increased VERSION to 0.18.  Hopefully, this will be the last release before going to 1.0.  Also mentioned perlcritic.com in the docs.

15 years agoUpdated Changes file.
Jeffrey Ryan Thalhammer [Tue, 4 Jul 2006 03:38:07 +0000 (03:38 +0000)] 
Updated Changes file.

15 years agoFixed bug #20254: http://rt.cpan.org/Ticket/Display.html?id=20254
Jeffrey Ryan Thalhammer [Tue, 4 Jul 2006 03:31:38 +0000 (03:31 +0000)] 
Fixed bug #20254: rt.cpan.org/Ticket/Display.html?id=20254

15 years agoNote some ideas that arose at YAPC
Chris Dolan [Mon, 3 Jul 2006 21:35:22 +0000 (21:35 +0000)] 
Note some ideas that arose at YAPC

15 years agoOptionally use File::HomeDir to locate the perlcriticrc file. If
Jeffrey Ryan Thalhammer [Mon, 3 Jul 2006 05:57:06 +0000 (05:57 +0000)] 
Optionally use File::HomeDir to locate the perlcriticrc file.  If
File::HomeDir is not installed, we revert to searching environment
variables.

15 years agoDocumentation edits
Jeffrey Ryan Thalhammer [Mon, 3 Jul 2006 03:28:39 +0000 (03:28 +0000)] 
Documentation edits

15 years ago* Add TODO for error checking in .perlcriticrc
Chris Dolan [Sat, 24 Jun 2006 06:39:29 +0000 (06:39 +0000)] 
* Add TODO for error checking in .perlcriticrc
* Fix doc error

15 years agoFix PBP page numbers [RT bug 20060]
Chris Dolan [Fri, 23 Jun 2006 18:05:43 +0000 (18:05 +0000)] 
Fix PBP page numbers [RT bug 20060]

15 years agoFixed bug in RequireUseString & RequireUseWarnings. Both Policies
Jeffrey Ryan Thalhammer [Tue, 20 Jun 2006 10:17:33 +0000 (10:17 +0000)] 
Fixed bug in RequireUseString & RequireUseWarnings.  Both Policies
were complaining about stuff after __END__ and __DATA__ statements.
Since that stuff isn't code, it shouldn't be considered a violaton.

15 years agoSprinkled in a couple tests. Test coverage is now at 92.9%.
Jeffrey Ryan Thalhammer [Sun, 18 Jun 2006 06:15:44 +0000 (06:15 +0000)] 
Sprinkled in a couple tests.  Test coverage is now at 92.9%.

15 years agoEdits and updates for DEVELOPER.pod
Chris Dolan [Fri, 16 Jun 2006 14:19:31 +0000 (14:19 +0000)] 
Edits and updates for DEVELOPER.pod

15 years agoMore documentation edits
Jeffrey Ryan Thalhammer [Fri, 16 Jun 2006 07:13:52 +0000 (07:13 +0000)] 
More documentation edits

15 years agoDocumentation edits.
Jeffrey Ryan Thalhammer [Fri, 16 Jun 2006 06:23:30 +0000 (06:23 +0000)] 
Documentation edits.

15 years agoSquashed subtle bug in RequireSimpleSortBlock v0.17
Jeffrey Ryan Thalhammer [Wed, 14 Jun 2006 05:29:36 +0000 (05:29 +0000)] 
Squashed subtle bug in RequireSimpleSortBlock

15 years agoRegenerated META and README files for v0.17 release. Added some
Jeffrey Ryan Thalhammer [Wed, 14 Jun 2006 04:31:17 +0000 (04:31 +0000)] 
Regenerated META and README files for v0.17 release.  Added some
details to the Changes files.  We're going ahead with the 0.17 release
now because it has a works around a bug in the latest version of
Module::Pluggable.

15 years agoWorkaround for bug in Module::Pluggable v3.01.
Chris Dolan [Tue, 13 Jun 2006 13:55:56 +0000 (13:55 +0000)] 
Workaround for bug in Module::Pluggable v3.01.
Fix old comment which implied that the policies needed to be
  alphabetized.

15 years agoTo help avoid problems with external, incompatible policy modules:
Chris Dolan [Mon, 12 Jun 2006 13:45:00 +0000 (13:45 +0000)] 
To help avoid problems with external, incompatible policy modules:
 1) Refuse to load Policy modules that don't comply with the basic
    Policy.pm API (namely, must support default_severity and
    applies_to methods).
 2) 01_config.t deliberately loads only from blib, if /blib/ is in
    @INC.

15 years agoAdd commented-out, failing test
Chris Dolan [Thu, 8 Jun 2006 17:55:07 +0000 (17:55 +0000)] 
Add commented-out, failing test

15 years agoAdd more entries to skipdirs, mainly for other revision control
Chris Dolan [Thu, 8 Jun 2006 17:49:46 +0000 (17:49 +0000)] 
Add more entries to skipdirs, mainly for other revision control
systems

15 years agoAdded no-critic comments so we pass our own perlcritic tests. Technically, the code...
Jeffrey Ryan Thalhammer [Thu, 8 Jun 2006 07:04:35 +0000 (07:04 +0000)] 
Added no-critic comments so we pass our own perlcritic tests.  Technically, the code is PBP compliant, but there is a bug in PPI that causes our C<sort> blocks to appear non-compliant.

15 years agoAdd new policy BuiltinFunctions::RequireSimpleSortBlock
Chris Dolan [Wed, 31 May 2006 02:18:07 +0000 (02:18 +0000)] 
Add new policy BuiltinFunctions::RequireSimpleSortBlock

15 years agoMove summary of bundled Policy modules into a separate POD file
Chris Dolan [Tue, 30 May 2006 00:26:56 +0000 (00:26 +0000)] 
Move summary of bundled Policy modules into a separate POD file

15 years agoTrivial: fix alphabetic sort of policy names
Chris Dolan [Mon, 29 May 2006 22:12:36 +0000 (22:12 +0000)] 
Trivial: fix alphabetic sort of policy names

15 years agoMinor TODO addition and typo correction
Chris Dolan [Thu, 25 May 2006 02:37:39 +0000 (02:37 +0000)] 
Minor TODO addition and typo correction

15 years agoRemoved completed items from TODO
Jeffrey Ryan Thalhammer [Thu, 25 May 2006 02:23:25 +0000 (02:23 +0000)] 
Removed completed items from TODO

15 years agoNew policy: ValuesAndExpressions::ProhibitEscapedCharacters
Chris Dolan [Thu, 25 May 2006 01:55:48 +0000 (01:55 +0000)] 
New policy: ValuesAndExpressions::ProhibitEscapedCharacters
  (from PBP p54)

15 years agoAdded functional interface to the critique() method in Perl::Critic.
Jeffrey Ryan Thalhammer [Wed, 24 May 2006 05:06:29 +0000 (05:06 +0000)] 
Added functional interface to the critique() method in Perl::Critic.
I'm not completely sure this is useful, but it seems like a neat idea.
So until I am convinced that it really is useful, I'm not going to
bother making the other methods functional too.

15 years agoIncreased VERSION to 0.17
Jeffrey Ryan Thalhammer [Tue, 23 May 2006 04:42:53 +0000 (04:42 +0000)] 
Increased VERSION to 0.17

15 years agoFixed typo in no-critic rgex
Jeffrey Ryan Thalhammer [Sun, 14 May 2006 23:37:12 +0000 (23:37 +0000)] 
Fixed typo in no-critic rgex

15 years agoRemoved fake test
Jeffrey Ryan Thalhammer [Sun, 14 May 2006 14:58:17 +0000 (14:58 +0000)] 
Removed fake test

15 years agoAdded fake test failure, just to see if my continuous integration
Jeffrey Ryan Thalhammer [Sun, 14 May 2006 14:51:47 +0000 (14:51 +0000)] 
Added fake test failure, just to see if my continuous integration
system works.

15 years agoPreparing for production release
Jeffrey Ryan Thalhammer [Sun, 14 May 2006 12:20:59 +0000 (12:20 +0000)] 
Preparing for production release

15 years agoDocumentation edits
Jeffrey Ryan Thalhammer [Sun, 14 May 2006 12:20:06 +0000 (12:20 +0000)] 
Documentation edits

15 years agoEnhanced the "##no critic" parser to support a more flexible and more
Jeffrey Ryan Thalhammer [Sun, 14 May 2006 12:14:15 +0000 (12:14 +0000)] 
Enhanced the "##no critic" parser to support a more flexible and more
perlish syntax.

15 years agoMore documentation edits.
Jeffrey Ryan Thalhammer [Sun, 14 May 2006 07:45:11 +0000 (07:45 +0000)] 
More documentation edits.

15 years agoDocumentation edits
Jeffrey Ryan Thalhammer [Fri, 12 May 2006 19:19:12 +0000 (19:19 +0000)] 
Documentation edits

15 years agoDocumentation edits
Jeffrey Ryan Thalhammer [Thu, 11 May 2006 07:46:06 +0000 (07:46 +0000)] 
Documentation edits

15 years agoPreparing for next production release:
Jeffrey Ryan Thalhammer [Tue, 9 May 2006 06:15:31 +0000 (06:15 +0000)] 
Preparing for next production release:

* Increased VERSION to 0.16
* Increased PPI dependency to 1.112.  This fixes 1 TODO test
* Removed the spelling test from the distro

15 years agoEnhanced the critique() function to take a PPI::Document as the
Jeffrey Ryan Thalhammer [Tue, 9 May 2006 05:15:46 +0000 (05:15 +0000)] 
Enhanced the critique() function to take a PPI::Document as the
argument.

15 years agoSet svnprops on new files
Jeffrey Ryan Thalhammer [Sat, 6 May 2006 06:35:04 +0000 (06:35 +0000)] 
Set svnprops on new files

15 years agoAdded new policy ProhibitVersionStrings
Jeffrey Ryan Thalhammer [Sat, 6 May 2006 06:33:20 +0000 (06:33 +0000)] 
Added new policy ProhibitVersionStrings

15 years agoAdded some non-PBP ideas to the TODO list
Jeffrey Ryan Thalhammer [Sat, 6 May 2006 05:24:35 +0000 (05:24 +0000)] 
Added some non-PBP ideas to the TODO list

15 years agoAdded documentation on new policy.
Jeffrey Ryan Thalhammer [Sat, 6 May 2006 04:51:42 +0000 (04:51 +0000)] 
Added documentation on new policy.

15 years agoWrote test cases for new ProhibitAutomaticExportation policy.
Jeffrey Ryan Thalhammer [Sat, 6 May 2006 04:15:02 +0000 (04:15 +0000)] 
Wrote test cases for new ProhibitAutomaticExportation policy.
Regenerated MANIFEST files.

15 years agoAdded ##no critic to pass our own criticize.t tests
Jeffrey Ryan Thalhammer [Fri, 5 May 2006 06:43:38 +0000 (06:43 +0000)] 
Added ##no critic to pass our own criticize.t tests

15 years agoAdjusted tests to keep the build clean. But I still need to write tests for the...
Jeffrey Ryan Thalhammer [Fri, 5 May 2006 06:36:59 +0000 (06:36 +0000)] 
Adjusted tests to keep the build clean.  But I still need to write tests for the new policies

15 years agoAdded new policy ProhibitAutomaticExportation. I still need to write tests for this
Jeffrey Ryan Thalhammer [Fri, 5 May 2006 06:25:43 +0000 (06:25 +0000)] 
Added new policy ProhibitAutomaticExportation.  I still need to write tests for this

15 years agoCorrected page number in PBP citation
Jeffrey Ryan Thalhammer [Fri, 5 May 2006 04:56:19 +0000 (04:56 +0000)] 
Corrected page number in PBP citation

15 years agoCleaning up code to be self-compliant
Jeffrey Ryan Thalhammer [Thu, 4 May 2006 05:18:47 +0000 (05:18 +0000)] 
Cleaning up code to be self-compliant

15 years agoAdded some new details about the C<cmp> hack.
Jeffrey Ryan Thalhammer [Thu, 4 May 2006 04:05:44 +0000 (04:05 +0000)] 
Added some new details about the C<cmp> hack.

15 years agoThis is a *failing* test for ProhibitUnreachableCode. Just comment it
Chris Dolan [Wed, 3 May 2006 20:25:43 +0000 (20:25 +0000)] 
This is a *failing* test for ProhibitUnreachableCode.  Just comment it
out if you don't want to fix it right now...

15 years agoRemoved redundant documentation section
Jeffrey Ryan Thalhammer [Wed, 3 May 2006 19:52:56 +0000 (19:52 +0000)] 
Removed redundant documentation section

15 years agoAdd a couple of more tests for ProhibitUnreachableCode:
Chris Dolan [Wed, 3 May 2006 13:32:36 +0000 (13:32 +0000)] 
Add a couple of more tests for ProhibitUnreachableCode:
  * BEGIN blocks count as subs and are OK
  * "use" statements are forbidden, even though they are compile-time scheduled
    - Is this OK?  I debated this with myself for a while...

15 years agoRewrote part of ProhibitUnreachableCode because it was hitting
Jeffrey Ryan Thalhammer [Wed, 3 May 2006 05:36:41 +0000 (05:36 +0000)] 
Rewrote part of ProhibitUnreachableCode because it was hitting
false-negatives.  It's still not completely bullet-proof.

15 years agoAdded ProhibitUnreachableCode policy. This was written by one of my coworkers
Jeffrey Ryan Thalhammer [Wed, 3 May 2006 00:01:36 +0000 (00:01 +0000)] 
Added ProhibitUnreachableCode policy.  This was written by one of my coworkers

15 years agoChanged the ##no critic implementation to _not_ eval the code.
Jeffrey Ryan Thalhammer [Mon, 1 May 2006 04:04:06 +0000 (04:04 +0000)] 
Changed the ##no critic implementation to _not_ eval the code.
This keeps P::C safe from malicious code.

15 years agoAdded a few more ideas to the TODO list
Jeffrey Ryan Thalhammer [Sat, 29 Apr 2006 07:09:16 +0000 (07:09 +0000)] 
Added a few more ideas to the TODO list

15 years agoIncreased VERSION to 0.15_03.
Jeffrey Ryan Thalhammer [Sat, 29 Apr 2006 06:36:18 +0000 (06:36 +0000)] 
Increased VERSION to 0.15_03.
Added to the TODO list.

15 years agoAdded workaround for perls that don't seem to do overloading properly.
Jeffrey Ryan Thalhammer [Sat, 29 Apr 2006 06:25:36 +0000 (06:25 +0000)] 
Added workaround for perls that don't seem to do overloading properly.
This was reported on perl 5.8.4, but I don't know if it may exist on
other versions.  This fix was submitted by someone who has 5.8.4:

  sub _compare {return "".shift cmp "".shift}

But I implemented it a bit differently so I don't know if mine
actually works.

15 years agoMoved subroutines for finding perl files into Perl::Critic::Utils
Jeffrey Ryan Thalhammer [Sat, 29 Apr 2006 06:11:15 +0000 (06:11 +0000)] 
Moved subroutines for finding perl files into Perl::Critic::Utils
so I can share the code with Test::Perl::Critic.

Ultimately, I want to push this entire functionality directly
into Perl::Critic to make the module API more powerful.

15 years agoFixed the no-critic comments to allow the disabling of just the subroutine name....
Jeffrey Ryan Thalhammer [Tue, 25 Apr 2006 07:39:32 +0000 (07:39 +0000)] 
Fixed the no-critic comments to allow the disabling of just the subroutine name.  This is necessary if you have an API that requires you to declare a subroutine with the same name as a builtin function.

15 years agoAdd some wishes for new, non-PBP policies
Chris Dolan [Mon, 24 Apr 2006 20:16:34 +0000 (20:16 +0000)] 
Add some wishes for new, non-PBP policies

15 years agoI noticed that perlcritic was still printing 'source OK' even when PPI
Jeffrey Ryan Thalhammer [Mon, 24 Apr 2006 06:27:46 +0000 (06:27 +0000)] 
I noticed that perlcritic was still printing 'source OK' even when PPI
had exceptions.  So I changed the error handling to throw an exception
instead of returning undef.  I also made sure that 'perlcritic' exits
with the correct status.

15 years agoIncreased VERSION to 0.15_02
Jeffrey Ryan Thalhammer [Fri, 21 Apr 2006 06:14:37 +0000 (06:14 +0000)] 
Increased VERSION to 0.15_02

15 years agoMoved the -top feature down into Perl::Critic library to give the API
Jeffrey Ryan Thalhammer [Fri, 21 Apr 2006 06:03:57 +0000 (06:03 +0000)] 
Moved the -top feature down into Perl::Critic library to give the API
more functionality.

15 years agoFixed typo in one of the -verbose formats.
Jeffrey Ryan Thalhammer [Fri, 21 Apr 2006 04:37:27 +0000 (04:37 +0000)] 
Fixed typo in one of the -verbose formats.

15 years agoWorking on violation formats:
Chris Dolan [Thu, 20 Apr 2006 17:27:32 +0000 (17:27 +0000)] 
Working on violation formats:
 * changed %p to report policy without the "Perl::Critic::Policy::" prefix
 * Add %P for the full policy module name (this is what %p used to be)

15 years agoAdd TODO test for PPI operator parsing bug
Chris Dolan [Thu, 20 Apr 2006 17:26:17 +0000 (17:26 +0000)] 
Add TODO test for PPI operator parsing bug

15 years agoAfter Chris demonstrated the need to test whether the violation is on
Jeffrey Ryan Thalhammer [Thu, 20 Apr 2006 14:21:14 +0000 (14:21 +0000)] 
After Chris demonstrated the need to test whether the violation is on
a disabled line instead of testing the candidate element itself, I
realized that some of the Policies that operate on the PPI::Document
may not work properly.  I discovered that appending '## no critic' to
a statement that occurs before 'use strict' would effectively disable
the Policy, even if there were other statements before the 'use
strict'.  I solved this by rewriting the affected policies to return
*all* the statements that are in violation.

The downside of this change is that these policies can now emit a
*huge* number of violations, particularly for older legacy code that
doesn't use C<strict> or C<warnings>.  Some people will find probably
find this behavior very annoying.  But if you feel strongly about the
importance of using C<strict> and C<warnings>, then this behavior may
actually be preferrable.  I haven't yet decided where to stand.  Of
course, you can always silence the violations by using "## no critic"
comments.

15 years agoRemoved some superfluous code. Edited documentation on new
Jeffrey Ryan Thalhammer [Thu, 20 Apr 2006 14:12:33 +0000 (14:12 +0000)] 
Removed some superfluous code.  Edited documentation on new
Policy-specific 'no critic' feature.

15 years agoFixed broken behavior when --profile is specified as an empty string.
Jeffrey Ryan Thalhammer [Thu, 20 Apr 2006 14:04:47 +0000 (14:04 +0000)] 
Fixed broken behavior when --profile is specified as an empty string.
This should cause Config to ignore the user's profile, but instead it
was always trying to load it.

15 years agoFix test #7 in 03_pragmas.t - It was wrong due to a bug in Critic.pm
Chris Dolan [Mon, 17 Apr 2006 15:08:08 +0000 (15:08 +0000)] 
Fix test #7 in 03_pragmas.t - It was wrong due to a bug in Critic.pm
Document all of the 03_pragmas.t tests

15 years agoRevert the ##no critic statements to apply to the line of the
Chris Dolan [Mon, 17 Apr 2006 14:50:20 +0000 (14:50 +0000)] 
Revert the ##no critic statements to apply to the line of the
violation, not the line of the candidate element.

15 years agoMinor changes:
Chris Dolan [Mon, 17 Apr 2006 13:44:27 +0000 (13:44 +0000)] 
Minor changes:
Move an assignment out of a loop.
Document the PPI empty list bug.

15 years agoSwitched to criticizing files in blib/ (which is the default) instead
Jeffrey Ryan Thalhammer [Mon, 17 Apr 2006 06:02:00 +0000 (06:02 +0000)] 
Switched to criticizing files in blib/ (which is the default) instead
of lib/ and bin/.  This is more consistent with the recommended usage
of Test::Perl::Critic.

15 years agoFixed up self-compliance issues.
Jeffrey Ryan Thalhammer [Mon, 17 Apr 2006 04:53:23 +0000 (04:53 +0000)] 
Fixed up self-compliance issues.

15 years agoRegenerated MANIFEST, README, and META files.
Jeffrey Ryan Thalhammer [Mon, 17 Apr 2006 04:35:13 +0000 (04:35 +0000)] 
Regenerated MANIFEST, README, and META files.

15 years agoUpdated change log.
Jeffrey Ryan Thalhammer [Mon, 17 Apr 2006 04:27:07 +0000 (04:27 +0000)] 
Updated change log.

15 years agoFixed spelling error.
Jeffrey Ryan Thalhammer [Mon, 17 Apr 2006 04:19:38 +0000 (04:19 +0000)] 
Fixed spelling error.

15 years agoRefactored 'perlcritic' into smaller subroutines. I'll try and write
Jeffrey Ryan Thalhammer [Mon, 17 Apr 2006 04:16:17 +0000 (04:16 +0000)] 
Refactored 'perlcritic' into smaller subroutines.  I'll try and write
some tests for these later.

Modified 07_perlcritic.t to make it easier to run tests with 'prove'.

Added test cases and documentation for nested behavior of '## no
critic' and '## use critic' pragmas.

15 years agoFixed spec for blib
Andy Lester [Mon, 17 Apr 2006 02:05:38 +0000 (02:05 +0000)] 
Fixed spec for blib

15 years agoEnhancements:
Andy Lester [Mon, 17 Apr 2006 01:58:59 +0000 (01:58 +0000)] 
Enhancements:
* perlcritic's directory searching now skips backup files, such
as *.swp, *.bak and *~.  It also ignores version control system
directories, and the blib directory in module build directories.

15 years agoTweaked new 'no critic' code. I removed some of the warnings, to make
Jeffrey Ryan Thalhammer [Fri, 14 Apr 2006 19:27:27 +0000 (19:27 +0000)] 
Tweaked new 'no critic' code.  I removed some of the warnings, to make
the code more concise, but I may add these back in later.

15 years agoUpdated paperwork
Jeffrey Ryan Thalhammer [Fri, 14 Apr 2006 11:57:46 +0000 (11:57 +0000)] 
Updated paperwork

15 years agoSpruced up new "## no critic Policy::Blah" feature by letting you use
Jeffrey Ryan Thalhammer [Fri, 14 Apr 2006 11:50:17 +0000 (11:50 +0000)] 
Spruced up new "## no critic Policy::Blah" feature by letting you use
more code-like notation such as qw() or ('Foo', 'Bar', 'Baz');

15 years agoDocumentation edits
Jeffrey Ryan Thalhammer [Fri, 14 Apr 2006 10:58:14 +0000 (10:58 +0000)] 
Documentation edits

15 years agoRemoved extraneous library dependency
Jeffrey Ryan Thalhammer [Fri, 14 Apr 2006 10:35:12 +0000 (10:35 +0000)] 
Removed extraneous library dependency

15 years agoAdded a new feature that lets you control exactly which policies are
Jeffrey Ryan Thalhammer [Fri, 14 Apr 2006 10:33:27 +0000 (10:33 +0000)] 
Added a new feature that lets you control exactly which policies are
disabled by the "## no critic" pseudo-pragma.  This idea was (most
recently) suggested by Andy Lester.  This feature needs more tests,
and I'm not sure how it (should) behave when several "no critic"
pragmas are nested.  I'm also not too fond of my implementation, so
I'm open to suggestions.

Along the way, I also rewrote part of the Critic.pm internals.  Mine
is not as clever as Chris' but I can understand it a little better
now.  The general algorithm is the same, so I don't think it will be
significantly slower.

15 years agoUpdated Changes log with latest bug fixes.
Jeffrey Ryan Thalhammer [Fri, 14 Apr 2006 05:49:41 +0000 (05:49 +0000)] 
Updated Changes log with latest bug fixes.

15 years agoAdded a few items to the TODO list.
Jeffrey Ryan Thalhammer [Fri, 14 Apr 2006 05:41:58 +0000 (05:41 +0000)] 
Added a few items to the TODO list.