9 years agomake the new encoding stuff work with ash multivalue if you want that stuff
John Napiorkowski [Tue, 25 Nov 2014 19:22:53 +0000]
make the new encoding stuff work with ash multivalue if you want that stuff

9 years agomore unicode tests
John Napiorkowski [Tue, 25 Nov 2014 18:13:04 +0000]
more unicode tests

9 years agoactually use the new keywords
John Napiorkowski [Tue, 25 Nov 2014 16:42:41 +0000]
actually use the new keywords

9 years agoremove a test case I do not think is valid
John Napiorkowski [Tue, 25 Nov 2014 16:22:26 +0000]
remove a test case I do not think is valid

9 years agofixed how upload info is added to parameters
John Napiorkowski [Tue, 25 Nov 2014 16:00:27 +0000]
fixed how upload info is added to parameters

9 years agomore unicode fixes
John Napiorkowski [Mon, 24 Nov 2014 22:28:33 +0000]
more unicode fixes

9 years agofix unicode in chain and path parts + debug console
John Napiorkowski [Mon, 24 Nov 2014 19:19:15 +0000]
fix unicode in chain and path parts + debug console

9 years agomake the env in Engine weak so that its request scoped 5.90077
John Napiorkowski [Wed, 19 Nov 2014 00:26:55 +0000]
make the env in Engine weak so that its request scoped

9 years agoremove mistaken file 5.90076
John Napiorkowski [Fri, 14 Nov 2014 00:09:56 +0000]
remove mistaken file

9 years agomake the httpexception filter more choosey
John Napiorkowski [Thu, 13 Nov 2014 23:26:58 +0000]
make the httpexception filter more choosey

9 years agouse Encode, and some minor code optimization
John Napiorkowski [Thu, 30 Oct 2014 00:33:36 +0000]
use Encode, and some minor code optimization

9 years agofirst go at make uri_for utf8 correct
John Napiorkowski [Wed, 29 Oct 2014 22:17:50 +0000]
first go at make uri_for utf8 correct

9 years agoproposed new test
John Napiorkowski [Wed, 29 Oct 2014 21:35:21 +0000]
proposed new test

9 years agotweak the docs and announce depracation
John Napiorkowski [Mon, 6 Oct 2014 23:33:06 +0000]
tweak the docs and announce depracation

9 years agofirst go at documentation patch for known param exploit
John Napiorkowski [Mon, 6 Oct 2014 23:19:44 +0000]
first go at documentation patch for known param exploit

9 years agomerged master changes
John Napiorkowski [Fri, 3 Oct 2014 21:29:05 +0000]
merged master changes

9 years agoupdate version and changes for release
John Napiorkowski [Wed, 1 Oct 2014 21:38:10 +0000]
update version and changes for release

9 years agoMerge branch 'valy23-patch-1'
John Napiorkowski [Wed, 1 Oct 2014 21:35:29 +0000]
Merge branch 'valy23-patch-1'

9 years agochange changes
John Napiorkowski [Wed, 1 Oct 2014 21:34:09 +0000]
change changes

9 years agoAdded minimum requested version of Carp to Makefile.pl
valy23 [Wed, 1 Oct 2014 21:29:26 +0000]
Added minimum requested version of Carp to Makefile.pl

9 years agoremove is_utf8
John Napiorkowski [Fri, 26 Sep 2014 22:22:07 +0000]
remove is_utf8

9 years agoevolve the stash middleware a bit. add a test case for tracking future growth
John Napiorkowski [Fri, 26 Sep 2014 21:57:36 +0000]
evolve the stash middleware a bit. add a test case for tracking future growth

9 years agoas_psgi and to_app
John Napiorkowski [Fri, 26 Sep 2014 17:21:59 +0000]
as_psgi and to_app

9 years agoto_app alias
John Napiorkowski [Fri, 26 Sep 2014 16:42:43 +0000]
to_app alias

9 years agoup version for pending release
John Napiorkowski [Tue, 23 Sep 2014 17:08:01 +0000]
up version for pending release

9 years agodo not decode values that are undefined
John Napiorkowski [Tue, 23 Sep 2014 17:06:15 +0000]
do not decode values that are undefined

9 years agomerged conflicts
John Napiorkowski [Tue, 23 Sep 2014 16:52:08 +0000]
merged conflicts

9 years agoupdated changelog
John Napiorkowski [Tue, 23 Sep 2014 16:50:49 +0000]
updated changelog

9 years agotest case for param regression
John Napiorkowski [Tue, 23 Sep 2014 16:46:21 +0000]
test case for param regression

9 years agoMerge branch 'nerdstrike-master'
John Napiorkowski [Tue, 23 Sep 2014 16:45:40 +0000]
Merge branch 'nerdstrike-master'

9 years agoBugfix in Request.pm
Kieron Taylor [Tue, 23 Sep 2014 13:25:57 +0000]
Bugfix in Request.pm

Bugfix for setting with param() method. The name of the param was still in @_ and being included in the values to set.

9 years agobetter warnings when code is stupid and calls ->params(undef) 5.90072
John Napiorkowski [Mon, 15 Sep 2014 16:23:03 +0000]
better warnings when code is stupid and calls ->params(undef)

9 years agoAllow the term_width to be regenerated
Arthur Axel 'fREW' Schmidt [Tue, 12 Aug 2014 16:18:30 +0000]
Allow the term_width to be regenerated

9 years agoprep for release - 5.90071 5.90071
Henry Van Styn [Sun, 10 Aug 2014 13:04:47 +0000]
prep for release - 5.90071

9 years agoundo 310c2a3 ('change default log level to info') - fixes S::S
Henry Van Styn [Sun, 10 Aug 2014 11:54:40 +0000]
undo 310c2a3 ('change default log level to info') - fixes S::S

In 310c2a39c the Catalyst::Log conststructor was modified to strip
'debug' from the list of of levels by replacing a call to the keys of
%LEVELS with a hard-coded list. This broke the test suite of
Static::Simple and has been rolled back for now. With this change, now
the S::S tests should pass, and, hopefully the whole travis test suite,
including the new resverse dep testing...

The original intent to 'change the default log level from debug to info'
now needs to be revisited...

Commands used for reference:

 git checkout 5.90065 -- lib/Catalyst/Log.pm
 git checkout 5.90065 -- t/aggregate/unit_core_setup.t
 git checkout 5.90065 -- t/aggregate/unit_core_setup_log.t

Other files changed in 310c2a39c but *not* reverted in this commit:

 Changes
 t/lib/TestApp/Controller/Log.pm
 t/psgi-log.t

9 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)

Note:

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

 Catalyst-Plugin-Static-Simple-0.32
 Catalyst-Plugin-Session-0.39

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

9 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)

9 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:

 Catalyst-Plugin-Authentication-0.10023
 t/live_app_remote1.t

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

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

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

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

9 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

9 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

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

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

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

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

9 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,

9 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

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

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

9 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

9 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

9 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.

9 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

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

9 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

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

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

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

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

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

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

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

9 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

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

Fixed file modes...

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

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

9 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

9 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

9 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

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

9 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.

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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

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

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

9 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

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

9 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

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

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

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

9 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

9 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

10 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

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

10 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.

10 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.

10 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

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