6 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

6 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

6 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

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

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

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

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

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

6 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

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

6 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

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

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

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

6 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

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

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

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

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

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

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

6 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

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

6 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

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)

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

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:

 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

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

6 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