From: Florian Ragwitz Date: Tue, 1 Mar 2011 13:49:57 +0000 (+0100) Subject: Merge branch 'master' into psgi X-Git-Tag: 5.89001~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=99dabb12e4a28209766f7d06d976ec265a06f905 Merge branch 'master' into psgi * master: (22 commits) Change repos metadata to git Version 5.80032 Pass the extra restart options Fix test Changelog added myself (dd070) in contributors list removed duplicate parameters in return value of _restarter_args added more parameters in return value of _restarter_args Add a few tests Patch to make restarter class configurable / settable in prefs Apply more correct fix than 8df53b (I hope) Rename test Make tests more clear Merge revert 8df53bed Un-TODO abraxxa's tests This scares me, but it fixes stuf work work Fix 5.80 bug which causes slurp to fail if called multiple times Fix body predicate bug/back compat issue Version 5.80031 added test for chained dispatcher fail on multiple CaptureArgs(0) parts introduced in 5.80030 ... Conflicts: Changes Makefile.PL lib/Catalyst.pm lib/Catalyst/Engine/FastCGI.pm lib/Catalyst/Runtime.pm --- 99dabb12e4a28209766f7d06d976ec265a06f905 diff --cc Changes index e6b1277,b6ec42c..8663141 --- a/Changes +++ b/Changes @@@ -1,38 -1,49 +1,82 @@@ # This file documents the revision history for Perl extension Catalyst. + - Fixed Catalyst::Engine::Stomp compatibility. Applications using + Catalyst::Engine::Stomp are believed to continue working without + any changes with the new Catalyst major version. + + - Fixed issues auto-loading engine with older scripts. - ++ + - Catalyst::Engine::Wx is officially unsupported and BROKEN. If you + are using this engine then please get in touch with us and we'll + be happy to help with the changes it needs to be compatible with + the new major version of Catalyst. + + - XXX removal of engine_class? + - XXX removal of setup_engine($name)? - ++ + 5.80032 2011-02-23 01:10:00 + + Bug fixes: + - Fix compatibility issue with code which was testing the value of + $c->res->body multiple times. Previously this would cause the value + to be built, and ergo cause the $c->res->has_body predicate to start + returning true. + Having a response body is indicated by $c->res->body being defined. + + - Fix bug with calling $upload->slurp multiple times in one request + not working as expected as the file handle wasn't returned to + the zero position. (Adam Sjøgren) + + - Fix some weird perl 5.8 situations where $c can get squashed unexpectedly + in Catalyst::execute + + - Fix chained dispatch where chains were being compared for length (number + of private parts in the chain) vs where they are being compared for + PathPart length (i.e. number of non-capturing URI elements in your path). + + This bug meant that sometimes multiple Args or CaptureArgs (e.g. /*/*) + type paths would be preferred to those with fixed path elements + (e.g. /account/*) + + New features: + - Add MYAPP_RESTARTER and CATALYST_RESTARTER environment variables to + allow the restarter class to be chosen per application or generally. + + This feature was added to enable GUI restarters (such as the soon to + be released CatalystX::Restarter::GTK to be enabled more easily by + developers without changing their application code. + + 5.80031 2011-01-31 08:13:02 + + Bug fixes: + - Update dependency on MooseX::Role::WithOverloading to ensure that + a version which can deal with / depends on a new Package::Stash + is installed. (As if some other dependency is pulled in during upgrading + which results in new Package::Stash, then it can leave you with a broken + version of MooseX::Role::WithOverloading. + + - Fix undef warning in Catalyst::Engine::FastCGI when writing an empty + body (e.g. doing a redirect) + +5.89000 2011-01-24 09:28:45 (TRIAL release) + + This is a development release from psgi branch of Catalyst-Runtime. + + Removed features: + + - All of the Catalyst::Engine::* namespace is now gone. Instead we only have + one Catalyst::Engine class speaking the PSGI protocol natively. Everything + the various Catalyst::Engine:: classes did before is now supposed to happen + through PSGI handlers such as Plack::Handler::FCGI, + Plack::Handler::HTTP::Server::PSGI, Plack::Handler::Apache2, and so + on. However, deployment can still work the same as it did before. The + catalyst scripts still exist and continue to work. + + If you find anything that either doesn't work anymore as it did before or + anything that could be done before with the various Catalyst::Engine:: + classes, but can't be done anymore with the single PSGI Catalyst::Engine + class, please tell us *now*. + 5.80030 2011-01-04 13:13:02 New features: diff --cc Makefile.PL index 5d0180e,4a71977..562a976 --- a/Makefile.PL +++ b/Makefile.PL @@@ -19,11 -19,9 +19,11 @@@ requires 'namespace::clean' => '0.13' requires 'B::Hooks::EndOfScope' => '0.08'; requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00903'; requires 'Class::MOP' => '0.95'; +requires 'Data::OptList'; requires 'Moose' => '1.03'; requires 'MooseX::MethodAttributes::Inheritable' => '0.24'; - requires 'MooseX::Role::WithOverloading' => '0.05'; + requires 'MooseX::Role::WithOverloading' => '0.09'; +requires 'MooseX::Types::LoadableClass' => '0.003'; requires 'Carp'; requires 'Class::C3::Adopt::NEXT' => '0.07'; requires 'CGI::Simple::Cookie' => '1.109';