|
Add --modules=node support
- Force import order in all sdk files + simplify module builders
- Stub a node_test.sh with hello world + DeltaBlue (to be expanded to language tests in a followup change)
- Use global_ from dart:_runtime in html lib
- Better export for symbols that node chokes upon: throw, const, void, implements, export... (define as throw_ locally, with proper local resolution, then export as throw).
- Cleanup node module builder
BUG=
R=jmesserly@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/393c2b3b7212f94e629ed47e0a64b4183ee5a79f
Total comments: 20
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1406 lines, -227 lines) |
Patch |
 |
M |
.travis.yml
|
View
|
1
2
3
4
5
6
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/_debugger.js
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/_js_mirrors.js
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/_runtime.js
|
View
|
1
2
3
4
5
6
7
8
9
|
33 chunks |
+50 lines, -50 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/html.js
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
lib/src/codegen/js_codegen.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
|
11 chunks |
+51 lines, -12 lines |
0 comments
|
Download
|
 |
M |
lib/src/codegen/module_builder.dart
|
View
|
1
2
3
4
5
6
7
8
9
|
8 chunks |
+58 lines, -16 lines |
0 comments
|
Download
|
 |
M |
lib/src/compiler.dart
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
lib/src/options.dart
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/browser/runtime_tests.js
|
View
|
1
2
3
4
5
6
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/collection/equality.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/collection/src/canonicalized_map.js
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/collection/src/canonicalized_map.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/collection/src/queue_list.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
A |
test/codegen/expect/collection/src/unmodifiable_wrappers.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+229 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/collection/src/unmodifiable_wrappers.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
A |
test/codegen/expect/collection/wrappers.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+809 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/html_input.html
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/language-all.js
|
View
|
1
2
3
4
5
6
7
8
9
10
|
Binary file |
0 comments
|
Download
|
 |
A + |
test/codegen/expect/node_modules.js
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
A |
test/codegen/expect/node_modules.txt
|
View
|
1
2
3
4
5
6
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/sunflower/sunflower.html
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
test/codegen/node_modules.dart
|
View
|
1
2
3
4
5
6
8
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
M |
test/codegen_test.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
tool/input_sdk/lib/html/ddc/html_ddc.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
|
13 chunks |
+26 lines, -26 lines |
0 comments
|
Download
|
 |
M |
tool/input_sdk/lib/html/html_common/html_common_ddc.dart
|
View
|
3
4
5
6
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
tool/input_sdk/private/debugger.dart
|
View
|
3
4
5
6
8
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
tool/input_sdk/private/js_mirrors.dart
|
View
|
3
4
5
6
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
tool/input_sdk/private/runtime.dart
|
View
|
3
4
5
6
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tool/input_sdk/private/types.dart
|
View
|
1
2
3
4
5
6
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
A |
tool/node_test.sh
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tool/presubmit.sh
|
View
|
1
3
4
5
6
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tool/sdk_expected_errors.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+57 lines, -57 lines |
0 comments
|
Download
|
Total messages: 17 (9 generated)
|