summaryrefslogtreecommitdiffstats
path: root/Mac/Include/macglue.h
Commit message (Collapse)AuthorAgeFilesLines
* Got the first MacPython module working under MacOSX/MachO (gestalt). Main ↵Jack Jansen2001-05-121-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 Jansen2001-05-121-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 Jansen2001-04-251-0/+1
|
* Bit the bullet and added a private GUSISIOUX for Python. This makes the ↵Jack Jansen2001-02-111-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 Jansen2000-10-191-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.hJack Jansen2000-08-071-1/+0
|
* Added more prototypes.Jack Jansen2000-07-241-1/+1
|
* Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define.Jack Jansen2000-07-141-8/+0
|
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-141-1/+1
|
* PyMac_PromptGetFile and PyMac_GetDirectory don't exist in carbonpython.Jack Jansen2000-07-141-0/+2
|
* Got rid of __SC__ ifdefs.Jack Jansen2000-07-111-4/+0
|
* ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen2000-07-111-2/+17
| | | | | | needed header files included.
* ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.Jack Jansen2000-07-111-10/+10
|
* PyMac_FindModuleExtension now uses a size_t as its size parameter for ↵Jack Jansen2000-07-031-1/+1
| | | | compatibility.
* Made the GUSI options work again with GUSI 2.Jack Jansen2000-04-211-0/+4
|
* Started on GUSI2 and threading support.Jack Jansen2000-04-071-2/+3
|
* Added PyMac_BuildOptStr255, which returns None on a null pointer.Jack Jansen1999-12-171-0/+1
|
* First bits and pieces of appearance support: an init routine, a global flag ↵Jack Jansen1999-12-071-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 Jansen1999-09-301-0/+7
|
* Added prototypes for the code resource routines, and for PstringJack Jansen1998-07-131-0/+3
| | | | (which was missing, for some reason).
* Incorrect argument for PyMacBuildwide()Jack Jansen1998-04-231-1/+1
|
* Add (temporary) PyMac_{Build,Get}wideJack Jansen1998-04-211-0/+2
|
* Added declarations for mac{set,get}filetypeJack Jansen1998-04-151-0/+5
|
* Mods for user mainloop event handlingJack Jansen1997-06-201-2/+3
|
* Make imports faster on the Mac, byJack Jansen1997-06-121-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_RestoreMenuBarJack Jansen1997-06-121-0/+1
|
* Removed SetScheduleTimes and PyMac_DoYieldEnabledJack Jansen1997-06-031-6/+13
| | | | | | Added [GS]etSchedParams Added parameter to PyMac_HandleEvent (safe to run python code at this point) Removed various cruft
* Added PyMac_StopGUSISpinJack Jansen1997-05-231-5/+6
|
* Added/updated copyright noticesJack Jansen1997-01-311-1/+1
| | | | (and the &*^$%@ resource files got binhexed again, sigh)
* Added PyMac_Initialize() routine, to be used by embedding programs (inJack Jansen1997-01-151-0/+1
| | | | stead of standard Py_Initialize(), which it calls).
* Added PyMac_GetFullPath(), PyMac_ApplicationPath and PyMac_ApplicationFSSpecJack Jansen1996-11-091-0/+5
|
* macglue: added PyMac_AppRefNumJack Jansen1996-09-061-0/+2
| | | | pythonresources: elaborated comment on preferences, added new options
* Python about box implemented. Slightly convoluted, since (a) we haveJack Jansen1996-09-061-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 Jansen1996-09-041-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 addedJack Jansen1996-08-021-0/+2
|
* Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd()Jack Jansen1996-03-061-0/+4
| | | | after each chdir call.
* Added converters for FixedJack Jansen1995-11-151-0/+2
|
* Added PyMac_PromptGetFile, removed stuff gone to other sources.Jack Jansen1995-08-141-3/+4
|
* Initial port to CodeWarrior CFM68K support (mainly by disablingJack Jansen1995-06-271-1/+1
| | | | unsupported features).
* - Added PyMac_GetDirectory call which asks the user to select aJack Jansen1995-02-201-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 supportGuido van Rossum1995-02-181-7/+13
|
* Added support for loading pyc code from a resource.Jack Jansen1995-02-151-0/+3
|
* ported to Think CGuido van Rossum1995-02-141-0/+8
|
* Added PyMac_GetPythonDir routine which obtains python home directoryJack Jansen1995-02-131-0/+2
| | | | | from an alias resource (or from the user). Note: this uses a dialog resource so there's an accompanying change in the resource file.
* Added HandleEvent method to macos, so python programs can hand backJack Jansen1995-02-021-1/+2
| | | | events they don't want to handle to stdio
* - Moved interrupt code to macglue.cJack Jansen1995-01-271-0/+2
| | | | | | | - Added possibility to turn off mainloop event handling - Check interrupts even when not handling events - Be more carefulabout which events we want - Use different method to determine fg/bg
* Prototypes for new routines.Jack Jansen1995-01-261-0/+3
|
* Some layout changes; added EventRecord Get/Build functions (as a tuple).Guido van Rossum1995-01-251-9/+23
|
* cosmetics: copyright, commentsGuido van Rossum1995-01-221-4/+33
|
* renamed Get routines to PyMac_Get; added macfs to config.cGuido van Rossum1995-01-211-4/+0
|