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