Commit | Line | Data |
---|---|---|
99f36a73 | 1 | Revision history for Perl distribution PathTools. |
fb8d82a2 | 2 | |
6c34c321 S |
3 | 3.30 - Sun May 10 10:55:00 2009 |
4 | ||
5 | - Promote to stable release. | |
6 | ||
7 | 3.29_01 - Thu May 7 20:22:00 2009 | |
8 | ||
2d96a879 S |
9 | - Minor fixes for QNX6. [Sean Boudreau] |
10 | ||
ae5a807c JM |
11 | - Update to support VMS in Unix compatible mode and/or file names using |
12 | extended character sets. (RT #42154) [John Malmberg] | |
13 | ||
14 | - VMS support for Unix and extended file specifications in File::Spec | |
15 | (RT #42153) [John Malmberg] | |
53e80d0b | 16 | |
21887892 NC |
17 | 3.29 - Wed Oct 29 20:48:11 2008 |
18 | ||
19 | - Promote to stable release. | |
20 | ||
4a4ab19c NC |
21 | 3.28_03 - Mon Oct 27 22:12:11 2008 |
22 | ||
23 | - In Cwd.pm, pass the un-munged $VERSION to XSLoader/DynaLoader, | |
24 | otherwise development releases fail tests on Win32. | |
25 | ||
26 | 3.28_02 - Mon Oct 27 20:13:11 2008 | |
27 | ||
28 | - Fixed some issues on QNX/NTO related to paths with double | |
29 | slashes. [Matt Kraai & Nicholas Clark] | |
30 | ||
31 | 3.28_01 - Fri Jul 25 21:18:11 2008 | |
32 | ||
fa89a9ae NC |
33 | - Fixed and clarified the behavior of splitpath() with a $no_file |
34 | argument on VMS. [Craig A. Berry, Peter Edwards] | |
35 | ||
36 | - Removed some function prototypes and other Perl::Critic violations. | |
37 | ||
38 | - canonpath() and catdir() and catfile() on Win32 now make an | |
39 | explicit (and unnecessary) copy of their arguments right away, | |
40 | because apparently if we don't, we sabotage all of Win32dom. [RT | |
41 | #33675] | |
42 | ||
43 | - The Makefile.PL now has 'use 5.005;' to explicitly show what | |
44 | minimum version of perl we support. [Spotted by Alexandr Ciornii] | |
45 | ||
46 | 3.2701 - Mon Feb 11 21:43:51 2008 | |
47 | ||
48 | - Fixed an edge case for Win32 catdir('C:', 'foo') and catfile('C:', | |
49 | 'foo.txt') (which the caller's not really supposed to do, that's | |
50 | what catpath() is for) that changed between versions. Now we're | |
51 | back to the old behavior, which was to return C:\foo and C:\foo.txt . | |
52 | [Audrey Tang] | |
53 | ||
54 | 3.27 - Wed Jan 16 20:20:49 2008 | |
55 | ||
56 | - If strlcpy() and strlcat() aren't available on the user's system, | |
57 | we now use ppport.h to provide them, so our C code works. [Steve | |
58 | Peters] | |
59 | ||
60 | - Upgraded to a newer version of ppport.h [Steve Peters] | |
61 | ||
62 | 3.26 - Sun Jan 13 21:59:20 2008 | |
63 | ||
64 | - case_tolerant() on Cygwin will now avoid a painful death when | |
65 | Cygwin::mount_flags() isn't defined, as is the case for perl < | |
66 | 5.10. It will now just return 1, which is what it always did | |
67 | before it got so smart. [Spotted by Emanuele Zeppieri] | |
68 | ||
69 | - abs_path() on Unix(ish) platforms has been upgraded to a much later | |
70 | version of the underlying C code from BSD. [Michael Schwern] | |
71 | ||
72 | 3.2501 - Mon Dec 24 20:33:02 2007 | |
73 | ||
74 | - Reimplemented abs_path() on VMS to use | |
75 | VMS::Filespec::vms_realpath() when it's available. [John E. Malmberg] | |
76 | ||
77 | - tmpdir() on Cygwin now also looks in $ENV{TMP} and $ENV{TEMP}. | |
78 | ||
79 | - case_tolerant() on Cygwin and Win32 now take an optional path | |
80 | argument, defaulting to the C drive, to check for case tolerance, | |
81 | because this fact can vary on different volumes. | |
82 | ||
83 | - File::Spec on Unix now uses Cwd::getcwd() rather than Cwd::cwd() to | |
84 | get the current directory because I guess someone on p5p thought it | |
85 | was more appropriate. | |
86 | ||
87 | - Added a large set of File::Spec tests for the Cygwin platform. | |
88 | ||
89 | - abs_path() now behaves correctly with symbolic links on VMS. | |
90 | ||
91 | - Someone fixed a couple of mysterious edge cases in VMS' canonpath() | |
92 | and splitdir(). | |
93 | ||
94 | 3.25_01 - Sat Oct 13 21:13:57 2007 | |
95 | ||
96 | - Major fixes on Win32, including a rewrite of catdir(), catfile(), | |
97 | and canonpath() in terms of a single body of code. [Heinrich Tegethoff] | |
98 | ||
99 | - For Win32 and Cygwin, case-tolerance can vary depending on the | |
100 | volume under scrutiny. When Win32API::File is available, it will | |
101 | be employed to determine case-sensitivity of the given filesystem | |
102 | (C: by default), otherwise we still return the default of 1. [Reini | |
103 | Urban] | |
104 | ||
105 | - On Cygwin, we added $ENV{'TMP'} and $ENV{'TEMP'} to the list of | |
106 | possible places to look for tmpdir() return values. [Reini Urban] | |
107 | ||
108 | - Added lots more tests for Cygwin. [Reini Urban] | |
109 | ||
110 | - canonpath() with no arguments and canonpath(undef) now consistently | |
111 | return undef on all platforms. [Spotted by Peter John Edwards] | |
112 | ||
113 | - Fixed splitdir('') and splitdir(undef) and splitdir() to return an | |
114 | empty list on VMS and MacOS, like it does on other platforms. | |
115 | [Craig A. Berry] | |
116 | ||
117 | - All .pm files now have the same $VERSION number, rather than a | |
118 | hodgepodge of various numbers. | |
119 | ||
120 | 3.25 - Mon May 21 21:07:26 2007 | |
121 | ||
dfa4e5d3 RGS |
122 | - Added a workaround for auto-vivication-of-function-args Perl bug |
123 | (triggered by OS/2-specific code). [Ilya Zakharevich] | |
124 | ||
125 | - Sync with a bleadperl change: miniperl can no longer use Win32::* | |
126 | functions because it cannot load Win32.dll. [Jan Dubois] | |
127 | ||
128 | - We only need to load ppport.h when building outside the core, so we | |
129 | avoid using it when in the core. | |
130 | ||
131 | 3.24 - Sun Nov 19 22:52:49 2006 | |
132 | ||
e9475de8 SP |
133 | - Fixed a bug in the $ENV{PWD}-updating of Cwd::chdir() when a |
134 | dirhandle is passed in. [Steve Peters] | |
135 | ||
136 | - Add perl 5.005 to the list of requirements in the | |
137 | Build.PL/Makefile.PL/META.yml. | |
138 | ||
139 | - Add ExtUtils::CBuilder to the list of build_requires in Build.PL. | |
140 | ||
141 | - Improved performance of canonpath() on Unix-ish platforms - on my | |
142 | OS X laptop it looks like it's about twice as fast. [Ruslan Zakirov] | |
143 | ||
144 | 3.23 - Wed Oct 11 12:11:25 2006 | |
145 | ||
c1e8580e SP |
146 | - Yet more Win32 fixes (sigh... seems like I'm fighting a neverending |
147 | waterbed...). This time, fixed file_name_is_absolute() to know | |
148 | what it's doing when the path includes a volume but a relative | |
149 | path, like C:foo.txt . This bug had impact in rel2abs() on Win32 | |
150 | too. | |
151 | ||
152 | 3.22 - Mon Oct 9 21:50:52 2006 | |
81a4c762 SP |
153 | |
154 | - Fixed the t/crossplatform.t test on Win32 (and possibly other | |
155 | volume-aware platforms) now that rel2abs() always adds a drive | |
156 | letter. [Reported by several parties] | |
157 | ||
158 | 3.21 - Wed Oct 4 21:16:43 2006 | |
110c90cc SP |
159 | |
160 | - Added a bunch of X<> tags to the File::Spec docs to help | |
161 | podindex. [Gabor Szabo] | |
162 | ||
163 | - On Win32, abs2rel('C:\one\two\t\foo', 't\bar') should return | |
164 | '..\foo' when the cwd is 'C:\one\two', but it wasn't noticing that | |
165 | the two relevant volumes were the same so it would return the full | |
166 | path 'C:\one\two\t\foo'. This is fixed. [Spotted by Alexandr | |
167 | Ciornii] | |
168 | ||
169 | - On Win32, rel2abs() now always adds a volume (drive letter) if the | |
170 | given path doesn't have a volume (drive letter or UNC volume). | |
171 | Previously it could return a value that didn't have a volume if the | |
172 | input was a semi-absolute path like /foo/bar instead of a | |
173 | fully-absolute path like C:/foo/bar . | |
174 | ||
c47834cd RGS |
175 | 3.19 Tue Jul 11 22:40:26 CDT 2006 |
176 | ||
177 | - When abs2rel() is called with two relative paths | |
178 | (e.g. abs2rel('foo/bar/baz', 'foo/bar')) the resolution algorithm | |
179 | needlessly called cwd() (twice!) to turn both arguments into | |
180 | absolute paths. Now it avoids the cwd() calls with a workaround, | |
181 | making a big efficiency win when abs2rel() is called | |
182 | repeatedly. [Brendan O'Dea] | |
183 | ||
184 | - Added a build-time dependency on ExtUtils::Install version 1.39 | |
185 | when on Windows. This is necessary because version 1.39 knows how | |
186 | to replace an in-use Cwd shared library, but previous versions | |
187 | don't. [Suggested by Adam Kennedy] | |
188 | ||
189 | - Fixed File::Spec::Win32->canonpath('foo/../bar'), which was | |
190 | returning \bar, and now properly returns just bar. [Spotted by | |
191 | Heinrich Tegethoff] | |
192 | ||
259de58f SP |
193 | 3.18 Thu Apr 27 22:01:38 CDT 2006 |
194 | ||
195 | - Fixed some problems on VMS in which a directory called "0" would be | |
196 | treated as a second-class citizen. [Peter (Stig) Edwards] | |
197 | ||
198 | - Added a couple of regression tests to make sure abs2rel('/foo/bar', | |
199 | '/') works as expected. [Chia-liang Kao] | |
200 | ||
201 | - Added a couple of regression tests to make sure catdir('/', | |
202 | 'foo/bar') works as expected. [Mark Grimes] | |
203 | ||
204 | 3.17 Fri Mar 3 16:52:30 CST 2006 | |
205 | ||
206 | - The Cygwin version of Cwd::cwd() will croak if given any arguments | |
207 | (which can happen if, for example, it's called as Cwd->cwd). Since | |
208 | that croaking is bad, we now wrap the original cwd() in a | |
209 | subroutine that ignores its arguments. We could skip this wrapping | |
210 | if a future version of perl changes cygwin.c's cwd() to not barf | |
211 | when fed an argument. [Jerry D. Hedden] | |
212 | ||
213 | 3.16 Mon Jan 30 20:48:41 CST 2006 | |
214 | ||
215 | - Updated to version 3.06 of ppport.h, which provides backward | |
216 | compatibility XS layers for older perl versions. | |
217 | ||
218 | - Clarify in the docs for File::Spec's abs2rel() and rel2abs() | |
219 | methods that the cwd() function it discusses is | |
220 | Cwd::cwd(). [Spotted by Steven Lembark] | |
221 | ||
222 | - Apparently the version of File::Path that ships with perl 5.8.5 | |
223 | (and perhaps others) calls Cwd::getcwd() with an argument (perhaps | |
224 | as a method?), which causes it to die with a prototyping error. | |
225 | We've eliminated the prototype by using the "(...)" arglist, since | |
226 | "PROTOTYPE: DISABLE" for the function didn't seem to work. [Spotted | |
227 | by Eamon Daly and others] | |
228 | ||
6a288e04 | 229 | 3.15 Tue Dec 27 14:17:39 CST 2005 |
fa52125f SP |
230 | |
231 | - The Cwd::getcwd() function on *nix is now a direct pass-through to | |
232 | the underlying getcwd() C library function when possible. This is | |
233 | safer and faster than the previous implementation, which just did | |
6a288e04 SP |
234 | abs_path('.'). The pure-perl version has been kept for cases in |
235 | which the XS version can't load, such as when running under | |
236 | miniperl. [Suggested by Nick Ing-Simmons] | |
fa52125f SP |
237 | |
238 | - When Cwd searches for a 'pwd' executable in the $PATH, we now stop | |
239 | after we find the first one rather than continuing the search. We | |
240 | also avoid the $PATH search altogether when a 'pwd' was already | |
241 | found in a well-known and well-trusted location like /bin or | |
242 | /usr/bin. [Suggested by Nick Ing-Simmons] | |
243 | ||
244 | - On Win32 abs2rel($path, $base) was failing whenever $base is the | |
245 | root of a volume (such as C:\ or \\share\dir). This has been | |
246 | fixed. [Reported by Bryan Daimler] | |
247 | ||
248 | - In abs2rel() on VMS, we've fixed handling of directory trees so | |
249 | that the test $file = File::Spec::VMS->abs2rel('[t1.t2.t3]file', | |
250 | '[t1.t2.t3]') returns 'file' instead of an empty string. [John | |
251 | E. Malmberg] | |
252 | ||
253 | - In canonpath() on VMS, '[]' was totally optimized away instead of | |
254 | just returning '[]'. Now it's fixed. [John E. Malmberg] | |
255 | ||
9d5071ba SP |
256 | 3.14 Thu Nov 17 18:08:44 CST 2005 |
257 | ||
258 | - canonpath() has some logic in it that avoids collapsing a | |
259 | //double/slash at the beginning of a pathname on platforms where | |
260 | that means something special. It used to check the value of $^O | |
261 | rather than the classname it was called as, which meant that | |
262 | calling File::Spec::Cygwin->canonpath() didn't act like cygwin | |
263 | unless you were actually *on* cygwin. Now it does. | |
264 | ||
265 | - Fixed a major bug on Cygwin in which catdir() could sometimes | |
266 | create things that look like //network/paths in cases when it | |
267 | shouldn't (e.g. catdir("/", "foo", "bar")). | |
268 | ||
269 | 3.13 Tue Nov 15 23:50:37 CST 2005 | |
270 | ||
271 | - Calling tmpdir() on Win32 had the unintended side-effect of storing | |
272 | some undef values in %INC for the TMPDIR, TEMP, and TMP entries if | |
273 | they didn't exist already. This is probably a bug in perl itself | |
274 | (submitted as #37441 on rt.perl.org), which we're now working | |
275 | around. [Thomas L. Shinnick] | |
276 | ||
277 | - Integrated a change from bleadperl - a certain #ifdef in Cwd.xs | |
278 | needs to apply to WIN32 but not WinCE. [Vadim Konovalov] | |
279 | ||
280 | - abs2rel() used to return the empty string when its two arguments | |
281 | were identical, which made no sense. Now it returns | |
282 | curdir(). [Spotted by David Golden] | |
283 | ||
284 | - The Unix and Win32 implementations of abs2rel() have been unified. | |
285 | ||
f5f48b4d SP |
286 | 3.12 Mon Oct 3 22:09:12 CDT 2005 |
287 | ||
288 | - Fixed a testing error on OS/2 in which a drive letter for the root | |
289 | directory was confusing things. [Ilya Zakharevich] | |
290 | ||
291 | - Integrated a patch from bleadperl for fixing path() on | |
292 | Win32. [Gisle Aas] | |
293 | ||
b2b4ec81 RGS |
294 | 3.11 Sat Aug 27 20:12:55 CDT 2005 |
295 | ||
296 | - Fixed a couple of typos in the documentation for | |
297 | File::Spec::Mac. [Piotr Fusik] | |
298 | ||
9596c75c RGS |
299 | 3.10 Thu Aug 25 22:24:57 CDT 2005 |
300 | ||
301 | - eliminate_macros() and fixpath() in File::Spec::VMS are now | |
302 | deprecated, since they are MakeMaker-specific and now live inside | |
303 | MakeMaker. [Michael Schwern] | |
304 | ||
305 | - canonpath() on Win32 now collapses foo/.. (or foo\..) sections | |
306 | correctly, rather than doing the "misguided" work it was previously | |
307 | doing. Note that canonpath() on Unix still does NOT collapse these | |
308 | sections, as doing so would be incorrect. [Michael Schwern] | |
309 | ||
f6342b4b RGS |
310 | 3.09 Tue Jun 14 20:36:50 CDT 2005 |
311 | ||
312 | - Added some block delimiters (brackets) in the Perl_getcwd_sv() XS | |
313 | function, which were necessary to separate the variable | |
314 | declarations from the statements when HAS_GETCWD is not | |
315 | defined. [Yves] | |
316 | ||
317 | - Apparently the _NT_cwd() routine is never defined externally like I | |
318 | thought it was, so I simplified the code around it. | |
319 | ||
320 | - When cwd() is implemented using the _backtick_pwd() function, it | |
321 | sometimes could create accidental undef entries in %ENV under perl | |
322 | 5.6, because local($hash{key}) is somewhat broken. This is now | |
323 | fixed with an appropriate workaround. [Neil Watkiss] | |
324 | ||
000abefc RGS |
325 | 3.08 Sat May 28 10:10:29 CDT 2005 |
326 | ||
327 | - Fixed a test failure with fast_abs_path() on Windows - it was | |
328 | sensitive to the rootdir() change from version 3.07. [Steve Hay] | |
329 | ||
60598624 RGS |
330 | 3.07 Fri May 6 07:46:45 CDT 2005 |
331 | ||
332 | - Fixed a bug in which the special perl variable $^O would become | |
333 | tainted under certain versions of perl. [Michael Schwern] | |
334 | ||
335 | - File::Spec->rootdir() was returning / on Win32. Now it returns \ . | |
336 | [Michael Schwern] | |
337 | ||
338 | - We now avoid modifying @_ in tmpdir() when it's not strictly | |
339 | necessary, which reportedly provides a modest performance | |
340 | boost. [Richard Soderberg] | |
341 | ||
342 | - Made a couple of slight changes to the Win32 code so that it works | |
343 | (or works better) on Symbian OS phones. [Jarkko Hietaniemi] | |
344 | ||
345 | 3.06 Wed Apr 13 20:47:26 CDT 2005 | |
346 | ||
347 | (No changes in functionality) | |
348 | ||
349 | - Added a note to the canonpath() docs about why it doesn't collapse | |
350 | foo/../bar sections. | |
351 | ||
352 | - The internal-only function bsd_realpath() in the XS file now uses | |
353 | normal arg syntax instead of K&R syntax. [Nicholas Clark] | |
354 | ||
b04f6d36 RGS |
355 | 3.05 Mon Feb 28 07:22:58 CST 2005 |
356 | ||
357 | - Fixed a bug in fast_abs_path() on Win32 in which forward- and | |
358 | backward-slashes were confusing things. [demerphq] | |
359 | ||
360 | - Failure to load the XS code in Cwd is no longer a fatal error | |
361 | (though failure to compile it is still a fatal error in the build | |
362 | process). This lets Cwd work under miniperl in the core. [Rafael | |
363 | Garcia-Suarez] | |
364 | ||
365 | - In the t/cwd.t test, don't enforce loading from blib/ if we're | |
366 | testing in the perl core. [Rafael Garcia-Suarez] | |
367 | ||
99f36a73 RGS |
368 | 3.04 Sun Feb 6 17:27:38 CST 2005 |
369 | ||
370 | - For perls older than 5.006, the HAS_GETCWD symbol is not available, | |
371 | because it wasn't checked for in older Configure scripts when perl | |
372 | was built. We therefore just ask the user whether the getcwd() C | |
373 | function is defined on their platform when their perl is old. | |
374 | Maybe in the future we'll try to automate this. [Reported by | |
375 | several parties] | |
376 | ||
377 | - Remove lib/ppport.h from the distribution, so that MakeMaker | |
378 | doesn't accidentally pick it up and install it as a lib | |
379 | file. [Jerry Hedden] | |
380 | ||
381 | - Fixed a testing error on VMS that occurred when a user had | |
382 | read-access to the root of the current volume. [Craig A. Berry] | |
383 | ||
384 | 3.03 Fri Jan 21 21:44:05 CST 2005 | |
385 | ||
386 | - Fixed a testing error if the first file we find in the root | |
387 | directory is a symlink. [Blair Zajac] | |
388 | ||
389 | - Added a test to make sure Cwd.pm is loaded from blib/ during | |
390 | testing, which seems to be an issue in some people's environments | |
391 | and makes it awfully hard to debug things on my end. | |
392 | ||
393 | - Skip the _perl_abs_path() tests on Cygwin - they don't usually | |
394 | pass, and this function isn't used there anyway, so I decided not | |
395 | to push it. Let 'em use `cwd`. | |
396 | ||
397 | 3.02 Sun Jan 9 19:29:52 CST 2005 | |
398 | ||
399 | - Fixed a bug in which Cwd::abs_path() called on a file in the root | |
400 | directory returned strange results. [Bob Luckin] | |
401 | ||
402 | - Straightened out the licensing details for the portion of the Cwd | |
403 | module that comes from BSD sources. [Hugo van der Sanden] | |
404 | ||
405 | - Removed the prototype from _perl_abs_path() and the XS version of | |
406 | abs_path(), since all they seemed to be doing was causing people | |
407 | grief, and since some platforms didn't have them anyway. | |
408 | ||
409 | - Fixed a testing bug in which sometimes the wrong version of Cwd | |
410 | (the version already installed on the user's machine) would get | |
411 | loaded instead of the one we're building & installing. | |
412 | ||
413 | - Sometimes getdcwd() returns a lower-case drive letter, so don't | |
414 | require an upper-case letter in t/win32.t. [Jan Dubois] | |
415 | ||
416 | - Fixed a memory leak in getdcwd() on win32. [Steve Hay] | |
417 | ||
418 | - Added a copy of ppport.h to the distribution to aid compilation on | |
419 | older versions of perl. [Suggested by Charlie Root] | |
420 | ||
421 | - Don't bother looking for a 'pwd' executable on MSWin32 - there | |
422 | won't be one, and looking for it can be extremely slow when lots of | |
423 | disks are mounted. [Several people, including Andrew Burke] | |
424 | ||
425 | - Eliminated a multi-argument form of open() that was causing a | |
426 | syntax error on older versions of perl. [Fixed by Michael Schwern] | |
427 | ||
428 | - The bug-fix changes for revision 0.90 of File::Spec somehow were | |
429 | lost when I merged it into the PathTools distribution. They're | |
430 | restored now. [Craig A. Berry] | |
431 | ||
432 | - File::Spec->canonpath() will now reduce paths like '[d1.-]foo.dat' | |
433 | down to '[000000]foo.dat' instead of '[]foo.dat' or 'foo.dat'. | |
434 | This is in better accordance with the native filename syntax | |
435 | parser. [Craig A. Berry] | |
436 | ||
437 | - In order to remove a recursive dependency (PathTools -> Test-Simple | |
438 | -> Test-Harness -> PathTools), we now include a copy of Test::More in | |
439 | the distribution. It is only used for testing, it won't be installed | |
440 | with the rest of the stuff. | |
441 | ||
442 | - Removed some 5.6-isms from Cwd in order to get it to build with | |
443 | older perls like 5.005. | |
444 | ||
445 | - abs_path() on Windows was trampling on $ENV{PWD} - fixed. [Spotted | |
446 | by Neil MacMullen] | |
447 | ||
448 | - Added licensing/copyright statements to the POD in each .pm | |
449 | file. [Spotted by Radoslaw Zielinski] | |
450 | ||
451 | 3.01 Mon Sep 6 22:28:06 CDT 2004 | |
452 | ||
453 | - Removed an unnecessary and confusing dependency on File::Spec from | |
454 | the Makefile.PL and the Build.PL. | |
455 | ||
456 | - Added a 'NAME' entry to the Makefile.PL, because otherwise it won't | |
457 | even begin to work. [Reported by many] | |
458 | ||
459 | 3.00 Thu Sep 2 22:15:07 CDT 2004 | |
460 | ||
461 | - Merged Cwd and File::Spec into a single PathTools distribution. | |
462 | This was done because the two modules use each other fairly | |
463 | extensively, and extracting the common stuff into another | |
464 | distribution was deemed nigh-impossible. The code in revision 3.00 | |
465 | of PathTools should be equivalent to the code in Cwd 2.21 and | |
466 | File::Spec 0.90. | |
467 | ||
468 | ================================================================== | |
469 | Prior to revision 3.00, Cwd and File::Spec were maintained as two | |
470 | separate distributions. The revision history for Cwd is shown here. | |
471 | The revision history for File::Spec is further below. | |
472 | ================================================================== | |
473 | ||
474 | Cwd 2.21 Tue Aug 31 22:50:14 CDT 2004 | |
14815b0c RGS |
475 | |
476 | - Removed "NO_META" from the Makefile.PL, since I'm not building the | |
477 | distribution with MakeMaker anyway. [Rohan Carly] | |
478 | ||
479 | - Only test _perl_abs_path() on platforms where it's expected to work | |
480 | (platforms with '/' as the directory separator). [Craig A. Berry] | |
481 | ||
99f36a73 | 482 | Cwd 2.20 Thu Jul 22 08:23:53 CDT 2004 |
275e8705 RGS |
483 | |
484 | - On some implementations of perl on Win32, a memory leak (or worse?) | |
485 | occurred when calling getdcwd(). This has been fixed. [PodMaster] | |
486 | ||
487 | - Added tests for getdcwd() on Win32. | |
488 | ||
489 | - Fixed a problem in the pure-perl implementation _perl_abs_path() | |
490 | that caused a fatal error when run on plain files. [Nicholas Clark] | |
491 | To exercise the appropriate test code on platforms that wouldn't | |
492 | otherwise use _perl_abs_path(), run the tests with $ENV{PERL_CORE} | |
493 | or $ENV{TEST_PERL_CWD_CODE} set. | |
494 | ||
99f36a73 | 495 | Cwd 2.19 Thu Jul 15 08:32:18 CDT 2004 |
7ada78df NC |
496 | |
497 | - The abs_path($arg) fix from 2.18 didn't work for VMS, now it's | |
498 | fixed there. [Craig Berry] | |
499 | ||
99f36a73 | 500 | Cwd 2.18 Thu Jun 24 08:22:57 CDT 2004 |
09122b95 RGS |
501 | |
502 | - Fixed a problem in which abs_path($arg) on some platforms could | |
503 | only be called on directories, and died when called on files. This | |
504 | was a problem in the pure-perl implementation _perl_abs_path(). | |
505 | ||
506 | - Fixed fast_abs_path($arg) in the same way as abs_path($arg) above. | |
507 | ||
508 | - On Win32, a function getdcwd($vol) has been added, which gets the | |
509 | current working directory of the specified drive/volume. | |
510 | [Steve Hay] | |
511 | ||
512 | - Fixed a problem on perl 5.6.2 when built with the MULTIPLICITY | |
513 | compile-time flags. [Yitzchak Scott-Thoennes] | |
514 | ||
515 | - When looking for a `pwd` system command, we no longer assume the | |
516 | path separator is ':'. | |
517 | ||
518 | - On platforms where cwd() is implemented internally (like Win32), | |
519 | don't look for a `pwd` command externally. This can greatly speed | |
520 | up load time. [Stefan Scherer] | |
521 | ||
522 | - The pure-perl version of abs_path() now has the same prototype as | |
523 | the XS version (;$). | |
524 | ||
99f36a73 | 525 | Cwd 2.17 Wed Mar 10 07:55:36 CST 2004 |
ea067225 RGS |
526 | |
527 | - The change in 2.16 created a testing failure when tested from | |
528 | within a path that contains symlinks (for instance, /tmp -> | |
529 | /private/tmp). | |
530 | ||
99f36a73 | 531 | Cwd 2.16 Sat Mar 6 17:56:31 CST 2004 |
821bf9a5 RGS |
532 | |
533 | - For VMS compatibility (and to conform to Cwd's documented | |
534 | interface), in the regression tests we now compare output results | |
535 | to an absolute path. [Craig A. Berry] | |
536 | ||
99f36a73 | 537 | Cwd 2.15 Fri Jan 16 08:09:44 CST 2004 |
02cc4877 NC |
538 | |
539 | - Fixed a problem on static perl builds - while creating | |
540 | Makefile.aperl, it was loading a mismatched version of Cwd from | |
541 | blib/ . [Reported by Blair Zajac] | |
542 | ||
99f36a73 | 543 | Cwd 2.14 Thu Jan 8 18:51:08 CST 2004 |
ad78113d RGS |
544 | |
545 | - We now use File::Spec->canonpath() and properly-escaped regular | |
546 | expressions when comparing paths in the regression tests. This | |
547 | fixes some testing failures in 2.13 on non-Unix platforms. No | |
548 | changes were made in the actual Cwd module code. [Steve Hay] | |
549 | ||
99f36a73 | 550 | Cwd 2.13 Fri Jan 2 22:29:42 CST 2004 |
889f7a4f RGS |
551 | |
552 | - Changed a '//' comment to a '/* */' comment in the XS code, so that | |
553 | it'll compile properly under ANSI C rules. [Jarkko Hietaniemi] | |
554 | ||
555 | - Fixed a 1-character buffer overrun problem in the C code. [The BSD | |
556 | people] | |
557 | ||
99f36a73 | 558 | Cwd 2.12 Fri Dec 19 17:04:52 CST 2003 |
fb8d82a2 NC |
559 | |
560 | - Fixed a bug on Cygwin - the output of realpath() should have been | |
561 | tainted, but wasn't. [Reported by Tom Wyant] | |
562 | ||
99f36a73 | 563 | Cwd 2.10 Mon Dec 15 07:50:12 CST 2003 |
fb8d82a2 NC |
564 | |
565 | (Note that this release was mistakenly packaged as version 2.11, even | |
566 | though it had an internal $VERSION variable of 2.10. Not sure how | |
567 | THAT happened...) | |
568 | ||
569 | - There was a dependency in the Makefile.PL on Module::Build, which | |
570 | isn't necessary. I've removed it. | |
571 | ||
99f36a73 | 572 | Cwd 2.09 Thu Dec 11 20:30:58 CST 2003 |
fb8d82a2 NC |
573 | |
574 | - The module should now build & install using version 5.6 of perl. | |
575 | ||
576 | - We now note a build-time dependency on version 0.19 of | |
577 | Module::Build, which is necessary because we don't use the standard | |
578 | lib/-based file layout. No version of Module::Build is required if | |
579 | you use the Makefile.PL, just if you use the Build.PL . | |
580 | ||
581 | - Removed some gratuitous uses of 5.6-isms like our(), with the aim | |
582 | of backporting this module to perl 5.005. | |
583 | ||
584 | - Simplified all code that autoloads Carp.pm and calls | |
585 | carp()/croak(). | |
586 | ||
587 | - Removed some redundant OS/2 code at the suggestion of Michael | |
588 | Schwern and Ilya Zakharevich. | |
589 | ||
590 | - Make sure the correct version of Cwd.pm is loaded in the regression | |
591 | tests. [Sam Vilain] | |
592 | ||
99f36a73 | 593 | Cwd 2.08 Wed Oct 15 20:56 CDT 2003 |
fb8d82a2 NC |
594 | |
595 | - Code extracted from perl 5.8.1 and packaged as a separate CPAN | |
596 | release by Ken Williams. | |
597 | ||
99f36a73 RGS |
598 | ================================================================== |
599 | Prior to revision 3.00, Cwd and File::Spec were maintained as two | |
600 | separate distributions. The revision history for File::Spec is shown | |
601 | here. The revision history for Cwd is above. | |
602 | ================================================================== | |
603 | ||
604 | File::Spec 0.90 Tue Aug 31 22:34:50 CDT 2004 | |
605 | ||
606 | - On VMS, directories use vmspath() and files use vmsify(), so | |
607 | rel2abs() has to use some 'educated guessing' when dealing with | |
608 | paths containing slashes. [Craig A. Berry] | |
609 | ||
610 | File::Spec 0.89 Sun Aug 29 19:02:32 CDT 2004 | |
611 | ||
612 | - Fixed some pathological cases on VMS which broke canonpath() and | |
613 | splitdir(). [Richard Levitte and Craig A. Berry] | |
614 | ||
615 | - Fixed rel2abs() on VMS when passed a unix-style relative | |
616 | path. [Craig A. Berry] | |
617 | ||
618 | File::Spec 0.88 Thu Jul 22 23:14:32 CDT 2004 | |
619 | ||
620 | - rel2abs() on Win32 will now use the new Cwd::getdcwd() function, so | |
621 | that things like rel2abs('D:foo.txt') work properly when the | |
622 | current drive isn't 'D'. This requires Cwd version 2.18. | |
623 | [Steve Hay] | |
624 | ||
625 | - Got rid of a redundant double-backslash in a character | |
626 | class. [Alexander Farber] | |
627 | ||
628 | - Added much markup to pod for enhanced readability. [Andy Lester] | |
629 | ||
630 | File::Spec 0.87 Fri Dec 19 08:03:28 CST 2003 | |
631 | ||
632 | - With a one-line change in the tests, backported to perl 5.004. | |
633 | [Issue reported by Barry Kemble] | |
634 | ||
635 | File::Spec 0.86 Fri Sep 26 10:07:39 CDT 2003 | |
636 | ||
637 | - This is the version released with perl 5.8.1. It is identical to | |
638 | the code in the File::Spec beta 0.85_03. | |
639 | ||
640 | File::Spec 0.85_03 Mon Sep 15 09:35:53 CDT 2003 | |
641 | ||
642 | - On VMS, if catpath() receives volume specifiers in both its first | |
643 | two arguments, it will now use the volume in the first argument | |
644 | only. Previously it returned a non-syntactical result which | |
645 | included both volumes. This change is the same in spirit to the | |
646 | catpath() MacOS change from version 0.85_02. | |
647 | ||
648 | - Fixed an abs2rel() bug on VMS - previously | |
649 | abs2rel('[t1.t2.t3]file','[t1.t2]') returned '[t3]file', now it | |
650 | properly returns '[.t3]file'. | |
651 | ||
652 | File::Spec 0.85_02 Fri Sep 12 17:11:13 CDT 2003 | |
653 | ||
654 | - abs2rel() now behaves more consistently across platforms with the | |
655 | notion of a volume. If the volumes of the first and second | |
656 | argument (the second argument may be implicit) do not agree, we do | |
657 | not attempt to reconcile the paths, and simply return the first | |
658 | argument. Previously the volume of the second argument was | |
659 | (usually) ignored, resulting in sometimes-garbage output. | |
660 | ||
661 | - catpath() on MacOS now looks for a volume element (i.e. "Macintosh HD:") | |
662 | in its first argument, and then its second argument. The first | |
663 | volume found will be used, and if none is found, none will be used. | |
664 | ||
665 | - Fixed a problem in abs2rel() on Win32 in which the volume of the | |
666 | current working directory would get added to the second argument if | |
667 | none was specified. This might have been somewhat helpful, but it | |
668 | was contrary to the documented behavior. For example, | |
669 | abs2rel('C:/foo/bar', '/foo') used to return 'bar', now it returns | |
670 | 'C:/foo/bar' because there's no guarantee /foo is actually C:/foo . | |
671 | ||
672 | - catdir('/', '../') on OS2 previously erroneously returned '//..', | |
673 | and now it returns '/'. | |
674 | ||
675 | File::Spec 0.85_01 Thu Sep 11 16:18:54 CDT 2003 | |
676 | ||
677 | Working toward 0.86, the version that will be released with perl 5.8.1. | |
678 | ||
679 | - The t/rel2abs2rel.t test now is a little friendlier about emitting | |
680 | its diagnostic debugging output. [Jarkko Hietaniemi] | |
681 | ||
682 | - We now only require() Cwd when it's needed, on demand. [Michael | |
683 | Schwern, Tels] | |
684 | ||
685 | - Fixed some POD errors and redundancies in OS2.pm and Cygwin.pm. | |
686 | [Michael Schwern] | |
687 | ||
688 | - The internal method cwd() has been renamed to _cwd(), since it was | |
689 | never meant for public use. [Michael Schwern] | |
690 | ||
691 | - Several methods in File::Spec::Unix that just return constant | |
692 | strings have been sped up. catdir() has also been sped up there. | |
693 | [Tels] | |
694 | ||
695 | - Several canonpath() and catdir() bugs on Win32 have been fixed, and | |
696 | tests added for them: | |
697 | catdir('/', '../') -> '\\' (was '\..') | |
698 | catdir('/', '..\\') -> '\\ (was '') | |
699 | canonpath('\\../') -> '\\' (was '') | |
700 | canonpath('\\..\\') -> '\\' (was '') | |
701 | canonpath('/../') -> '\\' (was '\..') | |
702 | canonpath('/..\\') -> '\\' (was '') | |
703 | catdir('\\', 'foo') -> '\foo' (was '\\foo') | |
704 | ||
705 | - catpath($volume, $dirs, $file) on Mac OS now ignores any volume | |
706 | that might be part of $dirs, enabling catpath($volume, | |
707 | catdir(rootdir(), 'foo'), '') to work portably across platforms. | |
708 | ||
709 | File::Spec 0.85 Tue Jul 22 11:31 CDT 2003 | |
710 | ||
711 | A bug-fix release relative to 0.84. I've forked development into a | |
712 | "stable" branch (this one) and a more aggressive branch (as yet | |
713 | unreleased), with an eye toward getting the stable features in perl | |
714 | 5.8.1. | |
715 | ||
716 | - File::Spec::Mac->case_tolerant() returned 0 when it should have | |
717 | returned 1. | |
718 | ||
719 | - Many cases in File::Spec::Win32->abs2rel() were broken, because of | |
720 | the way in which volumes were/weren't ignored. Unfortunately, part | |
721 | of the regression tests were broken too. Now, if the $path | |
722 | argument to abs2rel() is on a different volume than the $base | |
723 | argument, the result will be an absolute path rather than the | |
724 | broken relative path previous versions returned. | |
725 | ||
726 | - Fixed a problem in File::Spec::Win32->canonpath, which was turning | |
727 | \../foo into "foo" rather than \foo | |
728 | ||
729 | - Greatly simplified the code in File::Spec::Unix->splitdir(). | |
730 | ||
731 | File::Spec 0.84_01 Fri Jul 11 16:14:29 CDT 2003 | |
732 | ||
733 | No actual code changes, just changes in other distribution files | |
734 | ||
735 | - Dependencies are now listed explicitly in the Makefile.PL and | |
736 | Build.PL scripts, as well as in the META.yml file. | |
737 | ||
738 | - The t/abs2rel2abs.t test should now be more friendly about skipping | |
739 | on platforms where it can't run properly. | |
740 | ||
741 | File::Spec 0.84 Wed Jul 9 22:21:23 CDT 2003 | |
742 | ||
743 | I (Ken)'ve taken the changes from bleadperl and created a new CPAN release | |
744 | from them, since they're pretty important changes. The highlights, | |
745 | from what I can tell, are listed here. | |
746 | ||
747 | - A huge number of changes to File::Spec::Mac in order to bring it in | |
748 | line with the other platforms. This work was mostly/completely | |
749 | done by Thomas Wegner. | |
750 | ||
751 | - The Epoc and Cygwin platforms are now supported. | |
752 | ||
753 | - Lots of generically-applicable documentation has been taken from | |
754 | File::Spec::Unix and put in File::Spec. | |
755 | ||
756 | - A Build.PL has been provided for people who wish to install via | |
757 | Module::Build. | |
758 | ||
759 | - Some spurious warnings and errors in the tests have been | |
760 | eliminated. [Michael Schwern] | |
761 | ||
762 | - canonpath() on File::Spec::Unix now honors a //node-name at the | |
763 | beginning of a path. | |
764 | ||
765 | - Cwd.pm wasn't being loaded properly on MacOS. [Chris Nandor] | |
766 | ||
767 | - Various POD fixups | |
768 | ||
769 | - Several testing patches for the Epoc and Cygwin platforms [Tels] | |
770 | ||
771 | - When running under taint mode and perl >= 5.8, all the tmpdir() | |
772 | implementations now avoid returning a tainted path. | |
773 | ||
774 | - File::Spec::OS2 now implements canonpath(), splitpath(), | |
775 | splitdir(), catpath(), abs2rel(), and rel2abs() directly rather | |
776 | than inheriting them from File::Spec::Unix. | |
777 | ||
778 | - Added 'SYS:/temp' and 'C:/temp' to the list of possible tmpdir()s | |
779 | on Win32. | |
780 | ||
781 | - catfile() on Win32 and VMS will now automatically call canonpath() | |
782 | on its final argument. | |
783 | ||
784 | - canonpath() on Win32 now does a much more extensive cleanup of the | |
785 | path. | |
786 | ||
787 | - abs2rel() on Win32 now defaults to using cwd() as the base of | |
788 | relativity when no base is given. | |
789 | ||
790 | - abs2rel() on Win32 now explicitly ignores any volume component in | |
791 | the $path argument. | |
792 | ||
793 | - canonpath() on VMS now does []foo ==> foo, and foo.000000] ==> foo]. | |
794 | It also fixes a bug in multiple [000000.foo ==> [foo translations. | |
795 | ||
796 | - tmpdir() on VMS now uses 'sys$scratch:' instead of 'sys$scratch'. | |
797 | ||
798 | - abs2rel() on VMS now uses '000000' in both the path and the base. | |
799 | ||
800 | File::Spec 0.82 Wed Jun 28 11:24:05 EDT 2000 | |
801 | - Mac.pm: file_name_is_absolute( '' ) now returns TRUE on all platforms | |
802 | - Spec.pm: unbreak C<$VERSION = '0.xx'> to be C<$VERSION = 0.xx>, so | |
803 | underscores can be used when I want to update CPAN without anyone | |
804 | needing to update the perl repository. | |
805 | - abs2rel, rel2abs doc tweaks | |
806 | - VMS.pm: get $path =~ /\s/ checks from perl repository. | |
807 | - Makefile.PL: added INSTALLDIRS => 'perl', since these are std. modules. | |
808 | - Remove vestigial context prototypes from &rel2abs until some future | |
809 | arrives where method prototypes are honored. |