summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macgetargv.c
Commit message (Collapse)AuthorAgeFilesLines
* Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length'Jack Jansen2001-09-101-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.
* Changes to make these work under OSX as the main program for aJack Jansen2001-09-051-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
* Adapted for Universal Headers 3.4: refcon type has changed (sigh) and use ↵Jack Jansen2001-06-201-6/+12
| | | | modern (UPP in stead of Proc) names for callback object creation.
* removed a routine that has moved to macglue.cJack Jansen2001-05-221-21/+0
|
* Moved PyMac_GetFullPath from macgetargv.c to macglue.c. It shouldJack Jansen2001-05-191-40/+0
| | | | have been there in the first place.
* FSSpec names may be longer on carbon (1024 chars), cater for that in buffer ↵Jack Jansen2001-01-091-2/+2
| | | | sizes.
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-141-1/+1
|
* ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen2000-07-111-2/+3
| | | | | | needed header files included.
* Made argc/argv processing work again under carbon.Jack Jansen2000-06-201-2/+2
|
* Removed assorted old ifdefs.Jack Jansen2000-06-041-17/+0
|
* Fixed callback function arguments to be carbon-compatible.Jack Jansen2000-06-021-4/+6
| | | | (Temporarily?) removed call to ProcessHighLevelEvent until we find out how to do this (Carbon only).
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-241-1/+0
| | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h
* Added/updated copyright noticesJack Jansen1997-01-311-1/+1
| | | | (and the &*^$%@ resource files got binhexed again, sigh)
* Fixed FSSpec->pathname code to add colon if the fsspec points to a disk.Jack Jansen1996-11-201-0/+6
|
* Got rid of nfullpath in favor of PyMac_GetFullPath (which was prettyJack Jansen1996-11-091-23/+22
| | | | | | much identical anyway). Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point to the current application.
* - Put all options in a structJack Jansen1996-09-071-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
* Removed obsolete cfm68k ifdef (Guido)Jack Jansen1996-08-191-3/+0
|
* - Reorganized init codeJack Jansen1996-02-281-19/+0
| | | | - Fixed serious bug in code to get options from a resource
* Continue looking for "open doc" events even after "open app". ThisJack Jansen1995-11-101-0/+3
| | | | allows you to debug the interpreter in non-interactive mode.
* Export strdup (parsermodule needs it)Jack Jansen1995-10-121-2/+4
|
* Python will now attempt (again) to create at least a minimalJack Jansen1995-08-311-3/+3
| | | | preferences file if it is missing.
* Un-installing of AE handlers fixed (AE is very picky that you specifyJack Jansen1995-07-291-8/+15
| | | | the same UPP)
* Initial port to CodeWarrior CFM68K support (mainly by disablingJack Jansen1995-06-271-1/+4
| | | | unsupported features).
* moved main() to macglue.cGuido van Rossum1995-02-201-12/+0
|
* ported back to Think CGuido van Rossum1995-02-191-1/+8
|
* get argc/argv from AppleEventsGuido van Rossum1995-02-191-0/+325