Changelogging.
Florian Ragwitz [Wed, 29 Apr 2009 10:45:34 +0000 (10:45 +0000)]
Changes
lib/Catalyst/Log.pm
lib/Catalyst/Upgrading.pod
t/unit_core_setup_log.t

diff --git a/Changes b/Changes
index 1e870d5..c92f2a6 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
 # This file documents the revision history for Perl extension Catalyst.
 
+        - Various POD tweaks. (hdp, dandv)
+        - Fix formatting error in the regex fallback warning. (rafl)
+        - Convert the dispatcher's BUILD method to attribute builders to not
+          override the BUILD method from
+          MooseX::Emulate::Class::Accessor::Fast. (rafl)
         - Fix classes without metaclasses restarting, when not using
           B::Hooks::OP::Check::StashChange (t0m)
         - Fix the unattached chain debug table for endpoints with no
@@ -7,7 +12,6 @@
         - Turn of test aggregation by default. Only aggregate if the
           AGGREGATE_TESTS environment variable is set and a recent
           Test::Aggregate is available. (rafl)
-        - POD formatting fix for Catalyst::Test (Dan Dascalescu)
         - Bump to MooseX::MethodAttributes 0.09, to gain the
           get_nearest_methods_with_attributes method allowing methods without
           attributes in a subclass to override those with attributes in a
index aef4623..751b2e4 100644 (file)
@@ -21,10 +21,10 @@ has abort => (is => 'rw');
     for ( my $i = $#levels ; $i >= 0 ; $i-- ) {
 
         my $name  = $levels[$i];
-        
+
         my $level = 1 << $i;
         $summed_level |= $level;
-        
+
         $LEVELS{$name} = $level;
         $LEVEL_MATCH{$name} = $summed_level;
 
@@ -112,7 +112,7 @@ sub _send_to_log {
 # Alias _body to body, add a before modifier to warn..
 my $meta = __PACKAGE__->meta; # Calling meta method here fine as we happen at compile time.
 $meta->add_method('body', $meta->get_method('_body'));
-my %package_hash; # Only warn once per method, per package. 
+my %package_hash; # Only warn once per method, per package.
                   # I haven't provided a way to disable them, patches welcome.
 $meta->add_before_method_modifier('body', sub {
     my $class = blessed(shift);
@@ -242,8 +242,8 @@ Is the log level active?
 
 =head2 abort
 
-Should Catalyst emit logs for this request? Will be reset at the end of 
-each request. 
+Should Catalyst emit logs for this request? Will be reset at the end of
+each request.
 
 *NOTE* This method is not compatible with other log apis, so if you plan
 to use Log4Perl or another logger, you should call it like this:
index 608f426..b48c293 100644 (file)
@@ -34,7 +34,7 @@ The Catalyst plugin most often causing this, is
 L<Catalyst::Plugin::Session::Store::FastMmap> - if you are using this plugin
 and see issues, then please upgrade - and please try upgrading your plugins
 if you have this issue, as it has been fixed. Note that Makefile.PL in the
-distribution will warn about known incompatible components. 
+distribution will warn about known incompatible components.
 
 This issue can, however, be found in your own application - the only solution is
 to go through each base class of the class the error was reported against, until
@@ -99,14 +99,14 @@ compatible way is:
 Note that the C< extends > declaration needs to occur in a begin block for
 L<attributes> to operate correctly.
 
-You also don't get the L<Moose::Object> constructor, and therefore attribute 
-initialization will not work as normally expected. If you want to use Moose 
+You also don't get the L<Moose::Object> constructor, and therefore attribute
+initialization will not work as normally expected. If you want to use Moose
 attributes, then they need to be made lazy to correctly initialize.
 
 Note that this only applies if your component needs to maintain component
 backwards compatibility for Catalyst versions before 5.71001 - in 5.71001
 attributes work as expected, and the BUILD method is called normally
-(although BUILDARGS is not). 
+(although BUILDARGS is not).
 
 If you depend on Catalyst 5.8, then B<all> Moose features work as expected.
 
@@ -226,7 +226,7 @@ The following test demonstrates the problem:
 
     BaseClass->foo('base class');
     Child->foo('sub class');
-    
+
     use Test::More;
     isnt(BaseClass->can('foo'), Child->can('foo'));
 
index ae22884..401ea99 100644 (file)
@@ -34,7 +34,7 @@ local %ENV; # Ensure blank or someone, somewhere will fail..
     $app->setup_log('error,warn');
     ok !$app->debug, 'Not in debug mode';
     test_log_object($app->log,
-        fatal => 1, 
+        fatal => 1,
         error => 1,
         warn => 1,
         info => 0,