summaryrefslogtreecommitdiff
path: root/Mac/Python/macgetpath.c
AgeCommit message (Collapse)AuthorLines
2001-12-14Use getcwd(), not silly old getwd().Jack Jansen-1/+1
2001-09-10Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length'Jack Jansen-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.
2000-07-14include macdefs.h for declaration of getwd, if non-gusi python.Jack Jansen-0/+1
2000-07-11ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen-4/+8
needed header files included.
2000-04-21Made the GUSI options work again with GUSI 2.Jack Jansen-2/+2
2000-04-07Started on GUSI2 and threading support.Jack Jansen-2/+2
1999-02-02put the preferences file in a folder called "Python" inside the prefs ↵Just van Rossum-10/+37
folder, just like the IDE does -- jvr
1998-07-31Re-indented properly (Just).Jack Jansen-173/+173
1998-07-13If the preference filename resource is empty don't try to open orJack Jansen-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.
1998-05-07An applet with Popt and GUSI preferences but without alis resourceJack Jansen-2/+3
didn't work, because the resource file chain was incomplete when we tried to open the preference file. Fixed.
1997-09-08The preference resource now has a version numberJack Jansen-16/+21
1997-01-31Added/updated copyright noticesJack Jansen-0/+31
(and the &*^$%@ resource files got binhexed again, sigh)
1996-11-09Got rid of nfullpath in favor of PyMac_GetFullPath (which was prettyJack Jansen-13/+9
much identical anyway). Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point to the current application.
1996-10-22- Get preference filename from a resourceJack Jansen-31/+53
- Create the file if it doesn't exist and don't be fussy about it
1996-09-07- Put all options in a structJack Jansen-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
1996-09-06- Rationalized override preferences support, by rememberingJack Jansen-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)
1996-09-05Check that our override pythonpath is actually coming from theJack Jansen-8/+16
application, not from some system extension that happens to use the same resource id.
1996-07-10Old names changed to Py_GetCopyright, etc.Jack Jansen-1/+1
1996-04-04Added support for override preferencesJack Jansen-13/+54
1996-02-28- Reorganized init codeJack Jansen-5/+5
- Fixed serious bug in code to get options from a resource
1996-02-21Store default startup options in preference file orJack Jansen-0/+34
app.
1996-02-21Changed MacOS creator code from PYTH to PythJack Jansen-1/+1
1995-09-01Fixed to work on 68K (could be yet another optimizer bug or something)Jack Jansen-5/+7
1995-08-31Python will now attempt (again) to create at least a minimalJack Jansen-89/+70
preferences file if it is missing.
1995-08-14macgetpath - sys.path setting code factored out of config.c andJack Jansen-0/+282
macglue.c macgetplatform - factored out of config.c