summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macglue.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed PyMac_GetPythonDir to use a preferences file to store theJack Jansen1995-02-131-4/+46
| | | | alias resource. Also added a few comments.
* null-terminate the error string in macstrerrorGuido van Rossum1995-02-131-0/+1
|
* Added PyMac_GetPythonDir routine which obtains python home directoryJack Jansen1995-02-131-0/+75
| | | | | 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-12/+23
| | | | events they don't want to handle to stdio
* added <OSEvents.h> for Think CGuido van Rossum1995-01-301-0/+3
|
* - Moved interrupt code to macglue.cJack Jansen1995-01-271-21/+131
| | | | | | | - 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
* reverse h/v in Point and RectGuido van Rossum1995-01-261-10/+12
|
* Added eventhandling in mainloop/busywait routine plus leaving someJack Jansen1995-01-261-18/+119
| | | | | cycles for background apps. MacOS has a new method to set the amount of time for bg apps.
* Some layout changes; added EventRecord Get/Build functions (as a tuple).Guido van Rossum1995-01-251-11/+96
|
* cosmetics: copyright, commentsGuido van Rossum1995-01-221-15/+33
|
* renamed Get routines to PyMac_Get; added macfs to config.cGuido van Rossum1995-01-211-6/+7
|
* modernized/rationalized, added PyMac_BuildOSTypeGuido van Rossum1995-01-181-4/+13
|
* - Moved some useful routines from macosmodule.c hereJack Jansen1995-01-181-5/+93
| | | | | - Added GetFSSpec (tuple-style), BuildFSSpec and Pstring (platform-independent correct conversion of C to Pascal strings)
* rename2 changesGuido van Rossum1995-01-121-1/+1
|
* New routines:Jack Jansen1994-12-141-0/+86
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.