edited all .t tests to not use use_ok to load File::Slurp. they now all
[urisagit/Perl-Docs.git] / Changes
CommitLineData
635c7876 1Revision history for Perl extension File::FastSlurp.
2
39999.13 Tue Oct 10 02:04:51 EDT 2006
4 - Refactored the extras/slurp_bench.pl script. It has options,
5 a key the benchmarks, help and more benchmarks.
6 - Reordered changes so recent entries are first
99709852 7 - Added error check on atomic rename and test for it
8 Thanks to Daniel Scott Sterling
9
635c7876 10
119999.12 Thu Feb 2 02:26:31 EST 2006
12 - Fixed bug on windows with classic slurping and File::Slurp not
13 agreeing on newline conversion.
14 - Added t/newline.t test to check for that fix.
15 - When passing text data by scalar reference to write_file under
16 windows, the buffer is copied so the newline conversion won't
17 modify the caller's data.
18 - Thanks to Johan Lodin <lodin@cpan.org> for a test script which
19 I modified into t/newline.t
20
219999.11 Fri Jan 20 01:24:00 EDT 2005
22 - Quick release to remove code that forced the faked SEEK_*
23 values to be used. Showed up when tested on OSX which doesn't
24 need that backport.
25
269999.10 Thu Jan 19 11:38:00 EDT 2005
27 - t/*.t modules don't use Fcntl.pm
28 - using POSIX qw( :fcntl_h ) instead of Fcntl qw( :seek ) for
29 backwards compatiblity to 5.00503
30 - added conditional definitions of SEEK_* and O_* subs as they are not
31 defined in perl 5.004
32 - File::Slurp now runs on perl 5.004 and newer (see BUGS section)
33 All of the above thanks to Smylers <Smylers@stripey.com>,
34 Piers Kent <piers.kent@bbc.co.uk> and
35 John Alden <john.alden@bbc.co.uk>
36 - Added pod.t and pod_coverage.t tests. This is to pass all
37 the CPANTS tests.
38
399999.09 Tue Apr 19 01:21:55 EDT 2005
40 - t/original.t and read_dir.t no longer search for tempdirs. they just
41 use the current dir which should be in the build directory
42 - t/readdir.t renamed to read_dir.t for consistancy
43 - write_file return values are docuemented
44 Thanks to Adam Kennedy <adamk@cpan.org>
45 - added no_clobber option to write_file and t/no_clobber.t test for it
46 Thanks to <pagaltzis@gmx.de>
47 - fixed bug when appending a null string to a file which then
48 truncates it. seems to be an odd way for linux and OS X to
49 handle O_APPEND mode on sysopen. they don't seek to the end of
50 the file so it gets truncated. fixed by adding a seek to the
51 end if in append mode.n
52 Thanks to Chris Dolan <cdolan@cpan.org>
53
54
559999.08 Sat Apr 16 01:01:27 EDT 2005
56 - read_dir returns an array ref in scalar context
57 - read_dir keeps . and .. if keep_dot_dot option is set.
58 Thanks to John Alden <john.alden@bbc.co.uk>
59 - slurp() is an optional exported alias to read_file
60 Thanks to Damian Conway <damian@conway.org>
61
62
63
649999.07 Tue Jan 25 01:33:11 EST 2005
65 - Slurping in pseudo files (as in /proc) which show a size of 0
66 but actually have data works. This seems to be the case on
67 linux but on Solaris those files show their proper size.
68 Thanks to Juerd Waalboer <juerd@cpan.org>
69
70
719999.06 Mon Sep 20 01:57:00 EDT 2004
72 - Slurping the DATA handle now works without the workaround.
73 tests are in t/data_scalar.t and t/data_list.t
74 - Paragraph mode in read_file is supported. As with <> when $/
75 (input record separator) is set to '', then the input file is
76 split on multiple newlines (/\n\n+/).
77 Thanks to Geoffrey Leach <geoff@direcway.com>
78
79
809999.05 Tue Feb 24 21:14:55 EST 2004
81 - skip handle tests where socketpair is not supported (pre 5.8
82 on windows)
83 Thanks to Mike Arms <marms@sandia.gov>
84
85
869999.04 Mon Feb 23 14:20:52 EST 2004
87 - fixed DATA handle bug in t/handle.t (not seen on most OS's)
88 Thanks to James Willmore <jwillmore@adelphia.net>
89
90
919999.03 Mon Dec 22 01:44:43 EST 2003
92 - fixed DATA handle bugs in t/handle.t on osx (should be fixed
93 on BSD as well)
94 - added more comments to code
95
969999.02 Wed Dec 17 03:40:49 EST 2003
97 - skip DATA test in handle.t on OSX (bug in perl with sysread on DATA)
98 - changed checking if file handle from fileno to ref
99 from Randal Schwartz <merlyn@stonehenge.com>
100 - added support for atomic spewing
101 - added new test stdin.t for the fileno/ref change
102 - added new test inode.t to test atomic spewing
103
1049999.01 Mon Sep 1 00:20:56 2003
105 - original version; created by h2xs 1.21 with options
106 -AX -n File::FastSlurp
107