X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Changes;h=1b941330f7e1673bdf5945f32ae16b657800eeda;hb=1b110669e2687abaa42892a3b1e2e2e229df7044;hp=43cec7eed7442e4e0c1d77bd2688954c822b1112;hpb=cb2377339e35cfbadcaf35f75434972bbaf741bc;p=perl%2Fmodules%2FScope-Upper.git diff --git a/Changes b/Changes index 43cec7e..1b94133 100644 --- a/Changes +++ b/Changes @@ -1,7 +1,46 @@ Revision history for Scope-Upper +0.20 2012-09-17 11:00 UTC + + Add : The new yield(@values, $context) function can be used to return + values to any upper scope, including do or map blocks. + The new leave(@values) function is an alias for + yield(@values, HERE). + + Add : The new context_info($context) function return information + about context $context, similarly to what caller() provides + but for any upper scope. + + Chg : Contexts are now normalized. In previous versions, it was + possible for different contexts to refer to the same scope : + for example, "for (my $i = 0; $i < 10; ++$i) { ... }" was + reachable through two contexts, while "for (@array) { ... }" + only by one. Starting from this version, contexts are + normalized so that they always represent an actual scope. + + Doc : C++ compilers are officially NOT supported. + + Fix : Building with a more recent version of perl 5.17.4. + + Fix : Debugger compatibility with perl 5.17.1 and above. + +0.19 2012-09-01 13:25 UTC + + Doc : POD headings have been made linkable. + + Fix : Building with perl 5.17.4. + + Fix : BUILD_PREREQS are now set for ExtUtils::MakeMaker. + + Opt : uplevel() private data structure is 7% smaller on 64 bits + architectures. + + Tst : Author tests overhaul. + +0.18 2011-10-10 20:50 UTC + + Add : The uid() function returns an unique identifier for each dynamic + scope. The validate_uid() function can be used to check whether + one such identifier is valid (i.e. that the scope it refers to + is still alive). + + Chg : It is no longer possible on perl 5.6 to call goto() in an + uplevel callback to replace the uplevel call. This change was + needed in order to ensure consistency between platforms + regarding to the following fix just below. + + Fix : The uplevel() tests now pass on Windows. + Thanks C.H. Kang for bringing this to my attention. + 0.17 2011-10-03 21:45 UTC - + Fix : uplevel() will now use the correct pad when executing its callback. This fixes at least two issues : + + Fix : uplevel() will now use the correct pad when executing its + callback. This fixes at least two issues : - closures defined inside the uplevel callback can now correctly access lexicals from inside and outside the callback. - state variables in the uplevel callback now work properly.