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

Issue 10389097: Move dart:dom to dart:dom_deprecated (Closed)

Created:
8 years, 7 months ago by vsm
Modified:
8 years, 7 months ago
CC:
reviews_dartlang.org, Kasper Lund, dgrove, danrubel
Visibility:
Public.

Description

Move dart:dom to dart:dom_deprecated Brian: Can you please look at the editor / dartc changes? Bob: Can you look at the apidoc changes? Stephen/Pavel: Can you guys look at the rest? Pavel: I will update, test, and land your Dartium CL along with this change. Committed: https://code.google.com/p/dart/source/detail?r=7587

Patch Set 1 #

Patch Set 2 : Fix dart2js library table #

Patch Set 3 : Fix dart2js mock check #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Fix formatting #

Total comments: 8

Patch Set 6 : Fixes from review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -208 lines) Patch
M compiler/api.dart View 1 chunk +1 line, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/SystemLibrary.java View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M compiler/java/com/google/dart/compiler/SystemLibraryManager.java View 1 2 3 4 5 7 chunks +12 lines, -13 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/DartLibraryGenerator.java View 1 chunk +1 line, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java View 2 chunks +2 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/generator/SomeLib.txt View 1 chunk +1 line, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/DartLibraryImplTest.java View 5 chunks +5 lines, -5 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/SystemLibraryManagerProviderTest.java View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/samples/SamplesTest.java View 1 chunk +1 line, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core_test/test_data/UserLibrary/userLib.dart View 1 chunk +1 line, -1 line 0 comments Download
M frog/file_system_dom.dart View 1 chunk +1 line, -1 line 0 comments Download
M frog/reader.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M frog/tests/canvastest.dart View 1 chunk +1 line, -1 line 0 comments Download
M frog/tests/frog_native/native_call_arity1_frog_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M frog/tests/frog_native/native_call_arity3_frog_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M frog/world.dart View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download
M lib/compiler/implementation/apiimpl.dart View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M lib/compiler/implementation/library_map.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/native_handler.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/config/import_any.config View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M lib/config/import_dart2js.config View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M lib/config/import_dartium.config View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M lib/config/import_frog.config View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M lib/dom/scripts/generator.py View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M lib/dom/scripts/systemhtml.py View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M lib/dom/templates/dom/native/dom_impl.darttemplate View 1 chunk +1 line, -1 line 0 comments Download
M lib/dom/templates/dom/native/dom_public.darttemplate View 1 chunk +1 line, -1 line 0 comments Download
M lib/dom/templates/html/dartium/html_dartium.darttemplate View 1 chunk +1 line, -1 line 0 comments Download
M lib/html/dartium/html_dartium.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/html/html_dartium.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/html/html_frog.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M lib/isolate/frog/isolateimpl.dart View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M lib/unittest/dom_config.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/unittest/unittest.dart View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M samples/matrix/matrix_client.dart View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M samples/matrix/matrix_server.dart View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M samples/swarm/htmlconverter.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M samples/swarm/htmlconverter_test.py View 5 chunks +5 lines, -5 lines 0 comments Download
M samples/third_party/dromaeo/Dromaeo.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/dromaeo/Suites.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M samples/third_party/dromaeo/tests/RunnerSuite.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/dromaeo/tests/dom-attr.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/dromaeo/tests/dom-modify.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/dromaeo/tests/dom-query.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/dromaeo/tests/dom-traverse.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/async_window_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/audiocontext_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/cache_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/callbacks_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/canvas_pixel_array_type_alias_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/canvas_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/canvas_using_html_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/cross_frame_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/css_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/dart_object_local_storage_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/document_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/dom_constructors_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/dom_isolates_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/domparser_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/events_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/exceptions_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/history_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/htmlaudioelement_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/htmlcollection_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/htmlelement_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/indexeddb_1_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/indexeddb_2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/indexeddb_3_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/indexeddb_4_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/inner_frame_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/instance_of_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/isolates_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/key_name_location_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/messageevent_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/native_gc_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/performance_api_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/request_animation_frame_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/serialized_script_value_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/storage_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/svg_1_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/dom/svg_2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/svg_3_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/typed_arrays_1_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/typed_arrays_2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/typed_arrays_3_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/typed_arrays_4_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/typing_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/webgl_1_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/dom/websocket_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/window_eq_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/window_mangling_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/window_nosuchmethod_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/window_open_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/wrapper_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/xhr_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/dom/xsltprocessor_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/v2_compute_this_script_browser_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/apidoc/apidoc.dart View 1 2 3 4 4 chunks +9 lines, -7 lines 0 comments Download
M utils/apidoc/html_diff.dart View 1 2 3 4 8 chunks +53 lines, -39 lines 0 comments Download
M utils/apidoc/html_diff_dump.dart View 1 2 3 4 4 chunks +14 lines, -11 lines 0 comments Download
M utils/apidoc/mdn/extract.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/tip/froggertest.html View 1 chunk +1 line, -1 line 0 comments Download
M utils/tip/tip.dart View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
vsm
https://chromiumcodereview.appspot.com/10389097/diff/6001/compiler/java/com/google/dart/compiler/SystemLibraryManager.java File compiler/java/com/google/dart/compiler/SystemLibraryManager.java (right): https://chromiumcodereview.appspot.com/10389097/diff/6001/compiler/java/com/google/dart/compiler/SystemLibraryManager.java#newcode252 compiler/java/com/google/dart/compiler/SystemLibraryManager.java:252: String host = file.getParentFile().getName(); I changed this to fix ...
8 years, 7 months ago (2012-05-11 19:38:43 UTC) #1
Bob Nystrom
Apidoc changes LGTM!
8 years, 7 months ago (2012-05-11 21:25:13 UTC) #2
sra1
lgtm
8 years, 7 months ago (2012-05-11 23:00:36 UTC) #3
Brian Wilkerson
LGTM, but you might want to get Dan's input on the SystemLibraryManager change. https://chromiumcodereview.appspot.com/10389097/diff/4002/compiler/java/com/google/dart/compiler/SystemLibrary.java File ...
8 years, 7 months ago (2012-05-11 23:23:31 UTC) #4
vsm
8 years, 7 months ago (2012-05-13 04:19:26 UTC) #5
Thanks, landed.

