Jack Jansen
a39f1b0ce2
- Added Py_GetProgramFullPath
...
- Added PyMac_StopGUSISpin and have it called at exit time (fixes crash
when exiting with sockets open)
- Added PLstr... funcs needed by gusi: those provided by StdCLib are
broken under cfm68k
1997-05-23 15:35:14 +00:00
Jack Jansen
e44545fc0b
Workaround for bug in MSL and CWGUSI interaction that stopped the
...
"don't close window on exit" feature to work.
1997-05-07 15:48:54 +00:00
Jack Jansen
3089b7eead
- Various names in CodeFragments.h have changed
...
- a dummy main program was added, so we can use the standard MW MSL
runtime library for main programs (in stead of rolling our own, as we
did previously).
1997-05-07 15:48:01 +00:00
Jack Jansen
08c3be35c3
Changed the few old routine names still used to the new ones
...
Started working on MSL support
1997-04-08 15:27:00 +00:00
Jack Jansen
c587301e2e
- Changed GestaltEqu.h to Gestalt.h
...
- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h
1997-02-24 13:59:38 +00:00
Jack Jansen
7e94404081
Only go into eventloop/interrupt check 10 times per second
1997-02-20 15:23:18 +00:00
Jack Jansen
42218ce33c
Added/updated copyright notices
...
(and the &*^$%@ resource files got binhexed again, sigh)
1997-01-31 16:15:11 +00:00
Jack Jansen
52ac037249
Added PyMac_Initialize() routine, to be used by embedding programs (in
...
stead of standard Py_Initialize(), which it calls).
1997-01-15 15:49:08 +00:00
Jack Jansen
8dc8a6e4be
Mac-specific version of getmtime (for non-GUSI Python, which needs
...
different include files)
1997-01-10 15:24:19 +00:00
Jack Jansen
8c6932136c
Added profiler initialization/finalization code (if __profile__ is defined)
1997-01-07 16:19:42 +00:00
Jack Jansen
e1d8c9bade
Fixed FSSpec->pathname code to add colon if the fsspec points to a disk.
1996-11-20 14:58:27 +00:00
Jack Jansen
26ee1260a2
Got rid of nfullpath in favor of PyMac_GetFullPath (which was pretty
...
much identical anyway).
Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point
to the current application.
1996-11-09 18:45:18 +00:00
Jack Jansen
8096daad4f
When loading a PYC resource check whether the filename is the
...
application, and if so take a shortcut. This should speedup loading
PYC resources when running off a CDROM quite a bit.
1996-11-09 18:43:44 +00:00
Jack Jansen
83c74dfa2a
- Get preference filename from a resource
...
- Create the file if it doesn't exist and don't be fussy about it
1996-10-22 15:25:42 +00:00
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
924ca855da
Added macfs.FindApplication() to find application FSSpec given signature.
1996-09-20 15:25:16 +00:00
Jack Jansen
daed771fbb
Py_GetProgramName turns out not to be obsolete (used by _tkinter).
1996-09-09 14:48:05 +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
3f7d2b4319
- Rationalized override preferences support, by remembering
...
application resource fork RefNum and looking there only
- Added support for loading gusi prefs from Preferences file (needs
modified GUSI, but Matthias promised he'd incorporate the fixes in
the next release)
1996-09-06 22:21:07 +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
f12e7093d5
Check that our override pythonpath is actually coming from the
...
application, not from some system extension that happens to use the
same resource id.
1996-09-05 15:19:24 +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
5bd85d93c4
Always call __initialize(), also on PPC
1996-08-23 15:45:26 +00:00
Jack Jansen
7bbd1a5327
Added void before main
1996-08-20 16:21:06 +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
a06f13dc78
Fixed to work for ppc and cfm68k
1996-08-19 15:10:50 +00:00
Jack Jansen
499a8afd0f
Removed debug printf
1996-08-19 11:38:03 +00:00
Jack Jansen
3bc6fe636a
Removed obsolete cfm68k ifdef (Guido)
1996-08-19 11:37:32 +00:00
Jack Jansen
007fa82581
Include config.h
1996-08-19 11:36:59 +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
76ceece75a
Guido: added some void's to declarations
1996-08-19 11:18:24 +00:00
Jack Jansen
9ff06cea7f
Guido: changed __sinit to __initialize for CFM68K.
1996-08-19 11:17:33 +00:00
Jack Jansen
7ac70afed1
Dummy SpinCursor() if __CFM68K__ is defined
1996-08-19 11:01:05 +00:00
Jack Jansen
1d2f863e51
Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix.
1996-08-02 15:16:16 +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
a547dcaff0
Old names changed to Py_GetCopyright, etc.
1996-07-10 15:48:25 +00:00
Jack Jansen
31dd5c083b
PyMac_GetFixed() didn't return 1 on success
1996-05-31 13:01:39 +00:00
Jack Jansen
a486a55f59
Added support for override preferences
1996-04-04 15:39:18 +00:00
Jack Jansen
975aa22bdd
Don't change Standard File folder on chdir().
1996-03-25 15:46:25 +00:00
Jack Jansen
415571cc9f
Replaced non-ascii chars by backslash escapes
1996-03-25 15:46:03 +00:00
Jack Jansen
1a0dafb1ce
Somehow the <<terminated>> got mangled. Fixed.
1996-03-20 16:19:00 +00:00
Jack Jansen
e355c4568f
- Allow setting of argc/argv in <option>-start dialog
...
- Set "ok" to be default button
1996-03-12 13:29:04 +00:00
Jack Jansen
2429c722d7
Added missing include of Fonts.h
1996-03-07 15:17:11 +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
8ab1148762
Added __sinit() call, so C++ initializations in shared library work
1996-02-29 16:10:32 +00:00
Jack Jansen
01fbc68896
- Reorganized init code
...
- Fixed serious bug in code to get options from a resource
1996-02-28 15:42:47 +00:00