summaryrefslogtreecommitdiff
path: root/www/p5-CGI-Application
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2006-02-14 01:14:51 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2006-02-14 01:14:51 +0000
commit0720c15c6d64d8846196d5b5b0d5d783f8e9862b (patch)
tree5365f93e8615c72e43a094a4a1678c7797666ad3 /www/p5-CGI-Application
parent4e7f179dffc73dbd14ddc2339dfb9d2e6ff15bcc (diff)
downloadpkgsrc-0720c15c6d64d8846196d5b5b0d5d783f8e9862b.tar.gz
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()
Diffstat (limited to 'www/p5-CGI-Application')
-rw-r--r--www/p5-CGI-Application/Makefile5
-rw-r--r--www/p5-CGI-Application/distinfo8
2 files changed, 6 insertions, 7 deletions
diff --git a/www/p5-CGI-Application/Makefile b/www/p5-CGI-Application/Makefile
index 0d3e95e115c..775cd5d479c 100644
--- a/www/p5-CGI-Application/Makefile
+++ b/www/p5-CGI-Application/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2005/08/06 06:19:37 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2006/02/14 01:14:51 hiramatsu Exp $
-DISTNAME= CGI-Application-3.31
+DISTNAME= CGI-Application-4.04
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5cga
-PKGREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/}
diff --git a/www/p5-CGI-Application/distinfo b/www/p5-CGI-Application/distinfo
index bedb2002ce2..d5311acaa18 100644
--- a/www/p5-CGI-Application/distinfo
+++ b/www/p5-CGI-Application/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 14:08:35 wiz Exp $
+$NetBSD: distinfo,v 1.6 2006/02/14 01:14:51 hiramatsu Exp $
-SHA1 (CGI-Application-3.31.tar.gz) = df63c94cacdf030dc4fd65a1837ce69630cda5e3
-RMD160 (CGI-Application-3.31.tar.gz) = 5dcdaf6eafbecef3b1136a2d1ad7221e2b155ded
-Size (CGI-Application-3.31.tar.gz) = 47517 bytes
+SHA1 (CGI-Application-4.04.tar.gz) = c85ee5d4cdc8b4d0515fec40ce79e9d751510be4
+RMD160 (CGI-Application-4.04.tar.gz) = c1717dcf51d549b30f55da087d18f00534ed3633
+Size (CGI-Application-4.04.tar.gz) = 55003 bytes