Revision history for Perl extension MasonX::ApacheHandler::WithCallbacks.
0.96 Sun Jun 15 22:52:25 2003
- Minor documentation corrections.
- Changed documentation to refer to the register_subclass() method
instead of the nonexistent register_instance() method, thanks to
Scott Lanning.
- Fixed failing test in t/02errors.t. Not sure how it ever passed
before.
- Added support for "MasonCbClasses" httpd.conf directive. Use "_ALL"
instead of "ALL" to register the callback methods of all of the
MasonX::CallbackHandler subclasses.
- Added support for httpd.conf directives for all of the parameters to
MasonX::ApacheHandler::WithCallbacks->new.
- Added MasonX::CallbackHandlerTest to simplify testing callback
packages and classes outside of a mod_perl environment (i.e., in
standard Test::Harness test suites).
0.95 Thu May 1 05:36:38 2003
- Changed MasonX::CallbackHandle to MasonX::CallbackHandler to
reflect its job as a subclassable callback handler.
- Added support for object-oriented callbacks. Callback classes can
be created to inherit from MasonX::CallbackHandler. They have their
own class keys, and the callbacks are named for the callback methods,
which are themselves identified by attributes. This is a much bigger
addition than it sounds like here. Read the MasonX::CallbackHandler
documentation for all the details.
- Changed the callback execution so that the same callback class objects
are passed to all of the relevant callbacks for a single request.
- Many spelling errors corrected thanks to Scott Lanning.
0.91 Fri Feb 14 22:45:10 2003
- Fixed POD typos.
- Added note about testing callbacks to documentation.
- Altered testing methodology to allow testing of multiple
configurations.
- Added tests for invalid parameters.
- Added tests for error conditions.
0.90 Mon Jan 20 22:22:16 2003
- Added new class, MasonX::CallbackHandle. This class represents all
of the data relevant to the execution of a callback, plus provides
the utility methods redirect() and abort() that were previously
provided by MasonX::ApacheHandler::WithCallbacks.
- Changed callback code reference interface so that instead of taking a
list of relevant arguments, it takes a single argument: an
instantiation of the new MasonX::CallbackHandle class. This will allow
new data and methods to be provided without having to change the
interface for callbacks again.
- Removed ToDo item about putting callbacks in a hash instead of an
array. I benchmarked it, and found that in most cases, the array will
be faster, even if only two of its indices are used. So callback will
stay in an array indexed by priority.
- Incremented version number to 0.90 because I think that this new
interface will remain pretty stable.
0.12 Thu Jan 16 18:12:18 2003
- Fixed redirection to actually redirect before Mason creates its
component stack and executes components. Thanks to Garth Webb
for the spot.
0.11 Mon Jan 13 18:32:10 2003
- Removed some extraneous code.
- Changed abort() to set $r->status to the aborted value.
- Fixed mis-named exception classes. Thanks to Garth Webb for the spot.
- Made the pre_callbacks and post_callbacks arguments optional. Thanks
to Garth Webb for the spot.
- Fixed a few minor POD nits.
0.10 Thu Jan 2 22:43:13 2003
- Initial Public Release.