summaryrefslogtreecommitdiff
path: root/Mac/Python/macmain.c
AgeCommit message (Collapse)AuthorLines
1997-10-07Implemented nositepython and oldexceptions flagsJack Jansen-0/+2
1997-09-09Added old-exception and no-site-python options and balloon helpJack Jansen-3/+12
1997-09-08sys.prefix and sys.exec_prefix are now set correctly.Jack Jansen-2/+2
1997-08-08Adapted for 1.5a3: Py_SupressPrintingFlag is gone, andJack Jansen-21/+9
Py_SetProgramName replaces Py_GetProgramName
1997-06-12- Restore SIOUX menubar just before exiting, if the console window is keptJack Jansen-0/+2
open (so the user can quit with cmd-Q, print, etc) - Removed a few unused routines
1997-06-03Removed old scheduler parameterizing calls and replaced with somethingJack Jansen-2/+9
a bit easier to use and understand
1997-05-23- Added Py_GetProgramFullPathJack Jansen-7/+8
- 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-07Workaround for bug in MSL and CWGUSI interaction that stopped theJack Jansen-0/+7
"don't close window on exit" feature to work.
1997-04-08Changed the few old routine names still used to the new onesJack Jansen-4/+4
Started working on MSL support
1997-02-24- Changed GestaltEqu.h to Gestalt.hJack Jansen-1/+0
- Changed FragLoader.h to CodeFragments.h - Removed Desk.h
1997-01-31Added/updated copyright noticesJack Jansen-1/+1
(and the &*^$%@ resource files got binhexed again, sigh)
1997-01-15Added PyMac_Initialize() routine, to be used by embedding programs (inJack Jansen-8/+29
stead of standard Py_Initialize(), which it calls).
1997-01-07Added profiler initialization/finalization code (if __profile__ is defined)Jack Jansen-1/+12
1996-09-09Py_GetProgramName turns out not to be obsolete (used by _tkinter).Jack Jansen-8/+0
1996-09-07- Put all options in a structJack Jansen-136/+162
- 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-1/+5
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-06Python about box implemented. Slightly convoluted, since (a) we haveJack Jansen-0/+6
to override an internal sioux routine and (b) we have to override the "about sioux" menuitem after sioux has created its menus.
1996-09-04- Fixed PyMac_DoYield:Jack Jansen-1/+10
- 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-08-19Guido: added some void's to declarationsJack Jansen-1/+5
1996-08-02Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix.Jack Jansen-6/+20
1996-07-10Old names changed to Py_GetCopyright, etc.Jack Jansen-3/+3
1996-03-25Replaced non-ascii chars by backslash escapesJack Jansen-1/+1
1996-03-20Somehow the <<terminated>> got mangled. Fixed.Jack Jansen-1/+1
1996-03-12- Allow setting of argc/argv in <option>-start dialogJack Jansen-5/+27
- Set "ok" to be default button
1996-03-07Added missing include of Fonts.hJack Jansen-0/+1
1996-03-06Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd()Jack Jansen-0/+4
after each chdir call.
1996-02-28- Reorganized init codeJack Jansen-18/+52
- Fixed serious bug in code to get options from a resource
1996-02-21Store default startup options in preference file orJack Jansen-4/+21
app.
1995-11-10For MW Python, update titlebar of window when python exits.Jack Jansen-5/+9
1995-10-27Added options for keeping window open on normal/error terminationJack Jansen-10/+45
Moved whole exit-handling of console window here (from pythonrun.c)
1995-10-23Added prototypes.Jack Jansen-2/+2
1995-08-31removed unused variablesJack Jansen-2/+0
1995-08-14This is completely different from the old mainmain (which wasn't usedJack Jansen-88/+252
anymore) and is the new main program for MacPython. Built from bits and pieces of config.c, macglue.c and pythonmain.c.
1995-02-13Various changes wrt shared-library python:Jack Jansen-7/+39
- Moved fileargument to config.c - Added PyMac_AddLibResources() call in case of shlib python - Build argc/argv differently in case of applet template
1995-02-02Added stuff so CodeWarrior isn't so verbose about its stdio windowsJack Jansen-0/+9
1995-01-22added printf -- hack for Think C to init stdwin and stdioGuido van Rossum-0/+16
1995-01-17must include rename2.hGuido van Rossum-0/+2
1995-01-081995 copyrightGuido van Rossum-2/+2
1994-12-14Enlarged version buffer (nobody expects the spanish inquisition:-)Jack Jansen-1/+5
Support for new sys.path code in config.c
1994-08-26Intermediate version of changes after porting to MPW 3.2Guido van Rossum-3/+0
1994-08-23Added macmain.c (separate Mac specific main prog); bump version to 1.1Guido van Rossum-0/+83