diff options
author | tv <tv@pkgsrc.org> | 2005-08-22 19:03:04 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-08-22 19:03:04 +0000 |
commit | 8ccbf749d08421549c7d88a06f9a5c7205ec0453 (patch) | |
tree | c7c390f94750091c3740350f5174b711bad24fab /www | |
parent | 73ad3dc0127814db8e1ad1a36d296ded7526f056 (diff) | |
download | pkgsrc-8ccbf749d08421549c7d88a06f9a5c7205ec0453.tar.gz |
Update to 1.31, to ensure compatibility with the new API in the non-alpha
release versions of ap2-perl. Changes:
=====
An HTML version of this file, complete with links to documentation, is
available at http://www.masonhq.com/code/history.html.
** denotes an incompatible change
1.31 August 20, 2005
[ BUG FIXES ]
- Fix several regressions in the CGIHandler and FakeApache modules.
Some changes from the stable branch were never merged into the trunk
before 1.30. Reported by Jesse Vincent. Task id #589.
- Under Apache2, if an ApacheHandler object was created during server
startup and the associated Interp object created any files or
directories, Mason would crash when attempting to chown those
files/dirs to the uid/gid that Apache will use after forking. Task
#586.
- The compiler was adding an extra block around a component's
body, which meant that variables declared in the body (in perl lines
or blocks) were not seen in the cleanup section. Task id #587.
- The compiler was also adding "no warnings 'uninitialized'" in this
block, which could hide various errors.
- Hopefully fix $VERSION in ApacheHandler so PAUSE will not be
confused and think we have regressed.
- Turned off some prompts during the module's installation. These
were intended to help new users configure Apache to run Mason
components, but they're probably a bit confusing. Will return in a
future release as a separate script that can be run from the command
line.
1.30 August 11, 2005
[ INCOMPATIBLE CHANGES ]
- ** Under mod_perl2, MasonArgsMethod will default to "CGI", since
libapreq2 is still in development. If you have successfully installed
libapreq2, just set MasonArgsMethod to "mod_perl" to use it.
[ ENHANCEMENTS ]
- Some doc tweaks to clarify that Mason should work out of the box
with both mod_perl 1 and 2.
- Added "use warnings" to all modules and made sure all tests ran
warnings-free.
[ BUG FIXES ]
- Silence a warning when HTML::Mason::ApacheHandler was loaded outside
of mod_perl.
- Support renamed Apache2::Status module.
1.29_02 June 22, 2005
[ ENHANCEMENTS ]
- ** Support for mod_perl-2.00 (mod_perl-1.99 is no longer supported
because of API changes in 2.0RC5).
- Mason recovers more gracefully from an empty or corrupted object
file. Task id #579.
[ BUG FIXES ]
- Fixed bug with content type being reset when decline_dirs=0.
Submitted by Brian Phillips. Task id #584.
- Put "Mason" prefix back in Params.pod. Task id #575.
- Fixed fetch_comp(undef) to not return an empty hash. Task id #578.
- static_source_touch_file did not take effect until after one request
for a top-level component. Reported by Lai Zit Seng. Task id #576.
1.29_01 January 25, 2005
[ INCOMPATIBLE CHANGES ]
- ** Mason now requires Perl 5.6.0 or later. However, because 5.6.0
has so many problems, it cannot be officially supported; we strongly
recommend upgrading to at least 5.6.1.
- ** Mason now requires version 1.24 of mod_perl in the ApacheHandler
module.
- ** The behaviors of $m->flush_buffer and $m->clear_buffer have been
simplified. $m->flush_buffer only acts on the top-level output buffer;
$m->clear_buffer clears all output buffers. Task id #554.
- ** max_code_cache_size is now kept in terms of number of components,
not bytes, and its default value is 'unlimited'.
- ** Components with a <%filter> and a cache_self are no longer cached
in their filtered state. Performance-related code simplifications made
this behavior difficult to maintain. Long term this would be
easier to implement with a cache_self component <%flag>.
- ** All compiler properties are now read-only. If you need to change
compiler properties on a per-request basis, you'll need to create
multiple compiler and interpreter objects.
- ** comp_exists may try to load the designated component, and may
throw an error if it contains a syntax error.
- ** The current_time method, deprecated in 1.1x, has been removed.
- ** The HTML::Mason::Buffer class has been eliminated for performance
reasons. You can use separate components, methods, or subcomponents
and scomp to achieve the same effects as buffer pushes and pops.
[ ENHANCEMENTS ]
- Significantly improved performance in component execution,
especially in static_source mode.
- Added static_source_touch_file, making it much easier to update
a server running in static_source mode.
- Added a plugin architecture. Plugin classes can perform actions at
key points, e.g. before and after each request and each component
call. See HTML::Mason::Plugin for documentation. Task id #24.
Initial implementation by Doug Treder.
- Added the ability to change component root(s) on the fly if the
dynamic_comp_root parameter is turned on. Task id #561. Suggested
by Alex Robinson.
- Added enable_autoflush parameter. When turned off, Mason can
compile components to a more efficient form.
- Changed the </&> tag to allow the starting component name to be
included. e.g. <&| /foo &> ... </& /foo >. Task id #556. Suggested
by Alex Robinson, John Williams, and others.
- Moved the notion of component roots (single and multiple) from the
Resolver to the Interpreter. This improved the performance of multiple
component roots in conjunction with static source mode. Any resolver,
file-based or otherwise, can benefit from component root settings or
choose to ignore them.
- Added the compiler object_id to the object file path, so that
multiple versions of Mason do not collide in the same object
directory. Task id #569.
- Added .obj (or a configurable extension) to object filenames.
Task id #152. Suggested by John Tobey.
- Added $m->clear_and_abort, syntactic sugar for the common idiom
of calling clear_buffer() and then abort(). Task id #505.
- Added an official comment syntax, <% # ... %>, and documented
the various comment markers in the developer's manual. Task id #566.
- Added buffer_preallocate_size parameter, which allows you to
potentially reduce buffer reallocations.
- Augmented the 'could not find component' error message with the
current component root(s). Task id #562.
[ BUG FIXES ]
- Mason now throws an error if the path specified in a component's
'inherit' flag cannot be found. Task id #480.
- Fixed comp_exists to work with any path accepted by comp or
fetch_comp, and fixed fetch_comp to stop throwing errors for certain
bad paths. Task id #572.
- Fixed $m->decline to work from /dhandler. Task id #573. Submitted
by Carl Raiha.
- Using 'next' or 'last' without a loop can no longer corrupt
the component stack. Task id #539.
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-HTML-Mason/Makefile | 6 | ||||
-rw-r--r-- | www/p5-HTML-Mason/distinfo | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile index cbfd3b0982a..eeb7ec27528 100644 --- a/www/p5-HTML-Mason/Makefile +++ b/www/p5-HTML-Mason/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2005/08/06 06:19:39 jlam Exp $ +# $NetBSD: Makefile,v 1.20 2005/08/22 19:03:04 tv Exp $ -DISTNAME= HTML-Mason-1.28 +DISTNAME= HTML-Mason-1.31 PKGNAME= p5-${DISTNAME} -PKGREVISION= 3 SVR4_PKGNAME= p5hma CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/} @@ -16,6 +15,7 @@ DEPENDS+= p5-Params-Validate>=0.04:../../devel/p5-Params-Validate DEPENDS+= p5-Exception-Class>=1.14:../../devel/p5-Exception-Class DEPENDS+= p5-Class-Container>=0.10:../../devel/p5-Class-Container +PERL5_MODULE_TYPE= Module::Build PERL5_PACKLIST= auto/HTML/Mason/.packlist PKG_OPTIONS_VAR= PKG_OPTIONS.p5-HTML-Mason diff --git a/www/p5-HTML-Mason/distinfo b/www/p5-HTML-Mason/distinfo index 56bf26de40c..196228cc03f 100644 --- a/www/p5-HTML-Mason/distinfo +++ b/www/p5-HTML-Mason/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.8 2005/02/24 14:08:35 wiz Exp $ +$NetBSD: distinfo,v 1.9 2005/08/22 19:03:04 tv Exp $ -SHA1 (HTML-Mason-1.28.tar.gz) = 643edbb52cf9d4c6fa3dd891aaeca6039911e6e7 -RMD160 (HTML-Mason-1.28.tar.gz) = 5914ab048248bcd659b390819a0545fcf95ff7bd -Size (HTML-Mason-1.28.tar.gz) = 335604 bytes +SHA1 (HTML-Mason-1.31.tar.gz) = 4f98f0d8d3150e05aa872aaa3343ee9f377bc5f1 +RMD160 (HTML-Mason-1.31.tar.gz) = d698c1cf1481d47cc6ed87cfedf5f8eb005a0b48 +Size (HTML-Mason-1.31.tar.gz) = 381273 bytes |