Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the Mac modules | Benjamin Peterson | 2008-05-12 | 1 | -826/+0 |
| | |||||
* | Kill execfile(), use exec() instead | Neal Norwitz | 2007-08-12 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -292/+292 |
| | |||||
* | Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS: | Jack Jansen | 2003-11-19 | 1 | -5/+0 |
| | | | | MacOS9isms. | ||||
* | Getting rid of pre-Carbon (MacOS8) support. All code depending on | Jack Jansen | 2002-12-12 | 1 | -41/+1 |
| | | | | | | 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). | ||||
* | Added PEP253 support to most Carbon modules. This isn't complete yet: | Jack Jansen | 2002-12-03 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Got rid of staticforward. | Jack Jansen | 2002-08-05 | 1 | -4/+4 |
| | |||||
* | - added support for UserPaneKeyDownProc and UserPaneFocusProc | Just van Rossum | 2002-01-04 | 1 | -2/+48 |
| | | | | - clear error after failing PyArg_Parse() | ||||
* | - added support for ControlActionProcs, exposing the following calls: | Just van Rossum | 2001-12-30 | 1 | -3/+43 |
| | | | | | | | - ctl.SetControlAction() - CreateScrollBarControl() - CreateSliderControl() - print traceback when callbacks fail | ||||
* | Added missing docstring | Just van Rossum | 2001-12-18 | 1 | -0/+1 |
| | |||||
* | Added support for tab controls and initial (incomplete) support | Just van Rossum | 2001-12-18 | 1 | -3/+117 |
| | | | | for DataBrowser controls. | ||||
* | Shut up gcc warning. | Jack Jansen | 2001-12-12 | 1 | -2/+2 |
| | |||||
* | Updated for Universal Headers 3.4. | Just van Rossum | 2001-12-12 | 1 | -0/+32 |
| | |||||
* | 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). | ||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 1 | -3/+5 |
| | |||||
* | 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. | ||||
* | Don't use extern when we mean staticforward (OSX gcc is picky about it). | Jack Jansen | 2001-06-20 | 1 | -2/+2 |
| | | | | Blacklist SendControlMessage: it's signature has changed between Universal Headers 3.3 and 3.4. | ||||
* | Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵ | Jack Jansen | 2001-05-22 | 1 | -33/+20 |
| | | | | 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/+10 |
| | | | | | | 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. | ||||
* | SetpopupData and GetPopupData are gone under Carbon, use ↵ | Jack Jansen | 2001-01-12 | 1 | -11/+3 |
| | | | | | | {Get,Set}PopupMenu{Handle,ID} in stead. The UserPane routines appear to be fixed in the current Universal Headers, so they're re-enabled. | ||||
* | Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on ↵ | Jack Jansen | 2001-01-09 | 1 | -9/+9 |
| | | | | {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc. This is an incompatible change:-( | ||||
* | More toolbox modules adapted to Universal Headers 3.3.2. | Jack Jansen | 2000-12-12 | 1 | -0/+3 |
| | |||||
* | Adapted to Universal Headers 3.3.2. More to follow. | Jack Jansen | 2000-12-10 | 1 | -0/+27 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 1 | -8/+8 |
| | |||||
* | pymactoolbox.h contains protoypes for all externally visible toolbox module | Jack Jansen | 2000-07-14 | 1 | -8/+8 |
| | | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error. | ||||
* | Fiddled declaration/implementation of setcallback() so that it is ansifyable. | Jack Jansen | 2000-07-11 | 1 | -4/+8 |
| | |||||
* | Changed all (hopefully) uses of unsigned 16 bit value to use H format ↵ | Jack Jansen | 2000-07-07 | 1 | -1/+1 |
| | | | | specifier, now that h is signed-only. | ||||
* | Removed THINK_C support. | Jack Jansen | 2000-06-04 | 1 | -4/+0 |
| | |||||
* | Made the core toolbox modules carbon-compatible using the new greylist ↵ | Jack Jansen | 2000-06-02 | 1 | -8/+14 |
| | | | | | | 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. | ||||
* | Added a few cast to make it 68k-compatible. | Jack Jansen | 2000-04-05 | 1 | -5/+5 |
| | |||||
* | Data of type Point is passed by value, not by reference. | Jack Jansen | 2000-03-22 | 1 | -2/+2 |
| | |||||
* | Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet. | Jack Jansen | 2000-03-21 | 1 | -2/+46 |
| | |||||
* | Added a GetControlRect() method to controls which returns the bounding ↵ | Jack Jansen | 2000-03-21 | 1 | -0/+2 |
| | | | | rectangle. To my surprise this call is missing from the C API... | ||||
* | Started on support for callbacks for UserPane controls. Unfinished and untested. | Jack Jansen | 2000-03-20 | 1 | -0/+118 |
| | |||||
* | Nasty error: handle parameters are passed by _address_ to SetControlData. | Jack Jansen | 1999-12-29 | 1 | -1/+1 |
| | |||||
* | Oops, forgot & in ParseTuple argument in ControlGetDataHandle. | Jack Jansen | 1999-12-23 | 1 | -1/+1 |
| | |||||
* | Unified handle-conversion scheme to | Jack Jansen | 1999-12-23 | 1 | -0/+1 |
| | | | | | | | handle = Ctl.as_Resource(ctl) ctl = Ctl.as_Control(handle) and similarly for List, Menu, TE. The old handle.as_Control() methods are still there for backward compatability. | ||||
* | Added {Get,Set}ControlDataHandle methods. These are {Get,Set}ControlData for | Jack Jansen | 1999-12-19 | 1 | -1/+71 |
| | | | | keys that expect a Handle, and have a ResObj as parameter. | ||||
* | Fixed a linebreak I forgot, added docstrings, (temporarily) blacklisted a ↵ | Jack Jansen | 1999-12-09 | 1 | -5/+4 |
| | | | | few routines that seem to be missing in my CW Pro 5.1. | ||||
* | Changes by Corran Webster to support {Get,Set}ControlData and | Jack Jansen | 1999-12-09 | 1 | -8/+121 |
| | | | | HandleControlClick. Untested. | ||||
* | If a control has no refcon pointing back to the Python object we create a new | Jack Jansen | 1999-03-13 | 1 | -6/+21 |
| | | | | | Python object. This needs a new bgenObjectDefinition.py, which implements compare and hash functions. | ||||
* | Added Ctl.as_Control and Menu.as_Menu methods, which take a resource as | Jack Jansen | 1999-02-07 | 1 | -0/+2 |
| | | | | argument and return a Control or Menu object. | ||||
* | Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate. | Jack Jansen | 1998-10-12 | 1 | -1/+1 |
| | |||||
* | Added {Get,Set}PopupData calls to get at the data for popup menu controls. | Jack Jansen | 1998-06-19 | 1 | -0/+37 |
| | |||||
* | Allow an (optional) tracking function (or -1) to be specified to | Jack Jansen | 1998-05-28 | 1 | -0/+80 |
| | | | | | TrackControl. TrackControl is now manually generated (too much work to explain this to bgen). | ||||
* | 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/+36 |
| | | | | | | 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 GetAuxiliaryControlRecord and SetControlColor, there was no good | Jack Jansen | 1997-08-15 | 1 | -0/+2 |
| | | | | reason they were excluded. | ||||
* | Changed [SG]etCRefCon to [SG]etControlReference | Jack Jansen | 1997-04-08 | 1 | -3/+3 |
| |