Commit Graph

37 Commits

Author SHA1 Message Date
Jack Jansen
caa7c46ac4 - Restore SIOUX menubar just before exiting, if the console window is kept
open (so the user can quit with cmd-Q, print, etc)
- Removed a few unused routines
1997-06-12 10:49:13 +00:00
Jack Jansen
e3ae0dfeb7 Removed old scheduler parameterizing calls and replaced with something
a bit easier to use and understand
1997-06-03 15:28:29 +00:00
Jack Jansen
a39f1b0ce2 - Added Py_GetProgramFullPath
- Added PyMac_StopGUSISpin and have it called at exit time (fixes crash
  when exiting with sockets open)
- Added PLstr... funcs needed by gusi: those provided by StdCLib are
  broken under cfm68k
1997-05-23 15:35:14 +00:00
Jack Jansen
e44545fc0b Workaround for bug in MSL and CWGUSI interaction that stopped the
"don't close window on exit" feature to work.
1997-05-07 15:48:54 +00:00
Jack Jansen
08c3be35c3 Changed the few old routine names still used to the new ones
Started working on MSL support
1997-04-08 15:27:00 +00:00
Jack Jansen
c587301e2e - Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h
1997-02-24 13:59:38 +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
52ac037249 Added PyMac_Initialize() routine, to be used by embedding programs (in
stead of standard Py_Initialize(), which it calls).
1997-01-15 15:49:08 +00:00
Jack Jansen
8c6932136c Added profiler initialization/finalization code (if __profile__ is defined) 1997-01-07 16:19:42 +00:00
Jack Jansen
daed771fbb Py_GetProgramName turns out not to be obsolete (used by _tkinter). 1996-09-09 14:48:05 +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
3469e997b4 Python about box implemented. Slightly convoluted, since (a) we have
to override an internal sioux routine and (b) we have to override the
"about sioux" menuitem after sioux has created its menus.
1996-09-06 00:30:45 +00:00
Jack Jansen
f6865f77d4 - Fixed PyMac_DoYield:
- Update lastyield correctly
  - Do event handling if PyMac_YieldEnabled > 0 (previous cmd-. fix
    broke this)
- Use our own GUSISpin routine: fixes crash when exiting with sockets
  open and keeps windows, etc reacting consistently when waiting for
  accepts(), etc.
1996-09-04 15:24:59 +00:00
Jack Jansen
76ceece75a Guido: added some void's to declarations 1996-08-19 11:18:24 +00:00
Jack Jansen
1d2f863e51 Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix. 1996-08-02 15:16:16 +00:00
Jack Jansen
a547dcaff0 Old names changed to Py_GetCopyright, etc. 1996-07-10 15:48:25 +00:00
Jack Jansen
415571cc9f Replaced non-ascii chars by backslash escapes 1996-03-25 15:46:03 +00:00
Jack Jansen
1a0dafb1ce Somehow the <<terminated>> got mangled. Fixed. 1996-03-20 16:19:00 +00:00
Jack Jansen
e355c4568f - Allow setting of argc/argv in <option>-start dialog
- Set "ok" to be default button
1996-03-12 13:29:04 +00:00
Jack Jansen
2429c722d7 Added missing include of Fonts.h 1996-03-07 15:17:11 +00:00
Jack Jansen
378815ca86 Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd()
after each chdir call.
1996-03-06 16:21:34 +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
1e8557a9fe For MW Python, update titlebar of window when python exits. 1995-11-10 14:51:26 +00:00