Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated (and regenerated) for name change in tp_init method arguments: | Jack Jansen | 2005-07-03 | 1 | -19/+20 |
| | | | | they are now _self, _args and _kwds. | ||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 3 | -101/+100 |
| | |||||
* | Finished update to UH 3.4.2. | Jack Jansen | 2003-12-06 | 1 | -14/+14 |
| | |||||
* | Got rid of macglue.h, replacing it by pymactoolbox.h where relevant. | Jack Jansen | 2003-11-20 | 1 | -5/+0 |
| | | | | Cleaned up various things in the toolbox modules. | ||||
* | Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS: | Jack Jansen | 2003-11-19 | 2 | -33/+3 |
| | | | | MacOS9isms. | ||||
* | - Various tweaks to shut up compiler warnings. | Jack Jansen | 2002-12-23 | 2 | -5/+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 | 3 | -762/+13 |
| | | | | | | 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 Jansen | 2002-12-03 | 2 | -14/+43 |
| | | | | | | 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 | 2 | -11/+21 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Moved CoreFoundation type support to bgen/macsupport. | Jack Jansen | 2002-08-22 | 1 | -1/+0 |
| | |||||
* | Regenerated with PyDoc_STR() around docstrings. | Jack Jansen | 2002-08-16 | 1 | -166/+166 |
| | |||||
* | 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 |
| | |||||
* | The output MenuRef of GetMenuItemHierarchicalMenu() may be NULL. | Just van Rossum | 2002-01-03 | 2 | -1/+3 |
| | |||||
* | rectified copy/paste oversight in comment | Just van Rossum | 2002-01-02 | 2 | -2/+4 |
| | |||||
* | - Added support for optional MenuObj arguments | Just van Rossum | 2002-01-02 | 3 | -0/+405 |
| | | | | | | | | - Added a bunch of calls as functions with an optional MenuObj first argument. The same calls already exist as methods, but then the first arg isn't optional... The method versions could go as far as I'm concerned. Jack? | ||||
* | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 1 | -0/+4 |
| | |||||
* | Adapted for Universal Headers 3.4 | Jack Jansen | 2001-12-16 | 3 | -104/+1017 |
| | |||||
* | 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 | 2 | -7/+378 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 1 | -0/+4 |
| | |||||
* | Regenerated without default int return types. | Jack Jansen | 2001-09-04 | 1 | -1/+1 |
| | |||||
* | Renamed. | Jack Jansen | 2001-08-23 | 1 | -2558/+0 |
| | |||||
* | Renamed the Mac toolbox modules to have an initial _ in their name. | Jack Jansen | 2001-08-23 | 1 | -0/+2566 |
| | |||||
* | 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 | 2 | -391/+145 |
| | | | | 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/+26 |
| | | | | | | 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. | ||||
* | Added generators for EnableMenuItem and CheckMenuItem (which have Mac in ↵ | Jack Jansen | 2001-01-29 | 2 | -0/+53 |
| | | | | front of their name in the include files). | ||||
* | Adapted to Universal Headers 3.3.2. More to follow. | Jack Jansen | 2000-12-10 | 3 | -53/+888 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 3 | -26/+26 |
| | |||||
* | 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. | ||||
* | Changed all (hopefully) uses of unsigned 16 bit value to use H format ↵ | Jack Jansen | 2000-07-07 | 1 | -9/+9 |
| | | | | specifier, now that h is signed-only. | ||||
* | Made the core toolbox modules carbon-compatible using the new greylist ↵ | Jack Jansen | 2000-06-02 | 3 | -0/+90 |
| | | | | | | 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. | ||||
* | Unified handle-conversion scheme to | Jack Jansen | 1999-12-23 | 3 | -13/+13 |
| | | | | | | | handle = Ctl.as_Resource(ctl) ctl = Ctl.as_Control(handle) and similarly for List, Menu, TE. The old handle.as_Control() methods are still there for backward compatability. | ||||
* | Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. | Jack Jansen | 1999-12-12 | 2 | -258/+589 |
| | |||||
* | Added Ctl.as_Control and Menu.as_Menu methods, which take a resource as | Jack Jansen | 1999-02-07 | 3 | -0/+26 |
| | | | | argument and return a Control or Menu object. | ||||
* | Grmpf, a lot more routines have gotten a "Mac" prefix for their | Jack Jansen | 1998-04-24 | 3 | -0/+146 |
| | | | | | | 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 | 2 | -22/+26 |
| | |||||
* | Replaced addpack by handcrafted code to find the bgen stuff. | Jack Jansen | 1998-04-17 | 2 | -5/+4 |
| | |||||
* | Regerated: Style and StyleParameter are different beasts | Jack Jansen | 1998-02-25 | 1 | -2/+2 |
| | |||||
* | Regenerated from Universal Headers 3.0.1. Some new calls are | Jack Jansen | 1998-02-20 | 1 | -226/+655 |
| | | | | | | 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 |
| | |||||
* | - Changed GestaltEqu.h to Gestalt.h | Jack Jansen | 1997-02-24 | 2 | -2/+0 |
| | | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit) | ||||
* | Regenerated | Jack Jansen | 1996-08-02 | 1 | -3/+0 |
| | |||||
* | Removed ...gen.py files from repository | Jack Jansen | 1996-04-16 | 1 | -272/+0 |
| | |||||
* | bgen-generators now drop the python definition file straight in the | Jack Jansen | 1996-04-12 | 2 | -2/+3 |
| | | | | Lib:toolbox folder. | ||||
* | Replaced various dummy updateRegions by real arguments | Jack Jansen | 1996-04-10 | 2 | -1/+4 |
| | |||||
* | - Added color window/pixmap support | Jack Jansen | 1995-12-12 | 2 | -2/+11 |
| | | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles |