|
Finish moving service protocol to json rpc.
Service
- Remove support for old-style service requests.
- Drop 'arguments' from JsonStream and ServiceRequestHandler.
- Json-rpc inspired renaming: command->method, options->params all over.
- Implement getFlagList, setFlag, getObjectByAddress.
- Add helpers PrintMissingParamError and PrintInvalidParamError
to make our error messages more regular.
- Update tests.
- Service_SetSource removed for now. John will resurrect.
Observatory
- Drop all Deprecated 'get' functions. We now use json rpc for everything.
- Drop 'link' and 'relativeLink' from ServiceObject -- they were
ui-specific and they are no longer meaningful anyways. Use 'id' instead.
- New pages: VMPage, FlagsPage, InspectPage, ErrorPage. All urls
used by Observatory are now 'new school' and have a proper
prefix. ErrorPage is the new catch-all.
- Pages now use a Uri instead of a url String. This lets them
grab query parameters more easily.
- SimplePage replaces IsolateSuffixPage.
- We now use gotoLink() or makeLink() to make our navigation
links. gotoLink gets some optional parameters to make it
easier to construct links to ServiceObjects.
- Rework mouse clicks on the heap map to use getObjectByAddress.
- Remove the breakpoint_list. It wasn't working. I'll add it back later.
- Silence logging of getIsolateMetric/getVMMetric.
R=johnmccutchan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=43514
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+638 lines, -1813 lines) |
Patch |
|
M |
runtime/bin/main.cc
|
View
|
|
2 chunks |
+11 lines, -16 lines |
0 comments
|
Download
|
|
M |
runtime/bin/vmservice/server.dart
|
View
|
|
2 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/include/dart_api.h
|
View
|
|
1 chunk |
+8 lines, -16 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/bin/shell.dart
|
View
|
1
2
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/elements.dart
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/elements.html
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/service_common.dart
|
View
|
|
4 chunks |
+5 lines, -31 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/app/application.dart
|
View
|
|
3 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/app/page.dart
|
View
|
1
2
3
|
8 chunks |
+133 lines, -86 lines |
0 comments
|
Download
|
|
D |
runtime/observatory/lib/src/elements/breakpoint_list.dart
|
View
|
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
|
D |
runtime/observatory/lib/src/elements/breakpoint_list.html
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/code_view.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/cpu_profile.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/debugger.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/field_view.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/flag_list.html
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/function_view.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
runtime/observatory/lib/src/elements/general_error.dart
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
|
A + |
runtime/observatory/lib/src/elements/general_error.html
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/heap_map.dart
|
View
|
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/heap_map.html
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/heap_profile.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/io_view.html
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/isolate_summary.html
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/isolate_view.html
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/nav_bar.dart
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/nav_bar.html
|
View
|
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/observatory_element.dart
|
View
|
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/script_view.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/service_ref.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/service_view.dart
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/elements/service_view.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/observatory/lib/src/service/object.dart
|
View
|
1
2
3
|
14 chunks |
+15 lines, -103 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/observatory.gypi
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_stream.h
|
View
|
|
3 chunks |
+22 lines, -39 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_stream.cc
|
View
|
|
4 chunks |
+38 lines, -108 lines |
0 comments
|
Download
|
|
M |
runtime/vm/json_test.cc
|
View
|
|
1 chunk |
+11 lines, -17 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service.cc
|
View
|
1
2
3
|
43 chunks |
+189 lines, -873 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service/message.dart
|
View
|
|
4 chunks |
+3 lines, -24 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service/running_isolates.dart
|
View
|
1
2
3
|
2 chunks |
+1 line, -40 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service/service.idl
|
View
|
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service/vmservice.dart
|
View
|
1
2
3
|
1 chunk |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/service_test.cc
|
View
|
|
32 chunks |
+91 lines, -298 lines |
0 comments
|
Download
|
Total messages: 6 (1 generated)
|