Debian Codegraph @

Changes

raw
1 Revision history for Perl extension Aspect
2
3 1.04 Mon 8 Apr 2013
4 - fix failures on 5.17.6 (RT#81400)
5
6 1.03 Fri 19 Oct 2012
7 - Updating to Module::Install 1.06
8 - Removed warnings except in the test suite to prevent log spamming
9
10 1.02 Wed 1 Feb 2012
11 - Updating to Module::Install 1.04
12 - Adding B:: to the recursively excluded classes to avoid hooking
13
14 1.01 Thu 9 Jun 2011
15 - Added experimental function interface for the join point context.
16 - Move the library tests into the numeric order
17
18 1.00 Thu 26 May 2011
19 - First production release of the second-generation Aspect.pm!
20 - Support passing an explicit function list to import as per Exporter
21 - Final POD spelling tweaks
22
23 0.983 Thu 26 May 2011
24 - Added a convenience wrapper over Sub::Install
25 - Rewrote the initial introduction by drawing language from Wikipedia.
26 - Moved all legacy code into a dedicated legacy module
27 - Split out tests for deprecated features into their own test scripts
28
29 0.982 Wed 25 May 2011
30 - Refactored away the ->{proceed} flag on before join point objects.
31 - Unified return_value across all advice types, and optimised further.
32 - Completing the POD documentation for the Aspect::Point:: modules
33 - Folded down Aspect::Point::Before/After/Around into a single class
34
35 0.981 Wed 25 May 2011
36 - Removed the proceed method from the begin advice, you now only signal
37 to not continue with either exception or return_value.
38 - Remove some leftover references to after_throwing and after_returning
39 - Moved all advice code method documentation into Aspect::Point
40 - Added a reduced volume copy of the Aspect::Point method documentation
41 to the main Aspect documentation.
42 - Ensure $_ is passed through intact during around advice using proceed
43 - Aspect::Library::Single no longer incorrectly checks for exceptions,
44 as the around advice doesn't catch them during proceed (that will be
45 fixed some time after 1.00)
46 - Expanded the testing of various edge cases
47 - Localise $_ in a more contained manner so that don't copy/backup $_
48 for hooked around pointcuts that don't match the runtime part of the
49 join point. Using a global for this instead of overloading $_ also
50 makes pointcut marginally slightly faster.
51
52 0.98 Tue 24 May 2011
53 - Production release, no change from 0.97_06
54 - Major refactoring, documentation and and 1.00 preparation release
55 - The API has now moved closed to the AspectJ API where sensible
56
57 0.97_06 Tue 24 May 2011
58 - Generalised and moved Aspec::Pointcut::Highest::Clean to Aspect::Guard
59 - Removed dedicated Aspect::Advice::AfterReturning advice type
60 - Removed dedicated Aspect::Advice::AfterThrowing advice type
61 - Collapsing of nested and/or pointcuts is now done at constructor time
62 - Expanded testing for corner case pointcut currying scenarios
63 - Deprecated after_returning and after_throwing
64
65 0.97_05 Mon 23 May 2011
66 - Advice code is now always run consistently in void context, the
67 ->wantarray method is now the only way to check the calling context
68 of the active joint point. This is not only more consistent in having
69 all context come from methods, is also prevents inconsistent
70 behaviour when calling methods directly with $_->self->method and it
71 allows context-senstive behaviour to be added to the advice methods.
72 - Replaced params and params_ref with args, with a different behaviour
73 based on the wantarray context it is called in. This is semantically
74 much closer to the AspectJ version, and more importantly it has no
75 "convenience" features which will prevent weird complexity later on.
76 - Rewrote return_value to act on context in the same manner as args.
77 This is theoretically not backwards compatible, but the entire test
78 suite continued to pass after change, which shows that the only things
79 backcompatible would be things using methods in a strange manner.
80 - Added POD documentation for most of the methods in Aspect::Point.
81 - Added basic POD skeletons for the different Aspect::Advice:: classes.
82 - Minor optimisation in generated code to check for exceptions
83 directly, rather than via the slower accessor method.
84 - Clarified that only after and after_throwing support exception
85 handling and throwing.
86 - Aspect::Advice::AfterReturning now inherits from ::After
87 - Aspect::Advice::AfterThrowing now inherits from ::After
88 - Added the returning pointcut for use with after advice
89 - Added a second curry method for use prior to weave-time compilation
90 - Added support for naked throwing() without a specific exception value
91
92 0.97_04 Sat 21 May 2011
93 - Added more POD to the main page, this is closer to the final form
94
95 0.97_03 Fri 20 May 2011
96 - Simplified if_true to true and ::If to ::True
97 - Expanded XS acceleration to more classes and methods
98 - Completed reasonable thorough main documentation for Aspect.pm
99 - Prohibit usage of the highest pointcut to one per advice declaration
100 due to implementation complexity and unclear semantics.
101 - Added Advice::Point::Static for the cflow point details in line with
102 AspectJ's idea of "static parts" of join points.
103 - Removed deprecated Aspect::AdviceContext now it is no longer needed
104 by the cflow pointcut.
105 - Pointcut logic operations & | ! now validate their children
106 - The cflow declarator is now documented everywhere as single param,
107 defaulting to an "enclosing" accessor, which is accelerated.
108 - Added specific accelerated Aspect::Point::pointcut method
109 - Move Aspect::Pointcut::Highest::Cleanup into its own module file
110
111 0.97_02 Wed 18 May 2011
112 - Removed the barely document, untested and rarely used append_param(s)
113 - Added an improved SYNOPSIS and generally improving main POD
114 - Added limited XS acceleration if Class::XSAccessor 1.08 installed.
115 - Remove the use of test recursion in preparation for XS vs PP copying
116
117 0.97_01 Thu 24 Mar 2011
118 - Now all standard keys have their own methods, remove the weird
119 automagic from the AUTOLOAD method.
120 - Some more minor performance tweaks
121 - Removed excessive exception method from begin advice
122 - Moved proceed to the specific method it is used
123 - Renamed run_original to proceed, keeping the original as an alias
124
125 0.96 Thu 24 Mar 2011
126 - Updating copyright year
127 - Moved exception method away from a slow generic implementation
128 - Moved original method away from slow generic implementation
129 - Moved type method away from slow generic implementation
130 - Rewrote return_value method into a much faster version
131 - Removed get_value method, AUTOLOAD now reads the value directly
132
133 0.95 Mon 13 Dec 2010
134 - Fixed #57528 ([PATCH] Fix spelling error
135 - Fixed #57417 Bad return value in list context
136
137 0.94 Fri 10 Dec 2010
138 - CPAN Testers is happy, moving to production release
139
140 0.93_02 Fri 10 Dec 2010
141 - Applied the fix from 0.93_01 to an additional place it was
142 occuring in Aspect::Pointcut::Throwing.
143 - Corrected the Aspect::Advice::Around documentation to refer to
144 $_->run_original instead of $_->proceed until the proceed method
145 actually works like that.
146
147 0.93_01 Thu 9 Dec 2010
148 - This contains a potential fix for the 5.13.6 breakage to be
149 confirmed by CPAN Testers.
150
151 0.92 Wed 21 Jul 2010
152 - Correcting bad link to search.cpan
153
154 0.91 Tue 20 Jul 2010
155 - Updating to Module::Install::DSL 1.00
156 - The bundled libraries now use the new $_ mechanism to use the
157 point context object.
158 - Expanding the documentation and modernising it to match the API
159 changes in the last few releases.
160
161 0.90 Thu 27 May 2010
162 - Updating to Module::Install::DSL 0.97
163 - Upgraded the old method-based match_run run-time context testing
164 interface to a newer compiled_runtime context testing interface.
165 The new interface cooks the run-time tests down to a single
166 compiled perl condition where possible, and a set of nested
167 function calls where strings cannot be used. The function calls
168 alone are faster than methods, and the functions have no
169 parameters, making them faster still. Tests that can be compiled
170 all the way down to a string are even faster, because they avoid
171 Perl's expensive function calls, and get even faster because
172 Perl's opcode optimisations get a much better shot at improving
173 the generated code.
174 - Upgraded the weave-time mechanism to work using compiled code in
175 the same fashion as the run-time code. This should make the weave
176 costs (the time to scan the entire namespace) much lower as well.
177 - Expanded out the POD documentation to cover the entire namespace
178 tree.
179
180 0.45 Mon 10 May 2010
181 - Updating to Module::Install::DSL 0.96
182 - More performance tuning of the namespace scanner in match_all.
183 - A wide range of cleanups, improvements and expansions to the
184 previously existing documentation. This includes full
185 documentation for the entire Aspect::Pointcut tree.
186 - Renamed the new API for join point contexts from Aspect::Context
187 to Aspect::Point.
188 - Aspect libraries in namespaces other than Aspect::Library:: can
189 now be used as long as the module inherits from the (empty)
190 identifying base class Aspect::Library. All libraries that
191 currently inherit from Aspect::Modular automatically inherit from
192 the new Aspect::Library as well.
193 - Started work on third-generation optimiser for Aspect::Pointcut.
194 This functionality will be hidden until it is complete enough
195 to use.
196
197 0.44 Mon 15 Feb 2010 - Adam Kennedy
198 - Inlined and reimplemented a stripped down and faster replacement
199 for the functionality provided by Devel::Symdump to make match_all
200 significantly faster and remove potential issues with Devel::Symdump
201 on Mac OS 5.10.0
202
203 0.43 Thu 28 Jan 2010 - Adam Kennedy
204 - Fixed a pointcut optimisation problem where we were currying away
205 call checking in complex nested pointcuts where runtime pointcuts
206 needed to retain the call checking to limit the run-time checks
207 to an appropriate subset of the total number of functions hooked.
208 - More elements of what will ultimately become the pointcut context
209 are passed through to the curried pointcut tests (in preparation
210 for moving to a File::Find::Rule-like string-eval-compiled form
211 of the pointcut.
212
213 0.42 Wed 20 Jan 2010 - Adam Kennedy
214 - Began the implementation of the new Aspect::Context tree
215 - Generated advice hook code now cheats for speed and blesses
216 context objects directly into the advice-specific Aspect::Context
217 class, which should be safe now the contexts have a dumb
218 constructor.
219 - Pointcut matching now correctly ignores exported Aspect functions.
220 - Added in initial stub for Aspect::Library (the renaming of
221 Aspect::Modular).
222 - Moved Aspect::Advice::Hook to Aspect::Hook to provide Advice/Hook
223 class symmetry, and make it no longer an Advice subclass.
224 - Removed temporary debugging code in Aspect::Library::Breakpoint
225 that slipped through into production
226
227 0.41 Wed 20 Jan 2010 - Adam Kennedy
228 - So few pointcuts care about the sub name at run-time that
229 it doesn't make sense to pass it as a separate parameter
230 to match_run. Include it in the run-time HASH instead.
231 - Normalise changes to return_value inside the advice code,
232 rather than after it by using the ->{wantarray} context attribute
233 to know when that normalisation is needed. This allows us to cheat
234 in the hook code and use ->{return_value} directly, which is
235 significantly faster than calling ->return_value.
236
237 0.40 Tue 19 Jan 2010 - Adam Kennedy
238 - Added experimental Aspect::Library::Throwing pointcut
239 - Only nested pointcuts containing only call() would curry away.
240 Now nested mixed pointcuts curry out as well.
241 - Nested And|Or pointcuts curry to faster flat 3+ element And|Or
242
243 0.39 Tue 19 Jan 2010 - Adam Kennedy
244 - All hook code is now generated in a single namespace
245 - Added the Aspect::Library::Wantarray pointcut
246
247 0.38 Tue 19 Jan 2010 - Adam Kennedy
248 - Added experimental support for the "highest" pointcut.
249 - Added experimental support for the Breakpoint reusable library.
250
251 0.37 Wed 13 Jan 2010 - Adam Kennedy
252 - Added support for "Aspect ':legacy'", which will cause the Aspect
253 module to export functions with their original behaviours.
254 Only the original aspect/before/after/call/cflow functions are
255 exported and after() advice applies the same behaviour as the
256 equivalent new-API advice function after_returning().
257 - To prevent hassles with Exporter (and since we need Sub::Install
258 anyway to implement :legacy) replace all uses of Exporter with
259 a trivial hand-rolled equivalent using Sub::Install.
260 - Added the Aspect::Pointcut::If pointcut to match Java's equivalent
261 if PointCut primitive. Unfortunately, since it's going to be a bit
262 to hard to actually use "if" in a function, we will use "if_true"
263 instead.
264 - Added Sub::Uplevel to the list of untouchables to prevent infinite
265 circular loops.
266
267 0.36 Wed 13 Jan 2010 - Adam Kennedy
268 - WARNING: THIS RELEASE CONTAINS API CHANGES.
269 To retain compatibility with previous releases, you should change
270 all of your after() calls to after_returning() calls.
271 - The after () advice now traps BOTH orginary return values and
272 exceptions, as per the AspectJ implementation.
273 - To provide a more consistent naming of pointcuts (in preparation
274 for adding more of them) renamed the logical pointcut classes
275 to remove the "Op" part of the class name.
276 - Bumped Test::Exception dependency to 0.29, since it has some
277 Sub::Uplevel fixes, and we use that heavily.
278
279 0.35 Mon 11 Jan 2010 - Adam Kennedy
280 - Adding initial support for exceptions, with after_throwing
281
282 0.34 Sun 10 Jan 2010 - Adam Kennedy
283 - Adding Aspect::Advice::AfterReturning before we implement exception
284 support in the main ::After advice.
285
286 0.33 Fri 8 Jan 2010 - Adam Kennedy
287 - Added Test::NoWarnings to all of the tests
288 - Refactoring advice testing into one test per advice type
289 - Testing now covers more combinations of cases, including for around()
290 - Fixed bug in return values for listwise before () calls
291 - Calls to run_original for advice called in void context now
292 correctly runs the underlying hooked method in void context as well.
293 - When called in after() or around() advice, proceed will throw an
294 exception.
295 - Removed some of the author tests I don't care about as much.
296
297 0.32 Thu 7 Jan 2010 - Adam Kennedy
298 - The actual term "forever" is meaningless. Reversed the flag to
299 be used as "lexical" instead.
300
301 0.31 Thu 7 Jan 2010 - Adam Kennedy
302 - Removed the loading of Aspect::Library::Memoize and
303 Aspect::Library::TestClass in 01_compile.t which was causing
304 installation failure.
305
306 0.30 Thu 7 Jan 2010 - Adam Kennedy
307 - Extended the forever currying support to the overall Aspect itself,
308 and upgraded the regular Library classes to implement it properly.
309 - Renamed the term "forever" to a more simple "global" name.
310 - Moved Aspect::Library::Memoize into a seperate distribution to
311 remove the Memoize dependency, which isn't 100% reliable.
312
313 0.29 Wed 6 Jan 2010 - Adam Kennedy
314 - Added "forever currying" support. If advice is created in
315 void context we never add the $out_of_scope hook, and as a
316 result we don't need to save the advice object at all (and just
317 let it immediately destroy). As well as removing the need for a
318 bunch of the nasty curried objects, we remove an unnecessary if ()
319 test for every single call (to non-lexical hooks).
320
321 0.28 Wed 6 Jan 2010 - Adam Kennedy
322 - Implemented Pointcut currying. The pointcut objects will
323 optimise themselves down to just the section that should run
324 if we assume the function was hooked correctly.
325 This not only makes the hooks much more efficient in working
326 out if they need to fire, but it also fixes a major bug with
327 negative call pointcuts always causing all functions to not fire.
328 - Resolved RT #36527 - Minor doc bug s/Profiled/Profiler/
329 - Moved Aspect::Library::Listenable into it's own distribution
330 - Migrated all the tests from Test::Class to normal Test::More
331 - Various code clean up and simplification, with less exporting
332 - Added missing Task::Weaken dependency
333 - Fixed, hopefully, the "variables will not remain shared" but
334 by moving from using pure named hook functions to assigning
335 anonymous subroutines to the typeglob instead.
336 - Pointcuts now boolify (quickly) to true, and don't stringify to
337 a Data::Dumper debugging spew any more.
338 - Implemted the internals needed to support AndOp and OrOp pointcuts
339 with more than 2 elements, so that in future long chained
340 collections of & or | pointcuts will collapse down into a single
341 object, instead of building as giant nested trees of boolean pairs.
342
343 0.27 Sun 3 Jan 2010 - Adam Kennedy
344 - Various micro-optimisation of Aspect::AdviceContext which would
345 normally be somewhat pointless, but is useful in this case when
346 an Aspect hook is applied to something which is in the hot loop
347 for some program.
348 - Added a test script to specifically hunt down the problems with
349 variable sharing in string-eval'ed closures.
350
351 0.26 Thu 31 Dec 2009 - Adam Kennedy
352 - With the primary internals refactoring completely, we now start
353 a series of commits to remove excessive abstractions, and to alter
354 others to more appropriate abstractions (still without changing
355 any of the APIs)
356 - Cleaning up and refactoring the Aspect/Advice constructor code in
357 Aspect.pm
358 - Removed the weird Aspect::Advice->new( type, code, pointcut ) for
359 a more conventional ->new setup.
360 - Attempt to load Sub::Uplevel earlier (before we load Exporter) so
361 there is an increased likelyhood that we don't have to reload
362 Exporter later.
363 - Removed redundant references to Hook::LexWrap from the POD, and
364 removed the "Convert to Sub::Uplevel" item from the TO DO list.
365 - Rewrote the Pointcut family of classes to have a simpler structure
366 which should be faster. Some now use blessed ARRAYs as a
367 preparatory step for allowing the AndOp/OrOp pointcuts to have
368 more than just two elements (and to allow enable certain
369 optimisation strategies down the line).
370 - Removed the faulty Aspect::Pointcut::BinOp abstraction entirely.
371 It was causing boolean and/or operations to always run both sides,
372 so unlike the overloaded expression they were created from, they
373 would never shortcut. This is now resolved, and the an/or pointcut
374 elements now shortcut properly.
375
376 0.25 Thu 31 Dec 2009 - Adam Kennedy
377 - Debundled various out-of-date testing libraries, and reverted
378 to more conventional build_requires dependencies now that our
379 downstream packaging systems have the ability to consume them.
380 - Since the code documents the Aspect::Advice->install method as
381 private (and it is undocumented) rename to ->_install as a
382 precursor to changing it's behaviour at an API level.
383 - Now that the descope execution of the closure hook is able to be
384 trusted, we no longer need the Aspect::Cleanup DESTROY-time
385 self-execution magick.
386 - Added the ->wantarray property to the AdviceContext object.
387 This is provided as a convenience to the user (since the wantarray)
388 function works properly inside the advice code. It's main use is
389 for some AspectContext internals.
390 - Added wantarray context test, which uncovered a bug where
391 void-context calls were incorrectly running the advice in scalar
392 context.
393
394 0.24 Wed 30 Dec 2009 - Adam Kennedy
395 - Changes file now uses tabs (to make it less annoying for me) :)
396 - Moved the inline Aspect::Hook::LexWrap::Cleanup class into it's
397 own dedicated Aspect::Cleanup class.
398 - Merged Advice-specific hooks from Aspect::Hook::Lexwrap into the
399 advice classes.
400 - Removed the now-redundant Aspect::Hook::Lexwrap entirely
401 - Simplified the Aspect::AdviceContext constructor to make it faster
402 - Logically merged the code-generated functionality from ->install
403 and the Hook::LexWrap-inspired ->hook methods for each Advice
404 class. This removes a lot of guess work and double handling from
405 the main execution path, and should be significantly faster.
406 - With the code merged, pushed the scope exit flag outside the
407 symbol table iteration in the installer. Instead of a large array
408 of separate exit-tracking objects, we can instead use one single
409 shared lexical hook that works via mixed depth closure Magick.
410 - Only call wantarray once per hook execution and share the result
411 therafter as a variable. Saves two function calls per hook.
412
413 0.23 Thu 24 Dec 2009 - Adam Kennedy
414 - Removed the concept of a standalone Aspect::Weaver class
415 - Each Aspect::Advice:: subclass now does most of the setup for the weaving
416 individually, with similar but slightly different implementations.
417 This adds some duplication of code, but removes a lot of architectural
418 complexity. It should make the creation of new types of Advice simpler.
419 - Corrected the versions of the test libs (which went out of sync)
420 - The Hook::LexWrap wrap function is now split into Advice-specific hooks
421 before and after, duplicating some code but making each type simpler and
422 faster.
423
424 0.22 Mon 21 Dec 2009 - Adam Kennedy
425 - Part one of an upcoming series of major upgrades
426 - Migrating to Sub::Uplevel to remove our custom CORE::GLOBAL::caller
427
428 0.21 Tue 21 Jul 2009 - Adam Kennedy
429 - Bumped the version to 0.21 so the Hook::LexWrap module indexes
430
431 0.16 Tue 19 May 2009 - Adam Kennedy
432 - Moved out Aspect::Library::Profiler into a standalone distribution
433
434 0.15 Thu Jul 24 23:02:11 CEST 2008 (Marcel Gruenauer <[email protected]>)
435 - fixed version in all modules. *sigh*
436
437 0.14 Thu Jul 24 22:46:43 CEST 2008 (Marcel Gruenauer <[email protected]>)
438 - fixed dist style
439
440 0.13 Thu Jul 24 18:22:15 CEST 2008 (Marcel Gruenauer <[email protected]>)
441 - Made sure every module has a $VERSION
442 - updated MANIFEST and MANIFEST.SKIP
443 - removed META.yml as it is being generated by Module::Install
444 - added requirements to Makefile.PL
445 - converted Makefile.PL to use Module::Install
446 - Aspect::Hook::LexWrap now uses warnings and strict; some changes were
447 necessary for those to go through
448 - fixed POD error in Aspect::Modular
449 - added spaces where necessary to avoid having the template's start_tag in
450 the code
451 - renamed t/all_tests.t to t/01_all.t
452 - added t/perlcriticrc
453 - added .shipit
454 - set version to 0.13
455 - updated MANIFEST
456 - updated t/perlcriticrc
457
458 0.12 Sat, 24 Mar 2007 00:00:00 +0100 (Ran Eilam <[email protected]>)
459 - You can now attach advice to subs in main:: package, see Advice tests
460 - Made everything easier to install by including dependencies required for
461 testing
462 - Added __always_fire option to Listenable
463 - Listenable: You can now let listeners receive any parameters, not just
464 the event, see the test object_listener
465 - Modified our hack on Hook::LexWrap so it does not ignore prototypes, see
466 Advice tests
467 - Removed old warning from Makefile.PL
468
469 0.11 Tue, 03 Aug 2004 00:00:00 +0100 (Ran Eilam <[email protected]>)
470 - Fixed problem in upgrading from 0.08, CPAN.pm was getting confused on
471 Advice and Modular, because they had no version numbers, and undef is
472 smaller than 0.08. (merlyn)
473 - Lowered dependency on Test::Class to 0.03
474
475 0.10 Fri, 30 Jul 2004 00:00:00 +0100 (Ran Eilam <[email protected]>)
476 - No longer a developer release
477 - Added Listenable reusable aspect
478 - Added subject_params() support for TestClass library aspect
479
480 0.09_03 Tue, 06 Jul 2004 00:00:00 +0100 (Ran Eilam <[email protected]>)
481 - Added Carp::Heavy to list of untouchables in Weaver.pm, to avoid Carp
482 dumping core
483 - Test::Class aspect allows for customizing IUT through init_subject_state
484
485 0.09_02 Sat, 06 Mar 2004 00:00:00 +0100 (Ran Eilam <[email protected]>)
486 - AdviceContext now has the original code, so you can do AspectJ-style
487 around advice. You can call the original code from before or after
488 advice. Added AdviceContext::run_original.
489 - Memoize can memoize in any context, not just scalar, again
490 - Added Test::Class helper aspect
491 - Started using Devel::Symdump
492
493 0.09_01 Sat, 06 Mar 2004 00:00:00 +0100 (Ran Eilam <[email protected]>)
494 - Released for review by participants in YAPC::Israel 2004
495 - New syntax is incompatible with old
496 - New maintainer, Ran Eilam
497 - Control flow pointcut: cflow(), done according to Marcel's design
498 - Advice context trapping for control flow pointcuts
499 - Use Test::Class for unit tests
500 - Wormhole reusable aspect
501 - Added prototypes so you can dispense with parentheses
502 - Removed return/around pointcuts, added after advice
503 - Removed attribute interface
504 - Added a mutated version of Hook::LexWrap with support for
505 appending/removing arguments
506 - Moved reusable aspects to Aspect::Library
507 - regression: Aspect exported subs generate join points again
508
509 0.07 Wed, 31 Jul 2002 22:42:27 +0200 (Marcel Gruenauer <[email protected]>)
510 - The distribution has been adapted for use with perl5.8.0.
511 C<Hook::LexWrap> is now a core module, but there was a problem with
512 context (wantarray) handling with Aspect::Memoize. Sorry about the perl
513 5.6.x users, but this is bleeding-edge stuff, so you're expected to use
514 the very latest gear. Anyway, you can still get an earlier version (up
515 to 0.07) from CPAN, which will work with perl 5.6.x.
516 - Aspect::Memoize is now intended for subroutines returning scalars only.
517 That is, if the sub is called in list context, it will still only
518 memoize, and return, a memoized scalar. Void context obviously doesn't
519 matter when it comes to memoization; subroutines returning lists are
520 something I have to think about.
521 - Tests now use Test::More
522
523 0.07 Fri, 15 Mar 2002 09:04:51 +0100 (Marcel Gruenauer <[email protected]>)
524 - symbols exported from Aspect.pm now don't generate join points. So I
525 added Aspect::import() and modified Aspect::JoinPoint::enum() to check
526 for %Aspect::exp_syms.
527
528 0.06 Fri, 26 Oct 2001 16:42:51 +0200 (Marcel Gruenauer <[email protected]>)
529 - added around() function to Aspect.pm
530 - added Aspect::Profiled
531 - added Aspect::Attribute interface to creating advice
532 - made Aspect::Advice's enable() and disable() return $self
533 - added cookbook example program callflow_attr.pl
534 - added cookbook recipes for bounds checking and change tracking, plus
535 sample programs
536
537 0.05 Thu, 11 Oct 2001 09:44:50 +0200 (Marcel Gruenauer <[email protected]>)
538 - removed dependency on Data::Denter
539
540 0.04 Mon, 01 Oct 2001 18:33:00 +0200 (Marcel Gruenauer <[email protected]>)
541 - removed the patched Hook::LexWrap now that 0.20 is out which fixes all
542 the problems of 0.10
543 - added documentation (a recurring theme, never finishes)
544
545 0.03 Sun, 30 Sep 2001 19:43:56 +0200 (Marcel Gruenauer <[email protected]>)
546 - added documentation
547 - Included a patched Hook::LexWrap that fixes a bug with wantarray
548 preservation in subroutine wrappers. Will be removed if and when Damian
549 approves of the patch or otherwise fixes the bug.
550
551 0.02 Fri, 28 Sep 2001 12:59:06 +0200 (Marcel Gruenauer <[email protected]>)
552 - added documentation
553 - added '$::thisjp' global variable
554 - added modular memoization aspect: Aspect::Memoize
555 - added modular tracing aspect: Aspect::Trace
556
557 0.01 Fri, 28 Sep 2001 10:36:08 +0200 (Marcel Gruenauer <[email protected]>)
558 - original version