Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SetpopupData and GetPopupData are gone under Carbon, use ↵ | Jack Jansen | 2001-01-12 | 2 | -29/+7 |
| | | | | | | {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 | 3 | -21/+22 |
| | | | | {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 | 3 | -2/+63 |
| | |||||
* | Adapted to Universal Headers 3.3.2. More to follow. | Jack Jansen | 2000-12-10 | 3 | -198/+831 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 3 | -40/+40 |
| | |||||
* | pymactoolbox.h contains protoypes for all externally visible toolbox module | Jack Jansen | 2000-07-14 | 3 | -51/+74 |
| | | | | | 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 | 2 | -8/+16 |
| | |||||
* | Changed all (hopefully) uses of unsigned 16 bit value to use H format ↵ | Jack Jansen | 2000-07-07 | 2 | -4/+4 |
| | | | | specifier, now that h is signed-only. | ||||
* | Removed THINK_C support. | Jack Jansen | 2000-06-04 | 2 | -8/+0 |
| | |||||
* | Made the core toolbox modules carbon-compatible using the new greylist ↵ | Jack Jansen | 2000-06-02 | 3 | -35/+246 |
| | | | | | | 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 | 2 | -10/+10 |
| | |||||
* | Data of type Point is passed by value, not by reference. | Jack Jansen | 2000-03-22 | 2 | -4/+4 |
| | |||||
* | Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet. | Jack Jansen | 2000-03-21 | 2 | -4/+92 |
| | |||||
* | Added a GetControlRect() method to controls which returns the bounding ↵ | Jack Jansen | 2000-03-21 | 3 | -0/+24 |
| | | | | 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 | 2 | -16/+251 |
| | |||||
* | Nasty error: handle parameters are passed by _address_ to SetControlData. | Jack Jansen | 1999-12-29 | 2 | -2/+2 |
| | |||||
* | Oops, forgot & in ParseTuple argument in ControlGetDataHandle. | Jack Jansen | 1999-12-23 | 2 | -2/+2 |
| | |||||
* | Unified handle-conversion scheme to | Jack Jansen | 1999-12-23 | 3 | -11/+11 |
| | | | | | | | 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 | 2 | -1/+148 |
| | | | | keys that expect a Handle, and have a ResObj as parameter. | ||||
* | Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. | Jack Jansen | 1999-12-12 | 2 | -14/+235 |
| | |||||
* | Fixed a linebreak I forgot, added docstrings, (temporarily) blacklisted a ↵ | Jack Jansen | 1999-12-09 | 3 | -17/+147 |
| | | | | 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 | 2 | -12/+132 |
| | | | | HandleControlClick. Untested. | ||||
* | If a control has no refcon pointing back to the Python object we create a new | Jack Jansen | 1999-03-13 | 2 | -11/+75 |
| | | | | | Python object. This needs a new bgenObjectDefinition.py, which implements compare and hash functions. | ||||
* | Added a rewrite rule so the Str255 argument of GetControlTitle is seen as | Jack Jansen | 1999-03-07 | 2 | -5/+8 |
| | | | | output parameter. | ||||
* | Added Ctl.as_Control and Menu.as_Menu methods, which take a resource as | Jack Jansen | 1999-02-07 | 3 | -0/+26 |
| | | | | argument and return a Control or Menu object. | ||||
* | Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate. | Jack Jansen | 1998-10-12 | 2 | -2/+2 |
| | |||||
* | Added {Get,Set}PopupData calls to get at the data for popup menu controls. | Jack Jansen | 1998-06-19 | 2 | -0/+85 |
| | |||||
* | Allow an (optional) tracking function (or -1) to be specified to | Jack Jansen | 1998-05-28 | 3 | -41/+166 |
| | | | | | TrackControl. TrackControl is now manually generated (too much work to explain this to bgen). | ||||
* | Re-generated from new (3.1) universal headers | Jack Jansen | 1998-04-21 | 1 | -0/+2 |
| | |||||
* | 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 | -51/+723 |
| | | | | | | 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 | 2 | -1/+5 |
| | |||||
* | Added GetAuxiliaryControlRecord and SetControlColor, there was no good | Jack Jansen | 1997-08-15 | 3 | -2/+39 |
| | | | | reason they were excluded. | ||||
* | Changed [SG]etCRefCon to [SG]etControlReference | Jack Jansen | 1997-04-08 | 2 | -7/+7 |
| | |||||
* | Fixed very nasty null-dereferencing bug in DisposeControl/destroy | Jack Jansen | 1996-10-01 | 4 | -35/+42 |
| | | | | object. | ||||
* | Regenerated | Jack Jansen | 1996-08-02 | 1 | -3/+0 |
| | |||||
* | Removed ...gen.py files from repository | Jack Jansen | 1996-04-16 | 1 | -173/+0 |
| | |||||
* | Fixed a nasty bug where FindControl could return a reference to a | Jack Jansen | 1996-04-12 | 4 | -4/+7 |
| | | | | destroyed python object. | ||||
* | Replaced various dummy updateRegions by real arguments | Jack Jansen | 1996-04-10 | 3 | -6/+11 |
| | |||||
* | - Added color window/pixmap support | Jack Jansen | 1995-12-12 | 1 | -1/+10 |
| | | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles | ||||
* | Regenerated because of minor changes in universal headers | Jack Jansen | 1995-11-14 | 2 | -12/+12 |
| | |||||
* | Generated anew | Jack Jansen | 1995-08-17 | 2 | -1/+2 |
| | |||||
* | Added as_Resource() method to convert ctl object to res object | Jack Jansen | 1995-06-18 | 3 | -0/+21 |
| | |||||
* | Ported to Universal Header 2.0.1f (i.e. CW6) | Jack Jansen | 1995-06-09 | 3 | -219/+221 |
| | |||||
* | Trying again to check it in. Changes to: | Jack Jansen | 1995-06-06 | 4 | -121/+130 |
| | | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions | ||||
* | the usual | Guido van Rossum | 1995-03-10 | 1 | -0/+1 |
| | |||||
* | Committed a more or less working version. | Guido van Rossum | 1995-01-30 | 4 | -0/+1009 |