14 years agoRemove apparently useless Component::BUILDARGS conditional.
Florian Ragwitz [Mon, 25 Jan 2010 19:00:17 +0000]
Remove apparently useless Component::BUILDARGS conditional.

14 years agoRevert "in what case is a numeric comparison called for? I cannot think of one. Is...
Florian Ragwitz [Mon, 25 Jan 2010 18:59:52 +0000]
Revert "in what case is a numeric comparison called for? I cannot think of one. Is this the best way to test?"

This reverts commit 279b2f1abb0a8e056b8c905e5a4ecb66537ee194.

14 years agoImprove the documentation about -Home and how Catalyst finds the home path for apps
Oliver Charles [Mon, 25 Jan 2010 01:03:52 +0000]
Improve the documentation about -Home and how Catalyst finds the home path for apps

14 years agoAllow models and components to specify the names of any components they generate
Oliver Charles [Sun, 24 Jan 2010 17:33:27 +0000]
Allow models and components to specify the names of any components they generate

14 years agoTWMC has been broken by psgi
Tomas Doran [Wed, 20 Jan 2010 23:52:35 +0000]
TWMC has been broken by psgi

14 years agofix $c->error doc in Catalyst.pm POD
Αριστοτέλης Παγκαλτζής [Tue, 19 Jan 2010 21:41:23 +0000]
fix $c->error doc in Catalyst.pm POD

14 years agoChangelog action_args.
Florian Ragwitz [Tue, 19 Jan 2010 16:08:22 +0000]
Changelog action_args.

14 years agoMerge branch 'action_args'
Florian Ragwitz [Tue, 19 Jan 2010 16:07:45 +0000]
Merge branch 'action_args'

action_args:
And another minor tweak.
Some more doc tweaking.
tweaked docs based on IRC suggestions
added documentation for the configuration option "action_args".
Allow passing extra args to action constructors using action_args config.
Add tests for passing extra arguments to action constructors.
Create branch action_args

14 years agoAnd another minor tweak.
Florian Ragwitz [Tue, 19 Jan 2010 16:02:17 +0000]
And another minor tweak.

14 years agoSome more doc tweaking.
Florian Ragwitz [Tue, 19 Jan 2010 16:00:15 +0000]
Some more doc tweaking.

14 years agotweaked docs based on IRC suggestions
John Napiorkowski [Tue, 19 Jan 2010 15:52:49 +0000]
tweaked docs based on IRC suggestions

14 years agoadded documentation for the configuration option "action_args".
John Napiorkowski [Tue, 19 Jan 2010 15:37:51 +0000]
added documentation for the configuration option "action_args".

14 years agoDepend on a namespace::clean that isn't broken on <= 5.8.8.
Florian Ragwitz [Mon, 18 Jan 2010 09:00:20 +0000]
Depend on a namespace::clean that isn't broken on <= 5.8.8.

14 years agoWe still need to figure out how to not break mod_perl deployments.
Florian Ragwitz [Sat, 16 Jan 2010 02:06:13 +0000]
We still need to figure out how to not break mod_perl deployments.

14 years agoAdd some TODOs for psgi.
Florian Ragwitz [Sat, 16 Jan 2010 01:57:55 +0000]
Add some TODOs for psgi.

14 years agoClarify that it's an app, not a ctx here
Tomas Doran [Fri, 15 Jan 2010 16:39:55 +0000]
Clarify that it's an app, not a ctx here

14 years agoin what case is a numeric comparison called for? I cannot think of one. Is this the...
Peter Karman [Fri, 15 Jan 2010 06:35:30 +0000]
in what case is a numeric comparison called for? I cannot think of one. Is this the best way to test?

14 years agoPassing test case for RT #53678 - Catalyst::Test::get currently doesn't decode the...
Dan Dascalescu [Thu, 14 Jan 2010 23:52:44 +0000]
Passing test case for RT #53678 - Catalyst::Test::get currently doesn't decode the response body octets

14 years agoDoc fixes, get a bit nearer to working with mod_perl again
Tomas Doran [Thu, 14 Jan 2010 22:24:09 +0000]
Doc fixes, get a bit nearer to working with mod_perl again

