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

Issue 1398293002: Move the wire protocol support into the public API (Closed)

Created:
5 years, 2 months ago by Brian Wilkerson
Modified:
5 years, 2 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Add missed files #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+2870 lines, -19590 lines) Patch
M pkg/analysis_server/benchmark/integration/input_converter.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/benchmark/integration/operation.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/benchmark/perf/analysis_timing_tests.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/benchmark/perf/performance_tests.dart View 3 chunks +11 lines, -11 lines 0 comments Download
M pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/plugin/analysis/navigation/navigation_core.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/plugin/analysis/occurrences/occurrences_core.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/plugin/edit/utilities/change_builder_core.dart View 1 chunk +1 line, -1 line 0 comments Download
A + pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart View 1 410 chunks +1051 lines, -752 lines 0 comments Download
A + pkg/analysis_server/lib/plugin/protocol/protocol.dart View 1 16 chunks +50 lines, -484 lines 2 comments Download
M pkg/analysis_server/lib/src/analysis_manager.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/analysis_server.dart View 2 chunks +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/channel/byte_stream_channel.dart View 2 chunks +4 lines, -6 lines 0 comments Download
M pkg/analysis_server/lib/src/channel/channel.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/channel/web_socket_channel.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/computer/computer_highlights.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/computer/computer_highlights2.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/computer/computer_hover.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/src/computer/computer_outline.dart View 3 chunks +8 lines, -8 lines 0 comments Download
M pkg/analysis_server/lib/src/domain_analysis.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/domain_completion.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/domain_execution.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/domain_server.dart View 1 chunk +1 line, -1 line 0 comments Download
D pkg/analysis_server/lib/src/generated_protocol.dart View 1 chunk +0 lines, -16129 lines 0 comments Download
M pkg/analysis_server/lib/src/get_handler.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/plugin/server_plugin.dart View 2 chunks +1 line, -1 line 0 comments Download
D pkg/analysis_server/lib/src/protocol.dart View 1 chunk +0 lines, -999 lines 0 comments Download
A pkg/analysis_server/lib/src/protocol/protocol_internal.dart View 1 1 chunk +465 lines, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/protocol_server.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analysis_server/lib/src/provisional/completion/completion_core.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/provisional/completion/completion_dart.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/provisional/refactoring/refactoring_core.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/completion/completion_manager.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/completion/contribution_sorter.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/completion/dart_completion_manager.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/completion/keyword_contributor.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/completion/local_reference_contributor.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/analysis_server/lib/src/services/correction/fix_internal.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/correction/organize_directives.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/correction/sort_members.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/correction/source_buffer.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/correction/status.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/correction/util.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/refactoring/refactoring.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/refactoring/rename_library.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/socket_server.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/status/get_handler.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/utilities/change_builder_core.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/utilities/change_builder_dart.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/get_errors_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/get_hover_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/get_navigation_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/notification_analyzedFiles_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/notification_errors_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/notification_highlights_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/notification_highlights_test2.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/notification_implemented_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analysis_server/test/analysis/notification_navigation_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/notification_occurrences_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/notification_outline_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/notification_overrides_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/reanalyze_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/set_priority_files_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis/update_content_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis_abstract.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis_server_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/channel/byte_stream_channel_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/channel/web_socket_channel_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/completion_test_support.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/domain_analysis_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/domain_completion_test.dart View 2 chunks +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/domain_execution_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/domain_server_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/edit/assists_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/edit/fixes_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/edit/format_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/edit/organize_directives_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/edit/refactoring_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/edit/sort_members_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/error_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/get_hover_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/highlights_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/highlights_test2.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/navigation_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/occurrences_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/outline_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/overrides_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/package_root_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/reanalyze_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/update_content_list_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/analysis/update_content_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/completion/get_suggestions_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/integration_test_methods.dart View 9 chunks +1043 lines, -996 lines 2 comments Download
M pkg/analysis_server/test/integration/integration_tests.dart View 4 chunks +19 lines, -19 lines 0 comments Download
M pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/server/set_subscriptions_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/integration/server/status_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/mocks.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analysis_server/test/plugin/set_analysis_domain_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/protocol_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analysis_server/test/search/abstract_search_domain.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/search/element_references_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/search/member_declarations_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/search/member_references_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/search/top_level_declarations_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/search/type_hierarchy_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/completion/arglist_contributor_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/completion/combinator_contributor_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/completion/common_usage_computer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/completion/completion_computer_test.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M pkg/analysis_server/test/services/completion/completion_test_util.dart View 1 chunk +4 lines, -3 lines 0 comments Download
M pkg/analysis_server/test/services/completion/imported_reference_contributor_test.dart View 1 chunk +4 lines, -3 lines 0 comments Download
M pkg/analysis_server/test/services/completion/inherited_computer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/completion/keyword_contributor_test.dart View 3 chunks +11 lines, -11 lines 0 comments Download
M pkg/analysis_server/test/services/completion/local_reference_contributor_test.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/completion/uri_contributor_test.dart View 3 chunks +11 lines, -11 lines 0 comments Download
M pkg/analysis_server/test/services/correction/assist_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/correction/fix_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/correction/organize_directives_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analysis_server/test/services/correction/sort_members_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/abstract_rename.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/extract_local_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/extract_method_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/inline_local_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/inline_method_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/naming_conventions_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/rename_class_member_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/rename_import_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/rename_label_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/rename_library_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/rename_local_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/socket_server_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/src/utilities/change_builder_core_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/src/utilities/change_builder_dart_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/timing/completion/completion_simple.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/tool/spec/codegen_dart_protocol.dart View 18 chunks +40 lines, -23 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Brian Wilkerson
Sorry about the size of the CL. All of the changes outside of 'protocol.dart', 'generated_protocol.dart' ...
5 years, 2 months ago (2015-10-10 20:56:56 UTC) #2
Paul Berry
lgtm https://codereview.chromium.org/1398293002/diff/20001/pkg/analysis_server/lib/plugin/protocol/protocol.dart File pkg/analysis_server/lib/plugin/protocol/protocol.dart (right): https://codereview.chromium.org/1398293002/diff/20001/pkg/analysis_server/lib/plugin/protocol/protocol.dart#newcode41 pkg/analysis_server/lib/plugin/protocol/protocol.dart:41: * Clients are not expected to subtype this ...
5 years, 2 months ago (2015-10-10 23:08:35 UTC) #3
scheglov
LGTM
5 years, 2 months ago (2015-10-10 23:22:59 UTC) #4
Brian Wilkerson
Committed patchset #2 (id:20001) manually as 9ad256cf18bc086e27a32e0e5fa8a6a694a36d1a (presubmit successful).
5 years, 2 months ago (2015-10-11 14:34:35 UTC) #5
Brian Wilkerson
https://codereview.chromium.org/1398293002/diff/20001/pkg/analysis_server/lib/plugin/protocol/protocol.dart File pkg/analysis_server/lib/plugin/protocol/protocol.dart (right): https://codereview.chromium.org/1398293002/diff/20001/pkg/analysis_server/lib/plugin/protocol/protocol.dart#newcode41 pkg/analysis_server/lib/plugin/protocol/protocol.dart:41: * Clients are not expected to subtype this class. ...
5 years, 2 months ago (2015-10-11 14:36:53 UTC) #6
Paul Berry
https://codereview.chromium.org/1398293002/diff/20001/pkg/analysis_server/test/integration/integration_test_methods.dart File pkg/analysis_server/test/integration/integration_test_methods.dart (left): https://codereview.chromium.org/1398293002/diff/20001/pkg/analysis_server/test/integration/integration_test_methods.dart#oldcode5 pkg/analysis_server/test/integration/integration_test_methods.dart:5: // This file has been automatically generated. Please do ...
5 years, 2 months ago (2015-10-12 12:32:10 UTC) #7
Paul Berry
5 years, 2 months ago (2015-10-12 12:44:52 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/1398293002/diff/20001/pkg/analysis_server/tes...
File pkg/analysis_server/test/integration/integration_test_methods.dart (left):

https://codereview.chromium.org/1398293002/diff/20001/pkg/analysis_server/tes...
pkg/analysis_server/test/integration/integration_test_methods.dart:5: // This
file has been automatically generated.  Please do not edit it manually.
On 2015/10/12 12:32:10, Paul Berry wrote:
> It turns out this is an autogenerated file which it looks like you manually
> edited, causing the test "pkg/analysis_server/tool/spec/check_all_test" to
fail.
>  I'm working on a fix.

Fix is here: https://codereview.chromium.org/1397353002/

Powered by Google App Engine
This is Rietveld 408576698