| 1 |
0.24 9 November 2019 |
| 2 |
Adoption. |
| 3 |
|
| 4 |
0.23 24 May 2012 |
| 5 |
Added license information. Verified it works with 5.16.0, threaded |
| 6 |
and unthreaded. |
| 7 |
|
| 8 |
0.22 13 April 2012 |
| 9 |
Fixed spelling error as suggested by Gregor Herrmann. RT #76532 |
| 10 |
|
| 11 |
0.21 31 March 2012 |
| 12 |
Fixed some pod issues. Brought code in line with current esthetics. |
| 13 |
Changed internal storage from packed L3 to packed w3 format, for |
| 14 |
hopefully smaller memory footprint. |
| 15 |
|
| 16 |
0.20 20 September 2010 |
| 17 |
Fixed problem that started to manifest itself with a slightly different |
| 18 |
handling of localized $@, starting in perl 5.13.x. |
| 19 |
|
| 20 |
0.19 24 April 2007 |
| 21 |
Fixed problem in test-suite that was long overseen because it would |
| 22 |
work ok if load.pm was already installed (which it was on my dev |
| 23 |
system). Not sure whether this was internally introduced, or some |
| 24 |
new feature of Test::More. |
| 25 |
|
| 26 |
0.18 18 October 2005 |
| 27 |
Added fix for missing Kwalitee point for not using 'strict' |
| 28 |
|
| 29 |
0.17 9 July 2005 |
| 30 |
Finished AutoLoader emulation mode and adapted testing accordingly. |
| 31 |
Fixed some test problems if ifdef.pm is not installed. Changes tests |
| 32 |
so that the first failure will die with a dump so that specific |
| 33 |
problems can be worked on more precisely. |
| 34 |
|
| 35 |
Verified load.pm works on Perl 5.8.7. |
| 36 |
|
| 37 |
30 September 2004 |
| 38 |
Added initial support AutoLoader emulation mode. |
| 39 |
|
| 40 |
Verified load.pm will work on Perl 5.8.5. |
| 41 |
|
| 42 |
0.16 15 March 2004 |
| 43 |
Changed tracing calls so that they get optimized away if tracing is |
| 44 |
not active. |
| 45 |
|
| 46 |
Fixed bug that would cause "ifdef.pm" to split on every character if |
| 47 |
"now" loading was selected. |
| 48 |
|
| 49 |
Fixed bug with subs that really do not exist. Added some more test |
| 50 |
with regards to the interface with "ifdef.pm". |
| 51 |
|
| 52 |
0.15 14 March 2004 |
| 53 |
Added support for "ifdef.pm". If ifdef.pm is loaded, then all eval's |
| 54 |
will be done using the source filter provided by ifdef, possibly |
| 55 |
activating code depending on environment variables being set. Added |
| 56 |
tests to check functionality when ifdef.pm is loaded. |
| 57 |
|
| 58 |
Fixed some possible minor problems with localizing $_: it appears a |
| 59 |
simple "local $_" is not enough, instead a "local $_ = \my $foo" seems |
| 60 |
to be the canonical solution to this problem as of now according to |
| 61 |
p5p. |
| 62 |
|
| 63 |
28 January 2004 |
| 64 |
Made sure the test-suite cleans up on multi-versioned systems. |
| 65 |
|
| 66 |
0.14 28 December 2003 |
| 67 |
Added automatic required modules update using Devel::Required. |
| 68 |
|
| 69 |
0.13 12 November 2003 |
| 70 |
Perl 5.8.2 does not handle empty subroutines (sub foo {}) very well. |
| 71 |
In some cases, it segfaults. This happened in the test-suite. |
| 72 |
Test-suite has been adapted (that really is the only change, apart |
| 73 |
from the version number). |
| 74 |
|
| 75 |
0.12 29 September 2003 |
| 76 |
Added support for register additional "use" modules for specific |
| 77 |
packages (e.g. when subroutines need to be handled by a source |
| 78 |
filter). Tests to be added later, if ever here. |
| 79 |
|
| 80 |
26 September 2003 |
| 81 |
Realised testing for running under taint was pretty trivial: the |
| 82 |
entire test-suite now runs twice: once with and once without tainting. |
| 83 |
|
| 84 |
0.11 26 September 2003 |
| 85 |
Turns out load.pm didn't work when taint was active. And it silently |
| 86 |
failed to boot. This should now be fixed. Added a todo to make tests |
| 87 |
that will functioning under taint: activating taint in the tests |
| 88 |
caused too many failures to allow checking in the allotted time.. |
| 89 |
|
| 90 |
0.10 18 September 2003 |
| 91 |
Frank Tolstrup pointed out some test misses because of CRLF versus LF |
| 92 |
issues on Windows. These should now also be fixed. Mention Frank |
| 93 |
in the new ACKNOWLEDGEMENTS section of load. |
| 94 |
|
| 95 |
Added thread indicator to trace if threads are used. This should |
| 96 |
facilitate debugging of the Thread::xxx modules. Added tests for |
| 97 |
it as well. For the trace to properly detect threads, the threads |
| 98 |
module must have been loaded prior to loading load.pm. |
| 99 |
|
| 100 |
17 September 2003 |
| 101 |
Hmmm... I may be taking the "release soon, release often" too |
| 102 |
literally. Anyway, Frank Tolstrup's output of the failing test-suite |
| 103 |
under Windows, pointed to a possible seek() problem under Windows. |
| 104 |
Added a binmode() in case the source-file is opened again for on-demand |
| 105 |
loading of a subroutine. And the tests with $Foo::{} also failed |
| 106 |
under Windows: they shouldn't anymore. |
| 107 |
|
| 108 |
Installed experimental trace possibility that is activated by setting |
| 109 |
the environment variable "LOAD_TRACE" to a true value. This is still |
| 110 |
experimental so therefore only documented here. |
| 111 |
|
| 112 |
0.09 17 September 2003 |
| 113 |
Frank Tolstrup pointed out that many of the tests wouldn't run under |
| 114 |
Windows because of quoting issues. Adapted the test so that would |
| 115 |
not be an issue anymore. Hope this is the last one of today ;-) |
| 116 |
|
| 117 |
0.08 17 September 2003 |
| 118 |
Indeed, it is one of those days. Added some more tests to make sure |
| 119 |
that subroutines are indeed loaded on demand. |
| 120 |
|
| 121 |
0.07 17 September 2003 |
| 122 |
Argh. I guess it is one of those days. Using strict in load.pm |
| 123 |
bleeds into the eval's and causes compile errors. And of course |
| 124 |
the test-suite didn't catch it. Removed stricture but added a |
| 125 |
comment in the source about it. Adapted the test-suite so it _will_ |
| 126 |
catch it this time (but won't of course, because it's fixed). |
| 127 |
|
| 128 |
0.06 17 September 2003 |
| 129 |
Finally figured how to make something like a test-suite. Now checks |
| 130 |
whether ondemand subs can be called and whether or not they exist |
| 131 |
and can be can()ned. |
| 132 |
|
| 133 |
Argh. A typo caused the "now" functionality to completely broken. |
| 134 |
This is now fixed. Problem was introduced in version 0.02. |
| 135 |
|
| 136 |
Added optional support for strict and warnings in the source. |
| 137 |
|
| 138 |
11 August 2003 |
| 139 |
Fixed stupid typo in Makefile.PL that caused description of module |
| 140 |
not to be included ever. |
| 141 |
|
| 142 |
Verified load.pm will work on Perl 5.8.1. |
| 143 |
|
| 144 |
0.05 29 December 2002 |
| 145 |
Increased version to be able to upload a more recent version of load.pm |
| 146 |
to CPAN to prevent interference with Jos 'Kane' Boumans' version of |
| 147 |
load.pm. |
| 148 |
|
| 149 |
0.04 21 October 2002 |
| 150 |
Fixed small problem when running with warnings and attempting to access |
| 151 |
non-existing subroutine. Spotted by Lars Fenneberg. |
| 152 |
|
| 153 |
0.03 1 October 2002 |
| 154 |
Changed using of lexical file handles to globs, to ensure compatibility |
| 155 |
with earlier versions of Perl. |
| 156 |
|
| 157 |
Fixed problem with running with warnings (caused by UNIVERSAL::can |
| 158 |
redefine). Removed use strict and other stuff to make this module |
| 159 |
yet leaner and meaner. |
| 160 |
|
| 161 |
0.02 30 September 2002 |
| 162 |
Now hijacks UNIVERSAL::can so that ->can does the right thing for |
| 163 |
subroutines that have not been loaded yet. As a side effect, this |
| 164 |
loads the subroutine specified. Added documentation to reflect that. |
| 165 |
|
| 166 |
Localised $_, $! and $@ at several places just to make sure they |
| 167 |
don't clobber anything on the outside. |
| 168 |
|
| 169 |
Added support for line numbers and file name (swiped from AutoSplit |
| 170 |
generated code), so that eval errors will give you more information. |
| 171 |
|
| 172 |
Added check for DESTROY: apparently you get an infinite loop if you're |
| 173 |
gotoing the DESTROY if it doesn't exist. Now AUTOLOAD just returns |
| 174 |
for DESTROY if it doesn't exist. |
| 175 |
|
| 176 |
Fixed typo in _scan() which would trigger a loop if a second __END__ |
| 177 |
was encountered in the source of a module. |
| 178 |
|
| 179 |
0.01 29 September 2002 |
| 180 |
First version of load.pm, renamed from jit.pm after discussions on and |
| 181 |
off p5p. |