Commit Graph

20 Commits

Author SHA1 Message Date
Guido van Rossum e6d9ccc33a change SC ifdef to MPW 1995-02-21 21:01:05 +00:00
Jack Jansen b2f6a7ec00 Minor bug fix 1995-02-20 15:46:10 +00:00
Guido van Rossum 9fed183f22 cfm 68k support 1995-02-18 15:02:02 +00:00
Jack Jansen a76382a6ac Added HandleEvent method to macos, so python programs can hand back
events they don't want to handle to stdio
1995-02-02 14:25:56 +00:00
Jack Jansen ee23d6ec87 - Moved interrupt code to macglue.c
- 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
1995-01-27 14:43:25 +00:00
Jack Jansen e8e8ae0f2c Added eventhandling in mainloop/busywait routine plus leaving some
cycles for background apps. MacOS has a new method to set the amount
of time for bg apps.
1995-01-26 16:36:45 +00:00
Guido van Rossum bf068b1505 Got rid of the Resource and Sound interfaces, in favor of the ones
generated from the header files (with some hand-holding :-).
1995-01-25 23:09:20 +00:00
Guido van Rossum 5679e56bd1 ported CW5 changes back to Think 1995-01-22 19:04:11 +00:00
Guido van Rossum b7e79e5f94 Got rid of {Get,Set}FileType in favor of {Get,Set}CreatorAndType --
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, ...).
1995-01-22 18:42:12 +00:00
Jack Jansen 673e142e00 Ported to CW5/new universal headers 1995-01-22 16:52:02 +00:00
Guido van Rossum 9aa3d1370e renamed Get routines to PyMac_Get; added macfs to config.c 1995-01-21 13:46:04 +00:00
Guido van Rossum f74d4e2a0e added high level event interface (requires stdwin patch) 1995-01-18 23:58:07 +00:00
Jack Jansen 9589e93491 Moved some generally useful routines to macglue.c 1995-01-18 13:52:07 +00:00
Guido van Rossum fffb8bb526 rename2 changes 1995-01-12 12:37:24 +00:00
Guido van Rossum e791c2e441 Used new getargs interface; added {Get,Set}FileInfo. 1995-01-09 13:20:04 +00:00
Guido van Rossum 99546997f6 1995 copyright 1995-01-08 14:33:34 +00:00
Jack Jansen 97ce361c2c - Use PyErr_Mac for nicer exceptions
- 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)
1994-12-14 14:02:24 +00:00
Guido van Rossum e433c974bc config.c: add MacOS module
macosmodule.c: lots of updates (though playing sound can still hang :-( )
1994-09-29 10:02:56 +00:00
Guido van Rossum df1c4ee503 Support user routines (callbacks) on sound channels. 1994-09-16 12:48:59 +00:00
Guido van Rossum 2d16703d65 gestaltmodule.c: interface to Gestalt Manager.
macosmodule.c: interface to random collection of Managers.
macsetfiletype.c: set file type, for import.c.
1994-09-16 10:54:21 +00:00