summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macglue.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Incorrect argument for PyMacBuildwide()Jack Jansen1998-04-231-5/+5
|
* Added PyMac_{Get,Build}wide. These should support python longints atJack Jansen1998-04-211-0/+23
| | | | some point in the future.
* - Universal Headers 3 modsJack Jansen1998-02-201-2/+4
| | | | - Started on menubar-restore code (but it still doesn't work 100%)
* Bug fix for fast module locationJack Jansen1997-10-081-1/+1
|
* Fixed for new "import dir.module" semantics. Needs accompanying fix inJack Jansen1997-10-071-0/+9
| | | | import.c (yes Guido, I'll send it tomorrow)
* Handle systemclicks ourselves, in stead of passing them to Sioux. ThisJack Jansen1997-08-261-10/+15
| | | | | fixes (or masks?) a bug with Python becoming unreactive during time.sleep() if you have already switched applications before.
* Added (dummy) PyOS_FiniInterruptsJack Jansen1997-08-081-0/+5
|
* Added PyMac_SetEventHandler which allows you to replace complete eventJack Jansen1997-06-201-43/+71
| | | | | | handling in inner loop with python code. Also move (previously machine independent) PyErr_CheckSignals here, so we can propagate exceptions in event handling code.
* Make imports faster on the Mac, byJack Jansen1997-06-121-7/+104
| | | | | | | | - 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.
* - Restore SIOUX menubar just before exiting, if the console window is keptJack Jansen1997-06-121-21/+25
| | | | | open (so the user can quit with cmd-Q, print, etc) - Removed a few unused routines
* Removed old scheduler parameterizing calls and replaced with somethingJack Jansen1997-06-031-100/+116
| | | | a bit easier to use and understand
* - Added Py_GetProgramFullPathJack Jansen1997-05-231-1/+51
| | | | | | | - Added PyMac_StopGUSISpin and have it called at exit time (fixes crash when exiting with sockets open) - Added PLstr... funcs needed by gusi: those provided by StdCLib are broken under cfm68k
* Changed the few old routine names still used to the new onesJack Jansen1997-04-081-2/+2
| | | | Started working on MSL support
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-241-1/+0
| | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h
* Only go into eventloop/interrupt check 10 times per secondJack Jansen1997-02-201-0/+9
|
* Added/updated copyright noticesJack Jansen1997-01-311-1/+1
| | | | (and the &*^$%@ resource files got binhexed again, sigh)
* When loading a PYC resource check whether the filename is theJack Jansen1996-11-091-21/+45
| | | | | application, and if so take a shortcut. This should speedup loading PYC resources when running off a CDROM quite a bit.
* About boxes should be at 20% of screen height, not halfwayJack Jansen1996-09-231-1/+1
|
* Changed default background yield time to 1 tickJack Jansen1996-09-221-1/+14
|
* - Put all options in a structJack Jansen1996-09-071-2/+4
| | | | | | - Unified initialization code for interpreter and applet - Implemented new options to skip AE-processing for argc/argv and for disabling interactive option setting
* Python about box implemented. Slightly convoluted, since (a) we haveJack Jansen1996-09-061-0/+32
| | | | | to override an internal sioux routine and (b) we have to override the "about sioux" menuitem after sioux has created its menus.
* Removed unused varsJack Jansen1996-09-051-2/+0
|
* - Fixed PyMac_DoYield:Jack Jansen1996-09-041-11/+61
| | | | | | | | | - 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.
* Fixed command-. handlingJack Jansen1996-08-191-2/+15
| | | | Added hacks for GetEventQueue (so you don't have to edit Events.h)
* Guido:Jack Jansen1996-08-191-14/+5
| | | | | - new SpinCursor (replacing Jack's almost-identical one) - use GetEventQueue in stead of GetEvQHdr
* Dummy SpinCursor() if __CFM68K__ is definedJack Jansen1996-08-191-0/+10
|
* - Minimum stacksize is now 8K for PPC, 4K for 68KJack Jansen1996-08-011-7/+20
| | | | - Added PyMac_BuildNumVersion
* Added PyOS_CheckStack() function which returns -1 when we are runningJack Jansen1996-07-221-0/+14
| | | | low on stackspace.
* PyMac_GetFixed() didn't return 1 on successJack Jansen1996-05-311-0/+1
|
* Don't change Standard File folder on chdir().Jack Jansen1996-03-251-0/+2
|
* Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd()Jack Jansen1996-03-061-15/+30
| | | | after each chdir call.
* Added code to make fsspecs work for gusi-pythonJack Jansen1996-03-051-0/+16
|
* Added converters for FixedJack Jansen1995-11-151-0/+23
|
* Cosmetic change to event handling.Jack Jansen1995-11-101-3/+11
|
* Removed unused variablesJack Jansen1995-08-311-2/+2
|
* Lots of stuff moved to other files.Jack Jansen1995-08-141-381/+55
| | | | Include pythonresources.h.
* Better error messages wrt missing resources and preferencesJack Jansen1995-08-071-3/+4
|
* Added code so you canset "command line options" if youJack Jansen1995-07-291-1/+61
| | | | option-click/drag python. Needs a new dialog resource.
* Initial port to CodeWarrior CFM68K support (mainly by disablingJack Jansen1995-06-271-0/+4
| | | | unsupported features).
* Added code to obtain sys.path from a resourceJack Jansen1995-06-181-0/+97
| | | | | Removed code to update the preferences file, use EditPythonPrefs.py in stead (actually, code is still there if you define USE_MAC_MODPREFS)
* - The prefs file wasn't updated correctly if it already existed.Jack Jansen1995-04-241-5/+10
| | | | - Guido's r1.23 fix wrt PyMac_DoYieldEnabled had somehow gotten lost.
* Under MW also be more conservative about events to requestJack Jansen1995-02-271-11/+6
|
* return old value of PyMac_DoYieldEnabled; -1 means do not even check for ↵Guido van Rossum1995-02-261-1/+9
| | | | interrupts
* MAde a few things more orthogonal and did some cleanups:Jack Jansen1995-02-241-24/+32
| | | | | | | | - Applications now have their (minimal) main prrogram in macapplication.c and the rest of the init code in macglue.c. - A new define, USE_MAC_APPLET_SUPPORT, independent of USE_MAC_SHARED_LIB - chdir to script directory now done in PyMac_InitApplication.
* ported to MPW, moved main() hereGuido van Rossum1995-02-201-15/+31
|
* - Added PyMac_GetDirectory call which asks the user to select aJack Jansen1995-02-201-20/+79
| | | | | | | | 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.
* use PyMac_GetArgv (in macgetargv.c) for applet initsGuido van Rossum1995-02-191-17/+8
|
* added applet initialization;Guido van Rossum1995-02-181-12/+74
| | | | | fewer restrictions on loading modules from resources (+ fix!); macstrerror -> MacOS_StrError
* Added support for loading pyc code from a resource.Jack Jansen1995-02-151-0/+115
|
* ported to Think CGuido van Rossum1995-02-141-1/+2
|