summaryrefslogtreecommitdiffstats
path: root/Tools/bgen
Commit message (Collapse)AuthorAgeFilesLines
* Don't use a default "int" return type, gcc gives a warning about it.Jack Jansen2001-09-041-1/+1
|
* Fixes by Thomas Heller:Jack Jansen2001-08-275-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 Jansen2001-07-171-1/+0
|
* Allow [] after a parameter name. We currently take this to be the same as * ↵Jack Jansen2001-07-131-13/+7
| | | | in front, which isn't 100% correct but good enough.
* Added WeakLink...Generator classes (should have done that ages ago). These ↵Jack Jansen2001-07-012-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 Jansen2001-06-281-1/+1
| | | | That way it's more easily overridden.
* Added a couple more types that Apple has taken a fancy to.Jack Jansen2001-06-271-1/+3
|
* Added a Parser_OSX class that can parse new-style (C-only) headers,Jack Jansen2001-06-261-4/+19
| | | | such as the Core Foundation ones.
* Generate prototype-style function headers in stead of K&R style. Makes life ↵Jack Jansen2001-05-193-33/+12
| | | | easier with gcc -Wstrict-function-prototypes.
* Dialog and Window objects are (finally) different beasts.Jack Jansen2001-02-271-2/+1
|
* Use the filename, not the pathname, in the definitions fileJack Jansen2001-02-271-1/+1
| | | | | comment. This way the generated files are identical when generated on different machines.
* Optionally weed out duplicate prototypes for the same function (whichJack Jansen2000-12-123-3/+11
| | | | happens because the scanner ignores preprocessor #ifs).
* Adapted to new standard for initmodule() routine: don't callJack Jansen2000-12-121-2/+1
| | | | Py_FatalError on errors.
* Various new standard types.Jack Jansen2000-12-121-1/+16
|
* Added support for generating a single module from multiple .h files.Jack Jansen2000-12-121-3/+20
| | | | Allow /* */ comments within function prototypes.
* Modified the standard mac preamble so we include pymactoolbox.h inJack Jansen2000-07-151-35/+1
| | | | stead of defining lots of function prototypes in each module.
* ScannerPREUH3.initpatterns() should call Scanner.initpatterns() so theJack Jansen2000-07-151-0/+1
| | | | new comment patterns get included.
* Make a distinction between shorts and unsigned shorts.Jack Jansen2000-07-062-1/+2
|
* Jack Jansen: Support for conditional inclusion of methods and functionsGuido van Rossum2000-06-283-8/+33
|
* Jack Jansen: A few new types needed by new API calls.Guido van Rossum2000-04-241-4/+6
|
* Two patches from Jack Jansen:Guido van Rossum2000-01-202-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 allowsGuido van Rossum1999-09-302-1/+14
| | | | passing either a string/input buffer or None.
* New mixin class that defines cmp and hash that useGuido van Rossum1999-03-151-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 Rossum1999-03-091-2/+2
| | | | Test for self.returntype behaving like OSErr rather than being it.
* accept * in return value type and convert it to _ptr after theGuido van Rossum1998-04-281-1/+2
| | | | | typename, as in argument types. (Jack)
* Style and StyleParameter are two different types.Guido van Rossum1998-04-281-1/+1
| | | | (Jack)
* class ByAddressType, a simple Type but passed by address even onGuido van Rossum1998-04-281-0/+7
| | | | | input. (Jack)
* Patches from Jack for new Apple headersGuido van Rossum1998-02-233-6/+36
|
* Generate new style exception initializer (Jack).Guido van Rossum1997-10-081-1/+1
|
* Changes by jack so the generated modules export their typesGuido van Rossum1997-09-223-2/+18
| | | | to Python.
* Added NumVersion definition.Guido van Rossum1996-08-261-0/+3
|
* Insert filename in IOError message.Guido van Rossum1996-08-261-1/+4
|
* Addition by Jack to test for missing type supportGuido van Rossum1996-07-211-0/+20
|
* Removed most of the README text since it is all about the Mac specificGuido van Rossum1996-05-241-161/+5
| | | | examples, which no longer live here.
* Moved customization to bgenlocations.py module.Guido van Rossum1996-04-122-6/+13
|
* Added extra module argument varstuff, to declare extra module-level varsJack Jansen1996-01-051-1/+6
|
* - Added color window/pixmap supportJack Jansen1995-12-121-1/+2
| | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles
* Added Sint8 and Uint8 typesJack Jansen1995-12-091-0/+2
|
* Added cm and qt demosJack Jansen1995-12-091-1/+9
|
* BitMap object supportJack Jansen1995-11-161-0/+3
|
* Added definitions for GrafPort object and Fixed type.Jack Jansen1995-11-151-0/+8
|
* Changed file signature to CW7 project mgrJack Jansen1995-11-141-2/+2
|
* New universal headersJack Jansen1995-10-091-2/+2
|
* Added ResObj_OptNew declarationJack Jansen1995-08-172-1/+2
|
* Added basic mac documentation.Jack Jansen1995-08-141-0/+76
|
* Added missing setselftype method to ManualGeneratorJack Jansen1995-06-181-0/+4
|
* Ported to Universal Header 2.0.1f (i.e. CW6)Jack Jansen1995-06-092-2/+10
|
* Trying again to check it in. Changes to:Jack Jansen1995-06-063-9/+15
| | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions
* added transferSize() methodGuido van Rossum1995-05-031-0/+6
|
* added listing of argument types encounteredGuido van Rossum1995-03-231-0/+20
|