summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macosmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.Jack Jansen1998-10-121-1/+1
|
* The init routine for MacOS had a non-standard name. Changed toJack Jansen1998-07-011-1/+1
| | | | initMacOS().
* Fixed double-dispose of splash() dialogJack Jansen1998-02-201-0/+2
|
* Export type objects to PythonJack Jansen1997-09-201-1/+5
|
* Added SysBeepJack Jansen1997-09-081-7/+22
|
* Added GetTicks() here, so profiling can use a decent timerJack Jansen1997-09-011-0/+9
|
* added SetEventHandlerJack Jansen1997-06-201-12/+25
|
* Removed SetScheduleTimesJack Jansen1997-06-031-26/+66
| | | | | Added SchedParams Added docstrings for most routines
* Don't free the MacOS_Splash() dialog twice...Jack Jansen1997-05-131-2/+4
|
* - Changed the m# format for PyArg_ParseTuple back to s#Jack Jansen1997-05-071-1/+1
| | | | - c2pstr has moved to a different include file
* Added an attribute string_id_to_buffer, which gives the offset youJack Jansen1997-04-031-0/+12
| | | | | | | | have to add to the id() of a string to get the address of the data. This is a horrible and error-prone hack, but unfortunately it is one that is needed for playing audio and crearing pixmaps. Having the constant here is at least marginally better than the previous practice of having the constant 16 all over the place...
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-241-1/+1
| | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit)
* Added/updated copyright noticesJack Jansen1997-01-311-1/+1
| | | | (and the &*^$%@ resource files got binhexed again, sigh)
* Got rid of nfullpath()Jack Jansen1996-11-091-1/+1
|
* removed unused varJack Jansen1996-10-231-1/+0
|
* Added DebugStr method to drop into low-level debuggerJack Jansen1996-09-301-0/+16
|
* Added dialog-centering code to splash()Jack Jansen1996-09-231-1/+16
|
* Fixed macos.splash to actually *draw* the splash box:-)Jack Jansen1996-09-151-3/+7
|
* Added splash method (to quickly display splash screen without firstJack Jansen1996-05-201-0/+20
| | | | having to load a zillion extension modules)
* Removed unused varsJack Jansen1996-03-051-3/+0
|
* Added openrf method, which opens resource fork. The resulting objectJack Jansen1996-02-291-0/+330
| | | | supports a subset of normal file functionality.
* Added GetErrorString method (convert OSErr number to string)Jack Jansen1995-07-171-0/+11
|
* return old value of PyMac_DoYieldEnabled; -1 means do not even check for ↵Guido van Rossum1995-02-261-5/+6
| | | | interrupts
* change SC ifdef to MPWGuido van Rossum1995-02-211-1/+1
|
* Minor bug fixJack Jansen1995-02-201-1/+1
|
* cfm 68k supportGuido van Rossum1995-02-181-0/+4
|
* Added HandleEvent method to macos, so python programs can hand backJack Jansen1995-02-021-0/+14
| | | | events they don't want to handle to stdio
* - Moved interrupt code to macglue.cJack Jansen1995-01-271-0/+15
| | | | | | | - 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
* Added eventhandling in mainloop/busywait routine plus leaving someJack Jansen1995-01-261-0/+23
| | | | | cycles for background apps. MacOS has a new method to set the amount of time for bg apps.
* Got rid of the Resource and Sound interfaces, in favor of the onesGuido van Rossum1995-01-251-410/+3
| | | | generated from the header files (with some hand-holding :-).
* ported CW5 changes back to ThinkGuido van Rossum1995-01-221-0/+1
|
* Got rid of {Get,Set}FileType in favor of {Get,Set}CreatorAndType --Guido van Rossum1995-01-221-37/+19
| | | | | | | | | | | the former had their arguments reversed compared to all Apple's routines (e.g. FSpOpenResFile()). Also fixed the SoundMgr UserRoutine (Jack fixed it but put the fix between #ifdef __MWERKS__ ... #endif :-( ). NB eventually this module should disappear in favor of separate modules per manager (e.g. Resources, Sound, Files, ...).
* Ported to CW5/new universal headersJack Jansen1995-01-221-2/+2
|
* renamed Get routines to PyMac_Get; added macfs to config.cGuido van Rossum1995-01-211-4/+4
|
* added high level event interface (requires stdwin patch)Guido van Rossum1995-01-181-3/+99
|
* Moved some generally useful routines to macglue.cJack Jansen1995-01-181-28/+0
|
* rename2 changesGuido van Rossum1995-01-121-12/+10
|
* Used new getargs interface; added {Get,Set}FileInfo.Guido van Rossum1995-01-091-44/+77
|
* 1995 copyrightGuido van Rossum1995-01-081-2/+2
|
* - Use PyErr_Mac for nicer exceptionsJack Jansen1994-12-141-25/+57
| | | | | | - Added methods AsString() and AsBytes() to resource objects, so you can get at the contents of resource items. - Ported to CodeWarrior (mainly ProcPtr/UniversalProcPtr stuff)
* config.c: add MacOS moduleGuido van Rossum1994-09-291-38/+50
| | | | macosmodule.c: lots of updates (though playing sound can still hang :-( )
* Support user routines (callbacks) on sound channels.Guido van Rossum1994-09-161-6/+74
|
* gestaltmodule.c: interface to Gestalt Manager.Guido van Rossum1994-09-161-0/+405
macosmodule.c: interface to random collection of Managers. macsetfiletype.c: set file type, for import.c.