6 years agoTravis: preliminary reverse dependency testing
Henry Van Styn [Sun, 10 Aug 2014 10:30:09 +0000]
Travis: preliminary reverse dependency testing

The travis config will now run the test suites for some of the more
well-known reverse dependencies (i.e. for which Catalyst is a
dependency) after the main test suite is ran. This is meant to catch
potential breakage of these downstream packages for which Catalyst
should maintain proper support. These include standard plugins such as
Catalyst::Plugin::Authentication and Catalyst::Plugin::Static::Simple.
Modules in Task::Catalyst were used to compile this list, which is still
preliminary. We should add more as we go (however, we do need to be
selective to keep the travis run time below 50 mins at which point it
will timeout)


As of this commit and after the 5.90070 release, we already expect the
reverse deps for the following to fail:


Catalyst-Plugin-Authentication-0.10023 was also failing as of 5.90070,
but has already been fixed in 52af51596

6 years agoTests passing again (temp/fix - "leak_count")
Henry Van Styn [Sat, 9 Aug 2014 15:46:25 +0000]
Tests passing again (temp/fix - "leak_count")

As a temp measure, modified a test that is now failing after the
previous commit, just to get the test suite to pass again. This needs to
be investigated (i.e. there may now be a memory leak)

6 years agoRevert changes made to Engine.pm in 1ef7eeb (5.90070)
Henry Van Styn [Sat, 9 Aug 2014 15:10:08 +0000]
Revert changes made to Engine.pm in 1ef7eeb (5.90070)

In 1ef7eeb ("removed old PSGI Engine backcompat ") some back compat code
was removed from lib/Catalyst/Engine.pm. But, this backcompat code is
apparently still needed and being used out in the wild.

This breaks the tests of at least:


This commit restores the lines removed, going back to the state of the
last production release, 5.90065:

 git checkout 5.90065 -- lib/Catalyst/Engine.pm

Also re-applied change in 08680694151

6 years agoAdded italian translation of default error.
Ferruccio Zamuner [Sat, 9 Aug 2014 08:01:51 +0000]
Added italian translation of default error.

6 years agoprep for release 5.90070
John Napiorkowski [Thu, 7 Aug 2014 21:43:40 +0000]
prep for release

6 years agoup version for release
John Napiorkowski [Thu, 7 Aug 2014 15:52:19 +0000]
up version for release

6 years agoAdded perl 5.20 worker to travis config
Henry Van Styn [Thu, 7 Aug 2014 15:50:47 +0000]
Added perl 5.20 worker to travis config

6 years agofixed typo that messed up the catalyst stash key namespace
John Napiorkowski [Thu, 7 Aug 2014 15:34:48 +0000]
fixed typo that messed up the catalyst stash key namespace

6 years agowe no longer need this test
John Napiorkowski [Thu, 7 Aug 2014 15:11:40 +0000]
we no longer need this test

6 years agoupdated changelog
John Napiorkowski [Wed, 6 Aug 2014 14:43:28 +0000]
updated changelog

6 years agochange default log level to info
John Napiorkowski [Wed, 6 Aug 2014 14:37:48 +0000]
change default log level to info

6 years agoupdated changes
John Napiorkowski [Mon, 21 Jul 2014 23:53:47 +0000]
updated changes

6 years agomerged the encoding plugin to Catalyst.p,
John Napiorkowski [Mon, 21 Jul 2014 23:51:20 +0000]
merged the encoding plugin to Catalyst.p,

6 years agoremoved CE::PSGI from author deps testing
John Napiorkowski [Fri, 18 Jul 2014 22:44:44 +0000]
removed CE::PSGI from author deps testing

6 years agotweak stash method names a bit
John Napiorkowski [Fri, 18 Jul 2014 22:17:52 +0000]
tweak stash method names a bit

6 years agoready for my photo op ;)
John Napiorkowski [Tue, 15 Jul 2014 00:02:04 +0000]
ready for my photo op ;)

6 years agoexpect people to know what they are doing
John Napiorkowski [Mon, 14 Jul 2014 12:32:44 +0000]
expect people to know what they are doing

