Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed to work on 68K (could be yet another optimizer bug or something) | Jack Jansen | 1995-09-01 | 1 | -5/+7 |
| | |||||
* | Python will now attempt (again) to create at least a minimal | Jack Jansen | 1995-08-31 | 2 | -92/+73 |
| | | | | preferences file if it is missing. | ||||
* | Removed unused variables | Jack Jansen | 1995-08-31 | 1 | -2/+2 |
| | |||||
* | removed unused variables | Jack Jansen | 1995-08-31 | 1 | -2/+0 |
| | |||||
* | Lots of stuff moved to other files. | Jack Jansen | 1995-08-14 | 1 | -381/+55 |
| | | | | Include pythonresources.h. | ||||
* | This is completely different from the old mainmain (which wasn't used | Jack Jansen | 1995-08-14 | 1 | -88/+252 |
| | | | | | anymore) and is the new main program for MacPython. Built from bits and pieces of config.c, macglue.c and pythonmain.c. | ||||
* | macgetpath - sys.path setting code factored out of config.c and | Jack Jansen | 1995-08-14 | 2 | -0/+289 |
| | | | | | macglue.c macgetplatform - factored out of config.c | ||||
* | Merged Jack's macgetcompiler.c and Guido's maccompiler.c and named the | Jack Jansen | 1995-08-14 | 1 | -0/+4 |
| | | | | result macgetcompiler.c (after all, *I* did the merging:-) | ||||
* | Initial revision | Guido van Rossum | 1995-08-08 | 1 | -0/+27 |
| | |||||
* | Better error messages wrt missing resources and preferences | Jack Jansen | 1995-08-07 | 1 | -3/+4 |
| | |||||
* | Added code so you canset "command line options" if you | Jack Jansen | 1995-07-29 | 1 | -1/+61 |
| | | | | option-click/drag python. Needs a new dialog resource. | ||||
* | Un-installing of AE handlers fixed (AE is very picky that you specify | Jack Jansen | 1995-07-29 | 1 | -8/+15 |
| | | | | the same UPP) | ||||
* | Initial port to CodeWarrior CFM68K support (mainly by disabling | Jack Jansen | 1995-06-27 | 3 | -2/+12 |
| | | | | unsupported features). | ||||
* | Added code to obtain sys.path from a resource | Jack Jansen | 1995-06-18 | 1 | -0/+97 |
| | | | | | Removed code to update the preferences file, use EditPythonPrefs.py in stead (actually, code is still there if you define USE_MAC_MODPREFS) | ||||
* | Ported to CW6 | Jack Jansen | 1995-06-14 | 1 | -4/+1 |
| | |||||
* | - The prefs file wasn't updated correctly if it already existed. | Jack Jansen | 1995-04-24 | 1 | -5/+10 |
| | | | | - Guido's r1.23 fix wrt PyMac_DoYieldEnabled had somehow gotten lost. | ||||
* | Under MW also be more conservative about events to request | Jack Jansen | 1995-02-27 | 1 | -11/+6 |
| | |||||
* | return old value of PyMac_DoYieldEnabled; -1 means do not even check for ↵ | Guido van Rossum | 1995-02-26 | 1 | -1/+9 |
| | | | | interrupts | ||||
* | MAde a few things more orthogonal and did some cleanups: | Jack Jansen | 1995-02-24 | 2 | -24/+67 |
| | | | | | | | | - Applications now have their (minimal) main prrogram in macapplication.c and the rest of the init code in macglue.c. - A new define, USE_MAC_APPLET_SUPPORT, independent of USE_MAC_SHARED_LIB - chdir to script directory now done in PyMac_InitApplication. | ||||
* | ported to MPW, moved main() here | Guido van Rossum | 1995-02-20 | 1 | -15/+31 |
| | |||||
* | moved main() to macglue.c | Guido van Rossum | 1995-02-20 | 1 | -12/+0 |
| | |||||
* | ported to CFM-68K | Guido van Rossum | 1995-02-20 | 1 | -12/+19 |
| | |||||
* | - Added PyMac_GetDirectory call which asks the user to select a | Jack Jansen | 1995-02-20 | 1 | -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 C | Guido van Rossum | 1995-02-19 | 1 | -1/+8 |
| | |||||
* | use PyMac_GetArgv (in macgetargv.c) for applet inits | Guido van Rossum | 1995-02-19 | 1 | -17/+8 |
| | |||||
* | get argc/argv from AppleEvents | Guido van Rossum | 1995-02-19 | 1 | -0/+325 |
| | |||||
* | added applet initialization; | Guido van Rossum | 1995-02-18 | 1 | -12/+74 |
| | | | | | fewer restrictions on loading modules from resources (+ fix!); macstrerror -> MacOS_StrError | ||||
* | moved most of it to macglue.c | Guido van Rossum | 1995-02-18 | 1 | -67/+6 |
| | |||||
* | main program for applets | Guido van Rossum | 1995-02-17 | 1 | -0/+96 |
| | |||||
* | Added support for loading pyc code from a resource. | Jack Jansen | 1995-02-15 | 1 | -0/+115 |
| | |||||
* | ported to Think C | Guido van Rossum | 1995-02-14 | 1 | -1/+2 |
| | |||||
* | Changed PyMac_GetPythonDir to use a preferences file to store the | Jack Jansen | 1995-02-13 | 1 | -4/+46 |
| | | | | alias resource. Also added a few comments. | ||||
* | Open library resource file read-only | Jack Jansen | 1995-02-13 | 1 | -1/+1 |
| | |||||
* | null-terminate the error string in macstrerror | Guido van Rossum | 1995-02-13 | 1 | -0/+1 |
| | |||||
* | Glue for the python shared library: an init routine that remembers | Jack Jansen | 1995-02-13 | 1 | -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 Jansen | 1995-02-13 | 1 | -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 directory | Jack Jansen | 1995-02-13 | 1 | -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 routine | Jack Jansen | 1995-02-13 | 1 | -0/+13 |
| | |||||
* | Added stuff so CodeWarrior isn't so verbose about its stdio windows | Jack Jansen | 1995-02-02 | 1 | -0/+9 |
| | |||||
* | Added HandleEvent method to macos, so python programs can hand back | Jack Jansen | 1995-02-02 | 1 | -12/+23 |
| | | | | events they don't want to handle to stdio | ||||
* | added <OSEvents.h> for Think C | Guido van Rossum | 1995-01-30 | 1 | -0/+3 |
| | |||||
* | - Moved interrupt code to macglue.c | Jack Jansen | 1995-01-27 | 1 | -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 Rect | Guido van Rossum | 1995-01-26 | 1 | -10/+12 |
| | |||||
* | Added eventhandling in mainloop/busywait routine plus leaving some | Jack Jansen | 1995-01-26 | 1 | -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 Rossum | 1995-01-25 | 1 | -11/+96 |
| | |||||
* | fixed comment | Guido van Rossum | 1995-01-22 | 1 | -1/+1 |
| | |||||
* | added printf -- hack for Think C to init stdwin and stdio | Guido van Rossum | 1995-01-22 | 1 | -0/+16 |
| | |||||
* | cosmetics: copyright, comments | Guido van Rossum | 1995-01-22 | 1 | -15/+33 |
| | |||||
* | renamed Get routines to PyMac_Get; added macfs to config.c | Guido van Rossum | 1995-01-21 | 1 | -6/+7 |
| | |||||
* | modernized/rationalized, added PyMac_BuildOSType | Guido van Rossum | 1995-01-18 | 1 | -4/+13 |
| |