summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/file/_Filemodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct None refcount issue in Mac modules. (Are theyGeorg Brandl2006-05-281-1/+1
| | | | still used?)
* Fix some warnings on Mac OS X 10.4Neal Norwitz2006-04-281-4/+5
|
* This should fix a mem leak on the Mac. Brett tested it.Neal Norwitz2006-01-231-4/+3
|
* Fix for #1236090: FSSpec.as_pathname() crashes.Jack Jansen2005-07-121-1/+45
| | | | | | Turns out patch #1035255 was incomplete, it only patched _Filemodule.c and not filesupport.py. So regenerating caused as_pathname() to go into an infinite loop.
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-031-203/+163
| | | | they are now _self, _args and _kwds.
* SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in coreRaymond Hettinger2004-11-051-1/+44
| | | | | | | | | | | | | (Contributed by Bob Ippolito.) This patch trims down the Python core on Darwin by making it independent of CoreFoundation and CoreServices. It does this by: Changed linker flags in configure/configure.in Removed the unused PyMac_GetAppletScriptFile Moved the implementation of PyMac_StrError to the MacOS module Moved the implementation of PyMac_GetFullPathname to the Carbon.File module
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-201-5/+0
| | | | Cleaned up various things in the toolbox modules.
* Getting rid of code conditional on TARGET_API_MAC_*.Jack Jansen2003-11-191-66/+0
|
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-191-4/+0
| | | | MacOS9isms.
* Adding unicode filename support to FSRefs broke things on MacOS9. "Fixed" by ↵Jack Jansen2003-03-211-1/+2
| | | | disabling unicode filenames on OS9.
* Allow unicode pathnames where FSRefs are expected. Fixes 696253.Jack Jansen2003-03-111-2/+5
|
* The FSAliasFile routines also have an in/out parameter.Jack Jansen2003-02-021-4/+6
|
* Added a missing INCREF in pathname().Jack Jansen2003-01-281-1/+3
|
* 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-3/+22
| | | | 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-5/+507
|
* Second-argument alias methods were generated with a variation onJack Jansen2002-12-261-52/+52
| | | | 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.
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-231-0/+4
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* Added the last missing bits of functionality, and fixed a nasty bug where weJack Jansen2002-12-191-76/+255
| | | | could overwrite memory.
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-191-3/+3
|
* - Added rawdata initializersJack Jansen2002-12-181-112/+220
| | | | | - 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/+2
| | | | Added comment (to myself) on what still needs to be done.
* - Added as_pathname and as_tuple methodsJack Jansen2002-12-171-12/+110
| | | | | | | - 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-529/+1449
| | | | | | | 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-4/+22
|
* Got angry and added support for pretty much the whole file and folderJack Jansen2002-11-221-0/+1446
manager. This should allow us the get rid of most of the FSSpecs, only navigation services remains to be done.