6 years agoAdd a new name to the list in stopwords, to fix t/author/spelling.t
Laufeyjarson [Thu, 26 Jun 2014 06:59:38 +0000]
Add a new name to the list in stopwords, to fix t/author/spelling.t

6 years agoAdd 'lazy' to two parameters to let the constructor runs first and set the applicatio...
Laufeyjarson [Thu, 26 Jun 2014 06:09:18 +0000]
Add 'lazy' to two parameters to let the constructor runs first and set the application name properly before they are used. Without this, the command line options are sometimes ignored.

One test had to change, as it assumed the port number would have been set,
when the method was never called.  Calling the method to get the port number
fixes this, by allowing the lazy method to actually be run before the value
is used.

6 years agoReplaced the Catalyst::Utils proof of concept with documentation for XSendfile
Marco Pessotto [Thu, 3 Jul 2014 14:54:04 +0000]
Replaced the Catalyst::Utils proof of concept with documentation for XSendfile

6 years agocleaned up stash interface
John Napiorkowski [Mon, 14 Jul 2014 00:47:35 +0000]
cleaned up stash interface

6 years agoremoved a bit more PSGI::Engine backcompat
John Napiorkowski [Sat, 28 Jun 2014 13:45:33 +0000]
removed a bit more PSGI::Engine backcompat

6 years agofixed merge issues from master
John Napiorkowski [Tue, 10 Jun 2014 01:37:14 +0000]
fixed merge issues from master

6 years agoup version prep for release
John Napiorkowski [Tue, 10 Jun 2014 00:16:58 +0000]
up version prep for release

6 years agochangelog updated
John Napiorkowski [Tue, 10 Jun 2014 00:13:57 +0000]
changelog updated

6 years agostash is now middleware
John Napiorkowski [Tue, 10 Jun 2014 00:07:30 +0000]
stash is now middleware

6 years agoremoved old PSGI Engine backcompat
John Napiorkowski [Tue, 10 Jun 2014 00:06:41 +0000]
removed old PSGI Engine backcompat

6 years agoabort on error defaults to true
John Napiorkowski [Mon, 9 Jun 2014 20:21:55 +0000]
abort on error defaults to true

6 years agoadded changes
John Napiorkowski [Fri, 6 Jun 2014 18:48:24 +0000]
added changes

6 years agomake sure when http exceptions donot abort exising log or error stack
John Napiorkowski [Fri, 6 Jun 2014 18:42:48 +0000]
make sure when http exceptions donot abort exising log or error stack

6 years agoversion 5.90065 5.90065
Henry Van Styn [Wed, 4 Jun 2014 21:33:11 +0000]
version 5.90065

Fixed file modes...

6 years agomerge new log stuff
John Napiorkowski [Tue, 27 May 2014 15:21:10 +0000]
merge new log stuff

6 years agoMerge branch 'master' into ancona
John Napiorkowski [Tue, 27 May 2014 15:01:04 +0000]
Merge branch 'master' into ancona

6 years agoMisc tweaks per mst
Henry Van Styn [Tue, 13 May 2014 17:34:56 +0000]
Misc tweaks per mst

Log still flushed at the end of setup + Catalyst::Log::_log() returns 1

6 years agoAPI change: autoflush (log) now on by default + unit tests + POD
Henry Van Styn [Tue, 13 May 2014 15:58:13 +0000]
API change: autoflush (log) now on by default + unit tests + POD

The new autoflush feature of Catalyst::Log now defaults to true and is
left on. In order to access the old behavior, modules such as
Static::Simple must manually turn it off (i.e. by hooking
setup_finalize, see example in POD).

Also updated logger unit tests, and added a new set of
autoflush-specific tests.

Note: this API change was suggested by mst

6 years agoBack to 0/1 for true/flase setting for autoflush
Henry Van Styn [Mon, 12 May 2014 21:46:19 +0000]
Back to 0/1 for true/flase setting for autoflush

From IRC:
<ilmari> I'd rather use 0 than undef for false, really
<vanstyn> ok, then I'll change it back... the reason I changed it to
undef was to match existing code, 'abort'
<vanstyn> I generally prefer 0/1 as well, which is why that is what I
started with

