Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Regenerated with PyDoc_STR() around docstrings. | Jack Jansen | 2002-08-16 | 1 | -315/+315 |
| | |||||
* | 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 | -1/+1 |
| | |||||
* | staticforward bites the dust. | Jeremy Hylton | 2002-07-17 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | 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 | -3/+3 |
| | |||||
* | Weaklink most toolbox modules, improving backward compatibility. Modules ↵ | Jack Jansen | 2002-03-25 | 1 | -2/+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. | ||||
* | Weaklink most toolbox modules, improving backward compatibility. Modules ↵ | Jack Jansen | 2002-03-24 | 1 | -0/+933 |
| | | | | | | | | 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. | ||||
* | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 3 | -0/+576 |
| | |||||
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | 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 | 1 | -7/+3 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | A few more gcc warnings bite the dust. | Jack Jansen | 2001-09-05 | 2 | -2/+2 |
| | |||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 2 | -19/+23 |
| | |||||
* | Regenerated without default int return types. | Jack Jansen | 2001-09-04 | 1 | -2/+2 |
| | |||||
* | Renamed. | Jack Jansen | 2001-08-23 | 1 | -5687/+0 |
| | |||||
* | Renamed the Mac toolbox modules to have an initial _ in their name. | Jack Jansen | 2001-08-23 | 1 | -0/+5695 |
| | |||||
* | 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. | ||||
* | ANSIfied function headers to shut up compiler warnings on OSX/Mach-o. | Jack Jansen | 2001-06-20 | 2 | -2/+2 |
| | |||||
* | Fixed an error in the signature of the QdRGB converter routines. | Jack Jansen | 2001-06-13 | 2 | -4/+4 |
| | |||||
* | Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵ | Jack Jansen | 2001-05-22 | 2 | -897/+320 |
| | | | | 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/+70 |
| | | | | | | 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. | ||||
* | QDFlushPortBuffer() has an optional region argument. | Jack Jansen | 2001-02-06 | 2 | -1/+5 |
| | |||||
* | Accept Dialogs and Windows where Grafports are expected (such as in SetPort) ↵ | Jack Jansen | 2001-02-02 | 2 | -4/+16 |
| | | | | and do a MacOSX compatible cast. Bit of a hack, but good enough for now. | ||||
* | New internal function BMObj_NewCopied() which copies the BitMap. Used to get ↵ | Jack Jansen | 2001-01-30 | 2 | -8/+46 |
| | | | | the screenBits bitmap. | ||||
* | Accessor functions for regions and such expect an existing region as ↵ | Jack Jansen | 2001-01-29 | 3 | -15/+29 |
| | | | | | | parameter. Fixed for grafport attribute access. Got GetPortBitMapForCopyBits() and port.portBits to work. | ||||
* | Blacklisted (for the time being) the functions that have a component ↵ | Jack Jansen | 2001-01-24 | 2 | -100/+6 |
| | | | | argument. Don't want to drag the Cm module into the core set too. | ||||
* | Implemented direct attribute access for Carbon builds and accessor functions ↵ | Jack Jansen | 2001-01-24 | 3 | -14/+1478 |
| | | | | for non-carbon builds. | ||||
* | More toolbox modules adapted to Universal Headers 3.3.2. | Jack Jansen | 2000-12-12 | 2 | -5/+55 |
| | |||||
* | Got rid of Py_FatalError calls. | Jack Jansen | 2000-09-08 | 1 | -1/+1 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 2 | -4/+4 |
| | |||||
* | pymactoolbox.h contains protoypes for all externally visible toolbox module | Jack Jansen | 2000-07-14 | 2 | -39/+1 |
| | | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error. | ||||
* | Under carbon use the GetQDGlobalxxx methods to implement Qd.qd.member access. | Jack Jansen | 2000-06-20 | 2 | -0/+84 |
| | |||||
* | Made the core toolbox modules carbon-compatible using the new greylist ↵ | Jack Jansen | 2000-06-02 | 2 | -0/+8 |
| | | | | | | 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 methods getdata() and putdata() to obtain the data in a bitmap. | Jack Jansen | 2000-03-03 | 2 | -0/+68 |
| | |||||
* | Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. | Jack Jansen | 1999-12-12 | 1 | -0/+36 |
| | |||||
* | Manually added definitions for normal, bold, etc. These are in MacTypes (of all | Jack Jansen | 1999-01-21 | 1 | -1/+11 |
| | | | | places) which isn't worth bgenning. | ||||
* | Argument type for SetPort was wrong (WindowPtr in stead of GrafPtr). | Jack Jansen | 1998-04-27 | 2 | -4/+4 |
| | |||||
* | Grmpf, a lot more routines have gotten a "Mac" prefix for their | Jack Jansen | 1998-04-24 | 2 | -8/+681 |
| | | | | | | 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. | ||||
* | SetPort was missing, and the defs file needs the FOUR_CHAR_CODE define. | Jack Jansen | 1998-04-23 | 4 | -21/+39 |
| | |||||
* | Re-generated from new (3.1) universal headers | Jack Jansen | 1998-04-21 | 2 | -108/+120 |
| | |||||
* | Replaced addpack by handcrafted code to find the bgen stuff. | Jack Jansen | 1998-04-17 | 2 | -5/+4 |
| | |||||
* | Regenerated because of confusion with Style/StyleParameter and | Jack Jansen | 1998-02-25 | 1 | -4/+4 |
| | | | | Char/CharParameter | ||||
* | Regenerated from Universal Headers 3.0.1. Some new calls are | Jack Jansen | 1998-02-20 | 2 | -8/+46 |
| | | | | | | 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/+12 |
| | |||||
* | Added support for GDHandle, CTabHandle, ITabHandle and CCrsrHandle: no | Jack Jansen | 1997-08-15 | 3 | -4/+348 |
| | | | | reason they were blacklisted, we can handle them as generic Handles. | ||||
* | - Changed GestaltEqu.h to Gestalt.h | Jack Jansen | 1997-02-24 | 2 | -2/+0 |
| | | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit) | ||||
* | Added _id attribute to GrafPort objects (real id of grafport, numeric) | Jack Jansen | 1996-05-08 | 2 | -3/+6 |
| | |||||
* | Removed ...gen.py files from repository | Jack Jansen | 1996-04-16 | 1 | -999/+0 |
| | |||||
* | bgen-generators now drop the python definition file straight in the | Jack Jansen | 1996-04-12 | 2 | -4/+5 |
| | | | | Lib:toolbox folder. | ||||
* | Fixed access to Quickdraw globals. Unfortunately, they now have to be | Jack Jansen | 1996-01-29 | 2 | -40/+125 |
| | | | | accessed as Qd.qd.xxxx |