14 years agoCosmetic: wrapped long code line
Dan Dascalescu [Thu, 14 Jan 2010 09:23:50 +0000]
Cosmetic: wrapped long code line

14 years agoTypo fix
Dan Dascalescu [Thu, 14 Jan 2010 08:15:10 +0000]
Typo fix

14 years agoMerge branch 'master' into psgi
Florian Ragwitz [Thu, 14 Jan 2010 05:46:59 +0000]
Merge branch 'master' into psgi

master:
Only set up the leakchecker for the tests that need it.
Exception stuff is fixed for a while now.

14 years agoOnly set up the leakchecker for the tests that need it.
Florian Ragwitz [Thu, 14 Jan 2010 05:45:09 +0000]
Only set up the leakchecker for the tests that need it.

That way we avoid the useless Devel::Cycle glob warnings.

14 years agoException stuff is fixed for a while now.
Florian Ragwitz [Thu, 14 Jan 2010 05:21:24 +0000]
Exception stuff is fixed for a while now.

14 years agoFix the fcgi script tests.
Florian Ragwitz [Thu, 14 Jan 2010 05:11:09 +0000]
Fix the fcgi script tests.

14 years agoMerge branch 'master' into psgi
Florian Ragwitz [Thu, 14 Jan 2010 04:02:47 +0000]
Merge branch 'master' into psgi

master:
Depend on n:c 0.12 to work on perl >= 5.11.2.
Version 5.80018.
canonical() is a no-op for the base uri.
Fix a deprecation warning in the tests.
Fix URI bug masked by HTTP::Request::AsCGI
Deprecate bare imports of Catalyst::Test - either use an app name or don't run the import method. As-per r12564
Apply patch to clarify uri_for action from Octavian Rasnita on list
Version 5.80017.
require autoclean once only
Bump version of ::Role::WithOverloading
Bump dep
Un stupid
Correctly pass argv option into Catalyst::Engine::HTTP
Changelog Adopt::NEXT warnings
Back out r12493, use \Q instead
Don't screw over people using --detach, <sigh>
Clarify comment.

Conflicts:
lib/Catalyst/Engine/CGI.pm
lib/Catalyst/Engine/HTTP.pm
t/aggregate/unit_core_script_server.t

14 years agoMake build_psgi_app public and add MyApp->psgi_app.
Florian Ragwitz [Thu, 14 Jan 2010 03:49:27 +0000]
Make build_psgi_app public and add MyApp->psgi_app.

14 years agoDepend on n:c 0.12 to work on perl >= 5.11.2.
Florian Ragwitz [Thu, 14 Jan 2010 02:26:03 +0000]
Depend on n:c 0.12 to work on perl >= 5.11.2.

14 years agoDepend on a ReverseProxy middleware that spits out secure envs for requests forwarded...
Florian Ragwitz [Wed, 13 Jan 2010 07:59:18 +0000]
Depend on a ReverseProxy middleware that spits out secure envs for requests forwarded to secure ports.

14 years agoVersion 5.80018. 5.80018
Florian Ragwitz [Tue, 12 Jan 2010 21:37:46 +0000]
Version 5.80018.

14 years agocanonical() is a no-op for the base uri.
Florian Ragwitz [Tue, 12 Jan 2010 21:37:39 +0000]
canonical() is a no-op for the base uri.

14 years agoFix a deprecation warning in the tests.
Florian Ragwitz [Tue, 12 Jan 2010 21:37:31 +0000]
Fix a deprecation warning in the tests.

14 years agoDo the right thing with FCGI args, the hostname and the keepalive options in the...
Tomas Doran [Tue, 12 Jan 2010 01:30:26 +0000]
Do the right thing with FCGI args, the hostname and the keepalive options in the scripts so that the Plack servers get them correctly.

There are still a load of options for the dev server (like writing a PID file) that we'll need to add to the plack server (or do ourselves manually?), and the entire set of options we actually pass into the application via ->run is unused by it.

I'm not sure if we are safe to change the original option passing convention or not - need to look at alternate engines and stuff..

14 years agoMove everything back out into the scriptrole, allow the scripts to force their engine..
Tomas Doran [Mon, 11 Jan 2010 23:36:52 +0000]
Move everything back out into the scriptrole, allow the scripts to force their engine..

