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