Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | escape 8-bit chars when generating .py files. fixes bug #566302 | Just van Rossum | 2002-06-09 | 1 | -1/+16 |
| | |||||
* | Converted to use re in stead of regex and regsub (finally:-). | Jack Jansen | 2002-04-23 | 1 | -54/+65 |
| | |||||
* | Oops: we used PyMem_DEL() to clean up objects, and that's a problem since | Jack Jansen | 2002-04-19 | 1 | -1/+1 |
| | | | | | | | | pymalloc, apparently. Fixed, but this means all bgen-generated modules will have to be re-generated. I hope (and expect) that the pymalloc fixes aren't bugfix candidates, because if they are this is one too. | ||||
* | - Added support for inherent pointer types (typedefs of arrays) | Jack Jansen | 2002-04-12 | 1 | -0/+34 |
| | | | | - Added a debug class variable to enable parser debugging. | ||||
* | Give type name when complaining about using input-only type for output | Jack Jansen | 2002-04-12 | 1 | -2/+2 |
| | | | | or v.v. | ||||
* | Some structures should be passed to Py_BuildValue by reference, not by value, | Jack Jansen | 2002-03-18 | 2 | -2/+10 |
| | | | | | | notably FSSpec and FSRef objects. First half of fix for #531291. 2.2.1 candidate. | ||||
* | Added some support for Uicode arguments. Still leaves something to be ↵ | Jack Jansen | 2002-01-01 | 3 | -1/+23 |
| | | | | desired, especially because of poor unicode support in PyArg_ParseTuple. | ||||
* | Updated to current pathnames. | Jack Jansen | 2002-01-01 | 1 | -3/+3 |
| | |||||
* | Small change to allow for generation of QuickTime module for Windows. | Jack Jansen | 2001-12-18 | 1 | -0/+4 |
| | |||||
* | OSX tweak: recognize both EXTERN_API_C and EXTERN_API declarations. | Just van Rossum | 2001-12-12 | 1 | -2/+2 |
| | | | | Jack: I hope I didn't break anything for you! | ||||
* | The module generator now tells its object generators about the module name ↵ | Jack Jansen | 2001-12-09 | 2 | -1/+9 |
| | | | | (through the new setmodulename() method). If the module name has been set the object generators output it as part of the tp_name field for the object type. | ||||
* | Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the | Jack Jansen | 2001-11-30 | 1 | -0/+2 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | Don't initialize tp_type statically, it won't work on Windows. Spotted | Jack Jansen | 2001-11-14 | 1 | -1/+1 |
| | | | | by Thomas Heller (patch 459442). | ||||
* | Don't override asplit_pat in Scanner_UH3. No reason to do so, and it broke | Jack Jansen | 2001-10-30 | 1 | -1/+0 |
| | | | | generating Waste. | ||||
* | Only output the buffer size error label if it is used. | Jack Jansen | 2001-09-05 | 2 | -3/+7 |
| | | | | Shuts up another couple of gcc warnings. | ||||
* | Don't use a default "int" return type, gcc gives a warning about it. | Jack Jansen | 2001-09-04 | 1 | -1/+1 |
| | |||||
* | Fixes by Thomas Heller: | Jack Jansen | 2001-08-27 | 5 | -12/+13 |
| | | | | | | - make the selftests work again (they were apparently not used since very early in bgen's development), with some minor cleanup by me - make emacs python mode happier | ||||
* | Oops, left in a debug statement. It's gone now. | Jack Jansen | 2001-07-17 | 1 | -1/+0 |
| | |||||
* | Allow [] after a parameter name. We currently take this to be the same as * ↵ | Jack Jansen | 2001-07-13 | 1 | -13/+7 |
| | | | | in front, which isn't 100% correct but good enough. | ||||
* | Added WeakLink...Generator classes (should have done that ages ago). These ↵ | Jack Jansen | 2001-07-01 | 2 | -0/+22 |
| | | | | | | check the c-function pointer for being NULL before calling it and raise UnimplementedError if it is. This allows system libs to be weak-linked, thereby allowing us to generate functions that are only available on some OS versions without getting a NULL dereference if the function isn't available. | ||||
* | Make basechain a class variable in stead of initializing it in __init__. ↵ | Jack Jansen | 2001-06-28 | 1 | -1/+1 |
| | | | | That way it's more easily overridden. | ||||
* | Added a couple more types that Apple has taken a fancy to. | Jack Jansen | 2001-06-27 | 1 | -1/+3 |
| | |||||
* | Added a Parser_OSX class that can parse new-style (C-only) headers, | Jack Jansen | 2001-06-26 | 1 | -4/+19 |
| | | | | such as the Core Foundation ones. | ||||
* | Generate prototype-style function headers in stead of K&R style. Makes life ↵ | Jack Jansen | 2001-05-19 | 3 | -33/+12 |
| | | | | easier with gcc -Wstrict-function-prototypes. | ||||
* | Dialog and Window objects are (finally) different beasts. | Jack Jansen | 2001-02-27 | 1 | -2/+1 |
| | |||||
* | Use the filename, not the pathname, in the definitions file | Jack Jansen | 2001-02-27 | 1 | -1/+1 |
| | | | | | comment. This way the generated files are identical when generated on different machines. | ||||
* | Optionally weed out duplicate prototypes for the same function (which | Jack Jansen | 2000-12-12 | 3 | -3/+11 |
| | | | | happens because the scanner ignores preprocessor #ifs). | ||||
* | Adapted to new standard for initmodule() routine: don't call | Jack Jansen | 2000-12-12 | 1 | -2/+1 |
| | | | | Py_FatalError on errors. | ||||
* | Various new standard types. | Jack Jansen | 2000-12-12 | 1 | -1/+16 |
| | |||||
* | Added support for generating a single module from multiple .h files. | Jack Jansen | 2000-12-12 | 1 | -3/+20 |
| | | | | Allow /* */ comments within function prototypes. | ||||
* | Modified the standard mac preamble so we include pymactoolbox.h in | Jack Jansen | 2000-07-15 | 1 | -35/+1 |
| | | | | stead of defining lots of function prototypes in each module. | ||||
* | ScannerPREUH3.initpatterns() should call Scanner.initpatterns() so the | Jack Jansen | 2000-07-15 | 1 | -0/+1 |
| | | | | new comment patterns get included. | ||||
* | Make a distinction between shorts and unsigned shorts. | Jack Jansen | 2000-07-06 | 2 | -1/+2 |
| | |||||
* | Jack Jansen: Support for conditional inclusion of methods and functions | Guido van Rossum | 2000-06-28 | 3 | -8/+33 |
| | |||||
* | Jack Jansen: A few new types needed by new API calls. | Guido van Rossum | 2000-04-24 | 1 | -4/+6 |
| | |||||
* | Two patches from Jack Jansen: | Guido van Rossum | 2000-01-20 | 2 | -7/+16 |
| | | | | | | | Three bgen mods: - support for FSSpecs passed-by-value and points-passed-by-reference added. - strip single-line comments when parsing header files - if a definition is blacklisted _do_ output it, but in comment | ||||
* | Patches by Jack Jansen: new type OptionalInBuffer allows | Guido van Rossum | 1999-09-30 | 2 | -1/+14 |
| | | | | passing either a string/input buffer or None. | ||||
* | New mixin class that defines cmp and hash that use | Guido van Rossum | 1999-03-15 | 1 | -0/+67 |
| | | | | | | | | the ob_itself pointer. This allows (when using the mixin) different Python objects pointing to the same C object and behaving well as dictionary keys. Or so sez Jack Jansen... | ||||
* | Small change by Jack Jansen. | Guido van Rossum | 1999-03-09 | 1 | -2/+2 |
| | | | | Test for self.returntype behaving like OSErr rather than being it. | ||||
* | accept * in return value type and convert it to _ptr after the | Guido van Rossum | 1998-04-28 | 1 | -1/+2 |
| | | | | | typename, as in argument types. (Jack) | ||||
* | Style and StyleParameter are two different types. | Guido van Rossum | 1998-04-28 | 1 | -1/+1 |
| | | | | (Jack) | ||||
* | class ByAddressType, a simple Type but passed by address even on | Guido van Rossum | 1998-04-28 | 1 | -0/+7 |
| | | | | | input. (Jack) | ||||
* | Patches from Jack for new Apple headers | Guido van Rossum | 1998-02-23 | 3 | -6/+36 |
| | |||||
* | Generate new style exception initializer (Jack). | Guido van Rossum | 1997-10-08 | 1 | -1/+1 |
| | |||||
* | Changes by jack so the generated modules export their types | Guido van Rossum | 1997-09-22 | 3 | -2/+18 |
| | | | | to Python. | ||||
* | Added NumVersion definition. | Guido van Rossum | 1996-08-26 | 1 | -0/+3 |
| | |||||
* | Insert filename in IOError message. | Guido van Rossum | 1996-08-26 | 1 | -1/+4 |
| | |||||
* | Addition by Jack to test for missing type support | Guido van Rossum | 1996-07-21 | 1 | -0/+20 |
| | |||||
* | Removed most of the README text since it is all about the Mac specific | Guido van Rossum | 1996-05-24 | 1 | -161/+5 |
| | | | | examples, which no longer live here. | ||||
* | Moved customization to bgenlocations.py module. | Guido van Rossum | 1996-04-12 | 2 | -6/+13 |
| |