14 years agoFix URI bug masked by HTTP::Request::AsCGI
Tomas Doran [Mon, 11 Jan 2010 23:18:08 +0000]
Fix URI bug masked by HTTP::Request::AsCGI

14 years agoCanonicalize the url becuse we're building it from the always-undecoded REQUEST_URI...
Florian Ragwitz [Mon, 11 Jan 2010 22:23:56 +0000]
Canonicalize the url becuse we're building it from the always-undecoded REQUEST_URI, not PATH_INFO.

14 years agoWell, apparently this *is* necessary, just the extra_env stuff isn't :/
Florian Ragwitz [Mon, 11 Jan 2010 22:23:49 +0000]
Well, apparently this *is* necessary, just the extra_env stuff isn't :/

This reverts commit 87d4377bb66a6530cd2e13c4e770e7b1f0aaf7d3.

14 years agoDelete unfixable FAIL.
Florian Ragwitz [Mon, 11 Jan 2010 22:12:16 +0000]
Delete unfixable FAIL.

It's unnecessary under PSGI anyway. The PSGI servers won't let get undecoded
paths through to us.

14 years agoPort t/aggregate/live_engine_request_escaped_path.t to psgi.
Florian Ragwitz [Mon, 11 Jan 2010 21:41:38 +0000]
Port t/aggregate/live_engine_request_escaped_path.t to psgi.

14 years agoDeprecate bare imports of Catalyst::Test - either use an app name or don't run the...
Tomas Doran [Mon, 11 Jan 2010 21:11:05 +0000]
Deprecate bare imports of Catalyst::Test - either use an app name or don't run the import method. As-per r12564

14 years agoSkip Engine::CGI-specific tests until we find a better place for them.
Florian Ragwitz [Sun, 10 Jan 2010 23:22:18 +0000]
Skip Engine::CGI-specific tests until we find a better place for them.

14 years agoAt least pass the port param to _run_psgi_app to get http-server.t running again.
Florian Ragwitz [Sun, 10 Jan 2010 20:30:06 +0000]
At least pass the port param to _run_psgi_app to get http-server.t running again.

14 years agoStop expecting the Host header for proxy requests to be the original one.
Florian Ragwitz [Sun, 10 Jan 2010 19:05:43 +0000]
Stop expecting the Host header for proxy requests to be the original one.

Doing this was probably stupid in the first place, and now we're handing all
the frontend proxy stuff off to plack, we shouldn't even care anymore. The
middleware is free to set HTTP_HOST to HTTP_X_FORWARDED_HOST for us.

14 years agoStart supporting running behind reverse proxies again.
Florian Ragwitz [Sun, 10 Jan 2010 17:03:50 +0000]
Start supporting running behind reverse proxies again.

14 years agoInline the OverrideEnv middleware into Catalyst::Test.
Florian Ragwitz [Sun, 10 Jan 2010 17:03:32 +0000]
Inline the OverrideEnv middleware into Catalyst::Test.

14 years agoApply patch to clarify uri_for action from Octavian Rasnita on list
Tomas Doran [Sun, 10 Jan 2010 14:22:15 +0000]
Apply patch to clarify uri_for action from Octavian Rasnita on list

14 years agoImprove handling errors during prepare.
Florian Ragwitz [Sun, 10 Jan 2010 06:31:16 +0000]
Improve handling errors during prepare.

14 years agoLook up the method just once.
Florian Ragwitz [Sun, 10 Jan 2010 06:31:03 +0000]
Look up the method just once.

14 years agoProperly merge the extra env var into the psgi environment.
Florian Ragwitz [Sun, 10 Jan 2010 04:42:21 +0000]
Properly merge the extra env var into the psgi environment.

14 years agoDon't dump psgi.input as it can't be deserialized.
Florian Ragwitz [Sun, 10 Jan 2010 04:42:14 +0000]
Don't dump psgi.input as it can't be deserialized.

14 years agoAdapt to the changed _customize_request calling convention.
Florian Ragwitz [Sun, 10 Jan 2010 04:22:01 +0000]
Adapt to the changed _customize_request calling convention.

14 years agoProperly set REMOTE_USER in the request env.
Florian Ragwitz [Sun, 10 Jan 2010 04:09:59 +0000]
Properly set REMOTE_USER in the request env.

