Devon Carew
8aed3ae89a
[analysis_server] re-enble null safety for the analysis server entrypoint
...
Change-Id: I13db035c320bd7969bde4b9e4197f2524fbfddd3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/199720
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2021-05-13 17:18:15 +00:00
Devon Carew
cfe24a083d
[analysis server] opt the analysis server's entry-point out of null safety
...
Change-Id: I73fefdf99387dd6c0c1925ac347782e039d48678
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/197560
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2021-04-30 16:24:06 +00:00
Brian Wilkerson
4c0a369f73
Migrate the last file in analysis_server
...
Change-Id: If344a3894c99699734148fa48da64e677a007156
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/197106
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2021-04-28 14:35:43 +00:00
Konstantin Shcheglov
e97f1bdbf0
Switch analysis_server to language 2.12, so null safety, but opt-out files.
...
This should allow doing partial migration, specifically protocol files,
which are imported by other libraries, but are a small library cycle
that does not import much outside of it.
Change-Id: I904c05d6d5b444ee9a9dbd1f7ada12aabdcc5165
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193583
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-03-30 23:39:37 +00:00
Brian Wilkerson
8969b1839c
Enable omit_local_variable_types in analysis_server
...
Change-Id: I7e5c13d40fd276854601681fc84be321e6031b10
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/141583
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2020-03-30 03:58:44 +00:00
Brian Wilkerson
e75c9192a1
Start converting dartdoc style in analysis_server
...
Change-Id: I013659a0f34dafce4c091dc534e2ab8ef0469217
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135491
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2020-02-13 15:00:03 +00:00
Brian Wilkerson
4043a6fce3
Remove unnecessary uses of new in analysis_server
...
Other than analysis_options.yaml, all of the changes were from running
dartfix.
Change-Id: I92411642f12a00fc6bd0bfd24dd60fe67f0fed16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128845
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2019-12-18 19:01:51 +00:00
Brian Wilkerson
47e988b781
Clean up the remaining copyright notices in analysis_server
...
Change-Id: Iee3110f92ab0f24312ddd1eff407d2229f895321
Reviewed-on: https://dart-review.googlesource.com/c/89101
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2019-01-11 15:38:56 +00:00
Devon Carew
9a1f783007
Normalize with the internal verison of this file.
...
Change-Id: I27d56a0f61bb68bfe9f0386dc7b140cdebba4522
Reviewed-on: https://dart-review.googlesource.com/72542
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2018-09-04 16:19:45 +00:00
brianwilkerson@google.com
4a8c341ecf
Server clean-up
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//795833005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42780 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-12 17:34:14 +00:00
scheglov@google.com
b8da9bc651
Format and sort analyzer and analysis_server packages.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//725143004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41792 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-17 22:23:53 +00:00
danrubel@google.com
dc7f0c20dc
cleanup warnings
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//729283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41776 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-17 15:06:07 +00:00
paulberry@google.com
9b35b056a7
Fix deprecation warnings in analyzer and analysis server.
...
R=brianwilkerson@google.com , danrubel@google.com
Review URL: https://codereview.chromium.org//685133003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41461 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-03 17:10:08 +00:00
danrubel@google.com
010f33956f
cleanup warnings/hints
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//685363003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41419 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 15:12:30 +00:00
brianwilkerson@google.com
c362d21351
Fix deprecation hints
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//677723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41283 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-24 16:03:56 +00:00
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