Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Issue 7715036: More multi-version support (Closed)

Created:
9 years, 4 months ago by noelallen1
Modified:
9 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 34

Patch Set 2 : '' #

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

Messages

Total messages: 7 (0 generated)
noelallen1
9 years, 4 months ago (2011-08-24 17:53:25 UTC) #1
dmichael (off chromium)
Still looking, but here are some early comments. http://codereview.chromium.org/7715036/diff/1/ppapi/generators/idl_c_proto.py File ppapi/generators/idl_c_proto.py (right): http://codereview.chromium.org/7715036/diff/1/ppapi/generators/idl_c_proto.py#newcode31 ppapi/generators/idl_c_proto.py:31: if ...
9 years, 4 months ago (2011-08-24 20:49:11 UTC) #2
dmichael (off chromium)
Done reviewing until the next patch. http://codereview.chromium.org/7715036/diff/1/ppapi/generators/idl_generator.py File ppapi/generators/idl_generator.py (right): http://codereview.chromium.org/7715036/diff/1/ppapi/generators/idl_generator.py#newcode119 ppapi/generators/idl_generator.py:119: class GeneratorByFile(Generator): Could ...
9 years, 4 months ago (2011-08-24 21:15:29 UTC) #3
noelallen1
9 years, 4 months ago (2011-08-24 22:40:12 UTC) #4
noelallen1
Fixed nits and missing comments. As noted, use of releases is still not complete, more ...
9 years, 4 months ago (2011-08-24 22:43:06 UTC) #5
dmichael (off chromium)
LGTM to unblock you. I'll circle back and double check stuff on Monday.
9 years, 4 months ago (2011-08-24 22:46:55 UTC) #6
dmichael (off chromium)
9 years, 3 months ago (2011-08-29 19:21:01 UTC) #7
On 2011/08/24 22:46:55, dmichael wrote:
> LGTM to unblock you. I'll circle back and double check stuff on Monday.
Circled back as promised; LGTM. Thanks for making those changes!

Powered by Google App Engine
This is Rietveld 408576698