summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ae
Commit message (Collapse)AuthorAgeFilesLines
* It turns out that some calls return AEDesc records that are "borrowed",Jack Jansen2003-01-172-3/+69
| | | | | | | the AEDesc data shouldn't be disposed when the Python object is. Added a C call AEDesc_NewBorrowed() to create these objects and a Python method old=AEDesc.AutoDispose(onoff) to change auto-dispose state.
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-231-1/+2
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-191-1/+1
|
* Get rid of support for Universal Headers older than 3.4 and various otherJack Jansen2002-12-132-16/+0
| | | | outdated things.
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-122-18/+0
| | | | | | TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9).
* Added PEP253 support to most Carbon modules. This isn't complete yet:Jack Jansen2002-12-032-14/+42
| | | | | | some of the more compilcated cases (CF, Res) haven't been done yet. Also, various types should inherit from each other (anything with an as_Resource method should be a Resource subtype, the CF types should become one family).
* Converted the Carbon modules to use PEP252-style objects, withJack Jansen2002-11-292-87/+94
| | | | | | | | | | | | | | | | descriptors in stead of manual getattr hooks to get at attributes of the objects. For Qd I have in stead gotten rid of most of the attribute access in favor of the carbon-style accessor methods (with the exception of visRgn, to be done later), and of the Carbon.Qd.qd global object, for which accessor functions are also available. For List I have fixed the fact that various methods were incorrectly generated as functions. CF is untouched: PEP252 doesn't allow "poor-mans-inheritance" with basechain, so it will have to wait for PEP253 support.
* Regenerated with PyDoc_STR() around docstrings.Jack Jansen2002-08-161-46/+46
|
* After generating the Python file with definitions try to run it, soJack Jansen2002-08-151-0/+2
| | | | we catch errors during the build process in stead of later during runtime.
* Enable building of Carbon toolbox modules with unix-Python.Jack Jansen2002-08-051-2/+1
|
* Regenerated.Jack Jansen2002-04-231-1/+1
|
* Weaklink most toolbox modules, improving backward compatibility. Modules ↵Jack Jansen2002-03-251-2/+2
| | | | | | 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.
* Weaklink most toolbox modules, improving backward compatibility. Modules ↵Jack Jansen2002-03-241-0/+138
| | | | | | | | 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.
* Ugh, by all means, _do_ report exceptions somehow ;-)Just van Rossum2002-01-042-2/+8
|
* There's a new include file AEInteraction.h which contains AESend and friends.Jack Jansen2001-12-172-1/+185
|
* Adapted for Universal Headers 3.4Jack Jansen2001-12-161-180/+0
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-1/+1
| | | | | | | | | | | | | 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.
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-301-5/+1
| | | | changes from start of branch upto r22b2 were already merged, of course).
* Shut up many more gcc warnings.Jack Jansen2001-09-051-7/+4
|
* Regenerated without default int return types.Jack Jansen2001-09-041-1/+1
|
* Don't call PyMac_HandleEvent if we're in unix-Python.Jack Jansen2001-09-012-0/+4
|
* Renamed.Jack Jansen2001-08-231-1270/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+1283
|
* The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵Jack Jansen2001-08-231-2/+2
| | | | usage is through a wrapper module (without underscore) which lives in the Carbon package.
* Merging appropriate 2.1.1 fixes back into the main trunk.Jack Jansen2001-08-031-1/+0
|
* Got rid of a silly #if.Jack Jansen2001-06-201-1/+1
|
* Adapted to Universal Headers 3.4: new refcontype and use UPP names in stead ↵Jack Jansen2001-06-202-3/+18
| | | | of Proc names for callback creation.
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-222-157/+67
| | | | prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python.
* First step in porting MacPython modules to OSX/unix: break all references ↵Jack Jansen2001-05-172-0/+20
| | | | | | 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.
* Remove (unused) regex imports.Jack Jansen2001-01-021-1/+0
|
* Use new multi-input-file feature of bgen in stead of @-file hack to parse ↵Jack Jansen2000-12-123-247/+339
| | | | multiple header files. A side effect is that the ObjectSupportLib routines are now also available in Python.
* Adapted to Universal Headers 3.3.2. More to follow.Jack Jansen2000-12-103-31/+109
|
* Updated for new AppleScript structure and moved to Lib (it's far too useful ↵Jack Jansen2000-08-201-71/+0
| | | | to lurk in the source folder).
* Fixed again to work with the old scripting interface (so we can test the new ↵Jack Jansen2000-08-201-1/+1
| | | | one actually still works).
* Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define.Jack Jansen2000-07-142-44/+0
|
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-142-2/+2
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-142-37/+3
| | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-022-2/+30
| | | | | | feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open. Macmodule and macosmodule have also been carbonified. Some functionality is still missing there.
* AETransactionID was mistakenly defined as a short (it is a long). Fixed.Jack Jansen2000-03-142-2/+2
|
* Bgen now understands more constant definitions, but that means that a few ↵Jack Jansen1999-12-142-0/+15
| | | | which are not parseable in Python have to be blacklisted.
* Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.Jack Jansen1998-10-122-2/+2
|
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-173-10/+4
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-203-246/+266
| | | | | | 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.
* Export type objects to PythonJack Jansen1997-09-201-0/+4
|
* Made AEDesc_{New,Convert} globalJack Jansen1997-08-152-8/+8
|
* Adapted to new event handling. It is now also possible to abort out ofJack Jansen1997-06-202-2/+12
| | | | an AESend with command-. (unless specifically disabled, of course).
* RegeneratedJack Jansen1996-08-021-3/+0
|
* Removed ...gen.py files from repositoryJack Jansen1996-04-161-277/+0
|
* bgen-generators now drop the python definition file straight in theJack Jansen1996-04-123-4/+8
| | | | Lib:toolbox folder.
* Modules implementing WWW and URL suite, and a module to control netscape.Jack Jansen1996-01-291-0/+76
|