6 years agoMerge remote-tracking branch 'upstream/master'
Henry Van Styn [Mon, 12 May 2014 21:37:56 +0000]
Merge remote-tracking branch 'upstream/master'

6 years agoUse a fixed body in response header tests
Dagfinn Ilmari Mannsåker [Mon, 12 May 2014 21:10:21 +0000]
Use a fixed body in response header tests

This lets us stop munging the expected length betwen HEAD and GET, and
lets us test Content-Length when using an external sever too.

6 years agoCatalyst::Log::_log correct return value
Henry Van Styn [Mon, 12 May 2014 20:30:35 +0000]
Catalyst::Log::_log correct return value

6 years agoTurn autoflush off via undef instead of 0 for consistency
Henry Van Styn [Mon, 12 May 2014 20:19:06 +0000]
Turn autoflush off via undef instead of 0 for consistency

6 years agoAdded 'autoflush' to Catalyst::Log + enabled during setup
Henry Van Styn [Mon, 12 May 2014 18:36:57 +0000]
Added 'autoflush' to Catalyst::Log + enabled during setup

The default logger now has an 'autoflush' flag to cause log messages to
be written immediately instead of queued. This is now set to true during
setup so that log messages show up in real time (i.e. when using the
test server).

It is currently turned back off at the end of setup for backward
compatability (specifically for Static::Simple), however, mst has
suggested that we change the API such that plugins like S::S are
responsible for turning off autoflush themselves if they need to.

See in-code comments for more details.

6 years agoMerge remote-tracking branch 'origin/wide_char_warning_log' into ancona
Mark Ellis [Thu, 8 May 2014 14:23:41 +0000]
Merge remote-tracking branch 'origin/wide_char_warning_log' into ancona

6 years agoset binmode encoding on STDERR when setting Encoding in config
Mark Ellis [Thu, 8 May 2014 12:43:25 +0000]
set binmode encoding on STDERR when setting Encoding in config

6 years agoMerge remote-tracking branch 'origin/master' into ancona
Mark Ellis [Wed, 7 May 2014 17:46:53 +0000]
Merge remote-tracking branch 'origin/master' into ancona

6 years agoFix test failures when running under CATALYST_DEBUG. RT#95358
Dagfinn Ilmari Mannsåker [Mon, 5 May 2014 20:54:43 +0000]
Fix test failures when running under CATALYST_DEBUG. RT#95358

6 years agoRemove redundant ->setup call in t/head_middleware.t RT#95361
Dagfinn Ilmari Mannsåker [Mon, 5 May 2014 20:05:28 +0000]
Remove redundant ->setup call in t/head_middleware.t RT#95361

Now that %INC is being populated earlier and the first ->setup call
succeeds, test that and remove the the second one.

6 years agoAdd Changes entry for POD fixes
Dagfinn Ilmari Mannsåker [Mon, 5 May 2014 20:00:37 +0000]
Add Changes entry for POD fixes

6 years agoFix spelling, grammar and structural errors in POD
Dagfinn Ilmari Mannsåker [Mon, 5 May 2014 18:44:41 +0000]
Fix spelling, grammar and structural errors in POD

- Consistently use imperative tense in Delta headers
- Fix header levels in Delta
- Consistently spell "backwards compatibility" out
- Add new and remove bogus stopwords
- Fix a handful of typos

6 years agoup version and uodate changelog for release 5.90064
John Napiorkowski [Mon, 5 May 2014 14:30:11 +0000]
up version and uodate changelog for release

6 years agofix loading inline packages in tests
Graham Knop [Sat, 3 May 2014 04:53:19 +0000]
fix loading inline packages in tests

6 years agodocs and correct middleware order
John Napiorkowski [Thu, 1 May 2014 23:49:01 +0000]
docs and correct middleware order

6 years agotest case to prove that HEAD chops off the body but not until the auto content length...
John Napiorkowski [Thu, 1 May 2014 23:17:06 +0000]
test case to prove that HEAD chops off the body but not until the auto content length middleware does its thing

6 years agoupdated changelog
John Napiorkowski [Thu, 1 May 2014 22:24:25 +0000]
updated changelog

