Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When loading a PYC resource check whether the filename is the | Jack Jansen | 1996-11-09 | 1 | -21/+45 |
| | | | | | application, and if so take a shortcut. This should speedup loading PYC resources when running off a CDROM quite a bit. | ||||
* | About boxes should be at 20% of screen height, not halfway | Jack Jansen | 1996-09-23 | 1 | -1/+1 |
| | |||||
* | Changed default background yield time to 1 tick | Jack Jansen | 1996-09-22 | 1 | -1/+14 |
| | |||||
* | - Put all options in a struct | Jack Jansen | 1996-09-07 | 1 | -2/+4 |
| | | | | | | - Unified initialization code for interpreter and applet - Implemented new options to skip AE-processing for argc/argv and for disabling interactive option setting | ||||
* | Python about box implemented. Slightly convoluted, since (a) we have | Jack Jansen | 1996-09-06 | 1 | -0/+32 |
| | | | | | to override an internal sioux routine and (b) we have to override the "about sioux" menuitem after sioux has created its menus. | ||||
* | Removed unused vars | Jack Jansen | 1996-09-05 | 1 | -2/+0 |
| | |||||
* | - Fixed PyMac_DoYield: | Jack Jansen | 1996-09-04 | 1 | -11/+61 |
| | | | | | | | | | - 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. | ||||
* | Fixed command-. handling | Jack Jansen | 1996-08-19 | 1 | -2/+15 |
| | | | | Added hacks for GetEventQueue (so you don't have to edit Events.h) | ||||
* | Guido: | Jack Jansen | 1996-08-19 | 1 | -14/+5 |
| | | | | | - new SpinCursor (replacing Jack's almost-identical one) - use GetEventQueue in stead of GetEvQHdr | ||||
* | Dummy SpinCursor() if __CFM68K__ is defined | Jack Jansen | 1996-08-19 | 1 | -0/+10 |
| | |||||
* | - Minimum stacksize is now 8K for PPC, 4K for 68K | Jack Jansen | 1996-08-01 | 1 | -7/+20 |
| | | | | - Added PyMac_BuildNumVersion | ||||
* | Added PyOS_CheckStack() function which returns -1 when we are running | Jack Jansen | 1996-07-22 | 1 | -0/+14 |
| | | | | low on stackspace. | ||||
* | PyMac_GetFixed() didn't return 1 on success | Jack Jansen | 1996-05-31 | 1 | -0/+1 |
| | |||||
* | Don't change Standard File folder on chdir(). | Jack Jansen | 1996-03-25 | 1 | -0/+2 |
| | |||||
* | Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd() | Jack Jansen | 1996-03-06 | 1 | -15/+30 |
| | | | | after each chdir call. | ||||
* | Added code to make fsspecs work for gusi-python | Jack Jansen | 1996-03-05 | 1 | -0/+16 |
| | |||||
* | Added converters for Fixed | Jack Jansen | 1995-11-15 | 1 | -0/+23 |
| | |||||
* | Cosmetic change to event handling. | Jack Jansen | 1995-11-10 | 1 | -3/+11 |
| | |||||
* | Removed unused variables | Jack Jansen | 1995-08-31 | 1 | -2/+2 |
| | |||||
* | Lots of stuff moved to other files. | Jack Jansen | 1995-08-14 | 1 | -381/+55 |
| | | | | Include pythonresources.h. | ||||
* | 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. | ||||
* | Initial port to CodeWarrior CFM68K support (mainly by disabling | Jack Jansen | 1995-06-27 | 1 | -0/+4 |
| | | | | 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) | ||||
* | - 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 | 1 | -24/+32 |
| | | | | | | | | - 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 |
| | |||||
* | - 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. | ||||
* | use PyMac_GetArgv (in macgetargv.c) for applet inits | Guido van Rossum | 1995-02-19 | 1 | -17/+8 |
| | |||||
* | added applet initialization; | Guido van Rossum | 1995-02-18 | 1 | -12/+74 |
| | | | | | fewer restrictions on loading modules from resources (+ fix!); macstrerror -> MacOS_StrError | ||||
* | 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. | ||||
* | null-terminate the error string in macstrerror | Guido van Rossum | 1995-02-13 | 1 | -0/+1 |
| | |||||
* | 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 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 |
| | |||||
* | 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 |
| | |||||
* | - Moved some useful routines from macosmodule.c here | Jack Jansen | 1995-01-18 | 1 | -5/+93 |
| | | | | | - Added GetFSSpec (tuple-style), BuildFSSpec and Pstring (platform-independent correct conversion of C to Pascal strings) | ||||
* | rename2 changes | Guido van Rossum | 1995-01-12 | 1 | -1/+1 |
| | |||||
* | New routines: | Jack Jansen | 1994-12-14 | 1 | -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. |