You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dave Rolsky <au...@urth.org> on 2003/07/15 03:03:00 UTC

ANNOUNCE: Mason 1.22

1.22  July 14, 2003

[ ENHANCEMENTS ]

- Added $m->has_content to check for content without evaluating it.
- Comments are now allowed on separate lines inside <%attr> and
<%flags> blocks.  Task id #475.
- $m->subexec and $m->make_subrequest now accept relative paths which
are interpreted relative to the current component directory, like
$m->comp.
- Documented potential problems if call to $m->redirect is trapped in
an eval block, and then output is generated before the exception is
rethrown.  Task id #477.

[ BUG FIXES ]

- If a component with a filter section called abort, the filter was
run twice.  Task id #473.
- If an exception was thrown when creating a request, memory was
leaked.  This can happen when the top-level component cannot be
found (e.g. 404) or if there is an error in compiling the top-level
component. Task id #478. Reported by Doug Treder.
- Removed the use of alarm() and SIG{ALRM} to trap rare infinite loops
inside the compilation of components. It interfered with Mason
environments that use alarm() for their own purposes, and the
associated test would crash in certain Perl environments. If you find
that Mason sometimes enters an infinite loop, see the
"Hanging Processes: Detection and Diagnostics" section of the mod_perl
guide for hints on diagnosing the problem.  Task id #472.
- Mason allowed a component to define two subcomponents or methods
with the same name.  Task id #476.  Reported by John Michael Mars.



-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/