6 years agocorrect auto detection of terminal width and better messages about what is going on
John Napiorkowski [Thu, 1 May 2014 22:24:15 +0000]
correct auto detection of terminal width and better messages about what is going on

6 years agoupdated depraction notes
John Napiorkowski [Thu, 1 May 2014 22:23:38 +0000]
updated depraction notes

6 years agosilence warning about redefinition of variable
John Napiorkowski [Thu, 1 May 2014 22:23:15 +0000]
silence warning about redefinition of variable

6 years agochange info and version
John Napiorkowski [Thu, 1 May 2014 21:13:44 +0000]
change info and version

6 years agomore docs and test cases for ENV localization
John Napiorkowski [Thu, 1 May 2014 21:13:31 +0000]
more docs and test cases for ENV localization

6 years agofixed case where end action was called even if an http style exception was thrown
John Napiorkowski [Thu, 1 May 2014 20:27:41 +0000]
fixed case where end action was called even if an http style exception was thrown

7 years agofix for problem when a http style exception overloads stringification 5.90062
John Napiorkowski [Mon, 14 Apr 2014 18:47:43 +0000]
fix for problem when a http style exception overloads stringification

7 years agoprep for release 5.90061
John Napiorkowski [Mon, 10 Mar 2014 14:26:15 +0000]
prep for release

7 years agoMoved setup_middleware() to after plugin setup block
Henry Van Styn [Sat, 8 Mar 2014 00:55:42 +0000]
Moved setup_middleware() to after plugin setup block

After moving the plugin setup block back down to its pre 5.90052
location, the setup_middleware() call also needed to be moved, now after
that block and immediately before setup_components. All tests now seem
to pass.

7 years agoMoved order of plugin setup back to pre 5.90052 location
Henry Van Styn [Sat, 8 Mar 2014 00:06:09 +0000]
Moved order of plugin setup back to pre 5.90052 location

In 17176f15aa (v5.90052) the plugin setup block was moved up to be
called immediately after setup_plugins(), however, this causes issues
with initialization order of other plugins that hook into setup(). This
commit moves the block back down to just before setup_components, where
it used to be.

7 years agotesting behavior of URI_FOR when running as an embedded catalyt application
John Napiorkowski [Mon, 17 Feb 2014 02:53:34 +0000]
testing behavior of URI_FOR when running as an embedded catalyt application

7 years agoupping versions and prep release 5.90060
John Napiorkowski [Sat, 8 Feb 2014 02:44:06 +0000]
upping versions and prep release

7 years agoupdated versions for release
John Napiorkowski [Thu, 6 Feb 2014 20:24:44 +0000]
updated versions for release

7 years agoMerge branch 'master' into runner
John Napiorkowski [Thu, 6 Feb 2014 17:48:29 +0000]
Merge branch 'master' into runner

7 years agobasic docs for env in req
John Napiorkowski [Thu, 6 Feb 2014 17:10:05 +0000]
basic docs for env in req

7 years agocomment out test case
John Napiorkowski [Thu, 6 Feb 2014 16:37:10 +0000]
comment out test case

7 years agosketch for httpmethods _ new psgi utils / tests
John Napiorkowski [Thu, 6 Feb 2014 15:49:29 +0000]
sketch for httpmethods _ new psgi utils / tests

7 years agochanged docs
John Napiorkowski [Thu, 30 Jan 2014 17:43:27 +0000]
changed docs

7 years agomake class method chaining off setup possible
John Napiorkowski [Thu, 30 Jan 2014 16:45:15 +0000]
make class method chaining off setup possible

7 years agonewer version of middleware
John Napiorkowski [Tue, 28 Jan 2014 19:08:33 +0000]
newer version of middleware

7 years agodocument changes
John Napiorkowski [Tue, 28 Jan 2014 18:02:58 +0000]
document changes

7 years agoup version for upcoming release
John Napiorkowski [Tue, 28 Jan 2014 18:01:30 +0000]
up version for upcoming release

7 years agospecify newer versions of some middleware
John Napiorkowski [Tue, 28 Jan 2014 18:01:15 +0000]
specify newer versions of some middleware

