| 1 |
Revision history for Perl extension Class::Factory. |
| 2 |
|
| 3 |
1.06 Tue Nov 6 21:16:07 CET 2007 |
| 4 |
- Added remove_factory_type(), unregister_factory_type() and |
| 5 |
get_factory_type_for(). Marcel Gruenauer <[email protected]> |
| 6 |
|
| 7 |
1.05 Thu Feb 1 22:57:21 PST 2007 |
| 8 |
- Added method get_registered_class(), suggested by |
| 9 |
Sebastian Knapp <[email protected]> |
| 10 |
|
| 11 |
1.04 Mon Aug 20 22:26:15 PST 2006 |
| 12 |
|
| 13 |
- New maintainer, Fred Moyer <[email protected]> |
| 14 |
- Add Devel::Cover support, current coverage is 71% |
| 15 |
- Moved check for Test::More to MY::test |
| 16 |
|
| 17 |
1.03 Thu Oct 14 10:08:08 EDT 2004 |
| 18 |
|
| 19 |
- Added 'get_my_factory()' and 'get_my_factory_type()' at |
| 20 |
suggestion from Srdjan Jankovic. |
| 21 |
|
| 22 |
|
| 23 |
1.02 Tue Oct 12 21:02:04 EDT 2004 |
| 24 |
|
| 25 |
- Ensure that new() returns undef if get_factory_class() doesn't |
| 26 |
work properly and factory_error() is overridden (and the |
| 27 |
overridden method doesn't die) |
| 28 |
|
| 29 |
- Relatively minor documentation clarifications and additions |
| 30 |
spurred by a Perlmonks post: |
| 31 |
|
| 32 |
http://www.perlmonks.org/index.pl?node_id=398257 |
| 33 |
|
| 34 |
- Added a few more tests to ensure factory_log() and |
| 35 |
factory_error() working properly |
| 36 |
|
| 37 |
|
| 38 |
1.01 (never released for some reason) |
| 39 |
|
| 40 |
- add_factory_type() checks %INC to see if a class is already |
| 41 |
loaded. This gets rid of any 'Subroutine foo redefined' messages |
| 42 |
you might see if warnings are turned on. |
| 43 |
|
| 44 |
- All log/error messages now have variables in apostrophes |
| 45 |
rather than brackes. So: |
| 46 |
|
| 47 |
"Class [$class] not found" |
| 48 |
|
| 49 |
becomes: |
| 50 |
|
| 51 |
"Class '$class' not found" |
| 52 |
|
| 53 |
It's just cleaner that way. |
| 54 |
|
| 55 |
|
| 56 |
1.00 Mon Oct 7 11:15:50 EDT 2002 |
| 57 |
|
| 58 |
- Add overridable logging/errors (Thanks to Eric Andreychek |
| 59 |
<[email protected]>) |
| 60 |
|
| 61 |
- Subclasses do not need to implement any methods any longer -- |
| 62 |
using the module is a simple 'use base qw( Class::Factory )' |
| 63 |
away. (Thanks to Eric for the suggestion.) |
| 64 |
|
| 65 |
- Add get_loaded_types(), get_loaded_classes(), |
| 66 |
get_registered_types() and get_registered_classes() so you can |
| 67 |
keep track of the factory state. |
| 68 |
|
| 69 |
|
| 70 |
0.03 Sun Feb 10 13:00:20 EST 2002 |
| 71 |
|
| 72 |
Added the ability to register a type/class without having |
| 73 |
Class::Factory include it. This is useful for modules that want |
| 74 |
to know all of their types at startup time but don't want to |
| 75 |
bring in a particular class until that type is requested. (See |
| 76 |
POD for details.) |
| 77 |
|
| 78 |
|
| 79 |
0.02 Wed Jan 30 00:22:58 EST 2002 |
| 80 |
|
| 81 |
Added simple constructor to be inherited as needed. This |
| 82 |
constructor automatically calls 'init()', not coincidentally the |
| 83 |
name that Class::Base uses. Small variable name changes. |
| 84 |
|
| 85 |
|
| 86 |
0.01 Mon Jan 28 08:35:09 EST 2002 |
| 87 |
|
| 88 |
Original version with tests, documentation and everything, |
| 89 |
written after the third or fourth time I cut-and-pasted a |
| 90 |
'add_type()' method to implement a dynamic factory class :-) |
| 91 |
|