Commit Graph

40 Commits

Author SHA1 Message Date
Jack Jansen
a755e68df6 Export type objects to Python 1997-09-20 17:40:22 +00:00
Jack Jansen
2e871e4f09 Added SysBeep 1997-09-08 13:23:19 +00:00
Jack Jansen
898ac1bb46 Added GetTicks() here, so profiling can use a decent timer 1997-09-01 15:38:12 +00:00
Jack Jansen
883765eb71 added SetEventHandler 1997-06-20 16:19:38 +00:00
Jack Jansen
120a105823 Removed SetScheduleTimes
Added SchedParams
Added docstrings for most routines
1997-06-03 15:29:41 +00:00
Jack Jansen
450ae9f352 Don't free the MacOS_Splash() dialog twice... 1997-05-13 15:41:48 +00:00
Jack Jansen
eeccca9bdc - Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
1997-05-07 15:46:31 +00:00
Jack Jansen
f73bab7f96 Added an attribute string_id_to_buffer, which gives the offset you
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...
1997-04-03 14:51:03 +00:00
Jack Jansen
4a8c54e6d9 - Changed GestaltEqu.h to Gestalt.h
- 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)
1997-02-24 13:56:59 +00:00
Jack Jansen
42218ce33c Added/updated copyright notices
(and the &*^$%@ resource files got binhexed again, sigh)
1997-01-31 16:15:11 +00:00
Jack Jansen
84fb1fab1f Got rid of nfullpath() 1996-11-09 18:46:57 +00:00
Jack Jansen
a1255e0c4e removed unused var 1996-10-23 15:44:27 +00:00
Jack Jansen
eb76b8484d Added DebugStr method to drop into low-level debugger 1996-09-30 14:43:22 +00:00
Jack Jansen
04df9d5ad4 Added dialog-centering code to splash() 1996-09-23 15:49:43 +00:00
Jack Jansen
df34cf1206 Fixed macos.splash to actually *draw* the splash box:-) 1996-09-15 22:12:00 +00:00
Jack Jansen
ab7fcdd770 Added splash method (to quickly display splash screen without first
having to load a zillion extension modules)
1996-05-20 11:32:00 +00:00
Jack Jansen
6648fb749b Removed unused vars 1996-03-05 16:56:00 +00:00
Jack Jansen
76a0589986 Added openrf method, which opens resource fork. The resulting object
supports a subset of normal file functionality.
1996-02-29 16:11:32 +00:00
Jack Jansen
829f88c169 Added GetErrorString method (convert OSErr number to string) 1995-07-17 11:36:01 +00:00
Guido van Rossum
e7134aa0f2 return old value of PyMac_DoYieldEnabled; -1 means do not even check for interrupts 1995-02-26 10:20:53 +00:00
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