summaryrefslogtreecommitdiff
path: root/Mac/Python/macgetargv.c
AgeCommit message (Collapse)AuthorLines
2002-10-29Added a few printfs in case of unexpected situations during application startup.Jack Jansen-5/+12
2001-09-10Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length'Jack Jansen-20/+10
parameter for the return string (as unix pathnames are not limited by the 255 char pstring limit). Implemented the function for MachO-Python, where it returns unix pathnames.
2001-09-05Changes to make these work under OSX as the main program for aJack Jansen-14/+39
fullblown drag and drop application. To my surprise it is starting to work already: Python actually executes a script dropped on it. To be done: - Make sure this still works in MacPython - Don't lose argv[0] in the process - Applet support
2001-06-20Adapted for Universal Headers 3.4: refcon type has changed (sigh) and use ↵Jack Jansen-6/+12
modern (UPP in stead of Proc) names for callback object creation.
2001-05-22removed a routine that has moved to macglue.cJack Jansen-21/+0
2001-05-19Moved PyMac_GetFullPath from macgetargv.c to macglue.c. It shouldJack Jansen-40/+0
have been there in the first place.
2001-01-09FSSpec names may be longer on carbon (1024 chars), cater for that in buffer ↵Jack Jansen-2/+2
sizes.
2000-07-14Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen-1/+1
2000-07-11ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen-2/+3
needed header files included.
2000-06-20Made argc/argv processing work again under carbon.Jack Jansen-2/+2
2000-06-04Removed assorted old ifdefs.Jack Jansen-17/+0
2000-06-02Fixed callback function arguments to be carbon-compatible.Jack Jansen-4/+6
(Temporarily?) removed call to ProcessHighLevelEvent until we find out how to do this (Carbon only).
1997-02-24- Changed GestaltEqu.h to Gestalt.hJack Jansen-1/+0
- Changed FragLoader.h to CodeFragments.h - Removed Desk.h
1997-01-31Added/updated copyright noticesJack Jansen-1/+1
(and the &*^$%@ resource files got binhexed again, sigh)
1996-11-20Fixed FSSpec->pathname code to add colon if the fsspec points to a disk.Jack Jansen-0/+6
1996-11-09Got rid of nfullpath in favor of PyMac_GetFullPath (which was prettyJack Jansen-23/+22
much identical anyway). Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point to the current application.
1996-09-07- Put all options in a structJack Jansen-4/+7
- Unified initialization code for interpreter and applet - Implemented new options to skip AE-processing for argc/argv and for disabling interactive option setting
1996-08-19Removed obsolete cfm68k ifdef (Guido)Jack Jansen-3/+0
1996-02-28- Reorganized init codeJack Jansen-19/+0
- Fixed serious bug in code to get options from a resource
1995-11-10Continue looking for "open doc" events even after "open app". ThisJack Jansen-0/+3
allows you to debug the interpreter in non-interactive mode.
1995-10-12Export strdup (parsermodule needs it)Jack Jansen-2/+4
1995-08-31Python will now attempt (again) to create at least a minimalJack Jansen-3/+3
preferences file if it is missing.
1995-07-29Un-installing of AE handlers fixed (AE is very picky that you specifyJack Jansen-8/+15
the same UPP)
1995-06-27Initial port to CodeWarrior CFM68K support (mainly by disablingJack Jansen-1/+4
unsupported features).
1995-02-20moved main() to macglue.cGuido van Rossum-12/+0
1995-02-19ported back to Think CGuido van Rossum-1/+8
1995-02-19get argc/argv from AppleEventsGuido van Rossum-0/+325