Commit Graph

48 Commits

Author SHA1 Message Date
Jack Jansen
0e06e7e7d5 About boxes should be at 20% of screen height, not halfway 1996-09-23 15:51:06 +00:00
Jack Jansen
d617c57dce Changed default background yield time to 1 tick 1996-09-22 22:14:30 +00:00
Jack Jansen
7d5f9e847a - Put all options in a struct
- Unified initialization code for interpreter and applet
- Implemented new options to skip AE-processing for argc/argv and for
  disabling interactive option setting
1996-09-07 17:09:31 +00:00
Jack Jansen
3469e997b4 Python about box implemented. Slightly convoluted, since (a) we have
to override an internal sioux routine and (b) we have to override the
"about sioux" menuitem after sioux has created its menus.
1996-09-06 00:30:45 +00:00
Jack Jansen
b9bf6e2dde Removed unused vars 1996-09-05 15:17:57 +00:00
Jack Jansen
f6865f77d4 - Fixed PyMac_DoYield:
- 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.
1996-09-04 15:24:59 +00:00
Jack Jansen
bf05d4cd6f Fixed command-. handling
Added hacks for GetEventQueue (so you don't have to edit Events.h)
1996-08-19 15:11:45 +00:00
Jack Jansen
cfadbd40e1 Guido:
- new SpinCursor (replacing Jack's almost-identical one)
- use GetEventQueue in stead of GetEvQHdr
1996-08-19 11:36:25 +00:00
Jack Jansen
7ac70afed1 Dummy SpinCursor() if __CFM68K__ is defined 1996-08-19 11:01:05 +00:00
Jack Jansen
d1f06313f6 - Minimum stacksize is now 8K for PPC, 4K for 68K
- Added PyMac_BuildNumVersion
1996-08-01 15:23:54 +00:00
Jack Jansen
1ed9529a68 Added PyOS_CheckStack() function which returns -1 when we are running
low on stackspace.
1996-07-22 15:25:10 +00:00
Jack Jansen
31dd5c083b PyMac_GetFixed() didn't return 1 on success 1996-05-31 13:01:39 +00:00
Jack Jansen
975aa22bdd Don't change Standard File folder on chdir(). 1996-03-25 15:46:25 +00:00
Jack Jansen
378815ca86 Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd()
after each chdir call.
1996-03-06 16:21:34 +00:00
Jack Jansen
911ad6b067 Added code to make fsspecs work for gusi-python 1996-03-05 16:56:24 +00:00
Jack Jansen
fa4d5d0414 Added converters for Fixed 1995-11-15 15:19:29 +00:00
Jack Jansen
38e976665d Cosmetic change to event handling. 1995-11-10 14:53:00 +00:00
Jack Jansen
847e89ecfa Removed unused variables 1995-08-31 13:57:40 +00:00
Jack Jansen
819f1770f6 Lots of stuff moved to other files.
Include pythonresources.h.
1995-08-14 12:35:10 +00:00
Jack Jansen
cf6369394e Better error messages wrt missing resources and preferences 1995-08-07 14:36:06 +00:00
Jack Jansen
292b0f96f3 Added code so you canset "command line options" if you
option-click/drag python. Needs a new dialog resource.
1995-07-29 13:52:37 +00:00
Jack Jansen
f74f63a43f Initial port to CodeWarrior CFM68K support (mainly by disabling
unsupported features).
1995-06-27 13:18:14 +00:00
Jack Jansen
08305504f1 Added code to obtain sys.path from a resource
Removed code to update the preferences file, use EditPythonPrefs.py
in stead (actually, code is still there if you define USE_MAC_MODPREFS)
1995-06-18 20:03:40 +00:00
Jack Jansen
45ff77f43e - The prefs file wasn't updated correctly if it already existed.
- Guido's r1.23 fix wrt PyMac_DoYieldEnabled had somehow gotten lost.
1995-04-24 12:41:41 +00:00
Jack Jansen
16df2aa57b Under MW also be more conservative about events to request 1995-02-27 16:17:28 +00:00