14 years agoAdd a way to specify additional psgi values in the psgi env via Catalyst::Test.
Florian Ragwitz [Sun, 10 Jan 2010 04:09:52 +0000]
Add a way to specify additional psgi values in the psgi env via Catalyst::Test.

14 years agoVersion 5.80017. 5.80017
Florian Ragwitz [Sun, 10 Jan 2010 02:00:03 +0000]
Version 5.80017.

14 years agoUse Plack::Loader and push the running of plack back into the engine code. Unsure...
Tomas Doran [Sun, 10 Jan 2010 00:33:41 +0000]
Use Plack::Loader and push the running of plack back into the engine code. Unsure if here or scriptrole is the best place for it, thoughts? (48 => 13 fails though)

14 years agoDelete code. 64 => 48 subtests failed
Tomas Doran [Sun, 10 Jan 2010 00:00:43 +0000]
Delete code. 64 => 48 subtests failed

14 years agoRemove outdated comment and some trailing whitespace.
Florian Ragwitz [Sat, 9 Jan 2010 21:21:21 +0000]
Remove outdated comment and some trailing whitespace.

14 years agoFix typo.
Florian Ragwitz [Sat, 9 Jan 2010 21:16:46 +0000]
Fix typo.

14 years agodepend on Plack 0.903 for streaming interface support in Plack::Test
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 21:16:40 +0000]
depend on Plack 0.903 for streaming interface support in Plack::Test

14 years agoRequire Plack..
Tomas Doran [Sat, 9 Jan 2010 19:37:56 +0000]
Require Plack..

14 years agorequire autoclean once only
Tomas Doran [Sat, 9 Jan 2010 19:01:59 +0000]
require autoclean once only

14 years agoBump version of ::Role::WithOverloading
Tomas Doran [Sat, 9 Jan 2010 18:22:02 +0000]
Bump version of ::Role::WithOverloading

14 years agoClear up the response callback and the writer object after each request.
Florian Ragwitz [Sat, 9 Jan 2010 18:12:51 +0000]
Clear up the response callback and the writer object after each request.

14 years agoDon't pass $ctx down to read().
Florian Ragwitz [Sat, 9 Jan 2010 18:01:25 +0000]
Don't pass $ctx down to read().

14 years agoNo, don't warn in the log. clients being retarded don't concern us usually.
Florian Ragwitz [Sat, 9 Jan 2010 17:49:24 +0000]
No, don't warn in the log. clients being retarded don't concern us usually.

14 years agoLet read_chunk read from psgi.input.
Florian Ragwitz [Sat, 9 Jan 2010 17:49:17 +0000]
Let read_chunk read from psgi.input.

14 years agoThere's no Content-Length for streaming responses.
Florian Ragwitz [Sat, 9 Jan 2010 17:49:11 +0000]
There's no Content-Length for streaming responses.

14 years agoRemove other engines.
Florian Ragwitz [Sat, 9 Jan 2010 17:49:05 +0000]
Remove other engines.

14 years agoClear the request env after finishing a request.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:57 +0000]
Clear the request env after finishing a request.

14 years agoDelay erroring out on wrong usage of Catalyst::Test.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:51 +0000]
Delay erroring out on wrong usage of Catalyst::Test.

We should probably deprecate

use Catalyst::Test;

(without an app name) in favour of

use Catalyst::Test ();

14 years agoTell the writer object when we're done.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:45 +0000]
Tell the writer object when we're done.

14 years agoStart porting Catalyst::Test to Plack::Test.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:38 +0000]
Start porting Catalyst::Test to Plack::Test.

14 years agoWork towards supporting psgi.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:31 +0000]
Work towards supporting psgi.

14 years agoBump dep
Tomas Doran [Sat, 9 Jan 2010 17:38:59 +0000]
Bump dep

14 years agoUn stupid
Tomas Doran [Sat, 9 Jan 2010 16:54:08 +0000]
Un stupid

14 years agoCorrectly pass argv option into Catalyst::Engine::HTTP
Tomas Doran [Sat, 9 Jan 2010 16:43:25 +0000]
Correctly pass argv option into Catalyst::Engine::HTTP

