Commit Graph

126 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
Guido van Rossum cc0d879069 added <OSEvents.h> for Think C 1995-01-30 08:57:13 +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
Guido van Rossum 5279ec683a reverse h/v in Point and Rect 1995-01-26 22:56:59 +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 cf27c2d541 Some layout changes; added EventRecord Get/Build functions (as a tuple). 1995-01-25 23:06:44 +00:00
Guido van Rossum c2544b3788 fixed comment 1995-01-22 18:42:33 +00:00
Guido van Rossum c02311ba53 added printf -- hack for Think C to init stdwin and stdio 1995-01-22 18:38:12 +00:00
Guido van Rossum b340466af9 cosmetics: copyright, comments 1995-01-22 18:36:13 +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 8f69179f97 modernized/rationalized, added PyMac_BuildOSType 1995-01-18 23:57:26 +00:00
Jack Jansen d50e4e1c54 More Pstring() stuff and some cosmetics 1995-01-18 13:58:04 +00:00
Jack Jansen 5f653091d1 - Moved some useful routines from macosmodule.c here
- Added GetFSSpec (tuple-style), BuildFSSpec and Pstring
  (platform-independent correct conversion of C to Pascal strings)
1995-01-18 13:53:49 +00:00
Guido van Rossum 5c83252be4 must include rename2.h 1995-01-17 15:57:48 +00:00
Guido van Rossum fffb8bb526 rename2 changes 1995-01-12 12:37:24 +00:00
Guido van Rossum 99546997f6 1995 copyright 1995-01-08 14:33:34 +00:00
Jack Jansen f93c72a4b0 New routines:
macstrerror - strerror which uses 'Estr' resource to convert numerical
	MacOS errors to strings.
PyErr_Mac - Raise exception with MacOS error in string form.
PyMac_Idle - better idle-loop routine, which allows the user to
	switch applications.
1994-12-14 14:07:50 +00:00
Jack Jansen bac428d2e0 Enlarged version buffer (nobody expects the spanish inquisition:-)
Support for new sys.path code in config.c
1994-12-14 13:47:30 +00:00
Guido van Rossum 950d47fd67 Make it work under MPW too. 1994-10-01 14:24:17 +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
Guido van Rossum 739267b7c3 Completed (hopefully) the unification of THINK 6.0 and MPW 3.2
versions -- they now share config.c and config.h, and statting is
always done through macstat.[ch] (THINK's <stat.h> defines funny
constants).  Also the configuration of stdwin is done differently: you
have to define USE_STDWIN to the compiler prefix.
1994-08-29 08:42:37 +00:00
Guido van Rossum e783444440 Intermediate version of changes after porting to MPW 3.2 1994-08-26 09:09:48 +00:00
Guido van Rossum b0f3c82a3b Added macmain.c (separate Mac specific main prog); bump version to 1.1 1994-08-23 13:34:25 +00:00
Guido van Rossum d4d7728440 Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here. 1994-08-19 10:51:31 +00:00
Guido van Rossum c93e13d734 Replace <MacHeaders> by specific required header files 1994-06-27 15:25:12 +00:00
Guido van Rossum ce9739ba76 Initial revision 1994-01-05 16:17:15 +00:00