summaryrefslogtreecommitdiffstats
path: root/Mac/Python
Commit message (Collapse)AuthorAgeFilesLines
* ported to MPW, moved main() hereGuido van Rossum1995-02-201-15/+31
|
* moved main() to macglue.cGuido van Rossum1995-02-201-12/+0
|
* ported to CFM-68KGuido van Rossum1995-02-201-12/+19
|
* - Added PyMac_GetDirectory call which asks the user to select aJack Jansen1995-02-201-20/+79
| | | | | | | | 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.
* ported back to Think CGuido van Rossum1995-02-191-1/+8
|
* use PyMac_GetArgv (in macgetargv.c) for applet initsGuido van Rossum1995-02-191-17/+8
|
* get argc/argv from AppleEventsGuido van Rossum1995-02-191-0/+325
|
* added applet initialization;Guido van Rossum1995-02-181-12/+74
| | | | | fewer restrictions on loading modules from resources (+ fix!); macstrerror -> MacOS_StrError
* moved most of it to macglue.cGuido van Rossum1995-02-181-67/+6
|
* main program for appletsGuido van Rossum1995-02-171-0/+96
|
* Added support for loading pyc code from a resource.Jack Jansen1995-02-151-0/+115
|
* ported to Think CGuido van Rossum1995-02-141-1/+2
|
* Changed PyMac_GetPythonDir to use a preferences file to store theJack Jansen1995-02-131-4/+46
| | | | alias resource. Also added a few comments.
* Open library resource file read-onlyJack Jansen1995-02-131-1/+1
|
* null-terminate the error string in macstrerrorGuido van Rossum1995-02-131-0/+1
|
* Glue for the python shared library: an init routine that remembersJack Jansen1995-02-131-0/+65
| | | | | where we're loaded from and PyMac_AddLibResources() which adds that file to the resource file list.
* Various changes wrt shared-library python:Jack Jansen1995-02-131-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
* 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 getfiletype routineJack Jansen1995-02-131-0/+13
|
* Added stuff so CodeWarrior isn't so verbose about its stdio windowsJack Jansen1995-02-021-0/+9
|
* 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
|
* fixed commentGuido van Rossum1995-01-221-1/+1
|
* added printf -- hack for Think C to init stdwin and stdioGuido van Rossum1995-01-221-0/+16
|
* 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
|
* More Pstring() stuff and some cosmeticsJack Jansen1995-01-182-3/+1
|
* - 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)
* must include rename2.hGuido van Rossum1995-01-171-0/+2
|
* rename2 changesGuido van Rossum1995-01-122-1/+2
|
* 1995 copyrightGuido van Rossum1995-01-081-2/+2
|
* 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.
* Enlarged version buffer (nobody expects the spanish inquisition:-)Jack Jansen1994-12-141-1/+5
| | | | Support for new sys.path code in config.c
* Make it work under MPW too.Guido van Rossum1994-10-011-3/+2
|
* gestaltmodule.c: interface to Gestalt Manager.Guido van Rossum1994-09-161-0/+25
| | | | | macosmodule.c: interface to random collection of Managers. macsetfiletype.c: set file type, for import.c.
* Completed (hopefully) the unification of THINK 6.0 and MPW 3.2Guido van Rossum1994-08-291-3/+3
| | | | | | | versions -- they now share config.c and config.h, and statting is always done through macstat.[ch] (THINK's <stat.h> defines funny constants). Also the configuration of stdwin is done differently: you have to define USE_STDWIN to the compiler prefix.
* Intermediate version of changes after porting to MPW 3.2Guido van Rossum1994-08-261-3/+0
|
* Added macmain.c (separate Mac specific main prog); bump version to 1.1Guido van Rossum1994-08-231-0/+83
|
* Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.Guido van Rossum1994-08-192-3/+3
|
* Replace <MacHeaders> by specific required header filesGuido van Rossum1994-06-271-1/+5
|
* Initial revisionGuido van Rossum1994-01-052-0/+40