/
Changes
192 lines (121 loc) · 5.1 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
Revision history for File-Next
File::Next does NOT use rt.cpan.org for bug tracking. Please report
problems at http://github.com/petdance/file-next/issues.
1.12 Sat Dec 22 15:22:31 CST 2012
[FIXES]
Fix detection of named pipes under various flavors of BSD.
1.10 Thu Jun 14 19:55:57 CDT 2012
[ENHANCEMENTS]
Added the warning_handler argument to File::Next::from_file().
This is so from_file() can throw a warning if a non-existent
file is in the file it came from.
[FIXES]
from_file() should return undef if the file can't be opened.
Fixed test failures and made tests more portable.
1.08 Sun May 20 22:43:19 CDT 2012
[ENHANCEMENTS]
Added File::Next::from_file() to get the list of files to iterate
over from a file, or from STDIN.
Named pipes are now supported.
[INTERNAL]
Add more tests, and clean up some Perl::Critic warnings.
1.06 Tue Aug 4 15:10:34 CDT 2009
[FIXES]
Fixed closing =cut in POD.
There are no functionality changes, but the lack of a closing
=cut meant that ack would not build properly.
1.04 Fri Jul 31 16:24:36 CDT 2009
[ENHANCEMENTS]
It's never been correct to call File::Next::files() as a method,
as File::Next->files(). Now, if you do, files() will die with
an error. This is also the case with dirs() and everything().
Thanks to Eric Lyons for reporting.
Tiny directory reading speedups.
[DOCUMENTATION]
Updated URLs for support sites.
Added a little note about the follow_symlinks=>0 being a speed
hit.
1.02 Mon Jan 14 14:01:40 CST 2008
[SPEED ENHANCEMENTS]
Don't do a directory stat call if we've already done one to
check for a symlink.
Be smarter about building a list of candidate files that we're
going to have to sort anyway.
1.00 Mon Jun 18 10:06:14 CDT 2007
[ENHANCEMENTS]
Added File::Next::everything() to get back everything regardless
of being file or directory.
0.40 Fri Mar 9 21:32:15 CST 2007
[ENHANCEMENTS]
Minimizing the number of stat calls necessary. May make some
teeny speed boost.
[DOCUMENTATION]
Fixed the constructor example of File::Next->files, which is wrong.
Updated the examples to show that you need to check definedness
of the return from the iterator, in case you get a file "0".
0.38 Sun Jan 7 01:23:43 CST 2007
[ENHANCEMENTS]
Added the ability to skip symlinks. By default, symlinks are
treated as the files or dirs they point to, but now you can
tell File::Next to ignore them.
Added a dirs() function to return an iterator that only finds
directories.
[DOCUMENTATION]
Fixed some little errors here and there.
0.36 Thu Dec 21 15:50:13 CST 2006
There is no new functionality between 0.34 and 0.36. It's
entirely a speedup.
[ENHANCEMENTS]
I sped up the internals of passing around the queue and building
paths, and it should now be 20% faster than 0.34 in the simplest
case.
[DOCUMENTATION]
Now it explains what the iterator returns in list context.
0.34 Sat Dec 16 00:21:10 CST 2006
[ENHANCEMENTS]
The reslash() function is now publicly usable, although not via
export. This is mostly convenience for ack.
Minor speedups when there's no file_filter parameter.
Speedups when there's no descend_filter, too. We were doing
checks to see if a given file was a directory, even though we
didn't do anything with that fact if there's no descend_filter.
0.32 Wed Dec 6 19:36:51 CST 2006
No functionality changes, except as seen below. For most of
you using File::Next, there are no changes in this version.
[INTERNALS]
Initialize package arrays in BEGIN blocks. This is so ack's
standalone version will initialize correctly.
0.30 Fri Nov 10 11:24:50 CST 2006
[FIXES]
Explicitly declare $File::Find::name and $File::Find::dir.
Made the updir/curdir stuff into a hash.
[FEATURES]
Added a sort_files parm to allow you to sort the results.
[INTERNALS]
Added a perlcriticrc for "make critic".
0.28 Tue Sep 5 23:51:41 CDT 2006
[FIXES]
Wrapped the CORE::die in a real function. Also added a
test to make sure that we die properly.
[INTERNALS]
Using proper File::Spec function to get the list of special
directories.
0.26 Sat Sep 2 10:10:12 CDT 2006
No functionality changes. Making the tests actually worki
under Windows this time. Thanks, Audrey!
0.24 Fri Sep 1 23:38:43 CDT 2006
No functionality changes. Only making the tests run under
Windows.
0.22 Wed Aug 16 14:08:39 CDT 2006
[FIXES]
The file_filter was getting called incorrectly. I was
setting $File::Next::file instead of $File::Next::name.
I've now also added tests to make sure that it's getting
set correctly.
0.20 Tue Aug 15 02:28:42 CDT 2006
First real version. Don't use 0.01 any more.
Iterator now returns separate file & directory components
in array context.
Rewrote internals.
0.01 Sat Jul 29 22:29:46 CDT 2006
First version, released on an unsuspecting world.