Commit Graph

23 Commits

Author SHA1 Message Date
Jack Jansen 41e25cc317 include macdefs.h for declaration of getwd, if non-gusi python. 2000-07-14 22:16:01 +00:00
Jack Jansen 9ae898b415 ANSIfication step 2: make sure all needed prototypes are available, and all needed
header files included.
2000-07-11 21:16:03 +00:00
Jack Jansen ee0810403d Made the GUSI options work again with GUSI 2. 2000-04-21 23:53:37 +00:00
Jack Jansen 2d1306b7cf Started on GUSI2 and threading support. 2000-04-07 09:10:49 +00:00
Just van Rossum 26a69db4c7 put the preferences file in a folder called "Python" inside the prefs folder, just like the IDE does -- jvr 1999-02-02 15:49:03 +00:00
Jack Jansen abdf93c6dc Re-indented properly (Just). 1998-07-31 09:33:28 +00:00
Jack Jansen ac82b6a041 If the preference filename resource is empty don't try to open or
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-07-13 13:38:29 +00:00
Jack Jansen 0072b8d994 An applet with Popt and GUSI preferences but without alis resource
didn't work, because the resource file chain was incomplete when we
tried to open the preference file. Fixed.
1998-05-07 13:08:58 +00:00
Jack Jansen 5b3c9717c4 The preference resource now has a version number 1997-09-08 13:22:49 +00:00
Jack Jansen 42218ce33c Added/updated copyright notices
(and the &*^$%@ resource files got binhexed again, sigh)
1997-01-31 16:15:11 +00:00
Jack Jansen 26ee1260a2 Got rid of nfullpath in favor of PyMac_GetFullPath (which was pretty
much identical anyway).
Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point
to the current application.
1996-11-09 18:45:18 +00:00
Jack Jansen 83c74dfa2a - Get preference filename from a resource
- Create the file if it doesn't exist and don't be fussy about it
1996-10-22 15:25:42 +00:00
Jack Jansen 7d5f9e847a - Put all options in a struct
- 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-07 17:09:31 +00:00
Jack Jansen 3f7d2b4319 - Rationalized override preferences support, by remembering
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-06 22:21:07 +00:00
Jack Jansen f12e7093d5 Check that our override pythonpath is actually coming from the
application, not from some system extension that happens to use the
same resource id.
1996-09-05 15:19:24 +00:00
Jack Jansen a547dcaff0 Old names changed to Py_GetCopyright, etc. 1996-07-10 15:48:25 +00:00
Jack Jansen a486a55f59 Added support for override preferences 1996-04-04 15:39:18 +00:00
Jack Jansen 01fbc68896 - Reorganized init code
- Fixed serious bug in code to get options from a resource
1996-02-28 15:42:47 +00:00
Jack Jansen a4b7e14df8 Store default startup options in preference file or
app.
1996-02-21 16:46:57 +00:00
Jack Jansen 532e3c2bf6 Changed MacOS creator code from PYTH to Pyth 1996-02-21 15:36:26 +00:00
Jack Jansen b39be2173b Fixed to work on 68K (could be yet another optimizer bug or something) 1995-09-01 11:48:10 +00:00
Jack Jansen 41fa7ea719 Python will now attempt (again) to create at least a minimal
preferences file if it is missing.
1995-08-31 13:59:36 +00:00
Jack Jansen 12fce3eda9 macgetpath - sys.path setting code factored out of config.c and
macglue.c
macgetplatform - factored out of config.c
1995-08-14 12:31:44 +00:00