5d23eaa8f4
python support for reporting with operators.
...
* errors in python called operators are raised as errors
* Python defined operators errors are reported as errors (not full traceback yet)
* added BKE_reports_string, same as BKE_reports_print but it returns a string rather then printing it.
* WM_operator_name_call optionally takes an initialized report struct
2009-01-02 07:54:38 +00:00
3e29ff7204
* was using __members__ to get a list of attributes, has been deprecated in python for a while now. use a "__dir__" method instead. now dir() works for rna and operator types.
...
* added array support for bpyoperator doc generation
2008-12-29 12:04:25 +00:00
65fbab9f4d
added RNA access to operators pointers to be documented with epy_doc_gen.py.
...
eg: print (bpyoperator.VIEW3D_OT_viewnumpad.rna.__members__)
docs for bpyoperator
http://www.graphicall.org/ftp/ideasman42/html/bpyoperator-module.html
2008-12-29 03:24:13 +00:00
2431c6667c
* Added bSound to rna (still need to do bSample and bSoundListener structs)
...
* rna epy doc-gen was failing when trying to sort None
2008-12-26 16:50:05 +00:00
4ea449129e
string args were given in wrong order.
2008-12-19 05:09:17 +00:00
b6121d2423
epy doc generator that runs inside blender2.5, in background mode.
...
Automatic support for...
* cross references to struct types
* extracts descriptions/names
* RNA "base" types are converted to python subclasses
* number min/max, string max length, array's, array lengths, valid enum types, readonly flag.
interesting pages (abusing autobuilder ftp :/)
http://www.graphicall.org/builds/builds/autobuilds/rna/class-tree.html
http://www.graphicall.org/builds/builds/autobuilds/rna/rna.Sequence-class.html
http://www.graphicall.org/builds/builds/autobuilds/rna/identifier-index.html
docs are generated in source/blender/python/doc
2008-12-19 05:05:23 +00:00