update autogenerated changelog. also correct typos in the generator.

This commit is contained in:
Campbell Barton 2013-05-09 01:58:49 +00:00
parent 3d95873cf6
commit 8771a9f861
2 changed files with 1329 additions and 7 deletions

File diff suppressed because it is too large Load Diff

@ -72,19 +72,19 @@ def api_dump():
import inspect
struct = rna_info.BuildRNAInfo()[0]
for struct_id, strict_info in sorted(struct.items()):
for struct_id, struct_info in sorted(struct.items()):
struct_id_str = strict_info.identifier
struct_id_str = struct_info.identifier
if rna_info.rna_id_ignore(struct_id_str):
continue
for base in strict_info.get_bases():
for base in struct_info.get_bases():
struct_id_str = base.identifier + "." + struct_id_str
dump_class = dump_module[struct_id_str] = {}
props = [(prop.identifier, prop) for prop in strict_info.properties]
props = [(prop.identifier, prop) for prop in struct_info.properties]
for prop_id, prop in sorted(props):
# if prop.type == 'boolean':
# continue
@ -113,7 +113,7 @@ def api_dump():
del props
# python props, tricky since we dont know much about them.
for prop_id, attr in strict_info.get_py_properties():
for prop_id, attr in struct_info.get_py_properties():
dump_class[prop_id] = (
"prop_py", # basic_type
@ -129,7 +129,7 @@ def api_dump():
)
# kludge func -> props
funcs = [(func.identifier, func) for func in strict_info.functions]
funcs = [(func.identifier, func) for func in struct_info.functions]
for func_id, func in funcs:
func_ret_types = tuple([prop.type for prop in func.return_values])
@ -151,7 +151,7 @@ def api_dump():
del funcs
# kludge func -> props
funcs = strict_info.get_py_functions()
funcs = struct_info.get_py_functions()
for func_id, attr in funcs:
# arg_str = inspect.formatargspec(*inspect.getargspec(py_func))