Subject: CVS commit: pkgsrc/www/p5-CGI-Application
From: Hiramatsu Yoshifumi
Date: 2006-02-14 02:14:51
Message id: 20060214011451.D7B382DA27@cvs.netbsd.org

Log Message:
Updated to 4.04.

4.04    Wed Oct 11, 2005
    - No code changes since 4.04_02. Declaring stable.

4.04_02 Thu Sep 8, 2005
    - Add support for templates stored in file handles and scalarrefs to load_tmpl().
      (Jason Purdy)

4.04_01 Wed Aug 31, 2005
    -  move load_tmpl hook to after we build $tmpl_file so it will always have a
      (probably) valid file to work with.

    - initial support for a default template name in load_tmpl(). That means
      you can now do this:

      my $t = $self->load_tmpl();

      And it will default to a file named after the current run mode with a
      .html extension.

4.03  Thu Aug 04, 2005
    - Fixed important bug introduced in 4.02 in which a mode_param
      set in a sub-class would have been ignored. A new automated test
      was added to prevent this regression in the future.

4.02  Sat Jul 30, 2005

    - Documented existence of CGI::Application::Plugin::FillInForm.

    - path_info option to mode_param now supports negative index numbers
      to grab the run mode name from the other end of the PATH_INFO.
      (Thilo Planz)

    - Altered how "start_mode" default is set, allowing it to be set
      through the hook system in the 'init' phase. Existing applications
      should be unaffected.

    - Return value of run_modes() was documented.

    - Integrate more examples of using plugins into the documentation.

    - 'error' hook was added, which is executed just before error_mode() might
      be called. An example use of this would be a logging plugin that wants to
      log that the application died. Although it's unlikely to change, it is marked
      as experimental for now.

4.01 Tue Jun 14, 2005

    NOTE: This release has an important incompatibility from the 4.0 release
    two days ago. The 'load_tmpl' hook which was just introduced has had it's
    interface changed. The change allows plug-in authors to affect the parameters
    passed to the 'new' constructor of the template object, instead of just adding
    parameters later.

4.0 Fri Jun 10, 2005
    This release adds a major new feature of special interest to plugin
    authors: 'hooks'. This concept helps to create plugins that are more powerful
    and simpler to use for end users. See the documentation on writing plugins for
    details.

    Special thanks to Cees Hek and Michael Graham for their effort to develop
    and refine the hook system.

    Since the last major release, there has been an explosion of new plugins
    developed. This is an incomplete list of modules below the
    'CGI::Application::Plugin' namespace. Expect more to be added and updated soon
    with the advent of the hook system:

      ::AnyTemplate - Use any templating system with a unified interface
      ::Apache - Use Apache::* modules without interference
      ::AutoRunmode - Automatically register runmodes
      ::ConfigAuto - Integration with Config::Auto
      ::Config::Context - Integration with Config::Context
      ::Config::General - Integration with Config::General
      ::Config::Simple - Integration with Config::Simple
      ::CompressGzip - Add Gzip compression
      ::DBH - Integration with DBI
      ::LogDispatch - Integration with Log::Dispatch
      ::Session - Integration with CGI::Session
      ::Stream - Help stream files to the browser
      ::TT - Use Template::Toolkit as an alternative to HTML::Template
      ::ValidateRM - Integration with Data::FormValidator and HTML::FillInForm

    The following additional changes are also present in this release:

    - Enhanced tests and documentation for error_mode(). (Rob Kinyon).
    - Clarified Plug-in documentation (Timothy Appnel)
    - Avoid some warnings when getting run mode from PATH_INFO (Emanuele Zeppieri)
    - Use query() object to get PATH_INFO, to workaround bug in IIS web server. \ 
(Mark Stosberg)
    - Documented return value of header_props()

Files:
RevisionActionfile
1.18modifypkgsrc/www/p5-CGI-Application/Makefile
1.6modifypkgsrc/www/p5-CGI-Application/distinfo