summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/evt
Commit message (Collapse)AuthorAgeFilesLines
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-051-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 importsChristian Heimes2008-02-231-1/+0
|
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-031-1/+1
| | | | they are now _self, _args and _kwds.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-183-72/+70
|
* 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 WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-192-11/+3
| | | | MacOS9isms.
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-122-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, withJack Jansen2002-11-291-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 Jansen2002-08-161-32/+32
|
* 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
|
* Weaklink most toolbox modules, improving backward compatibility. Modules ↵Jack Jansen2002-03-251-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 Jansen2002-03-241-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.4Jack Jansen2001-12-181-0/+4
|
* TickCount moved to a different header file. We manually added it back in ↵Jack Jansen2001-12-172-0/+24
| | | | here, for conveninece.
* Adapted for Universal Headers 3.4Jack Jansen2001-12-161-14/+150
|
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-301-4/+0
| | | | changes from start of branch upto r22b2 were already merged, of course).
* Shut up many more gcc warnings.Jack Jansen2001-09-051-1/+4
|
* Renamed.Jack Jansen2001-08-231-451/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+459
|
* The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵Jack Jansen2001-08-231-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 Jansen2001-05-222-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 Jansen2000-12-102-1/+72
|
* Oops, WaitNextEvent was hand-coded, and it also needed the h->H conversion ↵Jack Jansen2000-07-242-2/+2
| | | | for PyArg_ParseTuple format strings.
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-142-11/+11
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-142-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 Jansen2000-07-072-11/+11
| | | | specifier, now that h is signed-only.
* Made to work under carbon.Jack Jansen2000-06-202-0/+40
|
* Bgen now understands more constant definitions, but that means that a few ↵Jack Jansen1999-12-141-1/+3
| | | | which are not parseable in Python have to be blacklisted.
* Added optional mouseregion parameter to WaitNextEvent (which is nowJack Jansen1998-09-173-25/+56
| | | | manually generated).
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-171-2/+4
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-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.hJack Jansen1997-02-242-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)
* RegeneratedJack Jansen1996-08-021-3/+0
|
* Removed ...gen.py files from repositoryJack Jansen1996-04-161-100/+0
|
* bgen-generators now drop the python definition file straight in theJack Jansen1996-04-122-2/+3
| | | | Lib:toolbox folder.
* Replaced various dummy updateRegions by real argumentsJack Jansen1996-04-103-2/+7
|
* - Added color window/pixmap supportJack Jansen1995-12-121-1/+10
| | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles
* New universal headersJack Jansen1995-10-093-29/+31
|
* Generated anewJack Jansen1995-08-172-1/+2
|
* Ported to Universal Header 2.0.1f (i.e. CW6)Jack Jansen1995-06-094-56/+59
|
* Trying again to check it in. Changes to:Jack Jansen1995-06-064-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 Rossum1995-03-101-0/+6
|
* the usualGuido van Rossum1995-03-101-3/+0
|
* more stuffGuido van Rossum1995-02-282-12/+21
|
* Committed a more or less working version.Guido van Rossum1995-01-304-0/+408