Commit Graph

9 Commits

Author SHA1 Message Date
danrubel@google.com 522e3433e4 remove duplicate packages in fuzz test
BUG=
R=paulberry@google.com

Review URL: https://codereview.chromium.org//656533004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41175 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 17:32:42 +00:00
danrubel@google.com 55158383fa first cut fuzz test for analysis server
This very rough first cut drives the analysis server snapshot so that it...

- analyzes the specified source tree
- locates and 'opens' a file in that tree
- modifies the content of that file in memory without saving to disk
- requests code completions

I'm not happy with the readability of the ServerTest # test() method because of all the Future references.
I'm going to experiment with async / await to see if that can make it more readable.

There are several libraries that I pulled out of the analysis server code base and cleaned up to use
with an analysis server client. In the long run, these analysis server client libraries need to be cleaned up
so that clients can import them rather than having to do what I've done. These libraries include:

- example/server_test/bin/byte_stream_channel.dart
- example/server_test/bin/channel.dart
- example/server_test/bin/generated_protocol.dart
- example/server_test/bin/json.dart
- example/server_test/bin/protocol.dart

BUG=
R=lukechurch@google.com

Review URL: https://codereview.chromium.org//584963002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40556 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 18:27:48 +00:00
scheglov@google.com 170020b4f8 Use type annotations everywhere in analysis_server/lib.
R=brianwilkerson@google.com, paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org//300643002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36610 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-24 17:46:27 +00:00
paulberry@google.com 5a7486998f Split off a Driver class from analysis server's HttpAnalysisServer.
The Driver class sits above the HttpAnalysisServer, parsing command
line options and deciding how the sever should be run.  With this
change, HttpAnalysisServer now contains only http-specific code.

R=brianwilkerson@google.com, jwren@google.com

Review URL: https://codereview.chromium.org//239573002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35075 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-15 19:55:21 +00:00
danrubel@google.com ce8dce2195 add dart-sdk option to dartdeps
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//196423005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33590 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-12 16:44:30 +00:00
danrubel@google.com ee9f48440f Error handling and code cleanup
+ cleanup futures code and error handling
+ send message to request server shutdown
+ normalize strings to match codebase

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//180253005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33063 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-26 14:39:40 +00:00
danrubel@google.com ecdbe3b6ab Analysis server connect fixes
+ new option for connecting to already running analysis server
+ gracefully handle unknown arguments
+ fix bugs in analysis server websocket connect

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//175183008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32974 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-24 17:41:22 +00:00
danrubel@google.com a633f22d76 first cut cmdline analysis server launcher
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//175173002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32903 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 15:54:21 +00:00
brianwilkerson@google.com d5c3a07611 Add top-level server
R=danrubel@google.com, devoncarew@google.com

Review URL: https://codereview.chromium.org//138163006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32008 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-25 18:46:04 +00:00