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