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

Issue 11398002: Splitting SVG types out of dart:html. (Closed)

Created:
8 years, 1 month ago by blois
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Splitting SVG types out of dart:html. Beyond this CL I need to remove the SVG prefix for most of the classes, but this is an additional chunk of work. Committed: https://code.google.com/p/dart/source/detail?r=14808

Patch Set 1 #

Patch Set 2 : Adding lookup of dartium types in multiple libraries. #

Patch Set 3 : Re-fixing resolving DOM types across multiple libs. #

Patch Set 4 : Fixing library parts. #

Patch Set 5 : Passing dartc. #

Total comments: 25

Patch Set 6 : Incorporating review feedback. #

Patch Set 7 : Syncing to latest. #

Patch Set 8 : Minifying. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14460 lines, -357 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/native_handler.dart View 1 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/libraries.dart View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M sdk/lib/html/scripts/dartdomgenerator.py View 1 2 3 4 5 6 7 6 chunks +17 lines, -13 lines 0 comments Download
M sdk/lib/html/scripts/htmlrenamer.py View 1 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M sdk/lib/html/scripts/systemhtml.py View 1 2 3 4 5 6 7 7 chunks +49 lines, -11 lines 0 comments Download
M sdk/lib/html/scripts/systemnative.py View 1 2 3 4 5 6 7 3 chunks +4 lines, -3 lines 0 comments Download
A sdk/lib/html/src/CssClassSet.dart View 1 3 4 5 6 7 1 chunk +123 lines, -0 lines 0 comments Download
A sdk/lib/html/src/FilteredElementList.dart View 1 2 3 4 5 6 7 1 chunk +102 lines, -0 lines 0 comments Download
M sdk/lib/html/src/_ListIterators.dart View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/html/src/shared_FactoryProviders.dart View 1 2 3 4 5 6 7 3 chunks +5 lines, -37 lines 0 comments Download
A sdk/lib/html/src/shared_SVGFactoryProviders.dart View 1 2 3 4 5 6 7 1 chunk +41 lines, -0 lines 0 comments Download
M sdk/lib/html/templates/dart2js_impl.darttemplate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
A sdk/lib/html/templates/html/dart2js/svg_dart2js.darttemplate View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M sdk/lib/html/templates/html/dartium/cpp_header.template View 1 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/html/templates/html/dartium/cpp_implementation.template View 1 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/html/templates/html/dartium/html_dartium.darttemplate View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
A sdk/lib/html/templates/html/dartium/svg_dartium.darttemplate View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate View 1 2 3 4 5 6 7 2 chunks +6 lines, -107 lines 0 comments Download
M sdk/lib/html/templates/html/impl/impl_Element.darttemplate View 1 2 3 4 5 6 7 3 chunks +9 lines, -143 lines 0 comments Download
M sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate View 1 2 3 4 5 6 7 2 chunks +19 lines, -6 lines 0 comments Download
M sdk/lib/html/templates/html/impl/impl_SVGSVGElement.darttemplate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/html/templates/html/impl/pure_interface.darttemplate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/html/templates/immutable_list_mixin.darttemplate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
A sdk/lib/svg/dart2js/svg_dart2js.dart View 1 2 3 4 5 6 7 1 chunk +6032 lines, -0 lines 0 comments Download
A sdk/lib/svg/dartium/svg_dartium.dart View 1 2 3 4 5 6 7 1 chunk +7963 lines, -0 lines 0 comments Download
M tests/html/element_test.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tests/html/node_test.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tests/html/svg_1_test.dart View 1 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tests/html/svg_2_test.dart View 1 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tests/html/svg_3_test.dart View 1 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M tests/html/svgelement2_test.dart View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M tests/html/svgelement_test.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tools/create_sdk.py View 1 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M utils/apidoc/apidoc.dart View 1 2 3 4 5 6 7 4 chunks +4 lines, -4 lines 0 comments Download
M utils/apidoc/html_diff.dart View 1 2 3 4 5 6 7 4 chunks +25 lines, -19 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
blois
This CL moves all of the SVG types out of dart:html to dart:svg. With the ...
8 years, 1 month ago (2012-11-09 01:15:56 UTC) #1
Anton Muhin
https://codereview.chromium.org/11398002/diff/39018/sdk/lib/_internal/compiler/implementation/compiler.dart File sdk/lib/_internal/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/11398002/diff/39018/sdk/lib/_internal/compiler/implementation/compiler.dart#newcode493 sdk/lib/_internal/compiler/implementation/compiler.dart:493: // dart:html needs access to convertDartClosureToJS. what about dart:svg? ...
8 years, 1 month ago (2012-11-09 13:13:23 UTC) #2
blois
Thanks for the feedback Anton! https://codereview.chromium.org/11398002/diff/39018/sdk/lib/_internal/compiler/implementation/compiler.dart File sdk/lib/_internal/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/11398002/diff/39018/sdk/lib/_internal/compiler/implementation/compiler.dart#newcode493 sdk/lib/_internal/compiler/implementation/compiler.dart:493: // dart:html needs access ...
8 years, 1 month ago (2012-11-09 18:21:55 UTC) #3
Anton Muhin
lgtm nice work, Pete
8 years, 1 month ago (2012-11-12 18:37:31 UTC) #4
sra1
lgtm
8 years, 1 month ago (2012-11-12 20:21:24 UTC) #5
ahe
8 years, 1 month ago (2012-11-16 09:12:50 UTC) #6
Next time you make modifications to sdk/lib/_internal/compiler please make sure
to wait for LGTM from a reviewer from the dart2js team in AAR.  It is hard for
us to keep track of what is going on when you don't.

The changes to sdk/lib/_internal/compiler, LGTM.

Powered by Google App Engine
This is Rietveld 408576698