summaryrefslogtreecommitdiffstats
path: root/Mac/Python
Commit message (Collapse)AuthorAgeFilesLines
* Fixed to work on 68K (could be yet another optimizer bug or something)Jack Jansen1995-09-011-5/+7
|
* Python will now attempt (again) to create at least a minimalJack Jansen1995-08-312-92/+73
| | | | preferences file if it is missing.
* Removed unused variablesJack Jansen1995-08-311-2/+2
|
* removed unused variablesJack Jansen1995-08-311-2/+0
|
* Lots of stuff moved to other files.Jack Jansen1995-08-141-381/+55
| | | | Include pythonresources.h.
* This is completely different from the old mainmain (which wasn't usedJack Jansen1995-08-141-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 andJack Jansen1995-08-142-0/+289
| | | | | macglue.c macgetplatform - factored out of config.c
* Merged Jack's macgetcompiler.c and Guido's maccompiler.c and named theJack Jansen1995-08-141-0/+4
| | | | result macgetcompiler.c (after all, *I* did the merging:-)
* Initial revisionGuido van Rossum1995-08-081-0/+27
|
* Better error messages wrt missing resources and preferencesJack Jansen1995-08-071-3/+4
|
* Added code so you canset "command line options" if youJack Jansen1995-07-291-1/+61
| | | | option-click/drag python. Needs a new dialog resource.
* Un-installing of AE handlers fixed (AE is very picky that you specifyJack Jansen1995-07-291-8/+15
| | | | the same UPP)
* Initial port to CodeWarrior CFM68K support (mainly by disablingJack Jansen1995-06-273-2/+12
| | | | unsupported features).
* Added code to obtain sys.path from a resourceJack Jansen1995-06-181-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 CW6Jack Jansen1995-06-141-4/+1
|
* - The prefs file wasn't updated correctly if it already existed.Jack Jansen1995-04-241-5/+10
| | | | - Guido's r1.23 fix wrt PyMac_DoYieldEnabled had somehow gotten lost.
* Under MW also be more conservative about events to requestJack Jansen1995-02-271-11/+6
|
* return old value of PyMac_DoYieldEnabled; -1 means do not even check for ↵Guido van Rossum1995-02-261-1/+9
| | | | interrupts
* MAde a few things more orthogonal and did some cleanups:Jack Jansen1995-02-242-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() 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
|