53 Commits

Author SHA1 Message Date
Jack Jansen
fb25d88534 Backport of _AEmodule.c 1.10 and aesupport.py 1.26:
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, inAlso blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:21:42 +00:00
Jack Jansen
a063f2569d Backport of 1.25:
Ugh, by all means, _do_ report exceptions somehow ;-)
2002-02-27 22:48:37 +00:00
Jack Jansen
c8363d7e01 Backport of 1.9:
Ugh, by all means, _do_ report exceptions somehow ;-)
2002-02-24 22:57:48 +00:00
Jack Jansen
086f7c3890 There's a new include file AEInteraction.h which contains AESend and friends. 2001-12-17 11:47:27 +00:00
Jack Jansen
2168e9d602 Adapted for Universal Headers 3.4 2001-12-16 20:18:40 +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
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
62d24a0f50 Don't call PyMac_HandleEvent if we're in unix-Python. 2001-09-01 23:38:50 +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
cbed91b4db Merging appropriate 2.1.1 fixes back into the main trunk. 2001-08-03 13:31:36 +00:00
Jack Jansen
2942131dac Got rid of a silly #if. 2001-06-20 21:44:38 +00:00
Jack Jansen
ff75c214ef Adapted to Universal Headers 3.4: new refcontype and use UPP names in stead of Proc names for callback creation. 2001-06-20 20:53:38 +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
7ee67a1224 Remove (unused) regex imports. 2001-01-02 22:02:45 +00:00
Jack Jansen
8ed81303f6 Use new multi-input-file feature of bgen in stead of @-file hack to parse multiple header files. A side effect is that the ObjectSupportLib routines are now also available in Python. 2000-12-12 22:09:11 +00:00
Jack Jansen
f7d5aa61d3 Adapted to Universal Headers 3.3.2. More to follow. 2000-12-10 23:43:49 +00:00
Jack Jansen
742ca0385a Updated for new AppleScript structure and moved to Lib (it's far too useful to lurk in the source folder). 2000-08-20 20:06:51 +00:00
Jack Jansen
18b47a07b7 Fixed again to work with the old scripting interface (so we can test the new one actually still works). 2000-08-20 20:02:39 +00:00
Jack Jansen
a44923fbfe Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define. 2000-07-14 22:52:50 +00:00
Jack Jansen
74a1e63a89 Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. 2000-07-14 22:37:27 +00:00