Blender Git Commit Log
Git Commits -> Revision 7f24dbe
Revision 7f24dbe by Brecht Van Lommel (master) October 31, 2008, 23:50 (GMT) |
RNA / Data API This is the first code for the Data API, also known as RNA system in the 2.5 Branch. It does not include a user interface, and only wraps some Scene properties for testing. It is integrated with Scons and Makefiles, and compiles a 'makesrna' program that generates an RNA.c file. http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DataAPI http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA The changes are quite local, basically adding a makesrna module which works similar to the makesdna module. The one external change is in moving genfile.c from blenloader to the makesdna module, so that it can be reused by the RNA code. This also meant changing the DNA makefiles. It seems to be doing dependencies correct still in my tests, but if there is an issue with the DNA not being rebuilt this commit might be the one causing it. Also it seems for scons the makesdna and makesrna modules are compiling without warnings. Not a new issue but this should be fixed. The RNA code supports all types as defined in the Data API design, so in that sense it is fairly complete and I hope that aspect will not have to change much. Some obviously missing parts are context related code, notify() functions for updates and user defined / ID properties. |
Commit Details:
Full Hash: 7f24dbe5fc5a00ee161717070deb6baf4af8e83e
SVN Revision: 17255
Parent Commit: b589489
Lines Changed: +4093, -1245
15 Added Paths:
/source/blender/makesdna/DNA_genfile.h (+52, -0) (View)
/source/blender/makesdna/intern/dna_genfile.c (+1086, -0) (View)
/source/blender/makesrna/intern/Makefile (+79, -0)
/source/blender/makesrna/intern/makesrna.c (+780, -0) (View)
/source/blender/makesrna/intern/rna_access.c (+411, -0) (View)
/source/blender/makesrna/intern/rna_define.c (+847, -0) (View)
/source/blender/makesrna/intern/rna_internal.h (+94, -0) (View)
/source/blender/makesrna/intern/rna_object.c (+52, -0) (View)
/source/blender/makesrna/intern/rna_scene.c (+115, -0) (View)
/source/blender/makesrna/intern/SConscript (+49, -0) (View)
/source/blender/makesrna/Makefile (+31, -0)
/source/blender/makesrna/RNA_access.h (+75, -0) (View)
/source/blender/makesrna/RNA_define.h (+96, -0) (View)
/source/blender/makesrna/RNA_types.h (+247, -0) (View)
/source/blender/makesrna/SConscript (+11, -0) (View)
/source/blender/makesdna/intern/dna_genfile.c (+1086, -0) (View)
/source/blender/makesrna/intern/Makefile (+79, -0)
/source/blender/makesrna/intern/makesrna.c (+780, -0) (View)
/source/blender/makesrna/intern/rna_access.c (+411, -0) (View)
/source/blender/makesrna/intern/rna_define.c (+847, -0) (View)
/source/blender/makesrna/intern/rna_internal.h (+94, -0) (View)
/source/blender/makesrna/intern/rna_object.c (+52, -0) (View)
/source/blender/makesrna/intern/rna_scene.c (+115, -0) (View)
/source/blender/makesrna/intern/SConscript (+49, -0) (View)
/source/blender/makesrna/Makefile (+31, -0)
/source/blender/makesrna/RNA_access.h (+75, -0) (View)
/source/blender/makesrna/RNA_define.h (+96, -0) (View)
/source/blender/makesrna/RNA_types.h (+247, -0) (View)
/source/blender/makesrna/SConscript (+11, -0) (View)
3 Deleted Paths:
/source/blender/blenloader/BLO_genfile.h (+0, -35)
/source/blender/blenloader/intern/genfile.c (+0, -1099)
/source/blender/blenloader/intern/genfile.h (+0, -46)
/source/blender/blenloader/intern/genfile.c (+0, -1099)
/source/blender/blenloader/intern/genfile.h (+0, -46)
10 Modified Paths:
/source/blender/blenloader/intern/readblenentry.c (+2, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+9, -18) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -7) (Diff)
/source/blender/Makefile (+1, -1) (Diff)
/source/blender/makesdna/DNA_sdna_types.h (+20, -10) (Diff)
/source/blender/makesdna/intern/Makefile (+8, -8) (Diff)
/source/blender/makesdna/intern/SConscript (+16, -12) (Diff)
/source/blender/makesdna/SConscript (+2, -2) (Diff)
/source/blender/SConscript (+1, -0) (Diff)
/source/Makefile (+5, -5) (Diff)
/source/blender/blenloader/intern/readfile.c (+9, -18) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -7) (Diff)
/source/blender/Makefile (+1, -1) (Diff)
/source/blender/makesdna/DNA_sdna_types.h (+20, -10) (Diff)
/source/blender/makesdna/intern/Makefile (+8, -8) (Diff)
/source/blender/makesdna/intern/SConscript (+16, -12) (Diff)
/source/blender/makesdna/SConscript (+2, -2) (Diff)
/source/blender/SConscript (+1, -0) (Diff)
/source/Makefile (+5, -5) (Diff)