danrubel: Please let me know if you see any issues with the change to
SystemLibraryManager.java (i.e., the line Brian pointed out).

https://chromiumcodereview.appspot.com/10389097/diff/4002/compiler/java/com/g...
File compiler/java/com/google/dart/compiler/SystemLibrary.java (right):

https://chromiumcodereview.appspot.com/10389097/diff/4002/compiler/java/com/g...
compiler/java/com/google/dart/compiler/SystemLibrary.java:1: // Copyright (c)
2011, the Dart project authors.  Please see the AUTHORS file
On 2012/05/11 23:23:31, Brian Wilkerson wrote:
> nit: copyright year

Done.

https://chromiumcodereview.appspot.com/10389097/diff/4002/compiler/java/com/g...
File compiler/java/com/google/dart/compiler/SystemLibraryManager.java (right):

https://chromiumcodereview.appspot.com/10389097/diff/4002/compiler/java/com/g...
compiler/java/com/google/dart/compiler/SystemLibraryManager.java:1: // Copyright
(c) 2011, the Dart project authors.  Please see the AUTHORS file
On 2012/05/11 23:23:31, Brian Wilkerson wrote:
> nit: copyright year

Done.

https://chromiumcodereview.appspot.com/10389097/diff/4002/compiler/java/com/g...
compiler/java/com/google/dart/compiler/SystemLibraryManager.java:252: String
host = file.getParentFile().getName();
Thanks for the catch on index.  Line removed.

Dan: please let me know if you see issues on this line.

On 2012/05/11 23:23:31, Brian Wilkerson wrote:
> I've asked Dan to take a look at this change. I'm not familiar enough with
this
> part of the code to know if there's anything wrong. (Although I will point out
> that if this change is made we no longer need to compute the index on the line
> above.)

https://chromiumcodereview.appspot.com/10389097/diff/4002/editor/tools/plugin...
File
editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/SystemLibraryManagerProviderTest.java
(right):

https://chromiumcodereview.appspot.com/10389097/diff/4002/editor/tools/plugin...
editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/SystemLibraryManagerProviderTest.java:2:
* Copyright 2011 Dart project authors.
On 2012/05/11 23:23:31, Brian Wilkerson wrote:
> nit: copyright year

Done.

Powered by Google App Engine
This is Rietveld 408576698