Commit graph

2633 commits

Author SHA1 Message Date
Brian Wilkerson a420a1fbb5 Remove more dead code from analysis server
R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2949103003 .
2017-06-22 08:21:03 -07:00
Brian Wilkerson e28064f405 Restore partial analysis of analysis options files
R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2946313003 .
2017-06-22 08:00:50 -07:00
Brian Wilkerson fcb23e967c Remove the unused class SingleContextManager
R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2945313002 .
2017-06-21 11:21:25 -07:00
Brian Wilkerson 53e01faa43 Remove unused implementation of SearchEngine and rename the driver-based implementation
R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2949823002 .
2017-06-21 09:33:51 -07:00
Brian Wilkerson 6e89075952 Disable finding plugin locations in the pubspec
R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2947153002 .
2017-06-21 09:30:32 -07:00
Brian Wilkerson 6e8453ed94 Fix invalid initializing formal by adding a field
R=pquitslund@google.com

Review-Url: https://codereview.chromium.org/2946093002 .
2017-06-21 07:56:26 -07:00
Mike Fairhurst 47c9dcad97 Update plugin whitelist to accomodate angular plugin rename
BUG=
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2947953002 .
2017-06-20 12:01:51 -07:00
Brian Wilkerson 5582824e3c Rename the plugin location key and directory name
R=mfairhurst@google.com

Review-Url: https://codereview.chromium.org/2952583003 .
2017-06-20 11:06:39 -07:00
Brian Wilkerson 24996fbfe7 Add support to pass the location of the analysis options file to plugins
R=mfairhurst@google.com

Review-Url: https://codereview.chromium.org/2947743002 .
2017-06-20 07:41:03 -07:00
Brian Wilkerson d30c5070a2 Disable a test to fix the bots (TBR)
Review-Url: https://codereview.chromium.org/2946763002 .
2017-06-19 12:02:52 -07:00
Konstantin Shcheglov f9dc588a27 Don't compute 'dart:core' LibraryElement during completion.
AnalysisResult already has TypeProvider, which can give us Object type.

R=brianwilkerson@google.com, danrubel@google.com
BUG=

Review-Url: https://codereview.chromium.org/2946643002 .
2017-06-19 08:18:08 -07:00
Brian Wilkerson e0216fef7f Remove ability to disable new analysis driver
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2937323003 .
2017-06-19 08:13:14 -07:00
Konstantin Shcheglov 9600dab0e0 Enable 'analysis.implemented' with the new analysis driver.
It is not very efficient on large files, but works well enough for small
files. I will work on making it more efficient in following CLs.

R=brianwilkerson@google.com, devoncarew@google.com
BUG= https://github.com/dart-lang/sdk/issues/29113

Review-Url: https://codereview.chromium.org/2942753002 .
2017-06-16 09:13:45 -07:00
Dan Rubel 305f358fa4 update statement completion for fasta scanner
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2936143002 .
2017-06-14 11:15:50 -04:00
Brian Wilkerson a0d7d64f0b Convert more tests
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2936123002 .
2017-06-13 19:38:59 -07:00
Devon Carew e523061acc Minor tweaks to the diagnostics page.
BUG=
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2937623005 .
2017-06-13 19:22:28 -07:00
Brian Wilkerson 4337a3aeee Cleanup some unused code in some of the tests
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2942433002 .
2017-06-13 14:01:17 -07:00
Brian Wilkerson 4da8380881 Convert more tests to use the new driver
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2939803002 .
2017-06-13 12:04:25 -07:00
Brian Wilkerson 1e9ae646ff Clean up some hints
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2939723002 .
2017-06-13 09:24:50 -07:00
Brian Wilkerson 67ff4d4c47 Convert more tests to the new driver
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2933943002 .
2017-06-12 14:10:14 -07:00
Brian Wilkerson 65d05524ce Remove some unnecessary tests for non-driver mode
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2935733003 .
2017-06-12 11:31:09 -07:00
Brian Wilkerson d9749ef0ac Get the highlights test to work with the new driver
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2934863002 .
2017-06-12 11:30:24 -07:00
Devon Carew 10a5bfaa08 Reduce the test scope of get_fixes_test.dart.
BUG=
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2932343002 .
2017-06-12 08:24:53 -07:00
Devon Carew a96ef1b420 Fix a race condition in an analysis server test.
BUG=
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2934813002 .
2017-06-12 07:43:01 -07:00
Brian Wilkerson 62d0376231 Run the sorter to reduce code churn
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2933753002 .
2017-06-12 07:37:14 -07:00
Brian Wilkerson d824acbf71 Update AssistProcessor to use ChangeBuilder
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2928313002 .
2017-06-12 07:28:02 -07:00
Devon Carew 44854543ea Tweak the look of the ast and element links in the diagnostics page.
BUG=
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2933043003 .
2017-06-12 07:15:35 -07:00
Brian Wilkerson c0617d2015 Add access to AST ane element model data to the status pages
R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2928033006 .
2017-06-11 09:44:15 -07:00
Brian Wilkerson b928683560 Add a couple of lints to the options files
R=devoncarew@google.com

