summaryrefslogtreecommitdiffstats
path: root/Mac/Python
Commit message (Collapse)AuthorAgeFilesLines
* The preference resource now has a version numberJack Jansen1997-09-081-16/+21
|
* sys.prefix and sys.exec_prefix are now set correctly.Jack Jansen1997-09-081-2/+2
|
* Handle systemclicks ourselves, in stead of passing them to Sioux. ThisJack Jansen1997-08-261-10/+15
| | | | | fixes (or masks?) a bug with Python becoming unreactive during time.sleep() if you have already switched applications before.
* Added (dummy) PyOS_FiniInterruptsJack Jansen1997-08-081-0/+5
|
* Adapted for 1.5a3: Py_SupressPrintingFlag is gone, andJack Jansen1997-08-081-21/+9
| | | | Py_SetProgramName replaces Py_GetProgramName
* Added PyMac_SetEventHandler which allows you to replace complete eventJack Jansen1997-06-201-43/+71
| | | | | | handling in inner loop with python code. Also move (previously machine independent) PyErr_CheckSignals here, so we can propagate exceptions in event handling code.
* Make imports faster on the Mac, byJack Jansen1997-06-121-7/+104
| | | | | | | | - Remembering whether sys.path components refer to files or folders, - Using mac-specific code to check for file existence, in stead of trying to fopen() each possible file. These mods need an accompanying mod to import.c.
* - Restore SIOUX menubar just before exiting, if the console window is keptJack Jansen1997-06-122-21/+27
| | | | | 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-032-102/+125
| | | | a bit easier to use and understand
* - Added Py_GetProgramFullPathJack Jansen1997-05-232-8/+59
| | | | | | | - 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.
* - Various names in CodeFragments.h have changedJack Jansen1997-05-071-4/+17
| | | | | | - a dummy main program was added, so we can use the standard MW MSL runtime library for main programs (in stead of rolling our own, as we did previously).
* Changed the few old routine names still used to the new onesJack Jansen1997-04-083-9/+14
| | | | Started working on MSL support
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-244-4/+1
| | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h
* Only go into eventloop/interrupt check 10 times per secondJack Jansen1997-02-201-0/+9
|
* Added/updated copyright noticesJack Jansen1997-01-3114-6/+255
| | | | (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).
* Mac-specific version of getmtime (for non-GUSI Python, which needsJack Jansen1997-01-101-0/+50
| | | | different include files)
* Added profiler initialization/finalization code (if __profile__ is defined)Jack Jansen1997-01-071-1/+12
|
* Fixed FSSpec->pathname code to add colon if the fsspec points to a disk.Jack Jansen1996-11-201-0/+6
|
* Got rid of nfullpath in favor of PyMac_GetFullPath (which was prettyJack Jansen1996-11-092-36/+31
| | | | | | much identical anyway). Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point to the current application.
* When loading a PYC resource check whether the filename is theJack Jansen1996-11-091-21/+45
| | | | | application, and if so take a shortcut. This should speedup loading PYC resources when running off a CDROM quite a bit.
* - Get preference filename from a resourceJack Jansen1996-10-221-31/+53
| | | | - Create the file if it doesn't exist and don't be fussy about it
* About boxes should be at 20% of screen height, not halfwayJack Jansen1996-09-231-1/+1
|
* Changed default background yield time to 1 tickJack Jansen1996-09-221-1/+14
|
* Added macfs.FindApplication() to find application FSSpec given signature.Jack Jansen1996-09-201-0/+128
|
* 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-074-153/+183
| | | | | | - 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-062-30/+66
| | | | | | | 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-062-0/+38
| | | | | to override an internal sioux routine and (b) we have to override the "about sioux" menuitem after sioux has created its menus.
* Check that our override pythonpath is actually coming from theJack Jansen1996-09-051-8/+16
| | | | | application, not from some system extension that happens to use the same resource id.
* Removed unused varsJack Jansen1996-09-051-2/+0
|
* - Fixed PyMac_DoYield:Jack Jansen1996-09-042-12/+71
| | | | | | | | | - 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.
* Always call __initialize(), also on PPCJack Jansen1996-08-231-23/+14
|
* Added void before mainJack Jansen1996-08-201-0/+1
|
* Fixed command-. handlingJack Jansen1996-08-191-2/+15
| | | | Added hacks for GetEventQueue (so you don't have to edit Events.h)
* Fixed to work for ppc and cfm68kJack Jansen1996-08-191-0/+4
|
* Removed debug printfJack Jansen1996-08-191-3/+1
|
* Removed obsolete cfm68k ifdef (Guido)Jack Jansen1996-08-191-3/+0
|
* Include config.hJack Jansen1996-08-191-0/+2
|
* Guido:Jack Jansen1996-08-191-14/+5
| | | | | - new SpinCursor (replacing Jack's almost-identical one) - use GetEventQueue in stead of GetEvQHdr
* Guido: added some void's to declarationsJack Jansen1996-08-191-1/+5
|
* Guido: changed __sinit to __initialize for CFM68K.Jack Jansen1996-08-191-2/+2
|
* Dummy SpinCursor() if __CFM68K__ is definedJack Jansen1996-08-191-0/+10
|
* Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix.Jack Jansen1996-08-021-6/+20
|
* - Minimum stacksize is now 8K for PPC, 4K for 68KJack Jansen1996-08-011-7/+20
| | | | - Added PyMac_BuildNumVersion
* Added PyOS_CheckStack() function which returns -1 when we are runningJack Jansen1996-07-221-0/+14
| | | | low on stackspace.
* Old names changed to Py_GetCopyright, etc.Jack Jansen1996-07-104-6/+6
|
* PyMac_GetFixed() didn't return 1 on successJack Jansen1996-05-311-0/+1
|
* Added support for override preferencesJack Jansen1996-04-041-13/+54
|