Path to this page:
./
www/p5-Catalyst-Runtime,
The Elegant MVC Web Application Framework
Branch: CURRENT,
Version: 5.80021,
Package name: p5-Catalyst-Runtime-5.80021,
Maintainer: rhaenCatalyst is an elegant web application framework, extremely flexible yet
extremely simple. It's similar to Ruby on Rails, Spring (Java) and
Maypole, upon which it was originally based.
Catalyst follows the Model-View-Controller (MVC) design pattern, allowing
you to easily separate concerns, like content, presentation and flow control,
into separate modules. This separation allows you to modify code that handles
one concern without affecting code that handles the others. Catalyst promotes
re-use of existing Perl modules that already handle common web application
concerns well.
Required to run:[
www/p5-URI] [
www/p5-libwww] [
www/p5-HTML-Parser] [
lang/perl5] [
time/p5-Time-HiRes] [
devel/p5-Task-Weaken] [
devel/p5-Data-Dump] [
devel/p5-Scalar-List-Utils] [
devel/p5-List-MoreUtils] [
devel/p5-Tree-Simple] [
devel/p5-Module-Pluggable] [
devel/p5-Path-Class] [
devel/p5-File-Modified] [
devel/p5-Sub-Exporter] [
textproc/p5-Text-SimpleTable] [
devel/p5-Tree-Simple-VisitorFactory] [
www/p5-HTTP-Request-AsCGI] [
www/p5-CGI-Simple] [
www/p5-HTTP-Body] [
devel/p5-MRO-Compat] [
devel/p5-namespace-clean] [
devel/p5-Moose] [
devel/p5-Class-MOP] [
devel/p5-MooseX-Getopt] [
devel/p5-MooseX-Types] [
devel/p5-B-Hooks-EndOfScope] [
devel/p5-MooseX-Types-Common] [
devel/p5-MooseX-Emulate-Class-Accessor-Fast] [
devel/p5-Class-C3-Adopt-NEXT] [
devel/p5-MooseX-MethodAttributes] [
devel/p5-B-Hooks-OP-Check-StashChange] [
devel/p5-namespace-autoclean] [
textproc/p5-String-RewritePrefix] [
devel/p5-MooseX-Role-WithOverloading]
Required to build:[
devel/p5-Test-Exception] [
devel/p5-Class-Data-Inheritable] [
devel/p5-Test-Simple]
Master sites: (Expand)
SHA1: 19586678d08831501f2a823e777352f0ccc5bb13
RMD160: a4e30f428819e7a61100a6f982ed86c44a61751a
Filesize: 234.031 KB
Version history: (Expand)
- (2010-03-10) Updated to version: p5-Catalyst-Runtime-5.80021
- (2010-02-02) Updated to version: p5-Catalyst-Runtime-5.80019
- (2010-01-16) Updated to version: p5-Catalyst-Runtime-5.80018
- (2009-11-21) Updated to version: p5-Catalyst-Runtime-5.80014
- (2009-09-24) Updated to version: p5-Catalyst-Runtime-5.80013nb1
- (2009-09-20) Updated to version: p5-Catalyst-Runtime-5.80013
CVS history: (Expand)
| 2010-03-10 11:16:10 by Jens Rehsack | Files touched by this commit (2) |
Log message:
Updating www/p5-Catalyst-Runtime from 5.80019 to 5.80021
pkgsrc changes:
- Adjust dependencies (>=0 -> -[0-9]*)
Upstream changes:
5.80021 2010-03-03 23:02:01
Bug fixed:
- $c->uri_for will now escape unsafe characterss in captures
($c->request->captures) and correctly encode utf8 charracters.
5.80020 2010-02-04 06:51:18
New features:
- Allow components to specify additional components to be set up by
overriding the expand_modules method. (Oliver Charles)
|
| 2010-02-02 12:11:30 by Jens Rehsack | Files touched by this commit (2) |
Log message:
Updating www/p5-Catalyst-Runtime from 5.80018 to 5.80019
Upstream changes:
5.80019 2010-01-29 01:04:09
Bug fixed:
- Calls to $c->uri_for with private paths as strings (e.g.
$c->uri_for('controller/action', 'arg1', 'arg2') ) no longer have
/ encoded to %2F. This is due to $c->uri_for('static', 'css/foo', $bar)
which should not be encoded.
Calls with an action object (rather than a string), or uri_for action
will still encode / in args and captures to %2F
- The above noted / => %2F encoding in uri_for_action or uri_for with
an action object has been fixed to not just encode the first slash in
any set of args/captures.
- nginx and lighttpd FCGI requests with URI encoded sections as the first
path part have been fixed to operate correctly.
- A source of bogus warnings in Catalyst::Component::BUILDARGS has been
removed.
Documentation:
- Improve the documentation about -Home and how Catalyst finds the home path
for applications.
- Various minor typo fixes.
New features:
- Allow passing additional arguments to action constructors.
|
2010-01-16 19:10:59 by Jens Rehsack | Files touched by this commit (2) |  |
Log message:
Updating www/p5-Catalyst-Runtime from 5.80014 to 5.80018
pkgsrc changes:
- Adjusting dependencies
Upstream changes:
5.80018 2010-01-12 22:24:20
Bug fixed:
- Call ->canonical on URI derived from $ENV{REQUEST_URI} to get
paths correctly decoded. This bug was previously hidden by a bug
in HTTP::Request::AsCGI
Documentation:
- Clarify that uri_for_action works on private paths, with example.
Deprecations:
- Saying use Catalyst::Test; (without an application name or () to stop
the importer running is now deprecated and will issue a warning.
You should be saying use Catalyst::Test ();
5.80017 2010-01-10 02:27:29
Documentation:
- Fix docs for ->forward method when passed a class name - this should
be a component name (e.g. View::HTML, not a full class name, like
MyApp::View::HTML).
Bug fixes:
- --daemon and -d options to Catalyst::Script::FastCGI are fixed.
- Fix the debug dump for applications which use Catalyst::Plugin::Session
(RT#52898)
- Fix regression in the case where mod_rewrite is being used to rewrite
requests into a path below your application base introduced with the
%2F related fixes in 5.80014_02.
- Do not crash on SIGHUP if Catalyst::Engine::HTTP->run is not passed the
argv key in the options hash.
- Correctly pass the arguments to Catalyst::Script::Server through to
Catalyst::Engine::HTTP->run so that the server can restart itself
with the correct options on SIGHUP.
- Require new MooseX::MethodAttributes to be compatible with Moose
versions >= 0.93_01
- Require new MooseX::Role::WithOverloading to be compatible with Moose
versions >= 0.93_01
Cleanups:
- Stop suppressing warnings from Class::C3::Adopt::NEXT now that most plugins
have been updated to not use NEXT. If you get warnings then please upgrade
your components or log a bug with the component author if an upgrade is
not available. The Class::C3::Adopt::NEXT documentation contains information
about how to suppress the warnings in your application if you need to.
5.80016 2009-12-11 23:23:33
Bug fixes:
- Fix slurping a file to work correctly with binary on Win32 in the
encoding test controller.
Bug fixes in the new scripts (for applications which have been upgraded):
- Allow --restartdirectory as an option for the Server script, for
backwards compatibility. (Dave Rolsky)
- The --host option for the server script defaulted to localhost, rather
than listening on all interfaces, which was the previous default. (Dave
Rolsky)
- Restore -p option for pid file in the FastCGI server script.
- Fix the script environment variables MYAPP_PORT and MYAPP_RELOAD RT#52604
- Fix aliasing applications under non-root paths with mod_rewrite in
some apache versions where %ENV{SCRIPT_NAME} is set to the real name of
the script, by using $ENV{REDIRECT_URL} which contains the non-rewritten
URI.
- Fix usage display when myapp_create.pl is run with no arguments. RT#52630
New features:
- The __MOP__ hash element is suppressed from being dumped fully
(and instead stringified) when dumping the error screen to be
less packed with information of no use.
Documentation:
- Fix Pod nits (RT#52370)
5.80015 2009-12-02 15:13:54
Bug fixes:
- Fix bug in Catalyst::Engine which would cause a request parsing to end
prematurely in the hypothetical case where calling $engine->read returned
the single character '0'.
- Fix failing tests when combined with new HTTP::Request::AsCGI
Documentation:
- Improved documentation on read and read_chunk methods in Catalyst::Engine.
- Fix reversal of SCRIPT_NAME and PATH_INFO in previously correct nginx
FastCGI documentation introduced in _02.
5.80014_02 2009-12-01 00:55:23
Bug fixes:
- Fix reporting the wrong Content-Length if the response body is an
upgraded string. Strings mean the same thing whether or not they are
upgraded, may get upgraded even after they are encoded, and will
produce the same output either way, but bytes::length returns too big
values for upgraded strings containing characters >127
- Fix t/live_fork.t with bleadperl (RT#52100)
- Set $ENV{PATH_INFO} from $ENV{REQUEST_URI} combined with
$ENV{SCRIPT_NAME} if possible. This is many web servers always fully
decode PATH_INFO including URI reserved characters. This allows us to
tell foo%2cbar from foo%252cbar, and fixes issues with %2F in paths
being incorrectly decoded, resulting in too many path parts (rather
than 1 path part containing a /, on some web servers (at least nginx).
(RT#50082)
- Require new HTTP::Request::AsCGI so that it fully decodes $ENV{PATH_INFO}
in non CGI contexts. (RT#50082)
Refactoring / cleanups:
- NoTabs and Pod tests moved to t/author so that they're not run
(and then skipped) normally.
Documentation:
- Fix Pod nits in Catalyst::Response (RT#51818)
5.80014_01 2009-11-22 20:01:23
Bug fixes:
- Filehandle now forced to binmode in CGI and FastCGI engines. This appears
to correct some UTF-8 issues, but may break people's code which relies
on the old behaviour.
Refactoring / cleanups:
- Plugins which inherit from Catalyst::Controller or Catalyst::Component
are deprecated and now issue warnings.
|
| 2009-11-21 15:13:19 by Jens Rehsack | Files touched by this commit (1) |
Log message:
forgot to bump LWP requirement to 5.814
|
2009-11-21 15:11:46 by Jens Rehsack | Files touched by this commit (2) |  |
Log message:
Updating www/p5-Catalyst-Runtime from 5.80013nb1 to 5.80014
pkgsrc changes:
- Adjusting dependencies
Upstream changes:
5.80014 2009-11-21 02:51:14
Bug fixes:
- Require MooseX::MethodAttributes 0.17. This in turn requires new
MooseX::Types to stop warnings in Moose 0.91, and correctly supports
role combination of roles containing attributed methods.
- Catalyst::Dispatcher::dispatch_types no longer throws deprecated warnings
as there is no recommended alternative.
- Improved the suggested fix warning when component resolution uses regex
fallback for fully qualified component names.
- Catalyst::Test::local_request sets ->request on the response.
- Log flush moved to the end of setup so that roles and plugins which
hook setup_finalize can log things and have them appear in application
startup, rather than with the first hit.
- Require a newer version of LWP to avoid failing tests.
- Stop warnings when actions are forwarded to during dispatch.
- Remove warnings for using Catalyst::Dispatcher->dispatch_types as this is a
valid method to publicly call on the dispatcher.
- Args ($c->request->args) and CaptureArgs ($c->request->captrues)
passed to $c->uri_for with an action object ($c->action) will now
correctly round-trip when args or captures contain / as it is now
correctly uri encoded to %2F.
Documentation:
- Document no-args call to $c->uri_for.
- Document all top level application configuration parameters.
- Clarify how to fix actions in your application class (which is
deprecated and causes warnings).
- Pod fixes for ContextClosure.
- Fix documentation for go/visit to reference captures and arguments
in the correct order.
- Update $c->forward and $c->state documentation to address scalar
context.
- Pod fix in Catalyst::Request (RT#51490)
- Pod fixes to refer to ::Controller:: rather than ::C:: as the latter
is deprecated (RT#51489)
New features:
- Added disable_component_resolution_regex_fallback config option to
switch off (deprecated) regex fallback for component resolution.
- Added an nginx-specific behavior to the FastCGI engine to allow
proper PATH_INFO and SCRIPT_NAME processing for non-root applications
- Enable Catalyst::Utils::home() to find home within Dist::Zilla built
distributions
- Added the Catalyst::Exception::Interface role defining the interface
exception classes need to implement.
- Added Catalyst::Exception::Basic as a basic implementation of
Catalyst::Exception::Interface and made the existing exception classes
use it.
Refactoring / cleanups:
- Remove documentation for the case_sensitive setting
- Warning is now emitted at application startup if the case_sensitive
setting is turned on. This setting is not used by anyone, not
believed to be useful and adds unnecessary complexity to controllers
and the dispatcher. If you are using this setting and have good reasons
why it should stay then you need to be shouting, now.
- Writing to $c->req->body now fails as doing this never makes sense.
|
| 2009-09-24 08:50:22 by Jens Rehsack | Files touched by this commit (116) |
Log message:
Bumping revision of packages which depend direct or indirect on
devel/p5-Class-MOP. A late detected incompible change forced it.
|
| 2009-09-19 19:25:15 by Jens Rehsack | Files touched by this commit (2) |
Log message:
Updating www/p5-Catalyst-Runtime from 5.80012 to 5.80013
pkgsrc changes:
- Adjusting dependencies
Upstream changes:
5.80013 2009-09-17 11:07:04
Bug fixes:
- Preserve immutable_options when temporarily making a class mutable in
Catalyst::ClassData as this is needed by new Class::MOP.
This could have potentially caused issues when using the deprecated runtime
plugins feature in an application with plugins which define their own new
method.
- Require new Moose version and new versions of various dependencies
to avoid warnings from newest Moose release.
Documentation:
- Rework the $c->go documentation to make it more clear.
- Additional documentation in Catalyst::Upgrading covering more deprecation
warnings.
Refactoring / cleanups:
- Action methods in the application class are deprecated and applications
using them will now generate a warning at startup.
- The -short option has been removed from catalyst.pl, stopping new
applications from being generated using the ::[MVC]:: naming scheme as
this is deprecated and generates warnings. RT#49771
|
| 2009-09-13 21:59:50 by Jens Rehsack | Files touched by this commit (2) |
Log message:
Updating www/p5-Catalyst-Runtime from 5.80007 to 5.80012
pkgsrc changes:
- Adjusting dependencies
Upstream changes:
5.80012 2009-09-09 19:09:09
Bug fixes:
- Fix t/optional_http-server.t test.
- Fix t/optional_http-server-restart.t test.
- Fix duplicate components being loaded at setup time, each component is
now loaded at most once + tests.
- Fix backward compatibility - hash key configured actions are stored in
is returned to 'actions'.
- Fix get_action_methods returning duplicate methods when a method is both
decorated with method attributes and set as an action in config.
Refactoring / cleanups:
- Reduce minimum supported perl version from 5.8.6 to 5.8.4 as there are
many people still running/testing this version with no known issues.
Tests:
- Make the optional_http_server.t test an author only test which must be
run by authors to stop it being broken again.
- Fix recursion warnings in the test suites.
5.80011 2009-08-23 13:48:15
Bug fixes:
- Remove leftovers of the restarter engine. The removed code caused test
failures, which weren't apparent for anyone still having an old version
installed in @INC.
5.80010 2009-08-21 23:32:15
Bug fixes:
- Fix and add tests for a regression introduced by 5.80008.
Catalyst::Engine is now able to send out data from filehandles larger
than the default chunksize of 64k again.
5.80009 2009-08-21 22:21:08
Bug fixes:
- Fix and add tests for generating inner packages inside the COMPONENT
method, and those packages being correctly registered as components.
This fixes Catalyst::Model::DBIC among others.
5.80008 2009-08-21 17:47:30
Bug fixes:
- Fix replace_constructor warning to actually work if you make your
application class immutable without that option.
- Depend on Module::Pluggable 3.9 to prevent a bug wherein components
in inner packages might not be registered. This especially affected
tests.
- Catalyst::Engine::FastCGI - relax the check for versions of Microsoft
IIS. Provides compatibility with Windows 2008 R2 as well as
(hopefully) future versions.
- In tests which depend on the values of environment variables,
localise the environment, then delete only relevant environment
variables (RT#48555)
- Fix issue with Engine::HTTP not sending headers properly in some cases
(RT#48623)
- Make Catalyst::Engine write at least once when finalizing the response
body from a filehandle, even if the write is empty. This avoids fail
when trying to send out an empty response body from a filehandle.
- Catalyst::Engine::HTTP - Accept a fully qualified absolute URI in the
Request-URI of the Request-Line
Refactoring / cleanups:
- Deleted the Restarter engine and its Watcher code. Use the
new Catalyst::Restarter in a recent Catalyst::Devel instead.
- New unit test for Catalyst::Action 'unit_core_action.t'
- Bump minimum supported perl version from 5.8.1 to 5.8.6 as there are
known issues with 5.8.3.
- Debug output uses dynamic column sizing to create more readable output
when using a larger $ENV{COLUMNS} setting. (groditi)
New features:
- Added private_path method for Catalyst::Action
- Allow uri_for($controller_instance) which will produce a URI
for the controller namespace
- Break setup_components into two more parts: locate_components and
expand_component_module (rjbs)
- Allow Components to return anon classed from their COMPONENT method
correctly, and have action registration work on Controllers returned
as such by adding a catalyst_component_name accessor for all components
which returns the component instance's name to be used when building
actions etc.
- Adding X-Forwarded-Port to allow the frontend proxy to dictate the
frontend port (jshirley)
- Added Catalyst::Stats->created accessor for the time at the start of
the request.
Documentation:
- Fix POD to refer to ->config(key => $val), rather than
->config->{key} = $val, as the latter form is deprecated.
- Clearer docs for the 'uri_for' method.
- Fix POD refering to CGI::Cookie. We're using CGI::Simple::Cookie.
(Forrest Cahoon)
|