summaryrefslogtreecommitdiff
path: root/Mac/Python/macgetpath.c
Commit message (Collapse)AuthorAgeFilesLines
* Getting rid of support for MacOS9 and earlier. This is the first step,Jack Jansen2003-11-191-442/+0
| | | | | and the biggest in size, but probably the easiest. Hunting through the source code comes next.
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-121-4/+0
| | | | | | TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9).
* staticforward bites the dust.Jeremy Hylton2002-07-171-1/+1
| | | | | | | | | | | | | | | The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation.
* Got rid of ifdefs for long-obsolete GUSI versions and other stuff that is ↵Jack Jansen2002-04-111-34/+0
| | | | now standard (appearance, interned strings)
* Use getcwd(), not silly old getwd().Jack Jansen2001-12-141-1/+1
|
* Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length'Jack Jansen2001-09-101-2/+7
| | | | | | parameter for the return string (as unix pathnames are not limited by the 255 char pstring limit). Implemented the function for MachO-Python, where it returns unix pathnames.
* include macdefs.h for declaration of getwd, if non-gusi python.Jack Jansen2000-07-141-0/+1
|
* ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen2000-07-111-4/+8
| | | | | | needed header files included.
* Made the GUSI options work again with GUSI 2.Jack Jansen2000-04-211-2/+2
|
* Started on GUSI2 and threading support.Jack Jansen2000-04-071-2/+2
|
* put the preferences file in a folder called "Python" inside the prefs ↵Just van Rossum1999-02-021-10/+37
| | | | folder, just like the IDE does -- jvr
* Re-indented properly (Just).Jack Jansen1998-07-311-173/+173
|
* If the preference filename resource is empty don't try to open orJack Jansen1998-07-131-4/+13
| | | | | | create the preferences file. This is so that frozen programs don't interfere with an existing Python installation, or leave turds in the Preferences folder.
* An applet with Popt and GUSI preferences but without alis resourceJack Jansen1998-05-071-2/+3
| | | | | didn't work, because the resource file chain was incomplete when we tried to open the preference file. Fixed.
* The preference resource now has a version numberJack Jansen1997-09-081-16/+21
|
* Added/updated copyright noticesJack Jansen1997-01-311-0/+31
| | | | (and the &*^$%@ resource files got binhexed again, sigh)
* Got rid of nfullpath in favor of PyMac_GetFullPath (which was prettyJack Jansen1996-11-091-13/+9
| | | | | | much identical anyway). Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point to the current application.
* - Get preference filename from a resourceJack Jansen1996-10-221-31/+53
| | | | - Create the file if it doesn't exist and don't be fussy about it
* - Put all options in a structJack Jansen1996-09-071-11/+10
| | | | | | - Unified initialization code for interpreter and applet - Implemented new options to skip AE-processing for argc/argv and for disabling interactive option setting
* - Rationalized override preferences support, by rememberingJack Jansen1996-09-061-29/+61
| | | | | | | application resource fork RefNum and looking there only - Added support for loading gusi prefs from Preferences file (needs modified GUSI, but Matthias promised he'd incorporate the fixes in the next release)
* Check that our override pythonpath is actually coming from theJack Jansen1996-09-051-8/+16
| | | | | application, not from some system extension that happens to use the same resource id.
* Old names changed to Py_GetCopyright, etc.Jack Jansen1996-07-101-1/+1
|
* Added support for override preferencesJack Jansen1996-04-041-13/+54
|
* - Reorganized init codeJack Jansen1996-02-281-5/+5
| | | | - Fixed serious bug in code to get options from a resource
* Store default startup options in preference file orJack Jansen1996-02-211-0/+34
| | | | app.
* Changed MacOS creator code from PYTH to PythJack Jansen1996-02-211-1/+1
|
* Fixed to work on 68K (could be yet another optimizer bug or something)Jack Jansen1995-09-011-5/+7
|
* Python will now attempt (again) to create at least a minimalJack Jansen1995-08-311-89/+70
| | | | preferences file if it is missing.
* macgetpath - sys.path setting code factored out of config.c andJack Jansen1995-08-141-0/+282
macglue.c macgetplatform - factored out of config.c