Review-Url: https://codereview.chromium.org/2933713002 .
2017-06-11 09:12:48 -07:00
Florian Loitsch a8c2d1adba Add library tag to common_usage_sorter.dart.
Review-Url: https://codereview.chromium.org/2931163002 .
2017-06-09 21:33:21 +02:00
Devon Carew 64af69ac51 Bind the diagnostics server on ipv4 ports.
BUG=
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2930003002 .
2017-06-09 10:43:51 -07:00
pq b502bb6956 Prioritize required name param completions (flutter-intellij#1049).
R=danrubel@google.com

Fixes: https://github.com/flutter/flutter-intellij/issues/1049
Review-Url: https://codereview.chromium.org/2927343002 .
2017-06-09 10:20:16 -07:00
Brian Wilkerson 0e6586492d Make common tests consistent
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2925273003 .
2017-06-09 08:40:16 -07:00
Konstantin Shcheglov 756cca3222 Catch exceptions in ByteStreamServerChannel._outputLine() and close the channel.
R=brianwilkerson@google.com
BUG=

Review-Url: https://codereview.chromium.org/2928703007 .
2017-06-08 12:33:43 -07:00
Konstantin Shcheglov f32e9d01b5 Rewrite byte_stream_channel_test.dart to reflective tests.
R=brianwilkerson@google.com
BUG=

Review-Url: https://codereview.chromium.org/2926323002 .
2017-06-08 11:54:06 -07:00
Brian Wilkerson 6d8b7c8806 Finish refactoring FixProcessor to use ChangeBuilder
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2930793002 .
2017-06-08 07:56:08 -07:00
Brian Wilkerson aa33d71071 Another attempt to fix the windows tests
Review-Url: https://codereview.chromium.org/2927873002 .
2017-06-07 12:35:56 -07:00
Devon Carew 0d25ac11ed Skip the ProcessProfiler.getProcessUsage test.
BUG=
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2927863002 .
2017-06-07 12:20:03 -07:00
Devon Carew 79c2668d2b add memory usage to the diagnostics page
BUG=
R=brianwilkerson@google.com, scheglov@google.com

Review-Url: https://codereview.chromium.org/2927783002 .
2017-06-07 11:28:34 -07:00
Brian Wilkerson a8919b8237 Support a short-hand way to create linked edit groups
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2928723003 .
2017-06-07 09:07:39 -07:00
Brian Wilkerson db0a8a76ae Move CompletionTarget and OpType for use by plugins
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2924703002 .
2017-06-06 07:07:19 -07:00
Brian Wilkerson 1c4cee9a82 Remove an obsolete test
Review-Url: https://codereview.chromium.org/2925723002 .
2017-06-05 14:45:11 -07:00
Brian Wilkerson dc972240d4 Remove unused IdeOptions
R=pquitslund@google.com

Review-Url: https://codereview.chromium.org/2924633002 .
2017-06-05 14:12:17 -07:00
Brian Wilkerson e8a5e404c3 Move LocalDeclarationVisitor for use by contributors that will be moved to analyzer_plugin
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2918343002 .
2017-06-05 10:24:54 -07:00
Brian Wilkerson db7d3d0fe7 Move relevance constants for use in plugins
R=danrubel@google.com

Review-Url: https://codereview.chromium.org/2923573002 .
2017-06-05 10:10:56 -07:00
Devon Carew 0b79e4d20d update the analyzer and analysis server perf tags
BUG=
R=brianwilkerson@google.com, scheglov@google.com

Review-Url: https://codereview.chromium.org/2917183003 .
2017-06-03 19:51:27 -07:00
Devon Carew 4f2867d86c Add clientID and clientVersion to the diagnostics page.
BUG=
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2925463002 .
2017-06-03 17:53:52 -07:00
Devon Carew 511963d715 Add an analytics domain to the analysis server.
BUG=
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2922603002 .
2017-06-02 14:38:53 -07:00
Devon Carew 428c0ff59d Expose the exceptions info in the diagnostics page.
BUG=
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2914383002 .
2017-06-02 09:57:09 -07:00
Brian Wilkerson b5c630426c Update a few more methods in FixProcessor, and fix some bugs in ChangeBuilder
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2916923002 .
2017-06-02 07:36:51 -07:00