./wip/p5-CGI-Application-Dispatch, Dispatch requests to CGI::Application based objects

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.12, Package name: p5-CGI-Application-Dispatch-3.12, Maintainer: ficovh

This module provides a way (as a mod_perl handler or running
under vanilla CGI) to look at the path (as returned by dispatch_path)
of the incoming request, parse off the desired module and
it's run mode, create an instance of that module and run it.
t currently supports both generations of mod_perl (1.x and 2.x).
Although, for simplicity, all examples involving Apache
configuration and mod_perl code will be shown using mod_perl 1.x.
This may change as mp2 usage increases.


Required to run:
[www/p5-CGI-Application] [devel/p5-Exception-Class] [devel/p5-Try-Tiny]

Required to build:
[devel/p5-Test-LongString] [devel/p5-Module-Build] [www/p5-Plack] [www/p5-CGI-PSGI] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 35a31f1f6a077b0e2fb79d7f235c1605f84c323d
RMD160: 4f46e0569cea9e3a78279fe567ff04f232abfc7d
Filesize: 37.424 KB

Version history: (Expand)


CVS history: (Expand)


   2013-05-07 16:11:37 by Hiramatsu Yoshifumi | Files touched by this commit (2) | Package updated
Log message:
Update p5-CGI-Application-Dispatch to 3.12.

Changes from previous:
----------------------
3.12 September 10th, 2012
    [BUG FIXES]
    - Further fix diagnostic message in some cases when exceptions are thrown.  \ 
(Michael Lackhoff)

3.11 September 10th, 2012
    (No code changes) 

    [INTERNALS]
    -  Fixed test for rethrowing HTTP::Exception objects (Graham TerMarsch)

3.10 September 2nd, 2012
    [NEW FEATURES]
    - CGI::Application::Dispatch::PSGI now allows exceptions thrown as \ 
HTTP::Exception objects
      to bubble up in some cases. See the new documentation section on \ 
"Exception Handling"
      for details. (Mark Stosberg, Graham TerMarsch, RT#79022)  

    [BUG FIXES]
    - When auto_rest was enabled and no run mode was found, a 404 could have \ 
been returned
      instead of defaulting to start mode. We now correctly default to the \ 
start_mode().
      (James Q.L., Ron Savage, Mark Stosberg)

    [DOCUMENTATION]
    - Docs have been expanded to explain how /foo/:rm? resolves, and interaction
      with start_mode() when no run mode is found. (Mark Stosberg)

    [INTERNALS]
    - Fix diagnostic message in some cases when exceptions are thrown (Michael \ 
Lackhoff)
    - Added test coverage for auto_rest to CGI::Application::Dispatch::PSGI \ 
(Mark Stosberg) 
    - POD formatting fix in Dispatch.pm
    - Fix Perl 5.14 compatibility warning (chorny, RENEEB@cpan.org, \ 
SILASMONK@cpan.org)  

3.07 September 9th, 2011
    Fix t/cgi.t test failures caused by Try::Tiny refactor in 3.05 (Yoshihiro Sasaki)

3.06 September 9th, 2011
    Typo fix in "use" statement, introduced in 3.05 (Nicholas Bamber) 

3.05 September 5th, 2011
    Removed Exception::Class::TryCatch with the already required Try::Tiny \ 
thereby eliminating 
    one dependency. (Timothy Appnel) 

3.04 June 29th, 2011
    No code changes.

    [DOCUMENTATION]
    - spelling fixes (Nicholas Bamber)

3.03 June 25th, 2011
    No code changes.

    [INTERNALS]
    - further dependency refinement and a typo fix. (Nicholas Bamber)

3.02 June 24th, 2011
    No code changes.

    [INTERNALS]
    - further refined dependency definitions. (Nicholas Bamber)

3.01 Jun 23, 2011
    No code changes.

    [INTERNALS]
    - Fixed Build.PL issue that was causing tests to fail in a lot of \ 
environments. (Brad Oaks) 
    - cleaned up MANIFEST

3.00 Jun 16, 2011
    [FEATURES] 
    - PSGI support is improved. CGI::Application::Dispatch is now been
      rewritten and is included in this distribution. It is no longer a
      wrapper around the older dispatcher, but is completely PSGI-native.
      Performance should be improved a bit as well. 
     
    [THINGS THAT MIGHT BREAK YOUR CODE]
    As part of the significant update to PSGI support, you'll need to update a
    couple lines of code in your "dispatch.cgi" script if you were using an
    older version of CGI::Application::Dispatch::PSGI. See the section on
    "Backwards Compatibility" in that documentation.

    [INTERNALS]
    - CGI::Application 4.5 is now required for the newer native PSGI support.

    - Exceptions in CGI::Application::Dispatch::PSGI are now handled with
      HTTP::Exception.  This in turn depends on HTTP::Status, which is
      currently in a distribution which depends on HTML::Parser, which depends
      having a C-compiler available. I don't consider this ideal, as I'd like
      to be able to support the easy installation of a pure-Perl
      CGI::Application stack. This could possibly be addressed in the future by
      removing the false dependency on a C-compiler from HTTP::Status, or we
      could return to use Exception::Class directly for exception handling.

      The except format of the default thrown exceptions may change in the
      future.

2.18 Sep 9, 2010
    - Update Build.PL to require a newer version of "version", to address
      a rare installation problem. (RT#56283) Thanks to Jim Brandt and others.

2.17 Dec 30, 2009

    - Update examples to use FindBin::Real instead of FindBin, since FindBin is not 
      fully mod_perl compatible. (Mark Stosberg)
    - Fix typo in POD (Alexander Becker) 
   2012-10-04 11:13:17 by Aleksej Saushev | Files touched by this commit (76)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
   2009-01-22 16:48:07 by Fco Valladolid | Files touched by this commit (3) | Imported package
Log message:
initial import