Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MacOS X: Enable 4-way universal builds | Ronald Oussoren | 2008-06-05 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | This patch adds a new configure argument on OSX: --with-universal-archs=[32-bit|64-bit|all] When used with the --enable-universalsdk option this controls which CPU architectures are includes in the framework. The default is 32-bit, meaning i386 and ppc. The most useful alternative is 'all', which includes all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64). This includes limited support for the Carbon bindings in 64-bit mode as well, limited because (a) I haven't done extensive testing and (b) a large portion of the Carbon API's aren't available in 64-bit mode anyway. I've also duplicated a feature of Apple's build of python: setting the environment variable 'ARCHFLAGS' controls the '-arch' flags used for building extensions using distutils. | ||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+0 |
| | |||||
* | Updated (and regenerated) for name change in tp_init method arguments: | Jack Jansen | 2005-07-03 | 1 | -1/+1 |
| | | | | they are now _self, _args and _kwds. | ||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 3 | -72/+70 |
| | |||||
* | 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 | -11/+3 |
| | | | | MacOS9isms. | ||||
* | Getting rid of pre-Carbon (MacOS8) support. All code depending on | Jack Jansen | 2002-12-12 | 2 | -163/+6 |
| | | | | | | 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). | ||||
* | Converted the Carbon modules to use PEP252-style objects, with | Jack Jansen | 2002-11-29 | 1 | -17/+0 |
| | | | | | | | | | | | | | | | | 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 Jansen | 2002-08-16 | 1 | -32/+32 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | Weaklink most toolbox modules, improving backward compatibility. Modules ↵ | Jack Jansen | 2002-03-24 | 1 | -0/+93 |
| | | | | | | | | 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. | ||||
* | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 1 | -0/+4 |
| | |||||
* | TickCount moved to a different header file. We manually added it back in ↵ | Jack Jansen | 2001-12-17 | 2 | -0/+24 |
| | | | | here, for conveninece. | ||||
* | Adapted for Universal Headers 3.4 | Jack Jansen | 2001-12-16 | 1 | -14/+150 |
| | |||||
* | Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the | Jack Jansen | 2001-11-30 | 1 | -4/+0 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 1 | -1/+4 |
| | |||||
* | Renamed. | Jack Jansen | 2001-08-23 | 1 | -451/+0 |
| | |||||
* | Renamed the Mac toolbox modules to have an initial _ in their name. | Jack Jansen | 2001-08-23 | 1 | -0/+459 |
| | |||||
* | 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 | -68/+34 |
| | | | | prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python. | ||||
* | Adapted to Universal Headers 3.3.2. More to follow. | Jack Jansen | 2000-12-10 | 2 | -1/+72 |
| | |||||
* | Oops, WaitNextEvent was hand-coded, and it also needed the h->H conversion ↵ | Jack Jansen | 2000-07-24 | 2 | -2/+2 |
| | | | | for PyArg_ParseTuple format strings. | ||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 2 | -11/+11 |
| | |||||
* | 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 | 2 | -11/+11 |
| | | | | specifier, now that h is signed-only. | ||||
* | Made to work under carbon. | Jack Jansen | 2000-06-20 | 2 | -0/+40 |
| | |||||
* | Bgen now understands more constant definitions, but that means that a few ↵ | Jack Jansen | 1999-12-14 | 1 | -1/+3 |
| | | | | which are not parseable in Python have to be blacklisted. | ||||
* | Added optional mouseregion parameter to WaitNextEvent (which is now | Jack Jansen | 1998-09-17 | 3 | -25/+56 |
| | | | | manually generated). | ||||
* | Replaced addpack by handcrafted code to find the bgen stuff. | Jack Jansen | 1998-04-17 | 1 | -2/+4 |
| | |||||
* | Regenerated from Universal Headers 3.0.1. Some new calls are | Jack Jansen | 1998-02-20 | 1 | -98/+98 |
| | | | | | | 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. | ||||
* | - 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 | -100/+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 | 3 | -2/+7 |
| | |||||
* | - Added color window/pixmap support | Jack Jansen | 1995-12-12 | 1 | -1/+10 |
| | | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles | ||||
* | New universal headers | Jack Jansen | 1995-10-09 | 3 | -29/+31 |
| | |||||
* | Generated anew | Jack Jansen | 1995-08-17 | 2 | -1/+2 |
| | |||||
* | Ported to Universal Header 2.0.1f (i.e. CW6) | Jack Jansen | 1995-06-09 | 4 | -56/+59 |
| | |||||
* | Trying again to check it in. Changes to: | Jack Jansen | 1995-06-06 | 4 | -4/+248 |
| | | | | | | - 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 evtedit.py for SystemClick() | Guido van Rossum | 1995-03-10 | 1 | -0/+6 |
| | |||||
* | the usual | Guido van Rossum | 1995-03-10 | 1 | -3/+0 |
| | |||||
* | more stuff | Guido van Rossum | 1995-02-28 | 2 | -12/+21 |
| | |||||
* | Committed a more or less working version. | Guido van Rossum | 1995-01-30 | 4 | -0/+408 |