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

Issue 9403004: Wrapperless dart:html generator (Closed)

Created:
8 years, 10 months ago by Jacob
Modified:
8 years, 10 months ago
CC:
reviews_dartlang.org, pavel.podivilov
Visibility:
Public.

Description

Wrapperless dart:html generator BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=4373

Patch Set 1 : Cleanup #

Total comments: 45

Patch Set 2 : Code review fixes #

Total comments: 1

Patch Set 3 : Final version to check in. changes generator script but doesn't check in an active version of the … #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8868 lines, -1269 lines) Patch
M client/dom/scripts/dartdomgenerator.py View 1 2 5 chunks +91 lines, -18 lines 0 comments Download
M client/dom/scripts/dartgenerator.py View 1 2 27 chunks +45 lines, -1130 lines 0 comments Download
M client/dom/scripts/dartgenerator_test.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/scripts/database.py View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
A client/dom/scripts/generator.py View 1 2 1 chunk +351 lines, -0 lines 0 comments Download
M client/dom/scripts/idlnode.py View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M client/dom/scripts/idlnode_test.py View 1 2 6 chunks +8 lines, -8 lines 0 comments Download
A client/dom/scripts/systembase.py View 1 2 1 chunk +331 lines, -0 lines 0 comments Download
A client/dom/scripts/systemfrog.py View 1 2 1 chunk +324 lines, -0 lines 0 comments Download
A client/dom/scripts/systemhtml.py View 1 2 1 chunk +1335 lines, -0 lines 0 comments Download
A client/dom/scripts/systeminterface.py View 1 2 1 chunk +202 lines, -0 lines 0 comments Download
M client/dom/templates/dom/interface/interface_AudioContext.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/dom/interface/interface_CSSMatrix.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/dom/interface/interface_DOMParser.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/dom/interface/interface_FileReader.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/dom/interface/interface_Point.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/dom/interface/interface_WebKitCSSMatrix.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/dom/interface/interface_WebKitPoint.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/dom/interface/interface_WebSocket.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/dom/interface/interface_XMLHttpRequest.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/dom/interface/interface_XSLTProcessor.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M client/dom/templates/html/frog/html_frog.darttemplate View 1 2 1 chunk +14 lines, -16 lines 0 comments Download
A client/dom/templates/html/frog/impl_CSSStyleDeclaration.darttemplate View 1 2 1 chunk +2796 lines, -0 lines 0 comments Download
M client/dom/templates/html/frog/impl_Console.darttemplate View 1 2 1 chunk +2 lines, -7 lines 0 comments Download
A client/dom/templates/html/frog/impl_Document.darttemplate View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A client/dom/templates/html/frog/impl_Element.darttemplate View 1 2 1 chunk +464 lines, -0 lines 0 comments Download
A client/dom/templates/html/frog/impl_Event.darttemplate View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A client/dom/templates/html/frog/impl_EventTarget.darttemplate View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A + client/dom/templates/html/frog/impl_HtmlElement.darttemplate View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
A client/dom/templates/html/frog/impl_Node.darttemplate View 1 2 1 chunk +120 lines, -0 lines 0 comments Download
A client/dom/templates/html/frog/impl_NodeList.darttemplate View 1 2 1 chunk +89 lines, -0 lines 0 comments Download
A client/dom/templates/html/frog/impl_Window.darttemplate View 1 2 1 chunk +131 lines, -0 lines 0 comments Download
A client/dom/templates/html/interface/interface_CSSStyleDeclaration.darttemplate View 1 2 1 chunk +1855 lines, -0 lines 0 comments Download
A client/dom/templates/html/interface/interface_Document.darttemplate View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A client/dom/templates/html/interface/interface_Element.darttemplate View 1 2 1 chunk +299 lines, -0 lines 0 comments Download
A client/dom/templates/html/interface/interface_Event.darttemplate View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A client/dom/templates/html/interface/interface_EventTarget.darttemplate View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A client/dom/templates/html/interface/interface_Node.darttemplate View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A + client/dom/templates/html/interface/interface_NodeList.darttemplate View 1 2 1 chunk +9 lines, -3 lines 0 comments Download
A + client/dom/templates/html/interface/interface_Point.darttemplate View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A client/dom/templates/html/interface/interface_Window.darttemplate View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A + client/dom/templates/html/interface/interface_XMLHttpRequest.darttemplate View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
D client/dom/templates/html/template_html.darttemplate View 1 2 1 chunk +0 lines, -67 lines 0 comments Download
M client/dom/templates/interface.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
A client/html/src/frog_FactoryProviders.dart View 1 2 1 chunk +125 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jacob
Please focus the review on the python scripts and templates. The generated output is not ...
8 years, 10 months ago (2012-02-15 07:24:34 UTC) #1
nweiz
lgtm https://chromiumcodereview.appspot.com/9403004/diff/1273/client/dom/scripts/dartdomgenerator.py File client/dom/scripts/dartdomgenerator.py (right): https://chromiumcodereview.appspot.com/9403004/diff/1273/client/dom/scripts/dartdomgenerator.py#newcode31 client/dom/scripts/dartdomgenerator.py:31: _webkit_renames_inverse = None This doesn't need to be ...
8 years, 10 months ago (2012-02-15 21:35:59 UTC) #2
sra1
https://chromiumcodereview.appspot.com/9403004/diff/1273/client/dom/scripts/dartdomgenerator.py File client/dom/scripts/dartdomgenerator.py (right): https://chromiumcodereview.appspot.com/9403004/diff/1273/client/dom/scripts/dartdomgenerator.py#newcode112 client/dom/scripts/dartdomgenerator.py:112: for interface in common_database.GetInterfaces(): It would be nice to ...
8 years, 10 months ago (2012-02-16 04:43:28 UTC) #3
Jacob
I also split the base, html, and frog system logic into separate files to make ...
8 years, 10 months ago (2012-02-17 00:44:22 UTC) #4
sra1
There still some cleanup I would like to see but I think we need to ...
8 years, 10 months ago (2012-02-17 21:13:07 UTC) #5
sra1
8 years, 10 months ago (2012-02-17 21:49:08 UTC) #6
LGTM with the above mentioned file split.

http://codereview.chromium.org/9403004/diff/15001/client/dom/scripts/idlnode.py
File client/dom/scripts/idlnode.py (right):

http://codereview.chromium.org/9403004/diff/15001/client/dom/scripts/idlnode....
client/dom/scripts/idlnode.py:362: def merge(self, other):
Please move this - the classes in this file should be plain data.

Powered by Google App Engine
This is Rietveld 408576698