Commit Graph

12127 Commits

Author SHA1 Message Date
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 8828fcf738 Added [GS]etCreatorType methods to FSSpec objects 1995-02-02 14:23:52 +00:00
Sjoerd Mullender 992ff06e98 Made play method more robust by adding a try-finally. 1995-02-01 14:24:32 +00:00
Sjoerd Mullender 3d697ce447 Support for album.notes and trackN.artist via notes and trackartist
instance variables.
1995-02-01 14:23:37 +00:00
Guido van Rossum d09b41bf05 remove last bits of mac specific code 1995-01-30 12:55:22 +00:00
Guido van Rossum a715299a14 remove unused variable 1995-01-30 12:53:21 +00:00
Guido van Rossum 90f0e07a5b fix glaring bug in get_magic 1995-01-30 12:53:06 +00:00
Guido van Rossum 42a5124101 Think C mod to suppress pausing at normal exit 1995-01-30 12:52:46 +00:00
Guido van Rossum d503913594 plug leak and improve error handling in dbm_keys() 1995-01-30 12:45:38 +00:00
Guido van Rossum 17448e2408 Committed a more or less working version. 1995-01-30 11:53:55 +00:00
Guido van Rossum 80ffd6683c bgenGeneratorGroup.py: changed placement of some blank lines in output
bgenObjectDefinition.py: support chaining of object definitions
macsupport.py: support functions returning pointers to existing windows/dialogs
bgen.py: tighten rules for recognizing simple symbol definitions
1995-01-30 11:44:02 +00:00
Guido van Rossum cc0d879069 added <OSEvents.h> for Think C 1995-01-30 08:57:13 +00:00
Guido van Rossum b2f524ae44 fixed StandardGetFile argument handling 1995-01-30 08:56:06 +00:00
Jack Jansen d56c109272 Changed the way mac mainloop event checking is turned off 1995-01-27 14:44:16 +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 9fc3989c66 Mac interrupt code moved to macglue.c 1995-01-27 14:40:41 +00:00
Guido van Rossum 7e4b2def34 changes for the Mac 1995-01-27 02:41:45 +00:00
Guido van Rossum f808012f5e Use case-dependent variant of fnmatch 1995-01-27 02:40:02 +00:00
Guido van Rossum c2ed415a1b removed frozenmain.o from objects added to library 1995-01-26 23:05:49 +00:00
Guido van Rossum a46d51d9a4 round up list item counts to improve realloc performance 1995-01-26 22:59:43 +00:00
Guido van Rossum 6978503235 added findmethodinchain and methodchain data types 1995-01-26 22:58:48 +00:00
Guido van Rossum 5279ec683a reverse h/v in Point and Rect 1995-01-26 22:56:59 +00:00
Guido van Rossum efd9767f56 added (method) casts and 1995 copyright 1995-01-26 22:56:16 +00:00
Jack Jansen 3d7f6bd3b7 Added a global 'stdwin is active' flag. 1995-01-26 16:40:10 +00:00
Jack Jansen fdbc79e779 Prototypes for new routines. 1995-01-26 16:37:21 +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
Jack Jansen 9eeb82dde1 CodeWarrior 5 has more unixisms (open/close/read/write) 1995-01-26 16:34:53 +00:00
Jack Jansen 17ba43f1e4 Complete rewrite. 1995-01-26 16:22:07 +00:00
Jack Jansen 51f4b8dc78 New cmd-. handling for the mac. 1995-01-26 16:20:38 +00:00
Guido van Rossum da88dadabd the usual 1995-01-26 00:46:29 +00:00
Guido van Rossum ea8ee1dfc5 fix bogus test for regex match 1995-01-26 00:45:20 +00:00
Guido van Rossum 71001e4355 add OSF/1 LDSHARED; add IRIX5 conditional for sockets 1995-01-26 00:44:03 +00:00
Guido van Rossum 0de81bfec9 don't dictclear deleted modules in doneimport 1995-01-26 00:41:28 +00:00
Guido van Rossum 8bf7c484c1 allow classes as exceptions 1995-01-26 00:41:04 +00:00
Guido van Rossum 8ae87c0489 make call_pyc_file static 1995-01-26 00:40:38 +00:00
Guido van Rossum 164d4ff0e5 added missing case to get_docstring 1995-01-26 00:40:09 +00:00
Guido van Rossum a6f6050229 moved callable() to object.c 1995-01-26 00:39:50 +00:00
Guido van Rossum e95d92b65e removed unused vars 1995-01-26 00:39:21 +00:00
Guido van Rossum 27e916fd35 apply dictclear to dict of deleted modules 1995-01-26 00:39:00 +00:00
Guido van Rossum 49b11fed70 move callable() here 1995-01-26 00:38:22 +00:00
Guido van Rossum f8803dd6c3 uname 64-bit fix 1995-01-26 00:37:45 +00:00
Guido van Rossum 39cb5ce85d unused vars 1995-01-26 00:37:10 +00:00
Guido van Rossum 1253960407 mem leak 1995-01-26 00:37:01 +00:00
Guido van Rossum c9a3569416 split PATH over multiple lines for clarity;
added some generated modules
1995-01-25 23:10:10 +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 cf27c2d541 Some layout changes; added EventRecord Get/Build functions (as a tuple). 1995-01-25 23:06:44 +00:00
Guido van Rossum 01f5a81d11 Lots of new stuff again. Moved buffer types to some separate files.
Added some new-fangled features to bgenOutput.  Generate doc strings!
1995-01-25 22:59:21 +00:00
Guido van Rossum 5679e56bd1 ported CW5 changes back to Think 1995-01-22 19:04:11 +00:00
Guido van Rossum c2544b3788 fixed comment 1995-01-22 18:42:33 +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