Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Various tweaks to shut up compiler warnings. | Jack Jansen | 2002-12-23 | 1 | -1/+2 |
| | | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls. | ||||
* | Regenerated with inheritance-aware xxxx_Check() macros. | Jack Jansen | 2002-12-19 | 1 | -1/+1 |
| | |||||
* | Getting rid of pre-Carbon (MacOS8) support. All code depending on | Jack Jansen | 2002-12-12 | 2 | -238/+7 |
| | | | | | | 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). | ||||
* | Fixed so the Res.Resource() accepts either another resource, a string | Jack Jansen | 2002-12-05 | 3 | -66/+129 |
| | | | | or no argument (giving an empty resource). | ||||
* | Converted the Carbon modules to use PEP252-style objects, with | Jack Jansen | 2002-11-29 | 2 | -95/+111 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Define PyDoc_STR if it isn't defined. This makes these modules compile | Jack Jansen | 2002-11-18 | 2 | -0/+6 |
| | | | | for Python 2.2. | ||||
* | Regenerated with PyDoc_STR() around docstrings. | Jack Jansen | 2002-08-16 | 1 | -67/+67 |
| | |||||
* | After generating the Python file with definitions try to run it, so | Jack Jansen | 2002-08-15 | 1 | -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 Jansen | 2002-08-05 | 1 | -2/+1 |
| | |||||
* | Regenerated. | Jack Jansen | 2002-04-23 | 1 | -1/+1 |
| | |||||
* | Generate with weaklink stubs, so missing routines (on MacOS 8.6 and earlier) | Jack Jansen | 2002-03-22 | 2 | -2/+188 |
| | | | | | | don't cause import failure. Fixes 531398, 2.2.1 candidate. | ||||
* | Some of the newer routines return an OSErr, like most toolbox calls, in ↵ | Jack Jansen | 2002-03-18 | 2 | -95/+67 |
| | | | | | | stead of depending on ResError(). Second half of fix for #531291. 2.2.1 candidate. | ||||
* | Some of the new routines are carbon-only. | Jack Jansen | 2002-01-04 | 2 | -0/+14 |
| | |||||
* | Added some support for unicode arguments. | Jack Jansen | 2002-01-01 | 3 | -4/+111 |
| | |||||
* | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 3 | -0/+59 |
| | |||||
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -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 (the | Jack Jansen | 2001-11-30 | 1 | -5/+1 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | A few more gcc warnings bite the dust. | Jack Jansen | 2001-09-05 | 2 | -6/+12 |
| | |||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 3 | -5/+12 |
| | |||||
* | Regenerated without default int return types. | Jack Jansen | 2001-09-04 | 1 | -1/+1 |
| | |||||
* | Renamed. | Jack Jansen | 2001-08-23 | 1 | -1579/+0 |
| | |||||
* | Renamed the Mac toolbox modules to have an initial _ in their name. | Jack Jansen | 2001-08-23 | 1 | -0/+1587 |
| | |||||
* | 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. | ||||
* | Merging appropriate 2.1.1 fixes back into the main trunk. | Jack Jansen | 2001-08-03 | 1 | -1/+0 |
| | |||||
* | Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵ | Jack Jansen | 2001-05-22 | 3 | -236/+102 |
| | | | | 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 | 2 | -0/+30 |
| | | | | | | 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. | ||||
* | Enable FSpResourceFileAlreadyOpen only for Carbon. This is not strictly ↵ | Jack Jansen | 2001-03-02 | 2 | -0/+7 |
| | | | | correct: OS9 InterfaceLib has it, but enabling it will make Python refuse to run on 8.6 and earlier. | ||||
* | Remove (unused) regex imports. | Jack Jansen | 2001-01-02 | 1 | -1/+0 |
| | |||||
* | More toolbox modules adapted to Universal Headers 3.3.2. | Jack Jansen | 2000-12-12 | 3 | -1/+190 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 2 | -13/+13 |
| | |||||
* | pymactoolbox.h contains protoypes for all externally visible toolbox module | Jack Jansen | 2000-07-14 | 2 | -39/+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 | 2 | -0/+47 |
| | | | | | | 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. | ||||
* | Handles were never disposed. Added an AutoDispose(onoff) method to control this. | Jack Jansen | 2000-03-08 | 3 | -10/+143 |
| | | | | Also added a Handle() function which is like Resource() but has auto-dispose on by default. | ||||
* | In places where a ResObj is expected for PyArg_Parse and the object passed ↵ | Jack Jansen | 1999-12-12 | 2 | -10/+53 |
| | | | | | | in isn't but it does have an as_Resource method use that. This makes life a lot easier for appearance portability (and was needed anyway). | ||||
* | Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. | Jack Jansen | 1999-12-12 | 1 | -0/+12 |
| | |||||
* | Grmpf, a lot more routines have gotten a "Mac" prefix for their | Jack Jansen | 1998-04-24 | 2 | -0/+26 |
| | | | | | | declaration, probably so the universal headers are useable on windows/unix too. Have to think of a more definite workaround later, for now we manually declare the old names in the *edit.py files. | ||||
* | Re-generated from new (3.1) universal headers | Jack Jansen | 1998-04-21 | 1 | -3/+3 |
| | |||||
* | Replaced addpack by handcrafted code to find the bgen stuff. | Jack Jansen | 1998-04-17 | 2 | -5/+3 |
| | |||||
* | Regenerated from Universal Headers 3.0.1. Some new calls are | Jack Jansen | 1998-02-20 | 1 | -2/+2 |
| | | | | | | 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 Python | Jack Jansen | 1997-09-20 | 1 | -0/+4 |
| | |||||
* | Added #include <string.h> for memcpy() | Jack Jansen | 1997-08-15 | 2 | -0/+2 |
| | |||||
* | Removed unused var | Jack Jansen | 1996-08-01 | 2 | -5/+0 |
| | |||||
* | Removed ...gen.py files from repository | Jack Jansen | 1996-04-16 | 1 | -277/+0 |
| | |||||
* | bgen-generators now drop the python definition file straight in the | Jack Jansen | 1996-04-12 | 3 | -2/+6 |
| | | | | Lib:toolbox folder. | ||||
* | - Added color window/pixmap support | Jack Jansen | 1995-12-12 | 2 | -3/+46 |
| | | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles | ||||
* | New universal headers, a few bit-flags were added. | Jack Jansen | 1995-11-14 | 2 | -1/+2 |
| | |||||
* | New universal headers | Jack Jansen | 1995-10-09 | 1 | -1/+0 |
| | |||||
* | Generated anew | Jack Jansen | 1995-08-17 | 2 | -1/+15 |
| | |||||
* | Added ResObj_OptNew, like ResObj_New but returns None when passed NULL. | Jack Jansen | 1995-08-17 | 1 | -0/+13 |
| | |||||
* | Added methods as_Menu and as_Control to convert a resource | Jack Jansen | 1995-06-18 | 3 | -1/+97 |
| | | | | | | | to those object types You can now set the data attribute of a resource with the expected semantics (but you have to call ChangedResource yourself) |