Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -90/+90 |
| | |||||
* | Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS: | Jack Jansen | 2003-11-19 | 1 | -4/+0 |
| | | | | MacOS9isms. | ||||
* | Get rid of support for Universal Headers older than 3.4 and various other | Jack Jansen | 2002-12-13 | 1 | -11/+0 |
| | | | | outdated things. | ||||
* | Added PEP253 support to most Carbon modules. This isn't complete yet: | Jack Jansen | 2002-12-03 | 1 | -1/+2 |
| | | | | | | 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 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | 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 |
| | |||||
* | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 1 | -0/+5 |
| | |||||
* | Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the | Jack Jansen | 2001-11-30 | 1 | -2/+2 |
| | | | | 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 | 1 | -1/+3 |
| | | | | Universal Headers 3.4 | ||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 1 | -2/+3 |
| | |||||
* | 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 | 1 | -11/+4 |
| | | | | 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 | 1 | -18/+12 |
| | | | | 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 | 1 | -0/+27 |
| | | | | | | 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 | 1 | -1/+2 |
| | | | | dereferencing it (carbon only). | ||||
* | Oops, repr didn't allocate the memory it used... | Jack Jansen | 2001-02-11 | 1 | -0/+12 |
| | |||||
* | Emulate a few more non-carbon calls in carbon and the other way around. | Jack Jansen | 2000-12-19 | 1 | -0/+7 |
| | |||||
* | Added hash() and compare() functions. Needed because multiple WinObj's can ↵ | Jack Jansen | 2000-12-19 | 1 | -0/+23 |
| | | | | 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 | 1 | -2/+7 |
| | | | | 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 | 1 | -0/+13 |
| | |||||
* | Window objects now also have an AutoDispose funcpointer (set for our ↵ | Jack Jansen | 2000-08-25 | 1 | -13/+31 |
| | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | pymactoolbox.h contains protoypes for all externally visible toolbox module | Jack Jansen | 2000-07-14 | 1 | -6/+0 |
| | | | | | 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 | -2/+1 |
| | | | | specifier, now that h is signed-only. | ||||
* | Made the core toolbox modules carbon-compatible using the new greylist ↵ | Jack Jansen | 2000-06-02 | 1 | -0/+2 |
| | | | | | | 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. | ||||
* | Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. | Jack Jansen | 1999-12-12 | 1 | -0/+14 |
| | |||||
* | Added {Get,Set}WindowUserData methods. | Jack Jansen | 1998-10-22 | 1 | -3/+0 |
| | |||||
* | Replaced addpack by handcrafted code to find the bgen stuff. | Jack Jansen | 1998-04-17 | 1 | -3/+0 |
| | |||||
* | Regenerated from Universal Headers 3.0.1. Some new calls are | Jack Jansen | 1998-02-20 | 1 | -0/+2 |
| | | | | | | 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. | ||||
* | Added support for WCTabHandle, AuxWinHandle, PixPatHandle: no reason | Jack Jansen | 1997-08-15 | 1 | -2/+5 |
| | | | | for blacklisting them. | ||||
* | Added support for GrafPort object | Jack Jansen | 1995-11-15 | 1 | -3/+3 |
| | |||||
* | - Added support for PicHandle | Jack Jansen | 1995-11-14 | 1 | -1/+9 |
| | | | | | - Added (by hand, through winedit.py) support for WindowPeek accessor functions that are currently declared as macros. | ||||
* | Added WhichWindow function to obtain window object given WindowPtr (as | Jack Jansen | 1995-08-17 | 1 | -0/+17 |
| | | | | returned by event routines) | ||||
* | Trying again to check it in. Changes to: | Jack Jansen | 1995-06-06 | 1 | -0/+4 |
| | | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions | ||||
* | another round... ported to __SC__ | Guido van Rossum | 1995-02-19 | 1 | -1/+1 |
| | |||||
* | Committed a more or less working version. | Guido van Rossum | 1995-01-30 | 1 | -0/+103 |