Debian Codegraph @

Changes

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