Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Getting rid of pre-Carbon (MacOS8) support. All code depending on | Jack Jansen | 2002-12-12 | 1 | -6/+0 |
| | | | | | | TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9). | ||||
* | Added include guards and C++ extern "C" {} constructs. Partial fix for #607253. | Jack Jansen | 2002-09-10 | 1 | -1/+3 |
| | | | | Bugfix candidate. | ||||
* | Got rid of ifdefs for long-obsolete GUSI versions and other lurkers. | Jack Jansen | 2002-04-11 | 1 | -6/+0 |
| | |||||
* | We have strdup(), but not its prototype:-( | Jack Jansen | 2001-12-14 | 1 | -2/+0 |
| | |||||
* | Added declarations for PyMac_SetConsoleHandler, PyMan_DUmmyReadHandler | Jack Jansen | 2001-10-08 | 1 | -0/+19 |
| | | | | and PyMac_DummyWriteHandler. | ||||
* | Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length' | Jack Jansen | 2001-09-10 | 1 | -1/+0 |
| | | | | | | 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. | ||||
* | Added glue routine for PyMac_BuildFSSpec, PyMac_GetFSRef and PyMac_BuildFSRef. | Jack Jansen | 2001-09-01 | 1 | -7/+0 |
| | | | | Moved the declarations to pymactoolbox.h. | ||||
* | Split macglue.c into two: a new mactoolboxglue.c (in ./Python) | Jack Jansen | 2001-08-08 | 1 | -26/+2 |
| | | | | | | | | | | | | with functionality needed for both unix-Python and MacPython and a new smaller ./Mac/Python/macglue.c which contains MacPython stuff only. pymactoolbox.h has moved to ./Include from ./Mac/Include and now also contains the relevant stuff from macglue.h. The net effect of this is that the ./Mac subdirectory is not needed anymore for building the unix-Python core on MacOSX (it is needed for building the extension modules). | ||||
* | Implemented minimal FSRef support, plus conversion between FSRefs, FSSpecs ↵ | Jack Jansen | 2001-07-08 | 1 | -3/+8 |
| | | | | | | | | and pathnames where applicable. PyMac_GetFSSpec and PyMac_BuildFSSpec have moved to macfsmodule from macglue. These mods are untested on OSX. | ||||
* | Got the first MacPython module working under MacOSX/MachO (gestalt). Main ↵ | Jack Jansen | 2001-05-12 | 1 | -3/+10 |
| | | | | | | | | changes are including Carbon/Carbon.h in stead of the old headers (unless WITHOUT_FRAMEWORKS is defined, as it will be for classic MacPython) and selectively disabling all the stuff that is unneeded in a unix-Python (event handling, etc). | ||||
* | Be more sensible about when to use TARGET_API_MAC_OS8 in stead of ↵ | Jack Jansen | 2001-05-12 | 1 | -2/+2 |
| | | | | !TARGET_API_MAC_CARBON. This should greatly facilitate porting stuff to OSX in its MachO/BSD incarnation. | ||||
* | - Raise console window on input. Fixes Carbon hang. | Jack Jansen | 2001-04-25 | 1 | -0/+1 |
| | |||||
* | Bit the bullet and added a private GUSISIOUX for Python. This makes the ↵ | Jack Jansen | 2001-02-11 | 1 | -0/+2 |
| | | | | delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this. | ||||
* | Added PyMac_OutputSeen(), which acknowledges all current output in the stdio ↵ | Jack Jansen | 2000-10-19 | 1 | -0/+1 |
| | | | | window, i.e. it acts like input has been read insofar as the keep-console-open option is interested. | ||||
* | Moved PyOS_StackCheck prototype to pythonrun.h | Jack Jansen | 2000-08-07 | 1 | -1/+0 |
| | |||||
* | Added more prototypes. | Jack Jansen | 2000-07-24 | 1 | -1/+1 |
| | |||||
* | Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define. | Jack Jansen | 2000-07-14 | 1 | -8/+0 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 1 | -1/+1 |
| | |||||
* | PyMac_PromptGetFile and PyMac_GetDirectory don't exist in carbonpython. | Jack Jansen | 2000-07-14 | 1 | -0/+2 |
| | |||||
* | Got rid of __SC__ ifdefs. | Jack Jansen | 2000-07-11 | 1 | -4/+0 |
| | |||||
* | ANSIfication step 2: make sure all needed prototypes are available, and all ↵ | Jack Jansen | 2000-07-11 | 1 | -2/+17 |
| | | | | | | needed header files included. | ||||
* | ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO. | Jack Jansen | 2000-07-11 | 1 | -10/+10 |
| | |||||
* | PyMac_FindModuleExtension now uses a size_t as its size parameter for ↵ | Jack Jansen | 2000-07-03 | 1 | -1/+1 |
| | | | | compatibility. | ||||
* | Made the GUSI options work again with GUSI 2. | Jack Jansen | 2000-04-21 | 1 | -0/+4 |
| | |||||
* | Started on GUSI2 and threading support. | Jack Jansen | 2000-04-07 | 1 | -2/+3 |
| | |||||
* | Added PyMac_BuildOptStr255, which returns None on a null pointer. | Jack Jansen | 1999-12-17 | 1 | -0/+1 |
| | |||||
* | First bits and pieces of appearance support: an init routine, a global flag ↵ | Jack Jansen | 1999-12-07 | 1 | -0/+1 |
| | | | | | | PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE is off the code is disabled (but the variables are still there, set to 0). | ||||
* | Make macglue.h C++ compatible. | Jack Jansen | 1999-09-30 | 1 | -0/+7 |
| | |||||
* | Added prototypes for the code resource routines, and for Pstring | Jack Jansen | 1998-07-13 | 1 | -0/+3 |
| | | | | (which was missing, for some reason). | ||||
* | Incorrect argument for PyMacBuildwide() | Jack Jansen | 1998-04-23 | 1 | -1/+1 |
| | |||||
* | Add (temporary) PyMac_{Build,Get}wide | Jack Jansen | 1998-04-21 | 1 | -0/+2 |
| | |||||
* | Added declarations for mac{set,get}filetype | Jack Jansen | 1998-04-15 | 1 | -0/+5 |
| | |||||
* | Mods for user mainloop event handling | Jack Jansen | 1997-06-20 | 1 | -2/+3 |
| | |||||
* | Make imports faster on the Mac, by | Jack Jansen | 1997-06-12 | 1 | -1/+2 |
| | | | | | | | | - Remembering whether sys.path components refer to files or folders, - Using mac-specific code to check for file existence, in stead of trying to fopen() each possible file. These mods need an accompanying mod to import.c. | ||||
* | Added prototype for PyMac_RestoreMenuBar | Jack Jansen | 1997-06-12 | 1 | -0/+1 |
| | |||||
* | Removed SetScheduleTimes and PyMac_DoYieldEnabled | Jack Jansen | 1997-06-03 | 1 | -6/+13 |
| | | | | | | Added [GS]etSchedParams Added parameter to PyMac_HandleEvent (safe to run python code at this point) Removed various cruft | ||||
* | Added PyMac_StopGUSISpin | Jack Jansen | 1997-05-23 | 1 | -5/+6 |
| | |||||
* | Added/updated copyright notices | Jack Jansen | 1997-01-31 | 1 | -1/+1 |
| | | | | (and the &*^$%@ resource files got binhexed again, sigh) | ||||
* | Added PyMac_Initialize() routine, to be used by embedding programs (in | Jack Jansen | 1997-01-15 | 1 | -0/+1 |
| | | | | stead of standard Py_Initialize(), which it calls). | ||||
* | Added PyMac_GetFullPath(), PyMac_ApplicationPath and PyMac_ApplicationFSSpec | Jack Jansen | 1996-11-09 | 1 | -0/+5 |
| | |||||
* | macglue: added PyMac_AppRefNum | Jack Jansen | 1996-09-06 | 1 | -0/+2 |
| | | | | pythonresources: elaborated comment on preferences, added new options | ||||
* | Python about box implemented. Slightly convoluted, since (a) we have | Jack Jansen | 1996-09-06 | 1 | -0/+2 |
| | | | | | to override an internal sioux routine and (b) we have to override the "about sioux" menuitem after sioux has created its menus. | ||||
* | - Fixed PyMac_DoYield: | Jack Jansen | 1996-09-04 | 1 | -2/+6 |
| | | | | | | | | | - 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. | ||||
* | PyMac_BuildNumVersion added | Jack Jansen | 1996-08-02 | 1 | -0/+2 |
| | |||||
* | Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd() | Jack Jansen | 1996-03-06 | 1 | -0/+4 |
| | | | | after each chdir call. | ||||
* | Added converters for Fixed | Jack Jansen | 1995-11-15 | 1 | -0/+2 |
| | |||||
* | Added PyMac_PromptGetFile, removed stuff gone to other sources. | Jack Jansen | 1995-08-14 | 1 | -3/+4 |
| | |||||
* | Initial port to CodeWarrior CFM68K support (mainly by disabling | Jack Jansen | 1995-06-27 | 1 | -1/+1 |
| | | | | unsupported features). | ||||
* | - Added PyMac_GetDirectory call which asks the user to select a | Jack Jansen | 1995-02-20 | 1 | -0/+2 |
| | | | | | | | | directory. - No __main__ resource found message is now a dialog - Fixes wrt stdio window handling in applets. NB: these fixes require a new resource file. | ||||
* | macstrerror -> MacOS-StrError; added applet and cfm-68k support | Guido van Rossum | 1995-02-18 | 1 | -7/+13 |
| |