14 years agoChangelog Adopt::NEXT warnings
Tomas Doran [Sat, 9 Jan 2010 15:58:18 +0000]
Changelog Adopt::NEXT warnings

14 years agoBack out r12493, use \Q instead
Tomas Doran [Sat, 9 Jan 2010 15:57:27 +0000]
Back out r12493, use \Q instead

14 years agoDon't screw over people using --detach, <sigh>
Tomas Doran [Sat, 9 Jan 2010 15:37:00 +0000]
Don't screw over people using --detach, <sigh>

14 years agoadd a test for the uri_for utf8 stuff
Rafael Kitover [Thu, 7 Jan 2010 00:04:45 +0000]
add a test for the uri_for utf8 stuff

14 years agoutf8::decode captures and args, and uri-escape captures
Rafael Kitover [Wed, 6 Jan 2010 22:56:59 +0000]
utf8::decode captures and args, and uri-escape captures

14 years agoClarify comment.
Florian Ragwitz [Wed, 6 Jan 2010 15:59:41 +0000]
Clarify comment.

14 years agoStop supressing Adopt::NEXT warnings.
Florian Ragwitz [Tue, 5 Jan 2010 00:28:35 +0000]
Stop supressing Adopt::NEXT warnings.

14 years agoClarify comment
Tomas Doran [Mon, 4 Jan 2010 20:55:25 +0000]
Clarify comment

14 years agoDoc fix
Tomas Doran [Mon, 4 Jan 2010 20:52:10 +0000]
Doc fix

14 years agoFix regex special characters screwing things up by not using regexes
Tomas Doran [Wed, 30 Dec 2009 15:55:43 +0000]
Fix regex special characters screwing things up by not using regexes

14 years agoSomeone think of a less fugly way of doing this please? Fixes using rewrite rules...
Tomas Doran [Tue, 22 Dec 2009 14:19:36 +0000]
Someone think of a less fugly way of doing this please? Fixes using rewrite rules to ask for a sub-path in your app with apache in some combinations..

14 years agoFix RT#52898, __MOP__ removal breaking debug screen with C::P::Session
Tomas Doran [Fri, 18 Dec 2009 19:55:03 +0000]
Fix RT#52898, __MOP__ removal breaking debug screen with C::P::Session

14 years agoBug fix for issue reported on the mailing list by Toby Corkindale
Tomas Doran [Tue, 15 Dec 2009 10:21:32 +0000]
Bug fix for issue reported on the mailing list by Toby Corkindale

14 years agomoar better warnings fix. 5.80016
Florian Ragwitz [Fri, 11 Dec 2009 23:28:09 +0000]
moar better warnings fix.

14 years agoChangelog, bump version
Tomas Doran [Fri, 11 Dec 2009 23:26:08 +0000]
Changelog, bump version

14 years agoRemove warning when running tests aggregated
Tomas Doran [Fri, 11 Dec 2009 23:25:35 +0000]
Remove warning when running tests aggregated

14 years agoUnfuck that as well
Tomas Doran [Fri, 11 Dec 2009 12:44:55 +0000]
Unfuck that as well

14 years agoFix RT#52630
Tomas Doran [Thu, 10 Dec 2009 09:46:10 +0000]
Fix RT#52630

14 years agoAdditional test
Tomas Doran [Wed, 9 Dec 2009 21:36:13 +0000]
Additional test

14 years agoMore tests for the prepare_path thing, fix said tests, changelog
Tomas Doran [Wed, 9 Dec 2009 20:54:53 +0000]
More tests for the prepare_path thing, fix said tests, changelog

14 years agoChangelog
Tomas Doran [Wed, 9 Dec 2009 20:50:18 +0000]
Changelog

14 years agoAnd more tests and fixing for the same thing
Tomas Doran [Wed, 9 Dec 2009 20:35:13 +0000]
And more tests and fixing for the same thing

14 years agoFixes port environment, RT#52604
Tomas Doran [Wed, 9 Dec 2009 20:21:13 +0000]
Fixes port environment, RT#52604

14 years agoRegression for 5.80015 when rewriting an app, nanonyme++, Khisanth++
Tomas Doran [Wed, 9 Dec 2009 18:30:53 +0000]
Regression for 5.80015 when rewriting an app, nanonyme++, Khisanth++