|
More multi-version support
Minor fix to idl_output: switch from None to '' to alow split to work
Add 'InReleases' member to verify node is valid within a list of releases.
Add 'releases' member to IDLVersionMap class for easier search.
Remove stale code and build ordered list of requested releases in AST
Remove release member from CGen object, and pass into functions
Move release tracking from C prototype to C header generator
Update generator tests.
Added golden files to verify the C generator is correct
NOTE: This is work in progress. The header emitted using
--release=X should be correct and has been tested to generate
exactly what we have today, however --range=X,Y does not yet
generate what we need.
BUG= http://code.google.com/p/chromium/issues/detail?id=89969
TEST= python generator.py
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98133
Total comments: 34
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+448 lines, -338 lines) |
Patch |
|
M |
ppapi/generators/idl_ast.py
|
View
|
|
4 chunks |
+15 lines, -10 lines |
0 comments
|
Download
|
|
M |
ppapi/generators/idl_c_header.py
|
View
|
1
|
2 chunks |
+155 lines, -127 lines |
0 comments
|
Download
|
|
M |
ppapi/generators/idl_c_proto.py
|
View
|
1
|
14 chunks |
+119 lines, -189 lines |
0 comments
|
Download
|
|
M |
ppapi/generators/idl_generator.py
|
View
|
1
|
5 chunks |
+64 lines, -8 lines |
0 comments
|
Download
|
|
M |
ppapi/generators/idl_namespace.py
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/generators/idl_node.py
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/generators/idl_outfile.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ppapi/generators/test_cgen/enum_typedef.idl
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/generators/test_cgen/interface.idl
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
ppapi/generators/test_cgen/structs.idl
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
A |
ppapi/generators/test_cgen_range/versions.h
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/generators/test_cgen_range/versions.idl
|
View
|
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|