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

Issue 19497002: Reducing the amount of code we generate in the compiler: We still continue (Closed)

Created:
7 years, 5 months ago by Siggi Cherem (dart-lang)
Modified:
7 years, 5 months ago
Reviewers:
Jennifer Messerly
CC:
reviews_dartlang.org, web-ui-dev+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/web-ui.git@master
Visibility:
Public.

Description

Reducing the amount of code we generate in the compiler: We still continue generating all files like before, especially for observable, but this reduces what we need to generate further. In particular, I moved template pieces back to the html page, moved initialization code out of the user's main file, and moved css code out of the webcomponent class

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+692 lines, -373 lines) Patch
M example/component/news/test/expected/news_index_test.html.txt View 1 chunk +20 lines, -2 lines 0 comments Download
M example/component/news/web/news-component.html View 2 chunks +2 lines, -2 lines 0 comments Download
M example/todomvc/test/expected/todomvc_listorder_test.html.txt View 1 2 4 chunks +91 lines, -8 lines 0 comments Download
M example/todomvc/test/expected/todomvc_mainpage2_test.html.txt View 1 2 3 chunks +84 lines, -5 lines 0 comments Download
M example/todomvc/test/expected/todomvc_mainpage_test.html.txt View 1 2 1 chunk +79 lines, -2 lines 0 comments Download
M example/todomvc/test/expected/todomvc_markdone_test.html.txt View 1 2 6 chunks +99 lines, -14 lines 0 comments Download
M example/todomvc/test/todomvc_listorder_test.html View 1 2 1 chunk +14 lines, -10 lines 0 comments Download
M example/todomvc/test/todomvc_mainpage2_test.html View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M example/todomvc/test/todomvc_mainpage_test.html View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M example/todomvc/test/todomvc_markdone_test.html View 1 2 3 3 chunks +23 lines, -16 lines 0 comments Download
M example/todomvc/web/app.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M example/todomvc/web/app.html View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M example/todomvc/web/editable_label.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M example/todomvc/web/editable_label.html View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M example/todomvc/web/router_options.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M example/todomvc/web/router_options.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M example/todomvc/web/todo_row.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M example/todomvc/web/todo_row.html View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M lib/custom_element.dart View 1 2 5 chunks +3 lines, -43 lines 0 comments Download
M lib/polymer.dart View 1 chunk +1 line, -0 lines 0 comments Download
M lib/polymer_element.dart View 1 2 4 chunks +64 lines, -23 lines 2 comments Download
A lib/scoped_css.dart View 1 chunk +43 lines, -0 lines 0 comments Download
M lib/src/analyzer.dart View 4 chunks +10 lines, -6 lines 0 comments Download
M lib/src/compiler.dart View 7 chunks +24 lines, -55 lines 0 comments Download
M lib/src/emitters.dart View 9 chunks +63 lines, -133 lines 0 comments Download
M lib/src/html_css_fixup.dart View 1 2 6 chunks +31 lines, -15 lines 0 comments Download
M lib/src/info.dart View 2 chunks +1 line, -4 lines 0 comments Download
M test/compiler_test.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M test/css_test.dart View 5 chunks +7 lines, -7 lines 0 comments Download
M test/data/unit/event_path_test.html View 2 chunks +8 lines, -8 lines 0 comments Download
M test/data/unit/events_test.html View 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Siggi Cherem (dart-lang)
I'm not planning on submitting this until we fix bug: https://code.google.com/p/dart/issues/detail?id=11885 but wanted to give ...
7 years, 5 months ago (2013-07-18 20:12:00 UTC) #1
Jennifer Messerly
LGTM https://codereview.chromium.org/19497002/diff/2001/lib/custom_element.dart File lib/custom_element.dart (right): https://codereview.chromium.org/19497002/diff/2001/lib/custom_element.dart#newcode630 lib/custom_element.dart:630: void _initCustomElement(Element node, String localName, CustomElement ctor()) { ...
7 years, 5 months ago (2013-07-18 23:56:04 UTC) #2
Siggi Cherem (dart-lang)
PTAL Thanks John - indeed I verified that running bind-model synchornously was part of the ...
7 years, 5 months ago (2013-07-19 22:52:52 UTC) #3
Jennifer Messerly
lgtm https://chromiumcodereview.appspot.com/19497002/diff/43001/lib/polymer_element.dart File lib/polymer_element.dart (right): https://chromiumcodereview.appspot.com/19497002/diff/43001/lib/polymer_element.dart#newcode142 lib/polymer_element.dart:142: Timer.run(() => mdv.bindModel(root, this, On 2013/07/19 22:52:52, Siggi ...
7 years, 5 months ago (2013-07-19 23:16:24 UTC) #4
Siggi Cherem (dart-lang)
7 years, 5 months ago (2013-07-22 17:02:44 UTC) #5
Message was sent while issue was closed.
submitted in:
https://github.com/dart-lang/web-ui/commit/3b6866bd8dcd29fa7aa76eccb59046d904...

Powered by Google App Engine
This is Rietveld 408576698