Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added a class MallocHeapOutputBufferType for types that are passed | Jack Jansen | 2005-09-20 | 1 | -0/+29 |
| | | | | as &buffer, &size and allocated by the called function. | ||||
* | Added support for (optionally) bracketing calls with | Jack Jansen | 2005-09-20 | 1 | -0/+8 |
| | | | | Py_{BEGIN,END}_ALLOW_THREADS. | ||||
* | Whitespace normalization. | Tim Peters | 2005-07-17 | 1 | -5/+5 |
| | |||||
* | Added an option to the scanner to generated marked-up HTML from the input | Jack Jansen | 2005-07-17 | 1 | -6/+161 |
| | | | | | file. This should make it a lot easier (I hope) to get the regular expressions right. | ||||
* | Whitespace normalization. | Tim Peters | 2005-07-10 | 7 | -29/+29 |
| | |||||
* | Handle argref so it can be overridden more easily in a subclass. | Jack Jansen | 2005-07-08 | 1 | -1/+1 |
| | |||||
* | Allow for (optional) const declaration. | Jack Jansen | 2005-07-05 | 4 | -20/+43 |
| | |||||
* | Factored out the code that creates argument lists and formats for PyArg_Parse | Jack Jansen | 2005-07-03 | 1 | -19/+26 |
| | | | | and Py_BuildValue. | ||||
* | Sigh, changed the argument names in the tp_init function: to make them be | Jack Jansen | 2005-07-03 | 1 | -7/+7 |
| | | | | | more in line with other methods "self" and "args" had to be renamed "_self" and "_args". Did "_kwds" too, for consistency. | ||||
* | Added methods mkvaluePreCheck and getargsPreCheck, which are called (for | Jack Jansen | 2005-07-01 | 3 | -1/+22 |
| | | | | each variable) before calling Py_BuildValue and PyArg_Parse. | ||||
* | More factorization: added a method getrvforcallit(). This allows a C++ | Jack Jansen | 2005-06-30 | 1 | -8/+8 |
| | | | | | bridge to combine declaration and assignment to the return value temporary, allowing us to handle functions returning const values. | ||||
* | Added optional suppport for storage modifiers (virtual/static/inline/etc) | Jack Jansen | 2005-06-29 | 3 | -2/+20 |
| | | | | and conditional generation of objects and methods. | ||||
* | More factorization to help C++ support. | Jack Jansen | 2005-06-28 | 6 | -18/+51 |
| | |||||
* | Normalize whitespace to avoid offending Bug Day volunteers. | Tim Peters | 2005-06-24 | 5 | -13/+13 |
| | |||||
* | Added a missing newline Output(). | Jack Jansen | 2005-06-23 | 1 | -0/+1 |
| | |||||
* | Revamped type declaration so the basic routines return a list of strings. | Jack Jansen | 2005-06-22 | 6 | -44/+47 |
| | | | | | | This allows variables to be declared as formal arguments. The bgenType.declare method now simply outputs all declarations on separate lines ending in semicolons. | ||||
* | Added support for optional modifiers to functions/methods (such as C++ const, | Jack Jansen | 2005-06-21 | 2 | -6/+19 |
| | | | | static for methods, inline, etc). | ||||
* | More factorization. | Jack Jansen | 2005-06-16 | 2 | -3/+14 |
| | |||||
* | More tweaks for C++ support. Still doesn't seem to break anything:-) | Jack Jansen | 2005-06-14 | 3 | -10/+47 |
| | |||||
* | Minor tweaks, to allow some (out-of-tree, until successful) tinkering | Jack Jansen | 2005-06-10 | 2 | -11/+15 |
| | | | | with C++. | ||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 10 | -129/+126 |
| | |||||
* | Call the correct tp_dealloc. | Jack Jansen | 2004-07-15 | 1 | -2/+2 |
| | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -32/+32 |
| | | | | From SF patch #852334. | ||||
* | Got rid of macglue.h, replacing it by pymactoolbox.h where relevant. | Jack Jansen | 2003-11-20 | 1 | -13/+0 |
| | | | | Cleaned up various things in the toolbox modules. | ||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 1 | -1/+1 |
| | | | | (From SF patch #810751) | ||||
* | Updated the doc strings to refer to PyArg_Parse and Py_BuildValue in stead | Jack Jansen | 2003-01-24 | 1 | -4/+7 |
| | | | | of getargs() and mkvalue(). | ||||
* | Sigh, due to sloppiness on my part bgen has become pretty mixed up wrt. tabs | Jack Jansen | 2003-01-19 | 13 | -2168/+2168 |
| | | | | and spaces. Detabbed the lot. | ||||
* | Oops, old-style types don't have a tp_free slot. Call PyObject_Free | Jack Jansen | 2002-12-23 | 1 | -2/+6 |
| | | | | directly in that case. | ||||
* | Always use self->ob_type->tp_free when freeing an object. | Jack Jansen | 2002-12-19 | 1 | -1/+1 |
| | |||||
* | Always output an inheritance-aware version of the xxxx_Check() macro. Also | Jack Jansen | 2002-12-19 | 1 | -5/+1 |
| | | | | fixed that macro to actually work:-) | ||||
* | Added an optional longname argument to Module, which gives the full, | Jack Jansen | 2002-12-17 | 1 | -2/+7 |
| | | | | | | externally visible name of the module. This is so that type names can be shown as "Carbon.File.FSSpec" even though the real name of the module is "_File". | ||||
* | Fixed typo. | Jack Jansen | 2002-12-05 | 1 | -1/+1 |
| | |||||
* | Added PEP253 support. | Jack Jansen | 2002-12-03 | 1 | -11/+114 |
| | |||||
* | Fixed two silly bugs in the PEP252 support code, added an assert | Jack Jansen | 2002-11-28 | 1 | -3/+10 |
| | | | | that basechain isn't set, and made the output a bit prettier. | ||||
* | Added a class PEP252Mixin. By adding this to your ObjectDefinition you | Jack Jansen | 2002-11-25 | 1 | -2/+127 |
| | | | | | | | | | | | get PEP-252 style objects in stead of old-fashioned objects. In stead of defining a GetattrHook you declare a class variable getsetlist, which contains tuples (name, getcode, setcode, docstring). Only lightly tested: the code still works if you don't inherit PEP252Mixin and the code works if you inherit it but don't define any getters or setters. Also, this will not work together with the "poor mans inheritance" offered by method chains, so the CF module will remain with old-style objects until PEP253 is supported too. | ||||
* | Apply diff2.txt from SF patch http://www.python.org/sf/572113 | Walter Dörwald | 2002-09-11 | 3 | -23/+19 |
| | | | | | | | | (with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining. | ||||
* | Moved CoreFoundation type support to bgen/macsupport. | Jack Jansen | 2002-08-22 | 1 | -0/+11 |
| | |||||
* | iUse PyDoc_STR() around docstrings. | Jack Jansen | 2002-08-16 | 1 | -1/+1 |
| | |||||
* | Be a lot less verbose by default. | Jack Jansen | 2002-08-05 | 2 | -6/+7 |
| | |||||
* | Fixed to run better in unix-Python, and to cater for bgenlocations | Jack Jansen | 2002-08-05 | 1 | -3/+7 |
| | | | | possibly being missing. | ||||
* | Moved bgenlocations to the Mac/Lib directory. Not perfect, but better than | Jack Jansen | 2002-08-05 | 1 | -13/+0 |
| | | | | | | | where it was: it is really a configuration file, not a normal module. By moving it into Mac/Lib we can now also store the location of bgen itself in there, which is needed because bgen isn't installed. | ||||
* | Specify pathnames in a way that works on both OS9 and OSX. | Jack Jansen | 2002-08-04 | 1 | -3/+3 |
| | | | | You'll still have to manually edit it, though... | ||||
* | Use universal newline input when scanning header files. | Jack Jansen | 2002-08-04 | 1 | -3/+3 |
| | |||||
* | staticforward bites the dust. | Jeremy Hylton | 2002-07-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | 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. | ||||
* | 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. |