summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macmain.c
Commit message (Collapse)AuthorAgeFilesLines
* Merging appropriate 2.1.1 fixes back into the main trunk.Jack Jansen2001-08-031-0/+5
|
* Set the default 8-bit encoding based on the system script and language.unknown2001-07-041-0/+2
|
* - Raise console window on input. Fixes Carbon hang.Jack Jansen2001-04-251-1/+11
| | | | | - Better handling of menu bar save/restore. - Override abort() so it honours the "keep console window" flag.
* More changes to attempt to get the menubar back on exit. Without success:-(Jack Jansen2001-02-171-0/+4
|
* Bit the bullet and added a private GUSISIOUX for Python. This makes the ↵Jack Jansen2001-02-111-12/+30
| | | | delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this.
* Trigger keep-console-open on GUSISIOUX_STATE_UNKNOWN. Better than the ↵Jack Jansen2001-01-161-3/+3
| | | | previous complicated expression.
* When compiling for GUSI and Carbon disable te "keep open on unseen output", ↵Jack Jansen2001-01-111-2/+2
| | | | for the time being.
* If we're not using GUSI the "keep open on unseen output" becomes the same as ↵Jack Jansen2001-01-091-0/+6
| | | | "always keep open".
* Added PyMac_OutputSeen(), which acknowledges all current output in the stdio ↵Jack Jansen2000-10-191-0/+9
| | | | window, i.e. it acts like input has been read insofar as the keep-console-open option is interested.
* Made options global (as PyMac_options) so macosmodule can access it.Jack Jansen2000-10-121-16/+16
|
* Keepconsole is now a 4-way option: never/errorexit/unseen output/always. ↵Jack Jansen2000-09-221-11/+44
| | | | Default is "unseen output". Upped the Popt version number.
* Use same short banner message as unix/win Python.Jack Jansen2000-09-081-3/+7
|
* Removed debug output.Jack Jansen2000-08-251-3/+0
|
* Added more prototypes.Jack Jansen2000-07-241-0/+3
|
* MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵Jack Jansen2000-07-181-1/+16
| | | | (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name.
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-141-2/+2
|
* ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen2000-07-111-3/+2
| | | | | | needed header files included.
* ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.Jack Jansen2000-07-111-2/+2
|
* Removed THINK_C support.Jack Jansen2000-06-041-11/+0
|
* Removed (within an #ifdef) Carbon-incompatabilities:Jack Jansen2000-06-021-0/+6
| | | | | - Don't call all the toolbox init routines. - No balloon help, so removed help code from the initial dialog.
* Removed string-exception preference, added tabcheck and NavService ↵Jack Jansen2000-05-051-3/+33
| | | | preference, upped version number.
* Started on GUSI2 and threading support.Jack Jansen2000-04-071-3/+5
|
* First bits and pieces of appearance support: an init routine, a global flag ↵Jack Jansen1999-12-071-0/+20
| | | | | | PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE is off the code is disabled (but the variables are still there, set to 0).
* Bigger buffer size for C profiler (if profiling is enabled).Jack Jansen1999-09-301-1/+1
|
* Initialize the program name before adding shared library resources (Just).Jack Jansen1998-07-311-0/+1
|
* Implemented nositepython and oldexceptions flagsJack Jansen1997-10-071-0/+2
|
* Added old-exception and no-site-python options and balloon helpJack Jansen1997-09-091-3/+12
|
* sys.prefix and sys.exec_prefix are now set correctly.Jack Jansen1997-09-081-2/+2
|
* Adapted for 1.5a3: Py_SupressPrintingFlag is gone, andJack Jansen1997-08-081-21/+9
| | | | Py_SetProgramName replaces Py_GetProgramName
* - Restore SIOUX menubar just before exiting, if the console window is keptJack Jansen1997-06-121-0/+2
| | | | | open (so the user can quit with cmd-Q, print, etc) - Removed a few unused routines
* Removed old scheduler parameterizing calls and replaced with somethingJack Jansen1997-06-031-2/+9
| | | | a bit easier to use and understand
* - Added Py_GetProgramFullPathJack Jansen1997-05-231-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
* Workaround for bug in MSL and CWGUSI interaction that stopped theJack Jansen1997-05-071-0/+7
| | | | "don't close window on exit" feature to work.
* Changed the few old routine names still used to the new onesJack Jansen1997-04-081-4/+4
| | | | Started working on MSL support
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-241-1/+0
| | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h
* Added/updated copyright noticesJack Jansen1997-01-311-1/+1
| | | | (and the &*^$%@ resource files got binhexed again, sigh)
* Added PyMac_Initialize() routine, to be used by embedding programs (inJack Jansen1997-01-151-8/+29
| | | | stead of standard Py_Initialize(), which it calls).
* Added profiler initialization/finalization code (if __profile__ is defined)Jack Jansen1997-01-071-1/+12
|
* Py_GetProgramName turns out not to be obsolete (used by _tkinter).Jack Jansen1996-09-091-8/+0
|
* - Put all options in a structJack Jansen1996-09-071-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
* - Rationalized override preferences support, by rememberingJack Jansen1996-09-061-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)
* Python about box implemented. Slightly convoluted, since (a) we haveJack Jansen1996-09-061-0/+6
| | | | | to override an internal sioux routine and (b) we have to override the "about sioux" menuitem after sioux has created its menus.
* - Fixed PyMac_DoYield:Jack Jansen1996-09-041-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.
* Guido: added some void's to declarationsJack Jansen1996-08-191-1/+5
|
* Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix.Jack Jansen1996-08-021-6/+20
|
* Old names changed to Py_GetCopyright, etc.Jack Jansen1996-07-101-3/+3
|
* Replaced non-ascii chars by backslash escapesJack Jansen1996-03-251-1/+1
|
* Somehow the <<terminated>> got mangled. Fixed.Jack Jansen1996-03-201-1/+1
|
* - Allow setting of argc/argv in <option>-start dialogJack Jansen1996-03-121-5/+27
| | | | - Set "ok" to be default button
* Added missing include of Fonts.hJack Jansen1996-03-071-0/+1
|