Commit graph

19 commits

Author SHA1 Message Date
Jack Jansen
fd064863eb Shut up many more gcc warnings. 2001-09-05 10:31:52 +00:00
Jack Jansen
06d2e1af35 Regenerated without default int return types. 2001-09-04 22:19:18 +00:00
Jack Jansen
25a5bd7708 Renamed. 2001-08-23 14:11:10 +00:00
Jack Jansen
50ecb0ad83 Renamed the Mac toolbox modules to have an initial _ in their name. 2001-08-23 14:02:09 +00:00
Jack Jansen
77105a960b The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package. 2001-08-23 13:51:46 +00:00
Jack Jansen
fa77e1a1b1 Lots more Carbon/Carbon.h includes, new UPP routine names, function prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python. 2001-05-22 21:56:42 +00:00
Jack Jansen
0e04eecdbf First step in porting MacPython modules to OSX/unix: break all references between modules except for the obj_New() and obj_Convert() routines, the PyArg_Parse and Py_BuildValue helpers.
And these can now be vectored through glue routines (by defining USE_TOOLBOX_OBJECT_GLUE) which will do the necessary imports, whereupon the module's init routine will tell the glue routine about the real conversion routine address and everything is fine again.
2001-05-17 21:58:34 +00:00
Jack Jansen
723ad8ae73 More toolbox modules adapted to Universal Headers 3.3.2. 2000-12-12 22:10:21 +00:00
Jack Jansen
9d8b96c850 pymactoolbox.h contains protoypes for all externally visible toolbox module
functions. Include it in stead of duplicating the declarations everywhere. Also
cleaned up toolbox module exports, and got rid of resNotFound error.
2000-07-14 22:16:45 +00:00
Jack Jansen
deb6373fff Data of type Point is passed by value, not by reference. 2000-03-22 15:35:24 +00:00
Jack Jansen
a1a0fef2ea Unified handle-conversion scheme to
handle = Ctl.as_Resource(ctl)
  ctl = Ctl.as_Control(handle)
and similarly for List, Menu, TE. The old handle.as_Control() methods are
still there for backward compatability.
1999-12-23 14:32:06 +00:00
Jack Jansen
a05ac607d7 Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. 1999-12-12 21:41:51 +00:00
Jack Jansen
0c4d947eac Replaced addpack by handcrafted code to find the bgen stuff. 1998-04-17 14:07:56 +00:00
Jack Jansen
21f96872f2 Regenerated from Universal Headers 3.0.1. Some new calls are
blacklisted, because they are not available in classic 68k programs,
and bgen doesn't have a way to put #ifdef/#endif in the generated
code. For now we only implement calls that work on all three models.
1998-02-20 16:02:09 +00:00
Jack Jansen
a755e68df6 Export type objects to Python 1997-09-20 17:40:22 +00:00
Jack Jansen
d84e7aaf00 Regenerated 1996-08-02 11:24:34 +00:00
Jack Jansen
19171a21fd Added support for accessing a few more TERec members 1996-04-16 14:32:01 +00:00
Jack Jansen
46d9e79de6 bgen-generators now drop the python definition file straight in the
Lib:toolbox folder.
1996-04-12 16:29:23 +00:00
Jack Jansen
8a452d6fa1 Interface to TextEdit toolbox 1996-04-10 14:41:08 +00:00