cpython/Mac/Python
Jack Jansen 998a40a6d4 Mods by Donovan Preston (with changes by me to make them "go with the flow")
that will detect an __main__.py or __rawmain__.py in the application bundle.
This file is then exectued as the main script. We now have applets in
MachO Python!!!

The difference between __main__ and __rawmain__ is that the former gets a
complete simulated argv (so you can drop files on the applet and the script
sees them in sys.argv) while the latter skips the argv simulation and the
<option>key dialog. This keeps the AppleEvent that started the app intact,
as well as the funny "-psn_xxxx" argv[1] argument, so the script can do
with these what it wants.
2001-09-11 13:08:10 +00:00
..
getapplbycreator.c Another include Carbon/Carbon.h 2001-05-19 12:57:22 +00:00
gusiconfig.cpp Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before... 2001-02-28 15:54:18 +00:00
macapplication.c Got rid of 68k-Mac and other outdated ifdefs. 2001-08-07 15:30:23 +00:00
macgetargv.c Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length' 2001-09-10 22:00:39 +00:00
macgetcompiler.c Bit the bullet and enabled garbage collection (finally). 2001-08-07 12:33:32 +00:00
macgetpath.c Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length' 2001-09-10 22:00:39 +00:00
macgetplatform.c ANSIfication step 2: make sure all needed prototypes are available, and all needed 2000-07-11 21:16:03 +00:00
macglue.c Implemented PyMac_GetFullPathname for MacPython. 2001-09-11 09:22:19 +00:00
macimport.c Got rid of 68k-Mac and other outdated ifdefs. 2001-08-07 15:30:23 +00:00
macmain.c Mods by Donovan Preston (with changes by me to make them "go with the flow") 2001-09-11 13:08:10 +00:00
macsetfiletype.c ANSIfication step 2: make sure all needed prototypes are available, and all needed 2000-07-11 21:16:03 +00:00
macshlglue.c Added more prototypes. 2000-07-24 19:52:52 +00:00
missingtoolboxcalls.c Dummy functions which return unimpErr for lots of toolbox calls that are unavailable for 68K. This way we don't have to disable thm in bgen, so we 1999-12-12 21:38:29 +00:00
pyGUSISIOUX.cp - Raise console window on input. Fixes Carbon hang. 2001-04-25 22:07:27 +00:00