Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Regenerated. | Jack Jansen | 2002-04-23 | 1 | -1/+1 |
| | |||||
* | Weaklink most toolbox modules, improving backward compatibility. Modules ↵ | Jack Jansen | 2002-03-24 | 1 | -0/+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. Also blacklisted some constants with definitions that were not Python-compatible. | ||||
* | Lurking bug found by patch for 531291: FSSpecs should be passed to | Jack Jansen | 2002-03-18 | 1 | -1/+1 |
| | | | | | | Py_BuildValue by address, not by value. 2.2.1 candidate. | ||||
* | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 3 | -41/+661 |
| | |||||
* | 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 | -8/+421 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | First tweaks to allow MacPython to be compiled with | Jack Jansen | 2001-11-05 | 2 | -2/+6 |
| | | | | Universal Headers 3.4 | ||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 2 | -4/+10 |
| | |||||
* | Regenerated without default int return types. | Jack Jansen | 2001-09-04 | 1 | -1/+1 |
| | |||||
* | Renamed. | Jack Jansen | 2001-08-23 | 1 | -2806/+0 |
| | |||||
* | Renamed the Mac toolbox modules to have an initial _ in their name. | Jack Jansen | 2001-08-23 | 1 | -0/+2814 |
| | |||||
* | 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. | ||||
* | Reversed the order of the checks for None or a Dialog where a Window is ↵ | Jack Jansen | 2001-06-20 | 2 | -22/+8 |
| | | | | expected so it doesn't crash under OSX/Mach-o. | ||||
* | Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵ | Jack Jansen | 2001-05-22 | 2 | -460/+168 |
| | | | | 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/+52 |
| | | | | | | 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. | ||||
* | Check RefCon backpointer to python object with IsPointerValid() before ↵ | Jack Jansen | 2001-04-25 | 2 | -2/+4 |
| | | | | dereferencing it (carbon only). | ||||
* | Disable GetWindowSpareFlag and GetWindowGoAwayBox on carbon. | Jack Jansen | 2001-02-28 | 2 | -0/+14 |
| | |||||
* | Oops, repr didn't allocate the memory it used... | Jack Jansen | 2001-02-11 | 2 | -1/+19 |
| | |||||
* | Various tweaks to make it everything build and compile again under carbon. ↵ | Jack Jansen | 2001-01-09 | 3 | -0/+16 |
| | | | | Mainly greylisted functions. | ||||
* | Emulate a few more non-carbon calls in carbon and the other way around. | Jack Jansen | 2000-12-19 | 3 | -93/+163 |
| | |||||
* | Added hash() and compare() functions. Needed because multiple WinObj's can ↵ | Jack Jansen | 2000-12-19 | 2 | -2/+35 |
| | | | | now refer to the same underlying WindowRef. | ||||
* | Set autodispose only if RefCon isn't set yet on the window. This way we ↵ | Jack Jansen | 2000-12-14 | 2 | -6/+117 |
| | | | | don't accidentally dispose of windows that are actually dialogs-in-disguise. | ||||
* | More toolbox modules adapted to Universal Headers 3.3.2. | Jack Jansen | 2000-12-12 | 4 | -398/+687 |
| | |||||
* | Window objects now also have an AutoDispose funcpointer (set for our ↵ | Jack Jansen | 2000-08-25 | 3 | -23/+61 |
| | | | | | | windows, cleared for foreign windows). Needed mainly for Carbon (where we don't know about the windows belonging to our dialogs). Fixed a few calls that return an ExistingWindow. | ||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 4 | -49/+49 |
| | |||||
* | pymactoolbox.h contains protoypes for all externally visible toolbox module | Jack Jansen | 2000-07-14 | 2 | -47/+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 | -5/+4 |
| | | | | specifier, now that h is signed-only. | ||||
* | All relevant toolbox modules have now been carbonized. | Jack Jansen | 2000-06-21 | 2 | -5/+3 |
| | |||||
* | Made the core toolbox modules carbon-compatible using the new greylist ↵ | Jack Jansen | 2000-06-02 | 4 | -60/+154 |
| | | | | | | 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. | ||||
* | Bgen now understands more constant definitions, but that means that a few ↵ | Jack Jansen | 1999-12-14 | 2 | -1/+3 |
| | | | | which are not parseable in Python have to be blacklisted. | ||||
* | Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. | Jack Jansen | 1999-12-12 | 3 | -87/+957 |
| | |||||
* | Re-generated with OSStatus treated like OSErr (i.e. not returned, but raising | Jack Jansen | 1999-03-04 | 1 | -24/+27 |
| | | | | an exception when negative). | ||||
* | Added {Get,Set}WindowUserData methods. | Jack Jansen | 1998-10-22 | 3 | -6/+44 |
| | |||||
* | Grmpf, a lot more routines have gotten a "Mac" prefix for their | Jack Jansen | 1998-04-24 | 2 | -0/+103 |
| | | | | | | 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 | 1 | -31/+46 |
| | |||||
* | Replaced addpack by handcrafted code to find the bgen stuff. | Jack Jansen | 1998-04-17 | 2 | -5/+4 |
| | |||||
* | Regenerated from Universal Headers 3.0.1. Some new calls are | Jack Jansen | 1998-02-20 | 3 | -352/+467 |
| | | | | | | 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 |
| | |||||
* | Added support for WCTabHandle, AuxWinHandle, PixPatHandle: no reason | Jack Jansen | 1997-08-15 | 3 | -5/+59 |
| | | | | for blacklisting them. | ||||
* | Regenerated | Jack Jansen | 1996-08-02 | 1 | -3/+0 |
| | |||||
* | Removed ...gen.py files from repository | Jack Jansen | 1996-04-16 | 1 | -280/+0 |
| | |||||
* | bgen-generators now drop the python definition file straight in the | Jack Jansen | 1996-04-12 | 3 | -2/+6 |
| | | | | Lib:toolbox folder. | ||||
* | - Added color window/pixmap support | Jack Jansen | 1995-12-12 | 1 | -1/+5 |
| | | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles | ||||
* | Added support for GrafPort object | Jack Jansen | 1995-11-15 | 5 | -26/+279 |
| | |||||
* | - Added support for PicHandle | Jack Jansen | 1995-11-14 | 5 | -3/+366 |
| | | | | | - Added (by hand, through winedit.py) support for WindowPeek accessor functions that are currently declared as macros. | ||||
* | Generated anew | Jack Jansen | 1995-08-17 | 2 | -1/+18 |
| | |||||
* | Added WhichWindow function to obtain window object given WindowPtr (as | Jack Jansen | 1995-08-17 | 1 | -0/+17 |
| | | | | returned by event routines) | ||||
* | Ported to Universal Header 2.0.1f (i.e. CW6) | Jack Jansen | 1995-06-09 | 1 | -1/+1 |
| | |||||
* | Trying again to check it in. Changes to: | Jack Jansen | 1995-06-06 | 4 | -43/+51 |
| | | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions | ||||
* | more stuff | Guido van Rossum | 1995-02-28 | 3 | -2/+9 |
| |