Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the Mac modules | Benjamin Peterson | 2008-05-12 | 1 | -237/+0 |
| | |||||
* | Kill execfile(), use exec() instead | Neal Norwitz | 2007-08-12 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -103/+103 |
| | |||||
* | Getting rid of code conditional on TARGET_API_MAC_*. | Jack Jansen | 2003-11-19 | 1 | -6/+0 |
| | |||||
* | PyDoc_STR is always defined nowadays (and has been for quite some time:-) | Jack Jansen | 2003-11-19 | 1 | -3/+0 |
| | |||||
* | Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS: | Jack Jansen | 2003-11-19 | 1 | -5/+0 |
| | | | | MacOS9isms. | ||||
* | It turns out that some calls return AEDesc records that are "borrowed", | Jack Jansen | 2003-01-17 | 1 | -2/+37 |
| | | | | | | | 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. | ||||
* | Get rid of support for Universal Headers older than 3.4 and various other | Jack Jansen | 2002-12-13 | 1 | -8/+0 |
| | | | | outdated things. | ||||
* | Added PEP253 support to most Carbon modules. This isn't complete yet: | Jack Jansen | 2002-12-03 | 1 | -1/+1 |
| | | | | | | 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, with | Jack Jansen | 2002-11-29 | 1 | -43/+36 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Weaklink most toolbox modules, improving backward compatibility. Modules ↵ | Jack Jansen | 2002-03-25 | 1 | -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. | ||||
* | Ugh, by all means, _do_ report exceptions somehow ;-) | Just van Rossum | 2002-01-04 | 1 | -1/+4 |
| | |||||
* | Don't call PyMac_HandleEvent if we're in unix-Python. | Jack Jansen | 2001-09-01 | 1 | -0/+2 |
| | |||||
* | The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵ | Jack Jansen | 2001-08-23 | 1 | -2/+2 |
| | | | | usage is through a wrapper module (without underscore) which lives in the Carbon package. | ||||
* | Got rid of a silly #if. | Jack Jansen | 2001-06-20 | 1 | -1/+1 |
| | |||||
* | Adapted to Universal Headers 3.4: new refcontype and use UPP names in stead ↵ | Jack Jansen | 2001-06-20 | 1 | -1/+11 |
| | | | | of Proc names for callback creation. | ||||
* | Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵ | Jack Jansen | 2001-05-22 | 1 | -4/+8 |
| | | | | 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 Jansen | 2001-05-17 | 1 | -0/+10 |
| | | | | | | 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. | ||||
* | Use new multi-input-file feature of bgen in stead of @-file hack to parse ↵ | Jack Jansen | 2000-12-12 | 1 | -1/+1 |
| | | | | 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 Jansen | 2000-12-10 | 1 | -0/+1 |
| | |||||
* | Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define. | Jack Jansen | 2000-07-14 | 1 | -22/+0 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 1 | -1/+1 |
| | |||||
* | pymactoolbox.h contains protoypes for all externally visible toolbox module | Jack Jansen | 2000-07-14 | 1 | -1/+1 |
| | | | | | 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 Jansen | 2000-06-02 | 1 | -1/+15 |
| | | | | | | 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 Jansen | 2000-03-14 | 1 | -1/+1 |
| | |||||
* | Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate. | Jack Jansen | 1998-10-12 | 1 | -1/+1 |
| | |||||
* | Replaced addpack by handcrafted code to find the bgen stuff. | Jack Jansen | 1998-04-17 | 1 | -2/+0 |
| | |||||
* | Regenerated from Universal Headers 3.0.1. Some new calls are | Jack Jansen | 1998-02-20 | 1 | -0/+4 |
| | | | | | | 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. | ||||
* | Made AEDesc_{New,Convert} global | Jack Jansen | 1997-08-15 | 1 | -3/+3 |
| | |||||
* | Adapted to new event handling. It is now also possible to abort out of | Jack Jansen | 1997-06-20 | 1 | -1/+6 |
| | | | | an AESend with command-. (unless specifically disabled, of course). | ||||
* | Rather massive changes: | Jack Jansen | 1995-06-05 | 1 | -0/+5 |
| | | | | | | | - Make the stuff run on Jack's machine (and hopefully all machines) in stead of Guido's only (addpack stuff) - Use the Universal Headers in stead of the Think headers - Fixed the test programs to use the new routine names | ||||
* | use PyMac_Yield() instead of PyMac_Idle() | Guido van Rossum | 1995-03-23 | 1 | -1/+1 |
| | |||||
* | another round... ported to __SC__ | Guido van Rossum | 1995-02-19 | 1 | -1/+1 |
| | |||||
* | different #ifdefs | Guido van Rossum | 1995-02-14 | 1 | -4/+3 |
| | |||||
* | more think/mw changes | Guido van Rossum | 1995-02-05 | 1 | -6/+36 |
| | |||||
* | Committed a more or less working version. | Guido van Rossum | 1995-01-30 | 1 | -0/+168 |