Skip all the tests unless using XS and Perl < 5.10.
[gitmo/Class-MOP.git] / Changes
CommitLineData
7c90a1a8 1Revision history for Perl extension Class-MOP.
b817e248 2
89f74416 3 * Tests
4 - Add test showing how the xs Class::MOP::is_class_loaded can
5 be made to operate differently to the pure perl version (t0m)
6
a0497979 70.75 Wed, December 31, 2008
d89108ab 8 * Class::MOP::Class
9 - A class that was made immutable and then mutable could end up
10 sharing an immutable transformer object
11 (Class::MOP::Immutable) with other classes, leading to all
12 sorts of odd bugs. Reported by t0m. (Dave Rolsky)
13
c16a3087 140.74 Tue, December 25, 2008
d14e06c3 15 * MOP.xs
16 - Add an xs implementation of Class::MOP::is_class_loaded (closes
17 RT#41862). Based on a patch by Goro Fuji. (Florian Ragwitz)
18 - Changed internals to make prehashing of hash keys easier and less
19 error-prone. (Florian Ragwitz)
20 * Class::MOP::Class
21 - Fix documentation to show that around modifiers happen on both
c6d9b1ff 22 sides of the modified method. (Dave Rolsky)
d14e06c3 23
2b5fafa1 240.73 Tue, December 16, 2008
c0757d65 25 * MOP.xs
2b5fafa1 26 - Don't use Perl_mro_meta_init. It's not part of the public perl
27 api. Fixes failures to build on Win32 (RT #41750). (Florian
28 Ragwitz)
351e5029 29 * t/082_get_code_info.t
2b5fafa1 30 - Add $^P &= ~0x200; (per Ovid's suggestion) in order to not
31 munger anonymous subs when under -d and so making the tests
32 succeed in that case.
351e5029 33
8704ee6d 340.72 Mon, December 8, 2008
6a6f7a2f 35 * Class::MOP::Package
36 - Pass options to _new, so subclass' attributes can be
37 initialized (Sartak)
aa906e42 38 * Class::MOP::Method
adb2b128 39 - In the docs, indicate that package_name and name are required
40 when calling ->wrap (Stefan O'Rear)
6a6f7a2f 41
6b5ac420 420.71_02 Fri, December 5, 2008
62a0a0f3 43 * Class::MOP::Immutable
44 - Added a new attribute, inlined_constructor, which is true if
45 the constructor was inlined.
fdc6771b 46 * Class::MOP::Package
47 - Make get_all_package_symbols return a hash ref in scalar
48 context and deprecate calling it in list context with a
49 warning. (Florian Ragwitz)
50 * MOP.xs
51 - Various improvements and refactoring, making things more robust and
52 easier to maintain. (Florian Ragwitz)
62a0a0f3 53
34147f49 540.71_01 Wed, December 3, 2008
25a5f083 55 * Class::MOP::Method
56 - Add an "execute" method to invoke the body so
57 we can avoid using the coderef overload (Sartak)
41885bab 58 * Class::MOP::Immutable
9ec62360 59 - When we memoize methods, get their results lazily
60 to remove some compile-time cost (Sartak)
41885bab 61 - Small speedup from eliminating several method
62 calls (Sartak)
05e183d1 63 * Class::MOP::Class
64 - Some small internal tweaks to try to reduce the number of
65 times we call get_method_map when bootstrapping the MOP. This
66 might make loading Class::MOP (and Moose) a little
67 faster. (Dave Rolsky)
52e5f955 68 - Implemented an optional XS version of get_method_map. Mostly
69 taken from a patch by Goro Fuji (rt.cpan.org #41080), with
70 help form Florian Ragwitz. (Dave Rolsky)
7ef2f4b7 71 - Make the behaviour of of get_all_package_symbols (and
72 therefore get_method_map) consistent for stub methods. Report
73 and test by Goro Fuji (rt.cpan.org #41255). (Florian Ragwitz)
25a5f083 74
96185d43 750.71 Wed November 26, 2008
d652fbd5 76 * Class::MOP::Class
77 * Class::MOP::Module
78 - Actual package creation has moved upward from
79 Class to Module so that Moose roles can share
80 the code (Sartak)
81
88b8ac17 820.70_01 Mon, November 19, 2008
83 * Class::MOP
84 - Fixes for failures with blead (Florian Ragwitz)
85 - Silenced compiler warnings (Florian Ragwitz)
86
870.70 Fri, November 14, 2008
7329b9e2 88 * Class::MOP
89 - Fixed an odd corner case where the XS version of
9b1760fc 90 get_all_package_symbols could cause a segfault. This only
7329b9e2 91 happened with inlined constants in Perl 5.10.0 (Florian
92 Ragwitz)
7329b9e2 93
52c685d3 940.69 Fri, November 7, 2008
b88aa2e8 95 * Class::MOP::Method::Wrapped
96 - Added introspection methods for method modifiers (Dave Rolsky)
97
98
4a9e02e8 990.68 Fri October 24, 2008
dfbc4d4c 100 * Class::MOP
101 - Make load_class require by file name instead of module name.
102 This stops confusing error messages when loading '__PACKAGE__'.
103 (Florian Ragwitz)
5a24cf8a 104 - Add load_one_class_of function to enable you to load one of a
105 list of classes, rather than having to call load_class multiple
106 times in an eval. (t0m)
dfbc4d4c 107
5f5ee28a 1080.67 Tue October 14, 2008
2e7eb96b 109 * Class::MOP::Class
110 - Call a method on the class after setting the superclass list
111 so that we can get Perl to detect cycles before MRO::Compat
112 spirals into an infinite loop (sartak)
113 - Reported by Schwern, [rt.cpan.org #39001]
34d04967 114 - In create(), pass unused options on to initialize()
115 - added test for this
2e7eb96b 116
34d04967 1170.66 Sat September 20, 2008
fe05cbbe 118 !! This release has an incompatible change regarding !!
119 introspection of a class's method with Class::MOP::Class !!
120
9e9e6b8f 121 * Tests and XS
122 - We (us maintainers) now run all tests with XS and then without
123 XS, which should help us catch skew between the XS/pure Perl
e073e667 124 code. (Dave Rolsky)
9e9e6b8f 125
91b73829 126 * Class::MOP::Class
fe05cbbe 127 ! The alias_method method has been deprecated. It now simply
1190621f 128 calls add_method instead. There is no distinction between
129 aliased methods and "real" methods.
fe05cbbe 130
131 This means that methods added via alias_method now show up as
7143219b 132 part of the class's method list/map. This is a backwards
fe05cbbe 133 incompatible change, but seems unlikely to break any
134 code. Famous last words. (Dave Rolsky)
91b73829 135
155f0cba 136 * Class::MOP::Class
137 - Fixed the spelling of "compatibility", but we still have a
138 "check_metaclass_compatability" method for backwards
139 compatibility.
9e9e6b8f 140
94278c1b 1410.65 Mon September 1, 2008
142 For those not following the series of dev releases, the changes
8b9106cf 143 from 0.64 from 0.65 can mostly be summed up as a lot performance
94278c1b 144 improvements by nothingmuch, including new optional XS versions of
145 some methods. Also, Class::MOP now works _without_ any XS modules,
146 for sad systems without a compiler.
147
988fb42e 148 * Class::MOP::Method
149 - Added name and package_name XS accessors, and make sure all
150 the XS and Perl versions work the same way. (Dave Rolsky)
151
152 * MOP.xs
153 - The XS versions of various methods just returned undef when
154 called class methods, rather than dying like the pure Perl
155 versions. (Dave Rolsky)
156
13ac653a 1570.64_07 Fri August 29, 2008
400982e3 158 * Class::MOP
13ac653a 159 - Silenced warnings that managed to break Moose tests when XS
160 was loaded. (Dave Rolsky)
161 - Some XS versions of methods were ignored because of typos in
162 MOP.xs. (Dave Rolsky)
400982e3 163
13ac653a 1640.64_06 Mon August 25, 2008
9457b596 165 * Class::MOP (MOP.xs)
166 - Another MS VC++ fix, cannot declare a variable in the middle
167 of a scope (Taro Nishino).
168
1690.64_05 Sun August 24, 2008
2a755fe8 170 * Class::MOP
171 - None of the dev releases actually loaded the XS properly, but
172 we silently fell back to the pure Perl version of the
173 code. (Dave Rolsky)
174
175 * Class::MOP (MOP.xs)
176 - Replaced some code that used functions not available on Visual
177 C++ with some Perl XS API bits (Dave Rolsky).
178
f65af096 1790.64_04 Sat August 23, 2008
9ebc265d 180 * Class::MOP::Class
f65af096 181 - Workaround a bug in 5.8.1's goto sub (nothingmuch)
182
183 * pod.t and pod_coveraget.t
184 - These are no longer shipped with the tarball because of bogus
185 failures from CPAN testers. (Dave Rolsky)
9ebc265d 186
df7077cd 1870.64_03 Thu August 21, 2008
188 * Class::MOP::Package
189 - Some (legit) code was misparsed by earlier 5.8.x
190 releases. (nothingmuch)
191
192 * Class::MOP
193 - Fix a constant in void context warning (nothingmuch)
194
09ed1ec5 1950.64_02 Thu August 21, 2008
64c591d3 196 * Makefile.PL and Class::MOP
4dde2f23 197 - Explicitly require Perl 5.8.0+ (Dave Rolsky)
198
199 * Makefile.PL
200 - Add missing prereqs that got lost in the switch away from
201 Module::Install.
64c591d3 202
09ed1ec5 203 * Class::MOP::Instance
204 - New method - get_all_attributes (nothingmuch)
205
2060.64_01 Wed August 20, 2008
f125b31e 207 * Makefile.PL
208 - We now check to see if you have a compiler. If you don't, the
209 module installs without some XS bits, but will work the same
210 as with XS. This should make it easier to install on platforms
211 without a compiler (like Windows). (Dave Rolsky)
2e5c1a3f 212
40b3c18f 213 * many modules
7f799c13 214 - Perl 6 style attribute naming replaced with sane style ('methods', not
215 '%!methods'). These changes should not impact any existing API uses.
216 (nothingmuch).
217
218 * many modules
40b3c18f 219 - Quite a number of optimizations based on profiling, including
220 allowing constructors to take hash references instead of
221 hashes, duplicating some frequently used code in XS, and
222 making constructors immutable. These changes should not impact
223 any existing API uses. (nothingmuch)
224
7f799c13 225 * Many modules
226 - Constructors now respect the meta attributes of their subclasses,
227 facilitating MOP extensibility. More related changes will happen in the
228 next several releases. (nothingmuch)
229
40b3c18f 230 * Class::MOP::Class
7f799c13 231 - New method - get_all_methods, replaces the deprecated
232 compute_all_applicable_methods. get_all_attributes provided for
233 consistency (nothingmuch)
234 - New method - wrap_method was refactored out of get_method_map
235 (nothingmuch)
236 - New API for meta instance invalidation - invalidate_meta_instance,
237 invalidate_meta_instances, add_dependent_meta_instance,
238 remove_dependent_meta_instance, called automatically when attribute
239 definitions change and allows notification of dependent subclasses.
240 (nothingmuch)
40b3c18f 241
7202116b 2420.64 Sun August 3, 2008
84bc89b3 243 * Class::MOP::Immutable
7202116b 244 - fixing subtle edge case in immutable when you
84bc89b3 245 call ->meta (stevan)
7202116b 246 - clean up option processing (nothingmuch)
247
248 * Class::MOP::Instance
249 - inlined initialize slot didn't match
250 non-inlined (nothingmuch)
84bc89b3 251
f079b1eb 2520.63 Mon July 7, 2008
07940968 253 * Class::MOP
254 - load_class will initialize a metaclass even if
255 the class is already loaded (sartak)
256 - load_class now returns the metaclass instance
257 instead of just 1 (sartak)
6e1c8b63 258
f079b1eb 259 * elsewhere
260 - better error messages (sartak and Dave Rolsky)
261
ebce5539 2620.62 Wed June 18, 2008
1377b506 263 - in is_class_loaded, recognize scalar references (as opposed to globs) in
264 the symbol table as methods (these are optimized constant subs)
265
70ad0655 2660.61 Fri. June 13, 2008
267 - Okay, lets give this another try and see if PAUSE
268 recognizes it correct this time.
a023763e 269
2700.60 Thurs. Jun 12, 2008
809a26fc 271 - Fixed a version number issue by bumping all modules
272 to 0.60.
8c5cc782 273
2740.59 Thurs. Jun 12, 2008
d1dba7a1 275 !! Several fixes resulting in yet another 25-30% speedup !!
9b522fc4 276
277 * Class::MOP::Class
278 - now stores the instance of the instance
279 metaclass to avoid needless recomputation
8b49a472 280 and deletes it when the cache is blown
119f3a92 281 - introduce methods to query Class::MOP::Class for
282 the options used to make it immutable as well as
283 the proper immutable transformer. (groditi)
8b49a472 284
285 * Class::MOP::Package
286 - {add, has, get, remove}_package_symbol all
287 now accept a HASH ref argument as well as the
288 string. All internal usages now use the HASH
289 ref version.
f6dc69d2 290
291 * Class::MOP
292 - MOP.xs does sanity checks on the coderef
293 to avoid a segfault
26fcef27 294 - is_class_loaded check now uses code that
295 was improved in Moose's ClassName type
ab5e2f48 296 check (Sartak)
297 - nonsensical (undef, empty, reference) class
298 names now throw a more direct error in
299 load_class (Sartak)
3f7759c1 300 - tests for this and other aspects of
301 load_class (Sartak)
9b522fc4 302
303 * Class::MOP
304 Class::MOP::Class
305 Class::MOP::Method
306 Class::MOP::Method::Wrapped
307 Class::MOP::Attribute
308 - switched usage of reftype to ref because
309 it is much faster
310
352c364f 3110.58 Thurs. May 29, 2008
62781d9f 312 (late night release engineering)--
313
314 - fixing the version is META.yml, no functional
315 changes in this release
316
de0f9e1c 3170.57 Wed. May 28, 2008
d1dba7a1 318 !! Several speedups resulting in 20-25% speedups !!
de0f9e1c 319 || (thanks to konobi, groditi, mst & CataMoose) !!
320
ae234dc6 321 * Class::MOP::Class
322 - made get_method_map use list_all_package_symbols
323 instead of manually grabbing each symbol
de0f9e1c 324 - streamlining &initialize somewhat, since it gets
325 called so much
ae234dc6 326
327 * Class::MOP::Package
328 - made {get, has}_package_symbol not call
329 &namespace so much
de0f9e1c 330 - inlining a few calls to &name with
331 direct HASH access key access
ae234dc6 332 - added get_all_package_symbols to fetch
333 a HASH of items based on a type filter
334 similar to list_all_package_symbols
335 - added tests for this
336
32202ce2 337 * Class::MOP::Method
338 Class::MOP::Method::Constructor
339 Class::MOP::Method::Generated
340 Class::MOP::Method::Accessor
341 - added more descriptive error message to help
342 keep people from wasting time tracking an error
47e20ba2 343 that is easily fixed by upgrading.
32202ce2 344
d1dba7a1 345 * Class::MOP::Immutable
346 - Don't inline a destructor unless the user actually
347 needs one
348 - added tests for this
349
b4009dc1 3500.56 Saturday, May 24, 2008
11b56828 351 * Class::MOP
352 - we now get the &check_package_cache_flag
353 function from MRO::Compat
d7d3f3cb 354 - All XS based functionality now has a
355 Pure Perl alternative
6c34db07 356 - the CLASS_MOP_NO_XS environment variable
d7d3f3cb 357 can now be used to force non-XS versions
6c34db07 358 to always be used
11b56828 359
9e517e01 360 * Class::MOP::Attribute
361 - add has_read_method and has_write_method
d7d3f3cb 362 - get_{read,write}_method_ref now wraps the
def5c0b5 363 anon-sub ref in the method metaclass when
364 possible
365 - added tests for this
d7d3f3cb 366
5f3efd66 367 * Class::MOP::Immutable
d7d3f3cb 368 - added the ability to "wrap" methods when
5f3efd66 369 making the class immutable
d7d3f3cb 370
5f3efd66 371 * Class::MOP::Class
daf8d8bc 372 - now handling the edge case of ->meta->identifier
d7d3f3cb 373 dying by wrapping add_package_symbol to specifically
5f3efd66 374 allow for it to work.
375 - added tests for this
d7d3f3cb 376
377 * Class::MOP::Attribute
6c34db07 378 Class::MOP::Class
d7d3f3cb 379 Class::MOP::Immutable
6c34db07 380 - any time a method meta object is constructed
d7d3f3cb 381 we make sure to pass the correct package and
6c34db07 382 method name information
d7d3f3cb 383
6c34db07 384 * Class::MOP::Method
385 Class::MOP::Method::Wrapped
386 Class::MOP::Method::Generated
387 Class::MOP::Method::Accessor
d7d3f3cb 388 Class::MOP::Method::Consructor
389 - the &wrap constructor method now requires that a
390 'package_name' and 'name' attribute are passed. This
391 is to help support the no-XS version, and will
392 throw an error if these are not supplied.
6c34db07 393 - all these classes are now bootstrapped properly
394 and now store the package_name and name attributes
d7d3f3cb 395 correctly as well
396
397 ~ Build.PL has been removed since the
398 Module::Install support has been removed
9e517e01 399
8adaad20 4000.55 Mon. April 28, 2008
401 - All classes now have proper C3 MRO support
402 - added MRO::Compat as a dependency to allow
403 for the C3 MRO support to Just Work in all
404 perl versions
d7d3f3cb 405
830b326c 406 * Class::MOP::Class
d7d3f3cb 407 - rebless_instance now returns the instance
408 it has just blessed, this is mostly to
830b326c 409 facilitate chaining
d7d3f3cb 410 - set the attr correctly in rebless_instance
6e2a700f 411 when it has no init_arg
77a143ba 412 - tweaked &linear_isa and &class_precedence_list
413 to support c3 classes.
830b326c 414
e0db39d2 4150.54 Fri. March, 14, 2008
8861fab2 416 * Class::MOP
214e4bd7 417 metaclass.pm
8861fab2 418 - making sure that load_class never gets
d7d3f3cb 419 passed a value from @_ or $_ to squash
8861fab2 420 Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
421
09c6e1d2 422 * Class::MOP::Class
423 - make_{immutable,mutable} now return 1
424 (cause Sartak asked)
d7b2249e 425 - improved error handling in ->create method
d7d3f3cb 426 - rebless_instance now takes extra params which
427 will be used to populate values
214e4bd7 428 - added tests for this
d7d3f3cb 429
acce7fd6 430 * Class::MOP::Object
d7d3f3cb 431 - localizing the Data::Dumper configurations so
432 that it does not pollute others (RT #33509)
433
d7b2249e 434 * Class::MOP::Class
435 Class::MOP::Package
436 Class::MOP::Module
437 Class::MOP::Method
438 Class::MOP::Attribute
d7d3f3cb 439 - these classes no longer define their own ->meta,
440 but instead just inherit from Class::MOP::Object
441
d7b2249e 442 * Class::MOP::Instance
d7d3f3cb 443 Class::MOP::Immutable
d7b2249e 444 - these classes now inherit from Class::MOP::Object
d7d3f3cb 445
10dd437b 446 * t/
d7d3f3cb 447 - fixed the filename length on several
10dd437b 448 test files so we install on VMS better
449 (RT #32295)
d7d3f3cb 450 - fixed incorrect use of catdir when it
10dd437b 451 should be catfile (RT #32385)
452
2491730f 4530.53 Thurs. Feb. 14, 1008
7a536297 454 ~~ several doc. fixes and updates ~~
d7d3f3cb 455
0c6f4c4a 456 * Class::MOP::Class
457 Class::MOP::Method::Constructor
458 Class::MOP::Attribute
459 - making init_arg accept an undefined value
d7d3f3cb 460 to indicate that no constructor args can
0c6f4c4a 461 be passed (thanks to nothingmuch)
462 - added tests for this
339264d8 463 - added attribute initializer attribute (rjbs)
d7d3f3cb 464
0c6f4c4a 465 * Class::MOP.
466 - making this use the new init_arg => undef
d7d3f3cb 467 feature instead of the silly hack from
0c6f4c4a 468 before (thanks to nothingmuch)
ad074154 469
3e8e8f07 4700.52 Tues. Jan. 22, 2008
2a2b8458 471 * Class::MOP::Class
d7d3f3cb 472 - fixed bug in rebless_instance
2a2b8458 473 (discovered by ash)
474
475 * Class::MOP::Method::Constructor
d7d3f3cb 476 - removed assumptions about the existence of
2a2b8458 477 a &meta method
478
656ce3ba 4790.51 Mon. Jan. 14, 2008
69e3ab0a 480 ~~~ some misc. doc. fixes ~~~
481 ~~ updated copyright dates ~~
d7d3f3cb 482
c1d5345a 483 * Class::MOP
d7d3f3cb 484 - now sets the IS_RUNNING_ON_5_10
c1d5345a 485 constant so that we can take advantage
486 of some of the nice bits of 5.10
d7d3f3cb 487
c1d5345a 488 * Class::MOP::Class
d7d3f3cb 489 - uses the IS_RUNNING_ON_5_10 flag to
490 optimize the &linearized_isa method
c1d5345a 491 and avoid the hack/check for circular
d7d3f3cb 492 inheritence in &class_precedence_list
3d9e4646 493 - added rebless_instance method (Sartak)
494 - added tests for this
d7d3f3cb 495
496 * Class::MOP::Immutable
497 - the immutable class now keeps track of
c1d5345a 498 the transformer which immutablized it
69e3ab0a 499
3d9e4646 500 * Class::MOP::Instance
501 - added rebless_instance_structure method (Sartak)
502 - added tests for this
503
a780a6ff 5040.50 Fri. Dec. 21, 2007
6ff0d647 505 * Class::MOP::Class
d7d3f3cb 506 - fixed bug in immutable to make sure that
507 transformation arguments are saved
6ff0d647 508 correctly (mst)
b6bcc3a5 509 - added tests for this
d7d3f3cb 510
6ff0d647 511 * Class::MOP::Immutable
512 - fixed a bug (see above)
d7d3f3cb 513
6ff0d647 514 * Class::MOP::Attribute
515 - some doc updates
516
30b8af04 5170.49 Fri. Dec. 14, 2007
b6bcc3a5 518 !! Class::MOP now loads 2 x faster !!
30b8af04 519 !! with XS speedups (thanks konobi) !!
d7d3f3cb 520
30b8af04 521 * Class::MOP
522 - removed the dependency on B
523 - added two XS functions (thanks konobi)
524 - get_code_info($code) which replaces all
525 the B fiddling we were doing with
526 faster/leaner XS level fiddling
d7d3f3cb 527 - check_package_cache_flag($pkg_name) which
528 returns the PL_sub_generation variable to
30b8af04 529 be used to help manage method caching.
d7d3f3cb 530
531 NOTE:
532 In 5.10 or greater this will actually
533 use the mro::get_pkg_gen instead to give
534 even more accurate caching information.
30b8af04 535 blblack++ for that stuff :)
d7d3f3cb 536
6c9f390e 537 * Class::MOP::Class
538 - added the &subclasses method (thanks rlb)
d7d3f3cb 539 - added the update_package_cache_flag and
540 reset_package_cache_flag which help keep
541 track of when we need to re-fetch the
542 method map.
30b8af04 543 - Several small improvements to take advantage
544 of the new method map caching features
4c4a6c41 545
1b8b3e09 5460.48 Mon. Nov. 26, 2007
d14f6cbe 547 * Class::MOP::Attribute
d7d3f3cb 548 - fixed get_read/write_method to handle the
549 HASH ref case, which makes the
d14f6cbe 550 get_read/write_method_ref handle it too.
551 - added more tests for this
552
742fb371 5530.47 Sat. Nov. 24, 2007
554 * Class::MOP::Attribute
555 - fixed misspelling in get_write_method_ref
78d9bb38 556 - added more tests for this
742fb371 557
fe7c0b15 5580.46 Fri. Nov. 23, 2007
b7bdffc3 559 * Class::MOP::Class
d7d3f3cb 560 - added the linearized_isa method instead of constantly
561 pruning duplicate classes (this will be even more
b7bdffc3 562 useful in the 5.10-compat version coming soon)
d7d3f3cb 563
5da16d1b 564 * Class::MOP::Attribute
565 - added the get_read_method_ref and get_write_method_ref
d7d3f3cb 566 methods which allow you to retrieve a CODE ref which
5da16d1b 567 can always be used to read or write an attribute.
b7bdffc3 568
1a5cc82e 5690.45 Thurs. Nov. 13, 2007
232c4e13 570 * Class::MOP::Attribute
571 - Fix error message on confess (groditi)
572
544143b2 5730.44 Thurs. Nov. 13, 2007
574 - Apparently I didn't make dist correctly (groditi)
575
c0aeeb91 5760.43 Thurs. Nov. 13, 2007
b08fd50c 577 * Class::MOP
1d68af04 578 - Add support for the 'builder' attribute (groditi)
579
b08fd50c 580 * Class::MOP::Class
d7d3f3cb 581 - optimise metaclass-already-exists check in
b08fd50c 582 construct_class_instance (groditi)
d7d3f3cb 583 - duplicate check into initialize to save a
b08fd50c 584 call through (groditi)
585
1d68af04 586 * Class::MOP::Attribute
587 - Add support for the 'builder' attribute (groditi)
d7d3f3cb 588 - Make predicates check for the existence of a value, not whether
b08fd50c 589 it is defined (groditi)
8768ecf3 590
591 * Class::MOP::Instance
d7d3f3cb 592 - Make predicates check for the existence of a value, not whether
b08fd50c 593 it is defined (groditi)
8768ecf3 594
d7d3f3cb 595 * Class::MOP::Method::Accessor
565f0cbb 596 - made this a subclass of Class::MOP::Method::Generated
597 - removed the relevant attributes
598
599 * Class::MOP::Method::Constructor
600 - fixed the cached values we had to be more sane
601 - made this a subclass of Class::MOP::Method::Generated
d7d3f3cb 602 - fixed generated constructor so it properly handles
565f0cbb 603 subclasses now.
604 - added tests for this
d7d3f3cb 605 - added the option to allow for both inlined and
565f0cbb 606 non-inlined constructors.
b08fd50c 607 - Update inlined methods for builder and predicate changes (groditi)
565f0cbb 608
609 * Class::MOP::Method::Generated
d7d3f3cb 610 - added this class as an abstract base for the
565f0cbb 611 Class::MOP::Method::{Constructor,Accessor} classes
612 - added tests for this
613
b08fd50c 614 *t/
615 - Alter tests (005, 014 020, 021) for new builder addition (groditi)
616 - Tests for new predicate behavior (and corrections to old tests) (groditi)
617
618 *examples/
619 - Update ArrayRef based class example to work with predicate changes
620
367183c4 6210.42 Mon. July 16, 2007
9195ddff 622 !!! Horray for mst, he fixed it !!!
623
92af7fdf 624 * Class::MOP::Package
625 - alter symbol table handling to deal with 5.8.x and 5.9.x
d7d3f3cb 626
92af7fdf 627 * t/
9195ddff 628 - Get rid of the crappy workaround from 0.40/41
92af7fdf 629
829f7554 6300.41 Sun. July 15, 2007
631 * t/
632 Arghh!!! My TODO test didn't work, so I handle
d7d3f3cb 633 it manually now so that people can use this
829f7554 634 with 5.9.5/bleadperl without issue.
635
1d7205b8 6360.40 Tues, July 3, 2007
9f88b8ff 637 * t/
d7d3f3cb 638 ~ marked a test in 003_methods.t as TODO
639 for perl 5.9.5 (this test is irrelvant to
640 the module functioning on 5.9.5 for the most
1d7205b8 641 part anyway)
9f88b8ff 642
28acb786 6430.39 Mon. June 18, 2007
b817e248 644 * Class::MOP::Immutable
0ac992ee 645 - added make_metaclass_mutable + docs (groditi)
646 - removed unused variable
d9586da2 647 - added create_immutable_transformer
648 necessary for sane overloading of immutable behavior
d7d3f3cb 649 - tests for this (groditi)
0ac992ee 650
651 * Class::MOP::Class
652 - Immutability can now be undone,
653 added make_mutable + tests + docs (groditi)
04dd7510 654 - Massive changes to the way Immutable is done
655 for details see comments next to make_immutable
656 This fixes a bug where custom metaclasses broke
d7d3f3cb 657 when made immutable. We are now keeping one immutable
658 metaclass instance per metaclass instead of just one
04dd7510 659 to prevent isa hierarchy corruption. Memory use will go
660 up, but I suspect it will be neglible.
661 - New tests added for this behavior. (groditi)
7c90a1a8 662
c0fcd6ab 6630.38 Thurs. May 31, 2007
823a5d31 664 ~~ More documentation updates ~~
d7d3f3cb 665
823a5d31 666 * Class::MOP::Package
667 - we now deal with stub methods properly
668 - added tests for this
c0fcd6ab 669 - fixed some tests failing on 5.9.5 (thanks blblack)
d7d3f3cb 670
b25109b1 671 * Class::MOP::Attribute
672 - added get_read_method and get_write_method
d7d3f3cb 673 thanks to groditi for this code, tests
c81de280 674 and docs.
b25109b1 675 - added tests and POD for this
d7d3f3cb 676
795a0c8b 677 * Class::MOP::Class
d7d3f3cb 678 - fixed RT issue #27329, clone object now
795a0c8b 679 handles undef values correctly.
680 - added tests for this
d7d3f3cb 681 - Corrected anon-class handling so that they
682 will not get reaped when instances still
683 exist which need to reference them. This is
684 the correct behavior, hopefully this is an
685 obscure enough feature that there are not too
d4ba1677 686 many work arounds out in the wild.
d7d3f3cb 687 - added tests for this by groditi
95514cb4 688 - updated docs to explain this
689
690 * metaclass
c0fcd6ab 691 - load custom metaclasses automatically (thanks groditi)
f2266181 692 - added tests for this behavior
a06797b0 693
3dc99d93 6940.37 Sat. March 10, 2007
448b6e55 695 ~~ Many, many documentation updates ~~
d7d3f3cb 696
448b6e55 697 * Class::MOP
d7d3f3cb 698 - added &load_class and &is_class_loaded
448b6e55 699 - added tests and docs for these
2367814a 700
9363ea89 701 * Class::MOP::Attribute
d7d3f3cb 702 - default now checks the instance with defined to
9363ea89 703 avoid setting off bool-overloads (found by Carl Franks)
704
c23184fc 7050.37_002
d7d3f3cb 706 * /t
707 - bad name in a test, causing meaningless failuress.
c23184fc 708 No other changes.
709
7100.37_001
d7d3f3cb 711
c23184fc 712 ~~ GLOBAL CHANGES ~~
d7d3f3cb 713 - All attribute names are now consistent and follow Perl 6
714 style (prefixed with the sigil, and ! as the twigil for
715 private attrs). This should not affect any code, unless
716 you broke encapsulation, in which case, it is your problem
c23184fc 717 anyway.
d7d3f3cb 718
c23184fc 719 !! Class::MOP::Class::Immutable has been removed
d7d3f3cb 720
c23184fc 721 * Class::MOP::Method::Constructor
d7d3f3cb 722 - this has been moved out of Class::MOP::Class::Immutable
c23184fc 723 and is a proper subclass of Class::MOP::Method now.
d7d3f3cb 724
c23184fc 725 * Class::MOP::Class
d7d3f3cb 726 - this module now uses Class::MOP::Immutable for the
727 immutable transformation instead of
c23184fc 728 Class::MOP::Class::Immutable.
d7d3f3cb 729
730 + Class::MOP::Immutable
731 - this module now controls the transformation from a mutable
732 to an immutable version of the class. Docs for this will
c23184fc 733 be coming eventually.
d7d3f3cb 734
c23184fc 735
cdc1ecba 7360.36 Sun. Nov. 5, 2006
a651e249 737 * Class::MOP::Class
d7d3f3cb 738 - added a few 'no warnings' lines to keep annoying
739 (and meaningless) warnings from chirping during
a651e249 740 global destruction.
d7d3f3cb 741
0870928c 742 * Class::MOP
d7d3f3cb 743 - some more bootstrapping is now done on the new
0870928c 744 classes
d7d3f3cb 745
0870928c 746 * Class::MOP::Class::Immutable
d7d3f3cb 747 *** API CHANGE ***
748 - constructor generation is now handled by
0870928c 749 the Class::MOP::Method::Constructor class
d7d3f3cb 750
0870928c 751 * Class::MOP::Method::Constructor
d7d3f3cb 752 - created this to handle constructor generation
0870928c 753 in Class::MOP::Class::Immutable
d7d3f3cb 754
0870928c 755 * Class::MOP::Attribute
d7d3f3cb 756 *** API CHANGE ***
757 - attributes now delegate to the
758 Class::MOP::Method::Accessor to generate
0870928c 759 accessors
d7d3f3cb 760
0870928c 761 * Class::MOP::Method::Accessor
d7d3f3cb 762 - all accessor generation functions from
0870928c 763 Class::MOP::Attribute have been moved here
a651e249 764
80f00c79 7650.35 Sat. Sept. 30, 2006
8745cf22 766
767 * scripts/class_browser.pl
d7d3f3cb 768 - initial prototype of a class browser, more
769 on this to come. Comments and patches are
8745cf22 770 very much welcome.
b1897d4d 771
772 * Class::MOP
d7d3f3cb 773 - All Class::MOP::* accessors are no longer
774 re-generated in the bootstrap, instead
6d2118a4 775 they are aliased from the originals
6d2118a4 776 - fixed tests to reflect
d7d3f3cb 777 - added Class::MOP::Method (and its subclasses)
b1897d4d 778 to the bootstrap
779 - adjusted tests for this
86482605 780 - added the Class::MOP::Instance attributes
781 to the bootstrap
d7d3f3cb 782
b1897d4d 783 * Class::MOP::Method
784 *** API CHANGE ***
785 - methods are no longer blessed CODE refs
786 but are actual objects which can be CODE-ified
787 - adjusted tests to compensate
d7d3f3cb 788 - adjusted docs for this
b1897d4d 789
790 * Class::MOP::Class
d7d3f3cb 791 - changed how methods are dealt with to
792 encapsulate most of the work into the
b1897d4d 793 &get_method_map method
794 - made several adjustments for the change
795 in Class::MOP::Method
d7d3f3cb 796 - &add_attribute now checks if you are adding
797 a duplicate name, and properly removes the
b1897d4d 798 old one before installing the new one
799 - added tests for this
86482605 800 - adjusted docs for this
d7d3f3cb 801
b1897d4d 802 * Class::MOP::Class::Immutable
803 - added caching of &get_method_map
804 - fixed issue with &get_package_symbol
805 - cleaned up the methods that die (patch by David Wheeler)
d7d3f3cb 806
b1897d4d 807 * Class::MOP::Package
d7d3f3cb 808 - added filtering capabilities to
b1897d4d 809 &list_all_package_symbols
810
a549ce50 8110.34 Sat. Aug. 26, 2006
c4260b45 812 * Class::MOP::Class
813 - added the %:methods attribute, which like
d7d3f3cb 814 the $:version and such just actually goes
815 to the symbol table to get it's stuff.
c4260b45 816 However, it makes the MOP more complete.
88dd563c 817 ** API CHANGE **
d7d3f3cb 818 - The &create method now requires that all
819 but the package name now is passed in as
88dd563c 820 named parameters. See docs for more info.
821 - updated docs and tests for this
d7d3f3cb 822
c4260b45 823 * Class::MOP::Object
d7d3f3cb 824 - added &dump method to easily Data::Dumper
c4260b45 825 an object
d7d3f3cb 826
c4260b45 827 * Class::MOP
d7d3f3cb 828 - cleaned up the initialization of attributes
829 which do not store things in the instance
c4260b45 830 - added the %:methods attribute definition to
831 the bootstrap
d7d3f3cb 832
88dd563c 833 ~ lots of misc. test cleanup
c4260b45 834
56e8dd5d 8350.33 Sat. Aug. 19, 2006
be7677c7 836 * Class::MOP::Class
d7d3f3cb 837 - moved the metaclass cache out of here
be7677c7 838 and it is now in Class::MOP itself.
d7d3f3cb 839
56e8dd5d 840 * Class::MOP
841 - moved all the metaclass cache stuff here
842 - fixed all tests for this
be7677c7 843
148b4697 844 * Class::MOP::Attribute
d7d3f3cb 845 - reference values (other than CODE refs)
148b4697 846 are no longer allowed for defaults
847 - added tests for this
d7d3f3cb 848
56dcfc1a 849 * Class::MOP::Package
d7d3f3cb 850 - fixed an issue with perl 5.8.1 and how it deals
851 with symbol tables. The namespace hash is now
852 always reloaded from the symbol table.
e3a2c885 853
854 ~ lots of misc. documentation cleanup
1396f86b 855
716c5765 8560.32 Sat. Aug. 12, 2006
d7d3f3cb 857 + added Class::MOP::Object so that the
6e57504d 858 metamodel is more complete (and closer
859 to what Perl 6 will probably be).
860
9ca19585 861 * Class::MOP::Package
d7d3f3cb 862 - refactored entire class, this is now
9ca19585 863 the primary gateway between the metaclass
864 and the Perl 5 symbol table
865 - added many tests for this
d7d3f3cb 866 - this class is now a subclass of
6e57504d 867 Class::MOP::Object
716c5765 868 - added some tests to reflect this
d7d3f3cb 869
9ca19585 870 * Class::MOP::Class
d7d3f3cb 871 - refactored all symbol table access to
9ca19585 872 use Class::MOP::Package methods instead
d7d3f3cb 873
f0480c45 874 * Class::MOP::Module
875 - adding the $:version attribute in the bootstrap
876 so that Module has a version as an attribute
877 - see comment in Class::MOP for details
d7d3f3cb 878 - added the $:authority attribute to this module
879 as well as an &identifier method, to bring us
880 ever closer to Perl 6 goodness
881 - I have added $AUTHORITY to all the modules
716c5765 882 - added tests for this
d7d3f3cb 883
f0480c45 884 * Class::MOP::Instance
d7d3f3cb 885 - added &deinitialize_slot for removing slots
f0480c45 886 from an instance
d7d3f3cb 887 - added tests for this
888
889 * Class::MOP::Attribute
9ca19585 890 - added support for &deinitialize_slot for removing
891 slots from an instance
892 - added tests for this
893
1a09d9cc 8940.31 Sat. July 15, 2006
895
b679e644 896 * Class::MOP::Class
897 - added &find_method_by_name to locate a method
d7d3f3cb 898 anywhere within the class hierarchy
899
b679e644 900 * Class::MOP::Attribute
d7d3f3cb 901 - added &set_value and &get_value for getting
902 the value of the attribute for a particular
b679e644 903 instance.
904
373a16ae 9050.30 Wed. July 5, 2006
906 ---------------------------------------
d7d3f3cb 907 This is the first version of Class::MOP
373a16ae 908 to introduce the immutable features which
d7d3f3cb 909 will be used for optimizating the MOP.
373a16ae 910 This support should still be considered
911 experimental, but moving towards stability.
912 ---------------------------------------
d7d3f3cb 913
914 * Created Class::MOP::Class::Immutable
915
916 * Created the Class::MOP::Package and
917 Class::MOP::Module classes to more
373a16ae 918 closely conform to Perl 6's meta-model
e0a82090 919
920 * Class::MOP::Class
921 - now inherits from Class::MOP::Module
d7d3f3cb 922 - several methods moved to ::Module and
e0a82090 923 ::Package and now inherited
924 - added tests for this
d7d3f3cb 925
c0cbf4d9 926 * Class::MOP::Instance
d7d3f3cb 927 - added an is_inlinable method to allow other
c0cbf4d9 928 classes to check before they attempt to optimize.
d7d3f3cb 929 - added an inline_create_instance to inline
930 instance creation (of course)
931
2ba153a9 932 ** API CHANGE **
d7d3f3cb 933 - the Class::MOP::Class::*_package_variable
2ba153a9 934 methods are all now methods of Class::MOP::Package
d7d3f3cb 935 and called *_package_symbol instead. This is
936 because they are now more general purpose symbol
937 table manipulation methods.
e0a82090 938
cdfaa4cc 9390.29_02 Thurs. June 22, 2006
940 ++ DEVELOPER RELEASE ++
df7b4119 941 * Class::MOP::Class
d7d3f3cb 942 - small change in &create so that it behaves
df7b4119 943 properly when inherited
cdfaa4cc 944 - small fix to &clone_instance
df7b4119 945
667cecf3 9460.29_01 Fri. May 12, 2006
947 ++ DEVELOPER RELEASE ++
d7d3f3cb 948 - This release works in combination with
667cecf3 949 Moose 0.09_01, it is a developer release
d7d3f3cb 950 because it introduces a new instance
951 sub-protocol and has not yet been
952 optimized.
667cecf3 953
40483095 954 * Class::MOP::Class
955 - anon-classes are now properly garbage collected
d7d3f3cb 956 - added tests for this
957 - improved method modifier wrapping
40483095 958
2bab2be6 959 * Class::MOP::Instance
1becdfcc 960 - added new instance protocol
2bab2be6 961 - added tests for this
962 - changed all relevant modules and examples
963 - Class::MOP::Class
964 - Class::MOP::Attribute
965 - examples/*
966
1becdfcc 967 * metaclass
968 - you no longer need to specify the metaclass
969 itself, if it is not there, Class::MOP::Class
970 is just assumed
971 - updated tests for this
972
973 * examples/
d7d3f3cb 974 - added ArrayBasedStorage example to show
1becdfcc 975 instance storage using ARRAY refs instead of
d7d3f3cb 976 HASH refs.
1becdfcc 977 - added tests for this
d7d3f3cb 978 - InsideOutClass is totally revised using the
1becdfcc 979 new instance protocol
980 - added more tests for this
981
93b4e576 9820.26 Mon. April 24, 2006
e7f732e4 983 * Class::MOP::Class
984 - added find_attribute_by_name method
985 - added tests and docs for this
56a0b530 986 - some small optimizations
987
988 * Class::MOP::Attribute
989 - some small optimizations
e7f732e4 990
46666f33 9910.25 Thurs. April 20, 2006
587aca23 992 * Class::MOP::Class
993 - added create_anon_class for creating anonymous classes
994 - added tests for this
995 - added get_all_metaclasses, get_all_metaclass_names
996 and get_all_metaclass_instances method to allow
997 access to all the cached metaclass objects.
bd4e03f9 998 - attribute slot initialization is now the responsibility
d7d3f3cb 999 of the attribute itself, and construct_instance now
bd4e03f9 1000 delegates appropriately
d7d3f3cb 1001
bd4e03f9 1002 * Class::MOP::Attribute
1003 - attribute slot initialization is now the responsibility
1004 of the attribute itself, so we added a method for it
1005 called initialize_instance_slot
d7d3f3cb 1006
fed4cee7 1007 * examples/
d7d3f3cb 1008 - adjusted all the examples to use the new attribute
1009 initialize_instance_slot method
587aca23 1010
1daaa2b2 10110.24 Tues. April 11, 2006
8c936afc 1012 * Class::MOP::Class
d7d3f3cb 1013 - cleaned up how the before/after/around method
8c936afc 1014 modifiers get named with Sub::Name
1015
b9dfbf78 10160.23 Thurs. March 30, 2006
a977cf65 1017 * Class::MOP::Class
d7d3f3cb 1018 - fixed the way attribute defaults are handled
a977cf65 1019 during instance construction (bug found by chansen)
d7d3f3cb 1020
b9dfbf78 1021 * Class::MOP::Attribute
d7d3f3cb 1022 - read-only accessors ('reader') will now die if
b9dfbf78 1023 passed more than one argument (attempting to write
1024 to them basically)
1025 - added tests for this
d7d3f3cb 1026 - adjusted all /example files to comply
a977cf65 1027
f9eba090 10280.22 Mon. March 20, 2006
0eff2c16 1029 * Class::MOP::Class
1030 - localized $@ in the *_package_variable functions
1031 because otherwise, it does ugly things in Moose.
1032 - added test case for this
1033
1988e85e 10340.21 Wed. March 15, 2006
2f6d5412 1035 * Class::MOP::Class
d7d3f3cb 1036 - fixed issue where metaclasses are reaped from
2f6d5412 1037 our cache in global destruction, and so are not
1038 available in DESTORY calls
1039
96ceced8 10400.20 Thurs. March 2, 2006
d7d3f3cb 1041 - removed the dependency for Clone since
d3cb0d4a 1042 we no longer to deep-cloning by default.
d7d3f3cb 1043
a4258ffd 1044 * Class::MOP::Method
d7d3f3cb 1045 - added &package_name, &name and
1046 &fully_qualified_name methods, some of
1047 which were formerly private subs in
a4258ffd 1048 Class::MOP::Class
d7d3f3cb 1049
a4258ffd 1050 * Class::MOP::Method::Wrapped
d7d3f3cb 1051 - allows for a method to be wrapped with
1052 before, after and around modifiers
a4258ffd 1053 - added tests and docs for this feature
d3cb0d4a 1054
1055 * Class::MOP::Class
58d75218 1056 - improved &get_package_symbol
96ceced8 1057 - &version and &superclasses now use it
a4258ffd 1058 - methods are now blessed into Class::MOP::Method
1059 whenever possible
d7d3f3cb 1060 - added methods to install CLOS-style method modifiers
a4258ffd 1061 - &add_before_method_modifier
d7d3f3cb 1062 - &add_after_method_modifier
a4258ffd 1063 - &add_around_method_modifier
1064 - added tests and docs for these
d7d3f3cb 1065 - added &find_next_method_by_name which finds the
96ceced8 1066 equivalent of SUPER::method_name
d3cb0d4a 1067
1c020571 10680.12 Thurs. Feb 23, 2006
d7d3f3cb 1069 - reduced the dependency on B, no need to always
d89c0fad 1070 have the latest
1071
1c020571 1072 * examples/
1073 - added docs to the C3 method dispatch order test
d7d3f3cb 1074 - fixed missing Algorithm::C3 dependency by making
1c020571 1075 the test skip if it is not installed
1076
0dea7280 10770.11 Mon Feb. 20, 2006
f3f5bd34 1078 * examples/
1079 - added example of changing method dispatch order to C3
d7d3f3cb 1080
a27ae83f 1081 * Class::MOP::Class
19d4b5b8 1082 - changed how clone_instance behaves, it now only does a
1083 shallow clone (see docs for more details)
a27ae83f 1084 - added docs and tests
f3f5bd34 1085
3bf7644b 10860.10 Tues Feb. 14, 2006
d7d3f3cb 1087 ** This release was mostly about writing more tests and
1088 cleaning out old and dusty code, the MOP should now
3bf7644b 1089 be considered "ready to use".
1090
22286063 1091 - adding more tests to get coverage up a little higher,
1092 mostly testing errors and edge cases.
1093 - test coverage is now at 99%
d7d3f3cb 1094
aa448b16 1095 * Class::MOP
1096 - no longer optionally exports to UNIVERSAL::meta or
d7d3f3cb 1097 creates a custom metaclass generator, use the
aa448b16 1098 metaclass pragma instead.
22286063 1099
d7d3f3cb 1100 * Class::MOP::Class
1101 - fixed a number of minor issues which came up in the
1102 error/edge-case tests
1103
1104 * Class::MOP::Attribute
1105 - fixed a number of minor issues which came up in the
22286063 1106 error/edge-case tests
d7d3f3cb 1107
0b8eb325 1108 * examples/
ea263060 1109 - fixing the AttributesWithHistory example, it was broken.
663f8198 1110
550d56db 11110.06 Thurs Feb. 9, 2006
677eb158 1112 * metaclass
d7d3f3cb 1113 - adding new metaclass pragma to make setting up the
677eb158 1114 metaclass a little more straightforward
d7d3f3cb 1115
7b31baf4 1116 * Class::MOP
d7d3f3cb 1117 - clean up bootstrapping to include more complete
1118 attribute definitions for Class::MOP::Class and
1119 Class::MOP::Attribute (accessors, readers, writers,
7b31baf4 1120 etc.) ... it is redundant, but is useful meta-info
1121 to have around.
677eb158 1122
99e5b7e8 1123 * Class::MOP::Class
d7d3f3cb 1124 - fixing minor meta-circularity issue with &meta, it
99e5b7e8 1125 is now more useful for subclasses
d7d3f3cb 1126 - added &get_attribute_map as an accessor for the
7b31baf4 1127 hash of attribute meta objects
c9e77dbb 1128 - &compute_all_applicable_attributes now just returns
1129 the attribute meta-object, rather than the HASH ref
d7d3f3cb 1130 since all the same info can be gotten from the
c9e77dbb 1131 attribute meta-object itself
1132 - updated docs & tests to reflect
5f3c057a 1133 - added &clone_instance method which does a deep clone
1134 of the instance structure created by &construct_instance
1135 - added docs & tests for this
550d56db 1136 - added Clone as a dependency
5f3c057a 1137 - added &new_object and &clone_object convience methods to
1138 return blessed new or cloned instances
2a7575a6 1139 - they handle Class::MOP::Class singletons correctly too
5f3c057a 1140 - added docs & tests for this
2a7575a6 1141 - cleaned up the &constuct_class_instance so that it behaves
1142 more like &construct_instance (and managed the singletons too)
550d56db 1143 - added the &check_metaclass_compatibility method to make sure
1144 that metaclasses are upward and downward compatible.
1145 - added tests and docs for this
d7d3f3cb 1146
99e5b7e8 1147 * examples/
1148 - adjusting code to use the &Class::MOP::Class::meta
1149 fix detailed above
677eb158 1150 - adjusting code to use the metaclass pragma
d7d3f3cb 1151
aa9c883e 11520.05 Sat Feb. 4, 2006
2e41896e 1153 * Class::MOP::Class
1154 - added the &attribute_metaclass and &method_metaclass
d7d3f3cb 1155 attributes which contain a metaclass name to use for
2e41896e 1156 attributes/methods respectively
d7d3f3cb 1157
351bd7d4 1158 * Class::MOP
d7d3f3cb 1159 - bootstrap additional attributes for Class::MOP::Class
1160
2e41896e 1161 * examples/
1162 - adjusted the example code and tests to use the new
1163 &attribute_metaclass feature of Class::MOP::Class
aa9c883e 1164 - added new example:
1165 - LazyClass
2e41896e 1166
d7c2cbe3 11670.04 Fri Feb. 3, 2006
d6fbcd05 1168 * Class::MOP::Class
1169 - some documentation suggestions from #perl6
d7d3f3cb 1170
d6fbcd05 1171 * Class::MOP::Attribute
d7d3f3cb 1172 - improved error messages
1173
d6fbcd05 1174 * examples/
1175 - added new examples:
1176 - AttributesWithHistory
d7c2cbe3 1177 - ClassEncapsultedAttributes
343203ee 1178
9ec169fe 11790.03 Fri Feb. 3, 2006
1180 - converted to Module::Build instead of EU::MM
d7d3f3cb 1181
9ec169fe 1182 * Class::MOP::Attribute
1183 - refactored method generation code
1184 - attributes are now associated with class directly
d7d3f3cb 1185
f71f4295 1186 * examples/
d7d3f3cb 1187 - refactored the InsideOut example to take advantage
9ec169fe 1188 of the Class::MOP::Attribute refactoring
f71f4295 1189 - changed example files to .pod files and hide thier
1190 package names from PAUSE (I don't want to own these
1191 namespaces really, they are just examples)
9ec169fe 1192
a57c7fa2 11930.02 Thurs Feb. 2, 2006
1194 - moving examples from t/lib/* to examples/*
1195 - adding POD documentation to the examples
1196
a2e85e6c 11970.01 Thurs Feb. 2, 2006
92af7fdf 1198 - Initial release