Commit | Line | Data |
7c90a1a8 |
1 | Revision history for Perl extension Class-MOP. |
b817e248 |
2 | |
10dd437b |
3 | 0.54 |
8861fab2 |
4 | * Class::MOP |
5 | metaclass |
6 | - making sure that load_class never gets |
7 | passed a value from @_ or $_ to squash |
8 | Ovid's bug (http://use.perl.org/~Ovid/journal/35763) |
9 | |
09c6e1d2 |
10 | * Class::MOP::Class |
11 | - make_{immutable,mutable} now return 1 |
12 | (cause Sartak asked) |
acce7fd6 |
13 | |
14 | * Class::MOP::Object |
15 | - localizing the Data::Dumper configurations so |
16 | that it does not pollute others (RT #33509) |
09c6e1d2 |
17 | |
10dd437b |
18 | * t/ |
19 | - fixed the filename length on several |
20 | test files so we install on VMS better |
21 | (RT #32295) |
22 | - fixed incorrect use of catdir when it |
23 | should be catfile (RT #32385) |
24 | |
2491730f |
25 | 0.53 Thurs. Feb. 14, 1008 |
7a536297 |
26 | ~~ several doc. fixes and updates ~~ |
0c6f4c4a |
27 | |
28 | * Class::MOP::Class |
29 | Class::MOP::Method::Constructor |
30 | Class::MOP::Attribute |
31 | - making init_arg accept an undefined value |
32 | to indicate that no constructor args can |
33 | be passed (thanks to nothingmuch) |
34 | - added tests for this |
339264d8 |
35 | - added attribute initializer attribute (rjbs) |
0c6f4c4a |
36 | |
37 | * Class::MOP. |
38 | - making this use the new init_arg => undef |
39 | feature instead of the silly hack from |
40 | before (thanks to nothingmuch) |
ad074154 |
41 | |
3e8e8f07 |
42 | 0.52 Tues. Jan. 22, 2008 |
2a2b8458 |
43 | * Class::MOP::Class |
44 | - fixed bug in rebless_instance |
45 | (discovered by ash) |
46 | |
47 | * Class::MOP::Method::Constructor |
48 | - removed assumptions about the existence of |
49 | a &meta method |
50 | |
656ce3ba |
51 | 0.51 Mon. Jan. 14, 2008 |
69e3ab0a |
52 | ~~~ some misc. doc. fixes ~~~ |
53 | ~~ updated copyright dates ~~ |
c1d5345a |
54 | |
55 | * Class::MOP |
56 | - now sets the IS_RUNNING_ON_5_10 |
57 | constant so that we can take advantage |
58 | of some of the nice bits of 5.10 |
59 | |
60 | * Class::MOP::Class |
61 | - uses the IS_RUNNING_ON_5_10 flag to |
62 | optimize the &linearized_isa method |
63 | and avoid the hack/check for circular |
64 | inheritence in &class_precedence_list |
3d9e4646 |
65 | - added rebless_instance method (Sartak) |
66 | - added tests for this |
c1d5345a |
67 | |
68 | * Class::MOP::Immutable |
69 | - the immutable class now keeps track of |
70 | the transformer which immutablized it |
69e3ab0a |
71 | |
3d9e4646 |
72 | * Class::MOP::Instance |
73 | - added rebless_instance_structure method (Sartak) |
74 | - added tests for this |
75 | |
a780a6ff |
76 | 0.50 Fri. Dec. 21, 2007 |
6ff0d647 |
77 | * Class::MOP::Class |
78 | - fixed bug in immutable to make sure that |
79 | transformation arguments are saved |
80 | correctly (mst) |
b6bcc3a5 |
81 | - added tests for this |
6ff0d647 |
82 | |
83 | * Class::MOP::Immutable |
84 | - fixed a bug (see above) |
85 | |
86 | * Class::MOP::Attribute |
87 | - some doc updates |
88 | |
30b8af04 |
89 | 0.49 Fri. Dec. 14, 2007 |
b6bcc3a5 |
90 | !! Class::MOP now loads 2 x faster !! |
30b8af04 |
91 | !! with XS speedups (thanks konobi) !! |
92 | |
93 | * Class::MOP |
94 | - removed the dependency on B |
95 | - added two XS functions (thanks konobi) |
96 | - get_code_info($code) which replaces all |
97 | the B fiddling we were doing with |
98 | faster/leaner XS level fiddling |
99 | - check_package_cache_flag($pkg_name) which |
100 | returns the PL_sub_generation variable to |
101 | be used to help manage method caching. |
102 | |
103 | NOTE: |
104 | In 5.10 or greater this will actually |
105 | use the mro::get_pkg_gen instead to give |
106 | even more accurate caching information. |
107 | blblack++ for that stuff :) |
108 | |
6c9f390e |
109 | * Class::MOP::Class |
110 | - added the &subclasses method (thanks rlb) |
30b8af04 |
111 | - added the update_package_cache_flag and |
112 | reset_package_cache_flag which help keep |
113 | track of when we need to re-fetch the |
114 | method map. |
115 | - Several small improvements to take advantage |
116 | of the new method map caching features |
4c4a6c41 |
117 | |
1b8b3e09 |
118 | 0.48 Mon. Nov. 26, 2007 |
d14f6cbe |
119 | * Class::MOP::Attribute |
120 | - fixed get_read/write_method to handle the |
121 | HASH ref case, which makes the |
122 | get_read/write_method_ref handle it too. |
123 | - added more tests for this |
124 | |
742fb371 |
125 | 0.47 Sat. Nov. 24, 2007 |
126 | * Class::MOP::Attribute |
127 | - fixed misspelling in get_write_method_ref |
78d9bb38 |
128 | - added more tests for this |
742fb371 |
129 | |
fe7c0b15 |
130 | 0.46 Fri. Nov. 23, 2007 |
b7bdffc3 |
131 | * Class::MOP::Class |
132 | - added the linearized_isa method instead of constantly |
133 | pruning duplicate classes (this will be even more |
134 | useful in the 5.10-compat version coming soon) |
5da16d1b |
135 | |
136 | * Class::MOP::Attribute |
137 | - added the get_read_method_ref and get_write_method_ref |
138 | methods which allow you to retrieve a CODE ref which |
139 | can always be used to read or write an attribute. |
b7bdffc3 |
140 | |
1a5cc82e |
141 | 0.45 Thurs. Nov. 13, 2007 |
232c4e13 |
142 | * Class::MOP::Attribute |
143 | - Fix error message on confess (groditi) |
144 | |
544143b2 |
145 | 0.44 Thurs. Nov. 13, 2007 |
146 | - Apparently I didn't make dist correctly (groditi) |
147 | |
c0aeeb91 |
148 | 0.43 Thurs. Nov. 13, 2007 |
b08fd50c |
149 | * Class::MOP |
1d68af04 |
150 | - Add support for the 'builder' attribute (groditi) |
151 | |
b08fd50c |
152 | * Class::MOP::Class |
153 | - optimise metaclass-already-exists check in |
154 | construct_class_instance (groditi) |
155 | - duplicate check into initialize to save a |
156 | call through (groditi) |
157 | |
1d68af04 |
158 | * Class::MOP::Attribute |
159 | - Add support for the 'builder' attribute (groditi) |
8768ecf3 |
160 | - Make predicates check for the existence of a value, not whether |
b08fd50c |
161 | it is defined (groditi) |
8768ecf3 |
162 | |
163 | * Class::MOP::Instance |
164 | - Make predicates check for the existence of a value, not whether |
b08fd50c |
165 | it is defined (groditi) |
8768ecf3 |
166 | |
565f0cbb |
167 | * Class::MOP::Method::Accessor |
168 | - made this a subclass of Class::MOP::Method::Generated |
169 | - removed the relevant attributes |
170 | |
171 | * Class::MOP::Method::Constructor |
172 | - fixed the cached values we had to be more sane |
173 | - made this a subclass of Class::MOP::Method::Generated |
174 | - fixed generated constructor so it properly handles |
175 | subclasses now. |
176 | - added tests for this |
177 | - added the option to allow for both inlined and |
178 | non-inlined constructors. |
b08fd50c |
179 | - Update inlined methods for builder and predicate changes (groditi) |
565f0cbb |
180 | |
181 | * Class::MOP::Method::Generated |
182 | - added this class as an abstract base for the |
183 | Class::MOP::Method::{Constructor,Accessor} classes |
184 | - added tests for this |
185 | |
b08fd50c |
186 | *t/ |
187 | - Alter tests (005, 014 020, 021) for new builder addition (groditi) |
188 | - Tests for new predicate behavior (and corrections to old tests) (groditi) |
189 | |
190 | *examples/ |
191 | - Update ArrayRef based class example to work with predicate changes |
192 | |
367183c4 |
193 | 0.42 Mon. July 16, 2007 |
9195ddff |
194 | !!! Horray for mst, he fixed it !!! |
195 | |
92af7fdf |
196 | * Class::MOP::Package |
197 | - alter symbol table handling to deal with 5.8.x and 5.9.x |
9195ddff |
198 | |
92af7fdf |
199 | * t/ |
9195ddff |
200 | - Get rid of the crappy workaround from 0.40/41 |
92af7fdf |
201 | |
829f7554 |
202 | 0.41 Sun. July 15, 2007 |
203 | * t/ |
204 | Arghh!!! My TODO test didn't work, so I handle |
205 | it manually now so that people can use this |
206 | with 5.9.5/bleadperl without issue. |
207 | |
1d7205b8 |
208 | 0.40 Tues, July 3, 2007 |
9f88b8ff |
209 | * t/ |
210 | ~ marked a test in 003_methods.t as TODO |
1d7205b8 |
211 | for perl 5.9.5 (this test is irrelvant to |
212 | the module functioning on 5.9.5 for the most |
213 | part anyway) |
9f88b8ff |
214 | |
28acb786 |
215 | 0.39 Mon. June 18, 2007 |
b817e248 |
216 | * Class::MOP::Immutable |
0ac992ee |
217 | - added make_metaclass_mutable + docs (groditi) |
218 | - removed unused variable |
d9586da2 |
219 | - added create_immutable_transformer |
220 | necessary for sane overloading of immutable behavior |
221 | - tests for this (groditi) |
0ac992ee |
222 | |
223 | * Class::MOP::Class |
224 | - Immutability can now be undone, |
225 | added make_mutable + tests + docs (groditi) |
04dd7510 |
226 | - Massive changes to the way Immutable is done |
227 | for details see comments next to make_immutable |
228 | This fixes a bug where custom metaclasses broke |
229 | when made immutable. We are now keeping one immutable |
230 | metaclass instance per metaclass instead of just one |
231 | to prevent isa hierarchy corruption. Memory use will go |
232 | up, but I suspect it will be neglible. |
233 | - New tests added for this behavior. (groditi) |
7c90a1a8 |
234 | |
c0fcd6ab |
235 | 0.38 Thurs. May 31, 2007 |
823a5d31 |
236 | ~~ More documentation updates ~~ |
c81de280 |
237 | |
823a5d31 |
238 | * Class::MOP::Package |
239 | - we now deal with stub methods properly |
240 | - added tests for this |
c0fcd6ab |
241 | - fixed some tests failing on 5.9.5 (thanks blblack) |
c81de280 |
242 | |
b25109b1 |
243 | * Class::MOP::Attribute |
244 | - added get_read_method and get_write_method |
c81de280 |
245 | thanks to groditi for this code, tests |
246 | and docs. |
b25109b1 |
247 | - added tests and POD for this |
795a0c8b |
248 | |
249 | * Class::MOP::Class |
250 | - fixed RT issue #27329, clone object now |
251 | handles undef values correctly. |
252 | - added tests for this |
d4ba1677 |
253 | - Corrected anon-class handling so that they |
254 | will not get reaped when instances still |
255 | exist which need to reference them. This is |
256 | the correct behavior, hopefully this is an |
257 | obscure enough feature that there are not too |
258 | many work arounds out in the wild. |
259 | - added tests for this by groditi |
95514cb4 |
260 | - updated docs to explain this |
261 | |
262 | * metaclass |
c0fcd6ab |
263 | - load custom metaclasses automatically (thanks groditi) |
f2266181 |
264 | - added tests for this behavior |
a06797b0 |
265 | |
3dc99d93 |
266 | 0.37 Sat. March 10, 2007 |
448b6e55 |
267 | ~~ Many, many documentation updates ~~ |
268 | |
269 | * Class::MOP |
270 | - added &load_class and &is_class_loaded |
271 | - added tests and docs for these |
2367814a |
272 | |
9363ea89 |
273 | * Class::MOP::Attribute |
274 | - default now checks the instance with defined to |
275 | avoid setting off bool-overloads (found by Carl Franks) |
276 | |
c23184fc |
277 | 0.37_002 |
278 | * /t |
279 | - bad name in a test, causing meaningless failuress. |
280 | No other changes. |
281 | |
282 | 0.37_001 |
283 | |
284 | ~~ GLOBAL CHANGES ~~ |
285 | - All attribute names are now consistent and follow Perl 6 |
286 | style (prefixed with the sigil, and ! as the twigil for |
287 | private attrs). This should not affect any code, unless |
288 | you broke encapsulation, in which case, it is your problem |
289 | anyway. |
290 | |
291 | !! Class::MOP::Class::Immutable has been removed |
292 | |
293 | * Class::MOP::Method::Constructor |
294 | - this has been moved out of Class::MOP::Class::Immutable |
295 | and is a proper subclass of Class::MOP::Method now. |
296 | |
297 | * Class::MOP::Class |
298 | - this module now uses Class::MOP::Immutable for the |
299 | immutable transformation instead of |
300 | Class::MOP::Class::Immutable. |
301 | |
302 | + Class::MOP::Immutable |
303 | - this module now controls the transformation from a mutable |
304 | to an immutable version of the class. Docs for this will |
305 | be coming eventually. |
306 | |
307 | |
cdc1ecba |
308 | 0.36 Sun. Nov. 5, 2006 |
a651e249 |
309 | * Class::MOP::Class |
310 | - added a few 'no warnings' lines to keep annoying |
311 | (and meaningless) warnings from chirping during |
312 | global destruction. |
0870928c |
313 | |
314 | * Class::MOP |
315 | - some more bootstrapping is now done on the new |
316 | classes |
317 | |
318 | * Class::MOP::Class::Immutable |
319 | *** API CHANGE *** |
320 | - constructor generation is now handled by |
321 | the Class::MOP::Method::Constructor class |
322 | |
323 | * Class::MOP::Method::Constructor |
324 | - created this to handle constructor generation |
325 | in Class::MOP::Class::Immutable |
326 | |
327 | * Class::MOP::Attribute |
328 | *** API CHANGE *** |
329 | - attributes now delegate to the |
330 | Class::MOP::Method::Accessor to generate |
331 | accessors |
332 | |
333 | * Class::MOP::Method::Accessor |
334 | - all accessor generation functions from |
335 | Class::MOP::Attribute have been moved here |
a651e249 |
336 | |
80f00c79 |
337 | 0.35 Sat. Sept. 30, 2006 |
8745cf22 |
338 | |
339 | * scripts/class_browser.pl |
340 | - initial prototype of a class browser, more |
341 | on this to come. Comments and patches are |
342 | very much welcome. |
b1897d4d |
343 | |
344 | * Class::MOP |
3e86c902 |
345 | - All Class::MOP::* accessors are no longer |
346 | re-generated in the bootstrap, instead |
6d2118a4 |
347 | they are aliased from the originals |
6d2118a4 |
348 | - fixed tests to reflect |
b1897d4d |
349 | - added Class::MOP::Method (and its subclasses) |
350 | to the bootstrap |
351 | - adjusted tests for this |
86482605 |
352 | - added the Class::MOP::Instance attributes |
353 | to the bootstrap |
b1897d4d |
354 | |
355 | * Class::MOP::Method |
356 | *** API CHANGE *** |
357 | - methods are no longer blessed CODE refs |
358 | but are actual objects which can be CODE-ified |
359 | - adjusted tests to compensate |
86482605 |
360 | - adjusted docs for this |
b1897d4d |
361 | |
362 | * Class::MOP::Class |
363 | - changed how methods are dealt with to |
364 | encapsulate most of the work into the |
365 | &get_method_map method |
366 | - made several adjustments for the change |
367 | in Class::MOP::Method |
368 | - &add_attribute now checks if you are adding |
369 | a duplicate name, and properly removes the |
370 | old one before installing the new one |
371 | - added tests for this |
86482605 |
372 | - adjusted docs for this |
b1897d4d |
373 | |
374 | * Class::MOP::Class::Immutable |
375 | - added caching of &get_method_map |
376 | - fixed issue with &get_package_symbol |
377 | - cleaned up the methods that die (patch by David Wheeler) |
378 | |
379 | * Class::MOP::Package |
380 | - added filtering capabilities to |
381 | &list_all_package_symbols |
382 | |
a549ce50 |
383 | 0.34 Sat. Aug. 26, 2006 |
c4260b45 |
384 | * Class::MOP::Class |
385 | - added the %:methods attribute, which like |
386 | the $:version and such just actually goes |
387 | to the symbol table to get it's stuff. |
388 | However, it makes the MOP more complete. |
88dd563c |
389 | ** API CHANGE ** |
390 | - The &create method now requires that all |
391 | but the package name now is passed in as |
392 | named parameters. See docs for more info. |
393 | - updated docs and tests for this |
c4260b45 |
394 | |
395 | * Class::MOP::Object |
396 | - added &dump method to easily Data::Dumper |
397 | an object |
398 | |
399 | * Class::MOP |
400 | - cleaned up the initialization of attributes |
401 | which do not store things in the instance |
402 | - added the %:methods attribute definition to |
403 | the bootstrap |
88dd563c |
404 | |
405 | ~ lots of misc. test cleanup |
c4260b45 |
406 | |
56e8dd5d |
407 | 0.33 Sat. Aug. 19, 2006 |
be7677c7 |
408 | * Class::MOP::Class |
409 | - moved the metaclass cache out of here |
410 | and it is now in Class::MOP itself. |
56e8dd5d |
411 | |
412 | * Class::MOP |
413 | - moved all the metaclass cache stuff here |
414 | - fixed all tests for this |
be7677c7 |
415 | |
148b4697 |
416 | * Class::MOP::Attribute |
417 | - reference values (other than CODE refs) |
418 | are no longer allowed for defaults |
419 | - added tests for this |
56dcfc1a |
420 | |
421 | * Class::MOP::Package |
422 | - fixed an issue with perl 5.8.1 and how it deals |
e3a2c885 |
423 | with symbol tables. The namespace hash is now |
424 | always reloaded from the symbol table. |
425 | |
426 | ~ lots of misc. documentation cleanup |
1396f86b |
427 | |
716c5765 |
428 | 0.32 Sat. Aug. 12, 2006 |
6e57504d |
429 | + added Class::MOP::Object so that the |
430 | metamodel is more complete (and closer |
431 | to what Perl 6 will probably be). |
432 | |
9ca19585 |
433 | * Class::MOP::Package |
434 | - refactored entire class, this is now |
435 | the primary gateway between the metaclass |
436 | and the Perl 5 symbol table |
437 | - added many tests for this |
6e57504d |
438 | - this class is now a subclass of |
439 | Class::MOP::Object |
716c5765 |
440 | - added some tests to reflect this |
9ca19585 |
441 | |
442 | * Class::MOP::Class |
443 | - refactored all symbol table access to |
444 | use Class::MOP::Package methods instead |
f0480c45 |
445 | |
446 | * Class::MOP::Module |
447 | - adding the $:version attribute in the bootstrap |
448 | so that Module has a version as an attribute |
449 | - see comment in Class::MOP for details |
450 | - added the $:authority attribute to this module |
451 | as well as an &identifier method, to bring us |
452 | ever closer to Perl 6 goodness |
716c5765 |
453 | - I have added $AUTHORITY to all the modules |
454 | - added tests for this |
9ca19585 |
455 | |
f0480c45 |
456 | * Class::MOP::Instance |
457 | - added &deinitialize_slot for removing slots |
458 | from an instance |
459 | - added tests for this |
9ca19585 |
460 | |
461 | * Class::MOP::Attribute |
462 | - added support for &deinitialize_slot for removing |
463 | slots from an instance |
464 | - added tests for this |
465 | |
1a09d9cc |
466 | 0.31 Sat. July 15, 2006 |
467 | |
b679e644 |
468 | * Class::MOP::Class |
469 | - added &find_method_by_name to locate a method |
470 | anywhere within the class hierarchy |
471 | |
472 | * Class::MOP::Attribute |
473 | - added &set_value and &get_value for getting |
474 | the value of the attribute for a particular |
475 | instance. |
476 | |
373a16ae |
477 | 0.30 Wed. July 5, 2006 |
478 | --------------------------------------- |
479 | This is the first version of Class::MOP |
480 | to introduce the immutable features which |
481 | will be used for optimizating the MOP. |
482 | This support should still be considered |
483 | experimental, but moving towards stability. |
484 | --------------------------------------- |
e0a82090 |
485 | |
373a16ae |
486 | * Created Class::MOP::Class::Immutable |
be960ba1 |
487 | |
373a16ae |
488 | * Created the Class::MOP::Package and |
489 | Class::MOP::Module classes to more |
490 | closely conform to Perl 6's meta-model |
e0a82090 |
491 | |
492 | * Class::MOP::Class |
493 | - now inherits from Class::MOP::Module |
494 | - several methods moved to ::Module and |
495 | ::Package and now inherited |
496 | - added tests for this |
c0cbf4d9 |
497 | |
498 | * Class::MOP::Instance |
499 | - added an is_inlinable method to allow other |
500 | classes to check before they attempt to optimize. |
be960ba1 |
501 | - added an inline_create_instance to inline |
502 | instance creation (of course) |
503 | |
2ba153a9 |
504 | ** API CHANGE ** |
505 | - the Class::MOP::Class::*_package_variable |
506 | methods are all now methods of Class::MOP::Package |
507 | and called *_package_symbol instead. This is |
508 | because they are now more general purpose symbol |
509 | table manipulation methods. |
e0a82090 |
510 | |
cdfaa4cc |
511 | 0.29_02 Thurs. June 22, 2006 |
512 | ++ DEVELOPER RELEASE ++ |
df7b4119 |
513 | * Class::MOP::Class |
514 | - small change in &create so that it behaves |
515 | properly when inherited |
cdfaa4cc |
516 | - small fix to &clone_instance |
df7b4119 |
517 | |
667cecf3 |
518 | 0.29_01 Fri. May 12, 2006 |
519 | ++ DEVELOPER RELEASE ++ |
520 | - This release works in combination with |
521 | Moose 0.09_01, it is a developer release |
522 | because it introduces a new instance |
523 | sub-protocol and has not yet been |
524 | optimized. |
525 | |
40483095 |
526 | * Class::MOP::Class |
527 | - anon-classes are now properly garbage collected |
528 | - added tests for this |
195f5bf8 |
529 | - improved method modifier wrapping |
40483095 |
530 | |
2bab2be6 |
531 | * Class::MOP::Instance |
1becdfcc |
532 | - added new instance protocol |
2bab2be6 |
533 | - added tests for this |
534 | - changed all relevant modules and examples |
535 | - Class::MOP::Class |
536 | - Class::MOP::Attribute |
537 | - examples/* |
538 | |
1becdfcc |
539 | * metaclass |
540 | - you no longer need to specify the metaclass |
541 | itself, if it is not there, Class::MOP::Class |
542 | is just assumed |
543 | - updated tests for this |
544 | |
545 | * examples/ |
546 | - added ArrayBasedStorage example to show |
547 | instance storage using ARRAY refs instead of |
548 | HASH refs. |
549 | - added tests for this |
550 | - InsideOutClass is totally revised using the |
551 | new instance protocol |
552 | - added more tests for this |
553 | |
93b4e576 |
554 | 0.26 Mon. April 24, 2006 |
e7f732e4 |
555 | * Class::MOP::Class |
556 | - added find_attribute_by_name method |
557 | - added tests and docs for this |
56a0b530 |
558 | - some small optimizations |
559 | |
560 | * Class::MOP::Attribute |
561 | - some small optimizations |
e7f732e4 |
562 | |
46666f33 |
563 | 0.25 Thurs. April 20, 2006 |
587aca23 |
564 | * Class::MOP::Class |
565 | - added create_anon_class for creating anonymous classes |
566 | - added tests for this |
567 | - added get_all_metaclasses, get_all_metaclass_names |
568 | and get_all_metaclass_instances method to allow |
569 | access to all the cached metaclass objects. |
bd4e03f9 |
570 | - attribute slot initialization is now the responsibility |
571 | of the attribute itself, and construct_instance now |
572 | delegates appropriately |
573 | |
574 | * Class::MOP::Attribute |
575 | - attribute slot initialization is now the responsibility |
576 | of the attribute itself, so we added a method for it |
577 | called initialize_instance_slot |
fed4cee7 |
578 | |
579 | * examples/ |
580 | - adjusted all the examples to use the new attribute |
581 | initialize_instance_slot method |
587aca23 |
582 | |
1daaa2b2 |
583 | 0.24 Tues. April 11, 2006 |
8c936afc |
584 | * Class::MOP::Class |
585 | - cleaned up how the before/after/around method |
586 | modifiers get named with Sub::Name |
587 | |
b9dfbf78 |
588 | 0.23 Thurs. March 30, 2006 |
a977cf65 |
589 | * Class::MOP::Class |
590 | - fixed the way attribute defaults are handled |
591 | during instance construction (bug found by chansen) |
b9dfbf78 |
592 | |
593 | * Class::MOP::Attribute |
594 | - read-only accessors ('reader') will now die if |
595 | passed more than one argument (attempting to write |
596 | to them basically) |
597 | - added tests for this |
598 | - adjusted all /example files to comply |
a977cf65 |
599 | |
f9eba090 |
600 | 0.22 Mon. March 20, 2006 |
0eff2c16 |
601 | * Class::MOP::Class |
602 | - localized $@ in the *_package_variable functions |
603 | because otherwise, it does ugly things in Moose. |
604 | - added test case for this |
605 | |
1988e85e |
606 | 0.21 Wed. March 15, 2006 |
2f6d5412 |
607 | * Class::MOP::Class |
608 | - fixed issue where metaclasses are reaped from |
609 | our cache in global destruction, and so are not |
610 | available in DESTORY calls |
611 | |
96ceced8 |
612 | 0.20 Thurs. March 2, 2006 |
d3cb0d4a |
613 | - removed the dependency for Clone since |
614 | we no longer to deep-cloning by default. |
a4258ffd |
615 | |
616 | * Class::MOP::Method |
96ceced8 |
617 | - added &package_name, &name and |
618 | &fully_qualified_name methods, some of |
a4258ffd |
619 | which were formerly private subs in |
620 | Class::MOP::Class |
621 | |
622 | * Class::MOP::Method::Wrapped |
623 | - allows for a method to be wrapped with |
624 | before, after and around modifiers |
625 | - added tests and docs for this feature |
d3cb0d4a |
626 | |
627 | * Class::MOP::Class |
58d75218 |
628 | - improved &get_package_symbol |
96ceced8 |
629 | - &version and &superclasses now use it |
a4258ffd |
630 | - methods are now blessed into Class::MOP::Method |
631 | whenever possible |
a4258ffd |
632 | - added methods to install CLOS-style method modifiers |
633 | - &add_before_method_modifier |
634 | - &add_after_method_modifier |
635 | - &add_around_method_modifier |
636 | - added tests and docs for these |
96ceced8 |
637 | - added &find_next_method_by_name which finds the |
638 | equivalent of SUPER::method_name |
d3cb0d4a |
639 | |
1c020571 |
640 | 0.12 Thurs. Feb 23, 2006 |
d89c0fad |
641 | - reduced the dependency on B, no need to always |
642 | have the latest |
643 | |
1c020571 |
644 | * examples/ |
645 | - added docs to the C3 method dispatch order test |
646 | - fixed missing Algorithm::C3 dependency by making |
647 | the test skip if it is not installed |
648 | |
0dea7280 |
649 | 0.11 Mon Feb. 20, 2006 |
f3f5bd34 |
650 | * examples/ |
651 | - added example of changing method dispatch order to C3 |
a27ae83f |
652 | |
653 | * Class::MOP::Class |
19d4b5b8 |
654 | - changed how clone_instance behaves, it now only does a |
655 | shallow clone (see docs for more details) |
a27ae83f |
656 | - added docs and tests |
f3f5bd34 |
657 | |
3bf7644b |
658 | 0.10 Tues Feb. 14, 2006 |
659 | ** This release was mostly about writing more tests and |
660 | cleaning out old and dusty code, the MOP should now |
661 | be considered "ready to use". |
662 | |
22286063 |
663 | - adding more tests to get coverage up a little higher, |
664 | mostly testing errors and edge cases. |
665 | - test coverage is now at 99% |
aa448b16 |
666 | |
667 | * Class::MOP |
668 | - no longer optionally exports to UNIVERSAL::meta or |
669 | creates a custom metaclass generator, use the |
670 | metaclass pragma instead. |
22286063 |
671 | |
672 | * Class::MOP::Class |
673 | - fixed a number of minor issues which came up in the |
674 | error/edge-case tests |
675 | |
676 | * Class::MOP::Attribute |
677 | - fixed a number of minor issues which came up in the |
678 | error/edge-case tests |
679 | |
0b8eb325 |
680 | * examples/ |
ea263060 |
681 | - fixing the AttributesWithHistory example, it was broken. |
663f8198 |
682 | |
550d56db |
683 | 0.06 Thurs Feb. 9, 2006 |
677eb158 |
684 | * metaclass |
550d56db |
685 | - adding new metaclass pragma to make setting up the |
677eb158 |
686 | metaclass a little more straightforward |
7b31baf4 |
687 | |
688 | * Class::MOP |
689 | - clean up bootstrapping to include more complete |
690 | attribute definitions for Class::MOP::Class and |
691 | Class::MOP::Attribute (accessors, readers, writers, |
692 | etc.) ... it is redundant, but is useful meta-info |
693 | to have around. |
677eb158 |
694 | |
99e5b7e8 |
695 | * Class::MOP::Class |
696 | - fixing minor meta-circularity issue with &meta, it |
697 | is now more useful for subclasses |
7b31baf4 |
698 | - added &get_attribute_map as an accessor for the |
699 | hash of attribute meta objects |
c9e77dbb |
700 | - &compute_all_applicable_attributes now just returns |
701 | the attribute meta-object, rather than the HASH ref |
702 | since all the same info can be gotten from the |
703 | attribute meta-object itself |
704 | - updated docs & tests to reflect |
5f3c057a |
705 | - added &clone_instance method which does a deep clone |
706 | of the instance structure created by &construct_instance |
707 | - added docs & tests for this |
550d56db |
708 | - added Clone as a dependency |
5f3c057a |
709 | - added &new_object and &clone_object convience methods to |
710 | return blessed new or cloned instances |
2a7575a6 |
711 | - they handle Class::MOP::Class singletons correctly too |
5f3c057a |
712 | - added docs & tests for this |
2a7575a6 |
713 | - cleaned up the &constuct_class_instance so that it behaves |
714 | more like &construct_instance (and managed the singletons too) |
550d56db |
715 | - added the &check_metaclass_compatibility method to make sure |
716 | that metaclasses are upward and downward compatible. |
717 | - added tests and docs for this |
5f3c057a |
718 | |
99e5b7e8 |
719 | * examples/ |
720 | - adjusting code to use the &Class::MOP::Class::meta |
721 | fix detailed above |
677eb158 |
722 | - adjusting code to use the metaclass pragma |
99e5b7e8 |
723 | |
aa9c883e |
724 | 0.05 Sat Feb. 4, 2006 |
2e41896e |
725 | * Class::MOP::Class |
726 | - added the &attribute_metaclass and &method_metaclass |
351bd7d4 |
727 | attributes which contain a metaclass name to use for |
2e41896e |
728 | attributes/methods respectively |
351bd7d4 |
729 | |
730 | * Class::MOP |
731 | - bootstrap additional attributes for Class::MOP::Class |
2e41896e |
732 | |
733 | * examples/ |
734 | - adjusted the example code and tests to use the new |
735 | &attribute_metaclass feature of Class::MOP::Class |
aa9c883e |
736 | - added new example: |
737 | - LazyClass |
2e41896e |
738 | |
d7c2cbe3 |
739 | 0.04 Fri Feb. 3, 2006 |
d6fbcd05 |
740 | * Class::MOP::Class |
741 | - some documentation suggestions from #perl6 |
742 | |
743 | * Class::MOP::Attribute |
744 | - improved error messages |
745 | |
746 | * examples/ |
747 | - added new examples: |
748 | - AttributesWithHistory |
d7c2cbe3 |
749 | - ClassEncapsultedAttributes |
343203ee |
750 | |
9ec169fe |
751 | 0.03 Fri Feb. 3, 2006 |
752 | - converted to Module::Build instead of EU::MM |
753 | |
754 | * Class::MOP::Attribute |
755 | - refactored method generation code |
756 | - attributes are now associated with class directly |
757 | |
f71f4295 |
758 | * examples/ |
9ec169fe |
759 | - refactored the InsideOut example to take advantage |
760 | of the Class::MOP::Attribute refactoring |
f71f4295 |
761 | - changed example files to .pod files and hide thier |
762 | package names from PAUSE (I don't want to own these |
763 | namespaces really, they are just examples) |
9ec169fe |
764 | |
a57c7fa2 |
765 | 0.02 Thurs Feb. 2, 2006 |
766 | - moving examples from t/lib/* to examples/* |
767 | - adding POD documentation to the examples |
768 | |
a2e85e6c |
769 | 0.01 Thurs Feb. 2, 2006 |
92af7fdf |
770 | - Initial release |