Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the Mac modules | Benjamin Peterson | 2008-05-12 | 1 | -221/+0 |
| | |||||
* | Kill execfile(), use exec() instead | Neal Norwitz | 2007-08-12 | 1 | -2/+2 |
| | |||||
* | Updated (and regenerated) for name change in tp_init method arguments: | Jack Jansen | 2005-07-03 | 1 | -4/+4 |
| | | | | they are now _self, _args and _kwds. | ||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -148/+148 |
| | |||||
* | 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. | ||||
* | Fixed so the Res.Resource() accepts either another resource, a string | Jack Jansen | 2002-12-05 | 1 | -1/+37 |
| | | | | or no argument (giving an empty resource). | ||||
* | Converted the Carbon modules to use PEP252-style objects, with | Jack Jansen | 2002-11-29 | 1 | -50/+42 |
| | | | | | | | | | | | | | | | | 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 | 1 | -0/+3 |
| | | | | for Python 2.2. | ||||
* | Generate with weaklink stubs, so missing routines (on MacOS 8.6 and earlier) | Jack Jansen | 2002-03-22 | 1 | -2/+2 |
| | | | | | | 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 | 1 | -6/+7 |
| | | | | | | stead of depending on ResError(). Second half of fix for #531291. 2.2.1 candidate. | ||||
* | Added some support for unicode arguments. | Jack Jansen | 2002-01-01 | 1 | -2/+2 |
| | |||||
* | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 1 | -0/+1 |
| | |||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵ | Jack Jansen | 2001-05-22 | 1 | -13/+11 |
| | | | | 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/+15 |
| | | | | | | 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. | ||||
* | More toolbox modules adapted to Universal Headers 3.3.2. | Jack Jansen | 2000-12-12 | 1 | -0/+2 |
| | |||||
* | pymactoolbox.h contains protoypes for all externally visible toolbox module | Jack Jansen | 2000-07-14 | 1 | -2/+0 |
| | | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error. | ||||
* | Handles were never disposed. Added an AutoDispose(onoff) method to control this. | Jack Jansen | 2000-03-08 | 1 | -3/+24 |
| | | | | 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 | 1 | -5/+28 |
| | | | | | | 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). | ||||
* | Replaced addpack by handcrafted code to find the bgen stuff. | Jack Jansen | 1998-04-17 | 1 | -3/+0 |
| | |||||
* | Added #include <string.h> for memcpy() | Jack Jansen | 1997-08-15 | 1 | -0/+1 |
| | |||||
* | Removed unused var | Jack Jansen | 1996-08-01 | 1 | -1/+0 |
| | |||||
* | - Added color window/pixmap support | Jack Jansen | 1995-12-12 | 1 | -1/+18 |
| | | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles | ||||
* | 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 | 1 | -0/+31 |
| | | | | | | | 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) | ||||
* | Trying again to check it in. Changes to: | Jack Jansen | 1995-06-06 | 1 | -0/+3 |
| | | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions | ||||
* | added Resource(), to create new resources from Python | Guido van Rossum | 1995-02-05 | 1 | -0/+1 |
| | |||||
* | Committed a more or less working version. | Guido van Rossum | 1995-01-30 | 1 | -0/+77 |