Commit Graph

27 Commits

Author SHA1 Message Date
Jack Jansen 9d79990ac7 Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.
Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-24 23:04:18 +00:00
Jack Jansen b99e521319 - Updated to Waste 2.0.
- Use waste included with CW in stead of separate package.
2002-01-11 12:37:15 +00:00
Jack Jansen 620a7667eb Updated to Universal Headers 3.4 2001-12-18 15:39:38 +00:00
Guido van Rossum 146483964e Patch supplied by Burton Radons for his own SF bug #487390: Modifying
type.__module__ behavior.

This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this).  Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right.  Apologies if they're
not.  This also touches the weakref docs, which contains a sample type
object initializer.  It also touches the mmap test output, because the
mmap type's repr is included in that output.  It touches object.h to
put the correct description in a comment.
2001-12-08 18:02:58 +00:00
Jack Jansen b3be216b41 Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
changes from start of branch upto r22b2 were already merged, of course).
2001-11-30 14:16:36 +00:00
Jack Jansen 044d95e9f7 A few more gcc warnings bite the dust. 2001-09-05 15:44:37 +00:00
Jack Jansen 6b9289ff1a Added a const to shut up a compiler warning. 2001-06-20 21:21:07 +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 5396feb3bb Quick (manual) fix to make the module compile with Waste 2.0. TBD later. 2001-01-24 16:03:05 +00:00
Jack Jansen 97ed907df6 Some of the types are signed 8 bit ints. Fixed. 2000-09-08 22:06:16 +00:00
Jack Jansen fa1e27d8d2 Got rid of Py_FatalError calls. 2000-09-08 10:21:44 +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 0b13e7c153 Changed all (hopefully) uses of unsigned 16 bit value to use H format specifier, now that h is signed-only. 2000-07-07 13:09:35 +00:00
Jack Jansen deff89c8be Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate. 1998-10-12 20:53:15 +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 a4f0309282 Added WEGetTabSize and WESetTabSize, at Just's request 1998-03-02 16:56:18 +00:00
Jack Jansen 2369a98eb9 Updated for Waste 1.3 1998-02-20 15:57:30 +00:00
Jack Jansen a755e68df6 Export type objects to Python 1997-09-20 17:40:22 +00:00
Jack Jansen 8505ef8c6c Added #include <WETabs.h>, which had somehow gone missing 1997-08-27 14:09:25 +00:00
Jack Jansen 176f3a9339 Added support for tab hooks 1996-10-23 15:43:46 +00:00
Jack Jansen 7df3606f0d Fixed object-handler-install bug 1996-10-01 11:41:14 +00:00
Jack Jansen 9f2ff9124c Fixed bug in object-handler install arg handling 1996-10-01 10:48:45 +00:00
Jack Jansen 2268af5873 Upgraded to Waste 1.2f 1996-08-06 16:04:22 +00:00
Jack Jansen 25241d9978 Fixed callback handling on 68K machines. 1996-05-20 11:30:45 +00:00
Jack Jansen 756522f426 Added support for callbacks (for embedded objects) 1996-05-07 15:24:01 +00:00
Jack Jansen 8ae8e4f963 Made style and soup handles optional 1996-04-23 16:17:08 +00:00
Jack Jansen 90ecdf49df An interface to WASTE, an all-singing-all-dancing TextEdit replacement 1996-04-16 14:29:15 +00:00