7 years agoMerge branch 'runner-die-chain-middle' into runner
Mark Ellis [Mon, 27 Jan 2014 23:24:50 +0000]
Merge branch 'runner-die-chain-middle' into runner

7 years agoAdded an extra test that dies in the middle of a chain
Mark Ellis [Mon, 27 Jan 2014 21:41:20 +0000]
Added an extra test that dies in the middle of a chain

7 years agoupdated copyright
John Napiorkowski [Mon, 27 Jan 2014 17:11:55 +0000]
updated copyright

7 years agobasic docs for the new exception stuff
John Napiorkowski [Mon, 27 Jan 2014 16:42:20 +0000]
basic docs for the new exception stuff

7 years ago1xx responses do not have any headers
Upasana [Fri, 10 Jan 2014 19:59:47 +0000]
1xx responses do not have any headers

7 years agoAdded Plack::Middleware::RemoveRedundantBody to dependencies
Upasana [Thu, 9 Jan 2014 17:24:09 +0000]
Added Plack::Middleware::RemoveRedundantBody to dependencies

7 years agoWrote tests for Plack::Middleware::RemoveRedundantBody
Upasana [Thu, 9 Jan 2014 17:10:39 +0000]
Wrote tests for Plack::Middleware::RemoveRedundantBody

7 years agoAdded routes for testing correct working of Plack::Middleware::RemoveRedundantBody...
Upasana [Thu, 9 Jan 2014 17:10:13 +0000]
Added routes for testing correct working of Plack::Middleware::RemoveRedundantBody with Catalyst

7 years agoUse Plack::Middleware::RemoveRedundantBody
Upasana [Thu, 9 Jan 2014 17:08:01 +0000]
Use Plack::Middleware::RemoveRedundantBody

7 years agosome docs on the new error stuff
John Napiorkowski [Mon, 27 Jan 2014 15:37:39 +0000]
some docs on the new error stuff

7 years agomore docs
John Napiorkowski [Fri, 24 Jan 2014 22:47:50 +0000]
more docs

7 years agoapplied patch from github
John Napiorkowski [Fri, 24 Jan 2014 02:18:01 +0000]
applied patch from github

7 years agofixed typo
John Napiorkowski [Fri, 24 Jan 2014 02:14:43 +0000]
fixed typo

7 years agomore middleware, more listed deprecations
John Napiorkowski [Thu, 23 Jan 2014 02:27:09 +0000]
more middleware, more listed deprecations

7 years agonew middleware
John Napiorkowski [Tue, 21 Jan 2014 23:45:55 +0000]
new middleware

7 years agowarn if modifying headers afer finalizing them
John Napiorkowski [Tue, 21 Jan 2014 23:41:39 +0000]
warn if modifying headers afer finalizing them

7 years agodocument deprecations, refactor finalize body a bit
John Napiorkowski [Tue, 21 Jan 2014 20:05:28 +0000]
document deprecations, refactor finalize body a bit

7 years agodocumentatin updates
John Napiorkowski [Tue, 21 Jan 2014 16:56:50 +0000]
documentatin updates

7 years agoAdded docs explaining missing route for /go_here
Upasana [Fri, 3 Jan 2014 15:29:43 +0000]
Added docs explaining missing route for /go_here

Signed-off-by: John Napiorkowski <jjnapiork@cpan.org>

7 years agofixed spelling tests
John Napiorkowski [Mon, 6 Jan 2014 21:49:35 +0000]
fixed spelling tests

7 years agomake an empty body [] not [undef]
John Napiorkowski [Mon, 6 Jan 2014 21:47:39 +0000]
make an empty body [] not [undef]

7 years agoupdated changes and versions, commented on deprecations in the delta file
John Napiorkowski [Mon, 30 Dec 2013 16:03:35 +0000]
updated changes and versions, commented on deprecations in the delta file

7 years agoset body io-handle as the PSGI spec requires, and handle the backcompat case
John Napiorkowski [Mon, 30 Dec 2013 15:26:43 +0000]
set body io-handle as the PSGI spec requires, and handle the backcompat case

7 years agorun CI against 5.8
Arthur Axel 'fREW' Schmidt [Fri, 27 Dec 2013 22:15:32 +0000]
run CI against 5.8