Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: pkgsrc-changes
Date: 05/22/2001 20:24:56
Module Name:	pkgsrc
Committed By:	mjl
Date:		Tue May 22 17:24:55 UTC 2001

Modified Files:
	pkgsrc/www/p5-HTML-Mason: Makefile distinfo
Added Files:
	pkgsrc/www/p5-HTML-Mason/patches: patch-aa

Log Message:
Update to 1.03.

    - Made raw error message accessible from the new error display via
      an unobtrusive link.
    - Fixed Apache tests when started by a non-root user.
    - Added short-circuits for Apache tests on Win32 and on systems with
      Apache configurations that cannot be properly parsed.
    - Completely redesigned error display. The new display includes a
      contextual source listing and readable stacktrace. You can access the
      old error behavior with the raw_html and raw_fatal error modes.
    - Fixed $m->file to close its filehandle between uses.
    - Fixed bad interaction with Mason 1.01 and CPAN module, by adding
      version number to ApacheHandler.pm.
    - Fixed $m->top_comp to work as documented, and made documentation
    - Fixed specification of a component root as "foo => /foo"
    - Added 'use Apache.pm' to ApacheHandler.pm, necessary for some
      mod_perl installations.
    - Implemented configuration of Mason from httpd.conf via PerlSetVar
      directives.  This removes the need for a handler.pl file in many
      cases.
    - Revamped ApacheHandler tests to use a real Apache web server and
      mod_perl (assuming this is installed).  This allows for much better
      testing of Mason.  However, the test suite takes a bit longer to run
      as starting and stopping the server can take a second or two each
      time.
    - ** Fixed handling of POST requests with query strings via CGI.pm;
      the query string arguments were previously ignored, and are now merged
      with POST arguments. This is an incompatible change only for those
      whose code relied on the arguments missing.
    - Added basic validation of arguments to Parser, Interp,
      and ApacheHandler constructors.
    - Added interp->die_handler, allowing you to install your own
      subroutine as $SIG{__DIE__} to catch errors during component
      execution.  Alternately, you can simply turn the special error
      handling off.
    - Added interp->use_dhandlers and interp->use_autohandlers, more
      intuitive ways to turn on/off dhandlers and autohandlers.
    - Eliminated interp->verbose_compile_error, which is no longer needed
      and has not worked for some time.
    - Documented that you cannot call return() from a <%shared> or <%once>
      section.
    - Fixed documentation of escaped newline behavior.
    - Fixed incorrect code for using mod_perl args method in
      eg/session_handler.pl.


To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/p5-HTML-Mason/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/www/p5-HTML-Mason/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/www/p5-HTML-Mason/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.