summaryrefslogtreecommitdiffstats
path: root/Mac/Include/macglue.h
Commit message (Collapse)AuthorAgeFilesLines
* Mods for user mainloop event handlingJack Jansen1997-06-201-2/+3
|
* Make imports faster on the Mac, byJack Jansen1997-06-121-1/+2
| | | | | | | | - 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.
* Added prototype for PyMac_RestoreMenuBarJack Jansen1997-06-121-0/+1
|
* Removed SetScheduleTimes and PyMac_DoYieldEnabledJack Jansen1997-06-031-6/+13
| | | | | | Added [GS]etSchedParams Added parameter to PyMac_HandleEvent (safe to run python code at this point) Removed various cruft
* Added PyMac_StopGUSISpinJack Jansen1997-05-231-5/+6
|
* 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-0/+1
| | | | stead of standard Py_Initialize(), which it calls).
* Added PyMac_GetFullPath(), PyMac_ApplicationPath and PyMac_ApplicationFSSpecJack Jansen1996-11-091-0/+5
|
* macglue: added PyMac_AppRefNumJack Jansen1996-09-061-0/+2
| | | | pythonresources: elaborated comment on preferences, added new options
* Python about box implemented. Slightly convoluted, since (a) we haveJack Jansen1996-09-061-0/+2
| | | | | 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-2/+6
| | | | | | | | | - 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.
* PyMac_BuildNumVersion addedJack Jansen1996-08-021-0/+2
|
* Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd()Jack Jansen1996-03-061-0/+4
| | | | after each chdir call.
* Added converters for FixedJack Jansen1995-11-151-0/+2
|
* Added PyMac_PromptGetFile, removed stuff gone to other sources.Jack Jansen1995-08-141-3/+4
|
* Initial port to CodeWarrior CFM68K support (mainly by disablingJack Jansen1995-06-271-1/+1
| | | | unsupported features).
* - Added PyMac_GetDirectory call which asks the user to select aJack Jansen1995-02-201-0/+2
| | | | | | | | directory. - No __main__ resource found message is now a dialog - Fixes wrt stdio window handling in applets. NB: these fixes require a new resource file.
* macstrerror -> MacOS-StrError; added applet and cfm-68k supportGuido van Rossum1995-02-181-7/+13
|
* Added support for loading pyc code from a resource.Jack Jansen1995-02-151-0/+3
|
* ported to Think CGuido van Rossum1995-02-141-0/+8
|
* Added PyMac_GetPythonDir routine which obtains python home directoryJack Jansen1995-02-131-0/+2
| | | | | from an alias resource (or from the user). Note: this uses a dialog resource so there's an accompanying change in the resource file.
* Added HandleEvent method to macos, so python programs can hand backJack Jansen1995-02-021-1/+2
| | | | events they don't want to handle to stdio
* - Moved interrupt code to macglue.cJack Jansen1995-01-271-0/+2
| | | | | | | - Added possibility to turn off mainloop event handling - Check interrupts even when not handling events - Be more carefulabout which events we want - Use different method to determine fg/bg
* Prototypes for new routines.Jack Jansen1995-01-261-0/+3
|
* Some layout changes; added EventRecord Get/Build functions (as a tuple).Guido van Rossum1995-01-251-9/+23
|
* cosmetics: copyright, commentsGuido van Rossum1995-01-221-4/+33
|
* renamed Get routines to PyMac_Get; added macfs to config.cGuido van Rossum1995-01-211-4/+0
|
* modernized/rationalized, added PyMac_BuildOSTypeGuido van Rossum1995-01-181-7/+11
|
* - Moved some useful routines from macosmodule.c hereJack Jansen1995-01-181-3/+12
| | | | | - Added GetFSSpec (tuple-style), BuildFSSpec and Pstring (platform-independent correct conversion of C to Pascal strings)
* rename2 changesGuido van Rossum1995-01-121-3/+3
|
* New routines:Jack Jansen1994-12-141-0/+3
macstrerror - strerror which uses 'Estr' resource to convert numerical MacOS errors to strings. PyErr_Mac - Raise exception with MacOS error in string form. PyMac_Idle - better idle-loop routine, which allows the user to switch applications.