summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/file/filesupport.py
Commit message (Collapse)AuthorAgeFilesLines
* FSRef and EasyDialogs pathname support was pretty much broken in ↵Jack Jansen2003-01-261-1/+26
| | | | MacPython-OS9. Fixed.
* Added a convenience routine pathname() which accepts either a string, unicode,Jack Jansen2003-01-191-0/+15
| | | | FSSpec or FSRef object and returns an 8-bit pathname (utf8 encoded).
* Implemented FSCatalogInfo structure support, and used this to implementJack Jansen2003-01-151-6/+1
| | | | FSSpec.SetDates() and GetDates(). Closes #662836.
* Implemented FSCatalogInfo.Jack Jansen2003-01-121-12/+188
|
* Started on implementing support for FSCatalogInfo. Doesn't work yet, don'tJack Jansen2003-01-091-0/+49
| | | | try it.
* Second-argument alias methods were generated with a variation onJack Jansen2002-12-261-1/+1
| | | | MethodGenerator, this should be OSErrMethodGenerator.
* If you entered a pathname for a nonexisting file to a FSSpec constructorJack Jansen2002-12-251-0/+2
| | | | | on OSX then the actual error (file not found) was obscured by the error message that tried to be helpful about the allowed arguments. Fixed.
* Added the last missing bits of functionality, and fixed a nasty bug where weJack Jansen2002-12-191-53/+130
| | | | could overwrite memory.
* - Added rawdata initializersJack Jansen2002-12-181-12/+111
| | | | | - Added support for optional FSSpecs and FSRefs to the Alias routines. NewAlias and friends are still functions, though, not methods.
* Fixed silly typo.Jack Jansen2002-12-171-2/+7
| | | | Added comment (to myself) on what still needs to be done.
* - Added as_pathname and as_tuple methodsJack Jansen2002-12-171-7/+95
| | | | | | | - Added access to the "data" attribute - Fixed the FSRef tp_init routine to accept pathnames on OSX - Changed the FSSpec tp_repr to return something resembling what macfs returns.
* Combined alias and file into a single module. This is the only reasonableJack Jansen2002-12-151-44/+259
| | | | | | | way to get various alias creation routines as methods of FSSpec or FSRef objects (which is the logical thing, from a Python POV). Also started on the code that will contain all the macfs functionality, so macfs can becode a Python module, to be used mainly for backward compatibility.
* Tweaks to make this module OS9-compatible.Jack Jansen2002-12-131-5/+1
|
* Got angry and added support for pretty much the whole file and folderJack Jansen2002-11-221-0/+156
manager. This should allow us the get rid of most of the FSSpecs, only navigation services remains to be done.