Commit | Line | Data |
99f36a73 |
1 | Revision history for Perl distribution PathTools. |
fb8d82a2 |
2 | |
b04f6d36 |
3 | 3.05 Mon Feb 28 07:22:58 CST 2005 |
4 | |
5 | - Fixed a bug in fast_abs_path() on Win32 in which forward- and |
6 | backward-slashes were confusing things. [demerphq] |
7 | |
8 | - Failure to load the XS code in Cwd is no longer a fatal error |
9 | (though failure to compile it is still a fatal error in the build |
10 | process). This lets Cwd work under miniperl in the core. [Rafael |
11 | Garcia-Suarez] |
12 | |
13 | - In the t/cwd.t test, don't enforce loading from blib/ if we're |
14 | testing in the perl core. [Rafael Garcia-Suarez] |
15 | |
99f36a73 |
16 | 3.04 Sun Feb 6 17:27:38 CST 2005 |
17 | |
18 | - For perls older than 5.006, the HAS_GETCWD symbol is not available, |
19 | because it wasn't checked for in older Configure scripts when perl |
20 | was built. We therefore just ask the user whether the getcwd() C |
21 | function is defined on their platform when their perl is old. |
22 | Maybe in the future we'll try to automate this. [Reported by |
23 | several parties] |
24 | |
25 | - Remove lib/ppport.h from the distribution, so that MakeMaker |
26 | doesn't accidentally pick it up and install it as a lib |
27 | file. [Jerry Hedden] |
28 | |
29 | - Fixed a testing error on VMS that occurred when a user had |
30 | read-access to the root of the current volume. [Craig A. Berry] |
31 | |
32 | 3.03 Fri Jan 21 21:44:05 CST 2005 |
33 | |
34 | - Fixed a testing error if the first file we find in the root |
35 | directory is a symlink. [Blair Zajac] |
36 | |
37 | - Added a test to make sure Cwd.pm is loaded from blib/ during |
38 | testing, which seems to be an issue in some people's environments |
39 | and makes it awfully hard to debug things on my end. |
40 | |
41 | - Skip the _perl_abs_path() tests on Cygwin - they don't usually |
42 | pass, and this function isn't used there anyway, so I decided not |
43 | to push it. Let 'em use `cwd`. |
44 | |
45 | 3.02 Sun Jan 9 19:29:52 CST 2005 |
46 | |
47 | - Fixed a bug in which Cwd::abs_path() called on a file in the root |
48 | directory returned strange results. [Bob Luckin] |
49 | |
50 | - Straightened out the licensing details for the portion of the Cwd |
51 | module that comes from BSD sources. [Hugo van der Sanden] |
52 | |
53 | - Removed the prototype from _perl_abs_path() and the XS version of |
54 | abs_path(), since all they seemed to be doing was causing people |
55 | grief, and since some platforms didn't have them anyway. |
56 | |
57 | - Fixed a testing bug in which sometimes the wrong version of Cwd |
58 | (the version already installed on the user's machine) would get |
59 | loaded instead of the one we're building & installing. |
60 | |
61 | - Sometimes getdcwd() returns a lower-case drive letter, so don't |
62 | require an upper-case letter in t/win32.t. [Jan Dubois] |
63 | |
64 | - Fixed a memory leak in getdcwd() on win32. [Steve Hay] |
65 | |
66 | - Added a copy of ppport.h to the distribution to aid compilation on |
67 | older versions of perl. [Suggested by Charlie Root] |
68 | |
69 | - Don't bother looking for a 'pwd' executable on MSWin32 - there |
70 | won't be one, and looking for it can be extremely slow when lots of |
71 | disks are mounted. [Several people, including Andrew Burke] |
72 | |
73 | - Eliminated a multi-argument form of open() that was causing a |
74 | syntax error on older versions of perl. [Fixed by Michael Schwern] |
75 | |
76 | - The bug-fix changes for revision 0.90 of File::Spec somehow were |
77 | lost when I merged it into the PathTools distribution. They're |
78 | restored now. [Craig A. Berry] |
79 | |
80 | - File::Spec->canonpath() will now reduce paths like '[d1.-]foo.dat' |
81 | down to '[000000]foo.dat' instead of '[]foo.dat' or 'foo.dat'. |
82 | This is in better accordance with the native filename syntax |
83 | parser. [Craig A. Berry] |
84 | |
85 | - In order to remove a recursive dependency (PathTools -> Test-Simple |
86 | -> Test-Harness -> PathTools), we now include a copy of Test::More in |
87 | the distribution. It is only used for testing, it won't be installed |
88 | with the rest of the stuff. |
89 | |
90 | - Removed some 5.6-isms from Cwd in order to get it to build with |
91 | older perls like 5.005. |
92 | |
93 | - abs_path() on Windows was trampling on $ENV{PWD} - fixed. [Spotted |
94 | by Neil MacMullen] |
95 | |
96 | - Added licensing/copyright statements to the POD in each .pm |
97 | file. [Spotted by Radoslaw Zielinski] |
98 | |
99 | 3.01 Mon Sep 6 22:28:06 CDT 2004 |
100 | |
101 | - Removed an unnecessary and confusing dependency on File::Spec from |
102 | the Makefile.PL and the Build.PL. |
103 | |
104 | - Added a 'NAME' entry to the Makefile.PL, because otherwise it won't |
105 | even begin to work. [Reported by many] |
106 | |
107 | 3.00 Thu Sep 2 22:15:07 CDT 2004 |
108 | |
109 | - Merged Cwd and File::Spec into a single PathTools distribution. |
110 | This was done because the two modules use each other fairly |
111 | extensively, and extracting the common stuff into another |
112 | distribution was deemed nigh-impossible. The code in revision 3.00 |
113 | of PathTools should be equivalent to the code in Cwd 2.21 and |
114 | File::Spec 0.90. |
115 | |
116 | ================================================================== |
117 | Prior to revision 3.00, Cwd and File::Spec were maintained as two |
118 | separate distributions. The revision history for Cwd is shown here. |
119 | The revision history for File::Spec is further below. |
120 | ================================================================== |
121 | |
122 | Cwd 2.21 Tue Aug 31 22:50:14 CDT 2004 |
14815b0c |
123 | |
124 | - Removed "NO_META" from the Makefile.PL, since I'm not building the |
125 | distribution with MakeMaker anyway. [Rohan Carly] |
126 | |
127 | - Only test _perl_abs_path() on platforms where it's expected to work |
128 | (platforms with '/' as the directory separator). [Craig A. Berry] |
129 | |
99f36a73 |
130 | Cwd 2.20 Thu Jul 22 08:23:53 CDT 2004 |
275e8705 |
131 | |
132 | - On some implementations of perl on Win32, a memory leak (or worse?) |
133 | occurred when calling getdcwd(). This has been fixed. [PodMaster] |
134 | |
135 | - Added tests for getdcwd() on Win32. |
136 | |
137 | - Fixed a problem in the pure-perl implementation _perl_abs_path() |
138 | that caused a fatal error when run on plain files. [Nicholas Clark] |
139 | To exercise the appropriate test code on platforms that wouldn't |
140 | otherwise use _perl_abs_path(), run the tests with $ENV{PERL_CORE} |
141 | or $ENV{TEST_PERL_CWD_CODE} set. |
142 | |
99f36a73 |
143 | Cwd 2.19 Thu Jul 15 08:32:18 CDT 2004 |
7ada78df |
144 | |
145 | - The abs_path($arg) fix from 2.18 didn't work for VMS, now it's |
146 | fixed there. [Craig Berry] |
147 | |
99f36a73 |
148 | Cwd 2.18 Thu Jun 24 08:22:57 CDT 2004 |
09122b95 |
149 | |
150 | - Fixed a problem in which abs_path($arg) on some platforms could |
151 | only be called on directories, and died when called on files. This |
152 | was a problem in the pure-perl implementation _perl_abs_path(). |
153 | |
154 | - Fixed fast_abs_path($arg) in the same way as abs_path($arg) above. |
155 | |
156 | - On Win32, a function getdcwd($vol) has been added, which gets the |
157 | current working directory of the specified drive/volume. |
158 | [Steve Hay] |
159 | |
160 | - Fixed a problem on perl 5.6.2 when built with the MULTIPLICITY |
161 | compile-time flags. [Yitzchak Scott-Thoennes] |
162 | |
163 | - When looking for a `pwd` system command, we no longer assume the |
164 | path separator is ':'. |
165 | |
166 | - On platforms where cwd() is implemented internally (like Win32), |
167 | don't look for a `pwd` command externally. This can greatly speed |
168 | up load time. [Stefan Scherer] |
169 | |
170 | - The pure-perl version of abs_path() now has the same prototype as |
171 | the XS version (;$). |
172 | |
99f36a73 |
173 | Cwd 2.17 Wed Mar 10 07:55:36 CST 2004 |
ea067225 |
174 | |
175 | - The change in 2.16 created a testing failure when tested from |
176 | within a path that contains symlinks (for instance, /tmp -> |
177 | /private/tmp). |
178 | |
99f36a73 |
179 | Cwd 2.16 Sat Mar 6 17:56:31 CST 2004 |
821bf9a5 |
180 | |
181 | - For VMS compatibility (and to conform to Cwd's documented |
182 | interface), in the regression tests we now compare output results |
183 | to an absolute path. [Craig A. Berry] |
184 | |
99f36a73 |
185 | Cwd 2.15 Fri Jan 16 08:09:44 CST 2004 |
02cc4877 |
186 | |
187 | - Fixed a problem on static perl builds - while creating |
188 | Makefile.aperl, it was loading a mismatched version of Cwd from |
189 | blib/ . [Reported by Blair Zajac] |
190 | |
99f36a73 |
191 | Cwd 2.14 Thu Jan 8 18:51:08 CST 2004 |
ad78113d |
192 | |
193 | - We now use File::Spec->canonpath() and properly-escaped regular |
194 | expressions when comparing paths in the regression tests. This |
195 | fixes some testing failures in 2.13 on non-Unix platforms. No |
196 | changes were made in the actual Cwd module code. [Steve Hay] |
197 | |
99f36a73 |
198 | Cwd 2.13 Fri Jan 2 22:29:42 CST 2004 |
889f7a4f |
199 | |
200 | - Changed a '//' comment to a '/* */' comment in the XS code, so that |
201 | it'll compile properly under ANSI C rules. [Jarkko Hietaniemi] |
202 | |
203 | - Fixed a 1-character buffer overrun problem in the C code. [The BSD |
204 | people] |
205 | |
99f36a73 |
206 | Cwd 2.12 Fri Dec 19 17:04:52 CST 2003 |
fb8d82a2 |
207 | |
208 | - Fixed a bug on Cygwin - the output of realpath() should have been |
209 | tainted, but wasn't. [Reported by Tom Wyant] |
210 | |
99f36a73 |
211 | Cwd 2.10 Mon Dec 15 07:50:12 CST 2003 |
fb8d82a2 |
212 | |
213 | (Note that this release was mistakenly packaged as version 2.11, even |
214 | though it had an internal $VERSION variable of 2.10. Not sure how |
215 | THAT happened...) |
216 | |
217 | - There was a dependency in the Makefile.PL on Module::Build, which |
218 | isn't necessary. I've removed it. |
219 | |
99f36a73 |
220 | Cwd 2.09 Thu Dec 11 20:30:58 CST 2003 |
fb8d82a2 |
221 | |
222 | - The module should now build & install using version 5.6 of perl. |
223 | |
224 | - We now note a build-time dependency on version 0.19 of |
225 | Module::Build, which is necessary because we don't use the standard |
226 | lib/-based file layout. No version of Module::Build is required if |
227 | you use the Makefile.PL, just if you use the Build.PL . |
228 | |
229 | - Removed some gratuitous uses of 5.6-isms like our(), with the aim |
230 | of backporting this module to perl 5.005. |
231 | |
232 | - Simplified all code that autoloads Carp.pm and calls |
233 | carp()/croak(). |
234 | |
235 | - Removed some redundant OS/2 code at the suggestion of Michael |
236 | Schwern and Ilya Zakharevich. |
237 | |
238 | - Make sure the correct version of Cwd.pm is loaded in the regression |
239 | tests. [Sam Vilain] |
240 | |
99f36a73 |
241 | Cwd 2.08 Wed Oct 15 20:56 CDT 2003 |
fb8d82a2 |
242 | |
243 | - Code extracted from perl 5.8.1 and packaged as a separate CPAN |
244 | release by Ken Williams. |
245 | |
99f36a73 |
246 | ================================================================== |
247 | Prior to revision 3.00, Cwd and File::Spec were maintained as two |
248 | separate distributions. The revision history for File::Spec is shown |
249 | here. The revision history for Cwd is above. |
250 | ================================================================== |
251 | |
252 | File::Spec 0.90 Tue Aug 31 22:34:50 CDT 2004 |
253 | |
254 | - On VMS, directories use vmspath() and files use vmsify(), so |
255 | rel2abs() has to use some 'educated guessing' when dealing with |
256 | paths containing slashes. [Craig A. Berry] |
257 | |
258 | File::Spec 0.89 Sun Aug 29 19:02:32 CDT 2004 |
259 | |
260 | - Fixed some pathological cases on VMS which broke canonpath() and |
261 | splitdir(). [Richard Levitte and Craig A. Berry] |
262 | |
263 | - Fixed rel2abs() on VMS when passed a unix-style relative |
264 | path. [Craig A. Berry] |
265 | |
266 | File::Spec 0.88 Thu Jul 22 23:14:32 CDT 2004 |
267 | |
268 | - rel2abs() on Win32 will now use the new Cwd::getdcwd() function, so |
269 | that things like rel2abs('D:foo.txt') work properly when the |
270 | current drive isn't 'D'. This requires Cwd version 2.18. |
271 | [Steve Hay] |
272 | |
273 | - Got rid of a redundant double-backslash in a character |
274 | class. [Alexander Farber] |
275 | |
276 | - Added much markup to pod for enhanced readability. [Andy Lester] |
277 | |
278 | File::Spec 0.87 Fri Dec 19 08:03:28 CST 2003 |
279 | |
280 | - With a one-line change in the tests, backported to perl 5.004. |
281 | [Issue reported by Barry Kemble] |
282 | |
283 | File::Spec 0.86 Fri Sep 26 10:07:39 CDT 2003 |
284 | |
285 | - This is the version released with perl 5.8.1. It is identical to |
286 | the code in the File::Spec beta 0.85_03. |
287 | |
288 | File::Spec 0.85_03 Mon Sep 15 09:35:53 CDT 2003 |
289 | |
290 | - On VMS, if catpath() receives volume specifiers in both its first |
291 | two arguments, it will now use the volume in the first argument |
292 | only. Previously it returned a non-syntactical result which |
293 | included both volumes. This change is the same in spirit to the |
294 | catpath() MacOS change from version 0.85_02. |
295 | |
296 | - Fixed an abs2rel() bug on VMS - previously |
297 | abs2rel('[t1.t2.t3]file','[t1.t2]') returned '[t3]file', now it |
298 | properly returns '[.t3]file'. |
299 | |
300 | File::Spec 0.85_02 Fri Sep 12 17:11:13 CDT 2003 |
301 | |
302 | - abs2rel() now behaves more consistently across platforms with the |
303 | notion of a volume. If the volumes of the first and second |
304 | argument (the second argument may be implicit) do not agree, we do |
305 | not attempt to reconcile the paths, and simply return the first |
306 | argument. Previously the volume of the second argument was |
307 | (usually) ignored, resulting in sometimes-garbage output. |
308 | |
309 | - catpath() on MacOS now looks for a volume element (i.e. "Macintosh HD:") |
310 | in its first argument, and then its second argument. The first |
311 | volume found will be used, and if none is found, none will be used. |
312 | |
313 | - Fixed a problem in abs2rel() on Win32 in which the volume of the |
314 | current working directory would get added to the second argument if |
315 | none was specified. This might have been somewhat helpful, but it |
316 | was contrary to the documented behavior. For example, |
317 | abs2rel('C:/foo/bar', '/foo') used to return 'bar', now it returns |
318 | 'C:/foo/bar' because there's no guarantee /foo is actually C:/foo . |
319 | |
320 | - catdir('/', '../') on OS2 previously erroneously returned '//..', |
321 | and now it returns '/'. |
322 | |
323 | File::Spec 0.85_01 Thu Sep 11 16:18:54 CDT 2003 |
324 | |
325 | Working toward 0.86, the version that will be released with perl 5.8.1. |
326 | |
327 | - The t/rel2abs2rel.t test now is a little friendlier about emitting |
328 | its diagnostic debugging output. [Jarkko Hietaniemi] |
329 | |
330 | - We now only require() Cwd when it's needed, on demand. [Michael |
331 | Schwern, Tels] |
332 | |
333 | - Fixed some POD errors and redundancies in OS2.pm and Cygwin.pm. |
334 | [Michael Schwern] |
335 | |
336 | - The internal method cwd() has been renamed to _cwd(), since it was |
337 | never meant for public use. [Michael Schwern] |
338 | |
339 | - Several methods in File::Spec::Unix that just return constant |
340 | strings have been sped up. catdir() has also been sped up there. |
341 | [Tels] |
342 | |
343 | - Several canonpath() and catdir() bugs on Win32 have been fixed, and |
344 | tests added for them: |
345 | catdir('/', '../') -> '\\' (was '\..') |
346 | catdir('/', '..\\') -> '\\ (was '') |
347 | canonpath('\\../') -> '\\' (was '') |
348 | canonpath('\\..\\') -> '\\' (was '') |
349 | canonpath('/../') -> '\\' (was '\..') |
350 | canonpath('/..\\') -> '\\' (was '') |
351 | catdir('\\', 'foo') -> '\foo' (was '\\foo') |
352 | |
353 | - catpath($volume, $dirs, $file) on Mac OS now ignores any volume |
354 | that might be part of $dirs, enabling catpath($volume, |
355 | catdir(rootdir(), 'foo'), '') to work portably across platforms. |
356 | |
357 | File::Spec 0.85 Tue Jul 22 11:31 CDT 2003 |
358 | |
359 | A bug-fix release relative to 0.84. I've forked development into a |
360 | "stable" branch (this one) and a more aggressive branch (as yet |
361 | unreleased), with an eye toward getting the stable features in perl |
362 | 5.8.1. |
363 | |
364 | - File::Spec::Mac->case_tolerant() returned 0 when it should have |
365 | returned 1. |
366 | |
367 | - Many cases in File::Spec::Win32->abs2rel() were broken, because of |
368 | the way in which volumes were/weren't ignored. Unfortunately, part |
369 | of the regression tests were broken too. Now, if the $path |
370 | argument to abs2rel() is on a different volume than the $base |
371 | argument, the result will be an absolute path rather than the |
372 | broken relative path previous versions returned. |
373 | |
374 | - Fixed a problem in File::Spec::Win32->canonpath, which was turning |
375 | \../foo into "foo" rather than \foo |
376 | |
377 | - Greatly simplified the code in File::Spec::Unix->splitdir(). |
378 | |
379 | File::Spec 0.84_01 Fri Jul 11 16:14:29 CDT 2003 |
380 | |
381 | No actual code changes, just changes in other distribution files |
382 | |
383 | - Dependencies are now listed explicitly in the Makefile.PL and |
384 | Build.PL scripts, as well as in the META.yml file. |
385 | |
386 | - The t/abs2rel2abs.t test should now be more friendly about skipping |
387 | on platforms where it can't run properly. |
388 | |
389 | File::Spec 0.84 Wed Jul 9 22:21:23 CDT 2003 |
390 | |
391 | I (Ken)'ve taken the changes from bleadperl and created a new CPAN release |
392 | from them, since they're pretty important changes. The highlights, |
393 | from what I can tell, are listed here. |
394 | |
395 | - A huge number of changes to File::Spec::Mac in order to bring it in |
396 | line with the other platforms. This work was mostly/completely |
397 | done by Thomas Wegner. |
398 | |
399 | - The Epoc and Cygwin platforms are now supported. |
400 | |
401 | - Lots of generically-applicable documentation has been taken from |
402 | File::Spec::Unix and put in File::Spec. |
403 | |
404 | - A Build.PL has been provided for people who wish to install via |
405 | Module::Build. |
406 | |
407 | - Some spurious warnings and errors in the tests have been |
408 | eliminated. [Michael Schwern] |
409 | |
410 | - canonpath() on File::Spec::Unix now honors a //node-name at the |
411 | beginning of a path. |
412 | |
413 | - Cwd.pm wasn't being loaded properly on MacOS. [Chris Nandor] |
414 | |
415 | - Various POD fixups |
416 | |
417 | - Several testing patches for the Epoc and Cygwin platforms [Tels] |
418 | |
419 | - When running under taint mode and perl >= 5.8, all the tmpdir() |
420 | implementations now avoid returning a tainted path. |
421 | |
422 | - File::Spec::OS2 now implements canonpath(), splitpath(), |
423 | splitdir(), catpath(), abs2rel(), and rel2abs() directly rather |
424 | than inheriting them from File::Spec::Unix. |
425 | |
426 | - Added 'SYS:/temp' and 'C:/temp' to the list of possible tmpdir()s |
427 | on Win32. |
428 | |
429 | - catfile() on Win32 and VMS will now automatically call canonpath() |
430 | on its final argument. |
431 | |
432 | - canonpath() on Win32 now does a much more extensive cleanup of the |
433 | path. |
434 | |
435 | - abs2rel() on Win32 now defaults to using cwd() as the base of |
436 | relativity when no base is given. |
437 | |
438 | - abs2rel() on Win32 now explicitly ignores any volume component in |
439 | the $path argument. |
440 | |
441 | - canonpath() on VMS now does []foo ==> foo, and foo.000000] ==> foo]. |
442 | It also fixes a bug in multiple [000000.foo ==> [foo translations. |
443 | |
444 | - tmpdir() on VMS now uses 'sys$scratch:' instead of 'sys$scratch'. |
445 | |
446 | - abs2rel() on VMS now uses '000000' in both the path and the base. |
447 | |
448 | File::Spec 0.82 Wed Jun 28 11:24:05 EDT 2000 |
449 | - Mac.pm: file_name_is_absolute( '' ) now returns TRUE on all platforms |
450 | - Spec.pm: unbreak C<$VERSION = '0.xx'> to be C<$VERSION = 0.xx>, so |
451 | underscores can be used when I want to update CPAN without anyone |
452 | needing to update the perl repository. |
453 | - abs2rel, rel2abs doc tweaks |
454 | - VMS.pm: get $path =~ /\s/ checks from perl repository. |
455 | - Makefile.PL: added INSTALLDIRS => 'perl', since these are std. modules. |
456 | - Remove vestigial context prototypes from &rel2abs until some future |
457 | arrives where method prototypes are honored. |