2006-08-11 Thomas Heller * codegenerator.py: Empty _field_ attributes are now generated for Structure/Union (for weird reasons having to do with COM interfaces NO _fields_ attribute was generated before). 2006-06-23 Thomas Heller * xml2py.py: Remove the use_generators argument and the corresponding command line option for xml2py.py, since the code generator does not create decorators any more. Add a '-c' command line option which will insert comments in the generated code that will point the the location in the include file where the data types are defined. This replaces the hardcoded USE_COMMENTS variable. 2006-06-13 Thomas Heller * xml2py.py: The '-l' option for the xml2py.py script now takes the linker library name instead of the library pathname. I still have to find out which library (on posix systems) really defines a function. The generated code that loads the libraries has been reworked. 2006-06-14 Thomas Heller * h2xml.py: The subprocess module is now required, although the code is still compatible with Python 2.3. * The '#define' symbols that cause compilation errors are now determined at runtime: If the '-c' option is given, compiler error messages are parsed to find those '#define ' symbols that are causing them. These symbols are then appended to the file ~/.ctypes_codegen/cparser_excludes. If these errors occur, it is required to restart h2xml.py, but chances are good that the next run works better (it may be required to repeat this process several times until all errors have vanished). The cparser_config.py module has been removed because it does no longer list symbols that have to be excluded. 2006-06-13 Thomas Heller * Fixed a problem in gccxmlparser.py when 'Constructor' descriptions created by gccxml gave no 'name' attribute. 2006-06-09 Thomas Heller * ctypes_codegen\codegenerator.py: Added a USE_COMMENTS variable which allows to turn comment generation off. Generated '_anonymous_' declarations for unnamed structure fields. Changed the way libraries are loaded, the cdecl and stdcall decorators are no longer used. Functions are generated with assignments of .restype and .argtypes.: 2006-06-08 Thomas Heller * ctypes_codegen\codegenerator.py: When generating the '__all__' list, don't break long strings. * h2xml does no longer create a file named 'None' when no output file was given on the command line. * Added a TODO list. * Initial import of the current ctypes codegenerator version.