summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/macostools.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used bothJack Jansen2002-12-301-137/+0
| | | | | | | in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).
* Forward port of 1.12.14.3 (which has an incorrect log message):Jack Jansen2002-10-291-1/+4
| | | | | | | 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.
* In copy() don't try to obtain an FSSpec until we know the destinationJack Jansen2002-08-051-6/+12
| | | | exists. Partial fix for #585923.
* Mkdirs() failed when provided with unix pathnames. Fixed.Jack Jansen2002-08-031-1/+1
|
* mkalias() now also works for folders. Fixes bug #515830.Just van Rossum2002-03-101-3/+7
|
* Get rid of fsspec type initializer, it wasn't used anyway.Jack Jansen2002-01-211-2/+0
|
* Import the MacOS toolbox modules from the Carbon package.Jack Jansen2001-08-251-1/+1
|
* macostools.copy() now has an optional forcetype flag, which sets the ↵Jack Jansen2001-03-061-1/+3
| | | | filetype. This is used by various tools to set the type to APPL when copying interpreter template files (Atmp filetype).
* The new touched() was far too expensive. Re-enabled the old one, the ↵Jack Jansen2001-02-141-2/+2
| | | | ae-based one is available as touched_ae(). Have to read up on the subject of telling the finder about changes.
* Replaced touched(), which no longer seems to work under os9, with something ↵Jack Jansen2001-02-091-1/+10
| | | | using an appleevent to the finder. More expensive, but at least it works:-)
* Tabnanny fixesJack Jansen1998-04-151-6/+6
|
* mkalias() now has an optional third parameter to create relativeJack Jansen1997-08-081-2/+7
| | | | aliases (Just)
* - Optionally copy file times for copy/copytree (default on)Jack Jansen1996-09-151-4/+20
| | | | | - Added touch(file) routine to tell the finder a files icon or something has changed (*finally* found out how to do this)
* Removed debug outputJack Jansen1996-08-011-2/+0
|
* Use MacOS.openrf (if it is available) for opening resource forksJack Jansen1996-03-121-3/+9
| | | | Copy in .5Mb chunks in stead of 1Mb
* Fixed positioning of icon on copy()Jack Jansen1995-10-091-1/+3
|
* copy() can now create destination pathJack Jansen1995-08-311-10/+21
|
* Useful routines on a mac:Jack Jansen1995-08-141-0/+77
- mkalias makes a finder alias - copy copies a file, finder info, resources and all. - copytree does the same for a whole tree.