summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/cg
Commit message (Collapse)AuthorAgeFilesLines
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-051-0/+8
| | | | | | | | | | | | | | | | | | 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 importsChristian Heimes2008-02-231-1/+0
|
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-031-44/+45
| | | | they are now _self, _args and _kwds.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-182-112/+111
|
* Ported to Universal Headers 3.4.2. Qd and Qt remain to be done.Jack Jansen2003-12-032-46/+77
| | | | Completely untested.
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-201-5/+0
| | | | Cleaned up various things in the toolbox modules.
* Getting rid of code conditional on TARGET_API_MAC_*.Jack Jansen2003-11-192-250/+0
|
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-192-13/+3
| | | | MacOS9isms.
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-231-1/+2
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-191-1/+1
|
* Added PEP253 support to most Carbon modules. This isn't complete yet:Jack Jansen2002-12-032-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, withJack Jansen2002-11-292-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.
* Regenerated with PyDoc_STR() around docstrings.Jack Jansen2002-08-161-59/+59
|
* After generating the Python file with definitions try to run it, soJack Jansen2002-08-151-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 Jansen2002-08-051-2/+1
|
* Regenerated.Jack Jansen2002-04-231-1/+1
|
* Added ClipCGContextToRegion() from Quickdraw.h.Just van Rossum2002-03-044-0/+30
|
* Added support for SyncCGContextOriginWithPort().Just van Rossum2002-03-024-0/+25
|
* Updated to Universal Headers 3.4Jack Jansen2001-12-181-0/+4
|
* include the proper header for Mach-OJust van Rossum2001-12-132-2/+2
|
* second CoreGraphics batchJust van Rossum2001-12-138-0/+3414