|
Rework how types work in the VM Service.
We now return a "type" property and an optional "_vmType" property for
each response. We use this to "hide" vm implementation specifics in
the VM Service protocol.
For example, before we might have returned an integer reference with type
"@Smi". Now it would have the type "@int" and the _vmType "@Smi".
This also allows us to hide funky vm internal types behind the generic
"Object" type.
Updated the protocol.md file somewhat to describe a notion of "private
properties".
Updated the Observatory and unit tests.
R=johnmccutchan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=40044
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+435 lines, -314 lines) |
Patch |
|
M |
runtime/bin/vmservice/observatory/deployed/web/index.html
|
View
|
1
2
3
4
5
6
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/deployed/web/index_devtools.html
|
View
|
1
2
3
4
5
6
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/instance_ref.html
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/instance_view.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/deployed/web/packages/polymer/boot.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/deployed/web/packages/polymer/polymer.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/deployed/web/packages/polymer/src/js/polymer/build.log
|
View
|
1
2
3
4
5
6
|
1 chunk |
+16 lines, -13 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/deployed/web/packages/polymer/src/js/polymer/polymer.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/deployed/web/packages/web_components/build.log
|
View
|
1
2
3
4
5
6
|
1 chunk |
+32 lines, -23 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/deployed/web/packages/web_components/platform.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/lib/src/elements/instance_ref.html
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/lib/src/elements/instance_view.html
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart
|
View
|
1
2
|
2 chunks |
+11 lines, -22 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/lib/src/elements/service_view.dart
|
View
|
1
2
|
3 chunks |
+11 lines, -40 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/observatory/lib/src/service/object.dart
|
View
|
1
2
3
4
5
|
5 chunks |
+60 lines, -32 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_test.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
5
|
36 chunks |
+95 lines, -55 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object_test.cc
|
View
|
|
13 chunks |
+25 lines, -24 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service/protocol.md
|
View
|
1
2
3
4
|
13 chunks |
+103 lines, -27 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_test.cc
|
View
|
1
2
3
4
5
|
24 chunks |
+39 lines, -34 lines |
0 comments
|
Download
|
Total messages: 8 (2 generated)
|