Jack Jansen
37e477216b
Forward port of 1.12.14.3 (which has an incorrect log message):
...
if SetDates() in touched() returns an error ignore it: the user may not have
permission to change the parent folder. This is a non-serious problem,
the only function of touched() is to speed up the finder seeing the
change.
2002-10-29 22:48:43 +00:00
Jack Jansen
0a9d7559e8
In copy() don't try to obtain an FSSpec until we know the destination
...
exists. Partial fix for #585923 .
2002-08-05 21:53:57 +00:00
Jack Jansen
d64845dbbe
Mkdirs() failed when provided with unix pathnames. Fixed.
2002-08-03 20:49:10 +00:00
Just van Rossum
a2168eceb0
mkalias() now also works for folders. Fixes bug #515830 .
2002-03-10 19:28:02 +00:00
Jack Jansen
eafff4c248
Get rid of fsspec type initializer, it wasn't used anyway.
2002-01-21 23:02:03 +00:00
Jack Jansen
5a6fdcd371
Import the MacOS toolbox modules from the Carbon package.
2001-08-25 12:15:04 +00:00
Jack Jansen
c1463c9870
macostools.copy() now has an optional forcetype flag, which sets the filetype. This is used by various tools to set the type to APPL when copying interpreter template files (Atmp filetype).
2001-03-06 22:46:25 +00:00
Jack Jansen
3ff82a3a4c
The new touched() was far too expensive. Re-enabled the old one, the ae-based one is available as touched_ae(). Have to read up on the subject of telling the finder about changes.
2001-02-14 17:06:32 +00:00
Jack Jansen
7e31f68bf1
Replaced touched(), which no longer seems to work under os9, with something using an appleevent to the finder. More expensive, but at least it works:-)
2001-02-09 15:58:34 +00:00
Jack Jansen
b8fd1f18ab
Tabnanny fixes
1998-04-15 14:35:16 +00:00
Jack Jansen
48f662de92
mkalias() now has an optional third parameter to create relative
...
aliases (Just)
1997-08-08 15:00:59 +00:00
Jack Jansen
57d53a90d9
- Optionally copy file times for copy/copytree (default on)
...
- Added touch(file) routine to tell the finder a files icon or
something has changed (*finally* found out how to do this)
1996-09-15 22:13:26 +00:00
Jack Jansen
880e6eb409
Removed debug output
1996-08-01 15:30:33 +00:00
Jack Jansen
0603319846
Use MacOS.openrf (if it is available) for opening resource forks
...
Copy in .5Mb chunks in stead of 1Mb
1996-03-12 13:33:34 +00:00
Jack Jansen
a8a277cbdc
Fixed positioning of icon on copy()
1995-10-09 23:27:06 +00:00
Jack Jansen
423c798b3c
copy() can now create destination path
1995-08-31 13:40:03 +00:00
Jack Jansen
01c2309f2d
Useful routines on a mac:
...
- mkalias makes a finder alias
- copy copies a file, finder info, resources and all.
- copytree does the same for a whole tree.
1995-08-14 12:38:42 +00:00