| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | - Various tweaks to shut up compiler warnings. | Jack Jansen | 2002-12-23 | 1 | -1/+2 |
| | | | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls. | ||||
| * | Regenerated with inheritance-aware xxxx_Check() macros. | Jack Jansen | 2002-12-19 | 1 | -1/+1 |
| | | |||||
| * | Getting rid of pre-Carbon (MacOS8) support. All code depending on | Jack Jansen | 2002-12-12 | 3 | -1082/+4 |
| | | | | | | | 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 | 2 | -14/+43 |
| | | | | | | | 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 | 2 | -11/+21 |
| | | | | | | | | | | | | | | | | | 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 Jansen | 2002-08-16 | 1 | -226/+226 |
| | | |||||
| * | Fixed the bugs in the constant definitions, and in the code to test | Jack Jansen | 2002-08-15 | 1 | -6/+6 |
| | | | | | | | them. The FutureWarnings are still there, until a way has been found to say "I know what I'm doing here when I say 0xff000000". | ||||
| * | After generating the Python file with definitions try to run it, so | Jack Jansen | 2002-08-15 | 1 | -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 Jansen | 2002-08-05 | 1 | -2/+1 |
| | | |||||
| * | Got rid of staticforward. | Jack Jansen | 2002-08-05 | 1 | -4/+4 |
| | | |||||
| * | staticforward bites the dust. | Jeremy Hylton | 2002-07-17 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation. | ||||
| * | Regenerated. | Jack Jansen | 2002-04-23 | 1 | -1/+1 |
| | | |||||
| * | - added support for UserPaneKeyDownProc and UserPaneFocusProc | Just van Rossum | 2002-01-04 | 2 | -4/+96 |
| | | | | | - clear error after failing PyArg_Parse() | ||||
| * | Oops, forgot to mark CreateScrollBarControl and CreateSliderControl | Just van Rossum | 2001-12-31 | 2 | -0/+14 |
| | | | | | as Carbon-only | ||||
| * | - added support for ControlActionProcs, exposing the following calls: | Just van Rossum | 2001-12-30 | 3 | -7/+187 |
| | | | | | | | | - ctl.SetControlAction() - CreateScrollBarControl() - CreateSliderControl() - print traceback when callbacks fail | ||||
| * | Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_ | Just van Rossum | 2001-12-18 | 2 | -10/+263 |
| | | | | | available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9). | ||||
| * | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 1 | -0/+4 |
| | | |||||
| * | Added missing docstring | Just van Rossum | 2001-12-18 | 2 | -1/+2 |
| | | |||||
| * | Added support for tab controls and initial (incomplete) support | Just van Rossum | 2001-12-18 | 3 | -12/+543 |
| | | | | | for DataBrowser controls. | ||||
| * | Many of the new calls are Carbon-only. Flagged them as such. | Jack Jansen | 2001-12-14 | 2 | -0/+658 |
| | | |||||
| * | - "manage" controls created by CreateXxxXxxControl() functions. | Just van Rossum | 2001-12-13 | 3 | -48/+67 |
| | | | | | - FindControlUnderMouse() returns an existing control, not a new one. | ||||
| * | Shut up gcc warning. | Jack Jansen | 2001-12-12 | 2 | -4/+4 |
| | | |||||
| * | Updated for Universal Headers 3.4. | Just van Rossum | 2001-12-12 | 3 | -3/+2371 |
| | | |||||
| * | 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 | -7/+309 |
| | | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
| * | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 2 | -6/+14 |
| | | |||||
| * | Regenerated without default int return types. | Jack Jansen | 2001-09-04 | 1 | -1/+1 |
| | | |||||
| * | Renamed. | Jack Jansen | 2001-08-23 | 1 | -2686/+0 |
| | | |||||
| * | Renamed the Mac toolbox modules to have an initial _ in their name. | Jack Jansen | 2001-08-23 | 1 | -0/+2694 |
| | | |||||
| * | 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 | 3 | -24/+5 |
| | | | | | 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 | 2 | -419/+159 |
| | | | | | 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/+20 |
| | | | | | | | 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 | 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 |
| | | |||||
