pquitslund@google.com
ba4f28e606
Rev analyzer version number pre pub publish.
...
R=brianwilkerson@google.com , paulberry@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//878523004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43210 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-27 21:56:56 +00:00
brianwilkerson@google.com
8bfeac0ca5
Instrumentation support
...
R=danrubel@google.com
Review URL: https://codereview.chromium.org//751063005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42179 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 20:30:19 +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
scheglov@google.com
d070599c9d
Record types of invoked variables.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//673673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41252 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-22 21:52:26 +00:00
scheglov@google.com
8f337c37d1
Issue 21373. Fix for removing line info in case of exception (causes NPE in outline computer).
...
I will update analysis_server/pubspec.yaml before commit.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=21373
Review URL: https://codereview.chromium.org//652903006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41235 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-21 20:34:31 +00:00
scheglov@google.com
11f7d4027e
Fix for missing LineInfo to SDK entries.
...
I will update analyzer reference in pubspec before commit.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//647553006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41064 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-12 21:27:08 +00:00
paulberry@google.com
71552797de
Update analyzer version to 0.23.0-dev.10
...
TBR=scheglov@google.com
Review URL: https://codereview.chromium.org//645793003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41044 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-10 16:13:40 +00:00
scheglov@google.com
9b0697baac
More string literals getters.
...
To use in the inline local refactoring.
1. We can unwrap a literal only if its `isSingleQuoted` is the same as of the target literal.
2. We can unwrap a single-line literal into a multi-line one, but not vice versa.
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org//632203002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40957 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-07 15:51:02 +00:00
scheglov@google.com
6d0260be31
Add SingleStringLiteral with accessors.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//630163004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40949 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-07 00:51:12 +00:00
scheglov@google.com
bc287b5a3e
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//622743002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40867 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-02 04:13:16 +00:00
paulberry@google.com
5b45f8e762
Move PubPackageMapProvider to its own file.
...
This will allow clients of the AnalysisServer package to provide their
own PackageMapProvider without bringing in a dependency on dart:io.
R=brianwilkerson@google.com , rpaquay@chromium.org
Review URL: https://codereview.chromium.org//599133002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40638 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-24 18:09:08 +00:00
scheglov@google.com
bbbcddfac6
New analyzer snaphot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//581733002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40394 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-17 20:07:57 +00:00
scheglov@google.com
8ed8098a48
Issue 17389. Analyzer snapshot and server tweaks to use new ParameterElement.defaultValueCode.
...
This also makes Analysis Server to return hovers with parameter default values.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=17389
Review URL: https://codereview.chromium.org//564413005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40298 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-16 01:46:27 +00:00
scheglov@google.com
d2d8fb708e
Issue 20894. Rename 'Class' when rename refactoring is activated on 'Class' in 'new Class.name()'.
...
To do this we need to tweak the Java version of ElementLocator and regenarate the Dart version.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=20894
Review URL: https://codereview.chromium.org//571523002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40208 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 17:16:15 +00:00
scheglov@google.com
778536d97c
Issue 19682. New analyzer snapshot that fixes an inline refactoring problem.
...
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=19682
Review URL: https://codereview.chromium.org//561373002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40193 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 22:47:29 +00:00
jwren@google.com
83de5a8f7b
New dev version of analyzer package
...
R=paulberry@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//557043003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40056 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 21:13:10 +00:00
paulberry@google.com
a99a140173
Change analyzer package to a "-dev" version.
...
This will enable the analysis server to depend on the latest and
greatest analyzer without forcing that version on other analyzer
clients.
R=scheglov@google.com
Review URL: https://codereview.chromium.org//545373002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39935 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-05 21:34:53 +00:00
scheglov@google.com
a2cc52070c
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//509073008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39654 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-28 14:54:20 +00:00
scheglov@google.com
8647752153
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//515543002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39599 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 15:51:56 +00:00
scheglov@google.com
711827d462
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//492463004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39500 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-22 17:28:29 +00:00
scheglov@google.com
c74b350b50
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//489173002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39416 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-20 18:18:43 +00:00
scheglov@google.com
7af986dcd1
Issue 20520. JavaFile.toURI() should use absolute path.
...
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=20520
Review URL: https://codereview.chromium.org//471053002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39260 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-14 18:22:28 +00:00
scheglov@google.com
9e3aa826dc
New analyzer snapshot.
...
Basically it includes all the code that was not translated before.
Includes new library: element_handle, but it should not be used because of WeakReference absence in Dart.
Includes new test: engine_test, but it has too much code requirering manual tweaks, after we will stop translating.
All other tests are in all_the_rest.dart, again to be moved into corresponding libraries and cleaned up later.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//459703002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39091 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-11 15:41:37 +00:00
scheglov@google.com
c5263aae9f
Breaking changes in 'analyzer' package.
...
1. Source.uri added.
2. DartSdk.fromEncoding() replaced with fromFileUri().
This CL cannot be committed as is until pkg/code_transformers is fixed.
R=brianwilkerson@google.com , sigmund@google.com
BUG=
Review URL: https://codereview.chromium.org//428303004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38949 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 20:41:42 +00:00
rnystrom@google.com
ff23b25a81
Add .wasParsed() to ArgResults.
...
BUG=https://code.google.com/p/dart/issues/detail?id=16227
R=alanknight@google.com , nweiz@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//383913003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38348 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-17 21:35:45 +00:00
scheglov@google.com
a4dee8bf4c
Resolve names in combinators for PropertyInducingElements instead of PropertyAccessorElements.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//384093002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38199 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-14 17:11:34 +00:00
scheglov@google.com
7a27ca20dd
New analyzer snapshot.
...
Also includes the tweak for property accessor identifiers.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//382953002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38129 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-10 20:33:33 +00:00
scheglov@google.com
0597e61ba3
Move index/search to services.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//375693002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38045 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-07 22:24:59 +00:00
scheglov@google.com
bf61f59c82
Extract testing utilities into a separate package.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//376693002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38039 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-07 20:50:59 +00:00
scheglov@google.com
9e33b85c31
Move file_system libraries into 'analyzer'.
...
I still end up including memory FS into 'analyzer' because tests for ResourceUriResolver use it.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//372763003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38034 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-07 18:57:42 +00:00
scheglov@google.com
1f45100688
Move Index and IndexStore implementations into Engine.
...
Also move most of the related tests.
LocalIndex test is commented out, because relies on the infrastucture existing only in Server - virtual file system, mocks.
We need to move it into Engine or extract into a separate package.
This CL also removes Dart implementation of BTree.
We now use a different approach to implementing the index.
Bots are red after the previous CL, I hope that this one will fix at least some redness.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//365193004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37993 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-03 21:30:25 +00:00
scheglov@google.com
4b5436f498
IndexStore, Index and SearchEngine APIs and partial implementatons.
...
IndexStore and Index implementations are not moved yet to engine package.
SearchEngine implementation is not cleaned up yet, there is only (commented) raw java2dart translation result.
Index contributions are present, but without tests yet.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//363373002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37991 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-03 19:06:33 +00:00
scheglov@google.com
ab2fe30d18
Rewrite 'throw thrownException' with 'throw new AnalysisException(...)'
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//355203009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37917 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-01 22:15:57 +00:00
scheglov@google.com
b405df0d27
New analyzer snapshot.
...
Mostly to get GetContentTask.internalPerform() to catch all exceptions.
We throw non-Java exception from memory resource, so we cannot test not existing parts/libraries cases in server.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//360393003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37907 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-01 21:01:50 +00:00
paulberry@google.com
35461efcb8
Analyzer snapshot based on r37767.
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//353083003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37788 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-27 15:31:20 +00:00
scheglov@google.com
46b9b138d6
Move Tokenfactory, AstFactory and ElementFactory from tests to the testing/ Folder.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//351283003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37748 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-26 17:30:25 +00:00
scheglov@google.com
03819fe9e0
Analyzer snapshot to with FunctionElement.identifier fix.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//346303003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37625 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-23 22:03:08 +00:00
scheglov@google.com
6b6467a9ca
New analyzer snapshot.
...
R=paulberry@google.com , brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//348673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37516 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-19 20:58:28 +00:00
kevmoo@google.com
b81ffd913b
pkg/analyzer: updated unittest dependency
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//322533004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37109 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-07 00:43:56 +00:00
scheglov@google.com
d06a1cff08
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//322603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37096 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-06 19:48:47 +00:00
sigmund@google.com
c6a19ab344
Use parseDirectives were possible. Also mark analyzer ready to be released.
...
R=blois@google.com , brianwilkerson@google.com , jmesserly@google.com
Review URL: https://codereview.chromium.org//318983002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37063 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-06 02:04:07 +00:00
rnystrom@google.com
936d017b63
Only parse the directives when rewriting imports.
...
This shaves about 13% (a little under a second) off the time it
takes to load the asset environment for TodoMVC in my tests.
R=brianwilkerson@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//314583007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36960 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-03 23:27:37 +00:00
scheglov@google.com
555bc4ef2d
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//294903015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36511 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-22 16:58:29 +00:00
scheglov@google.com
af851cdcdc
New analyzer snapshot (with CaughtException).
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//285423002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36256 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-16 01:43:54 +00:00
scheglov@google.com
862a54b592
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//267293006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35872 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-07 22:06:01 +00:00
rnystrom@google.com
5dd0a26730
Move allowTrailingOptions into ArgParser.
...
R=brianwilkerson@google.com , jmesserly@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//260963007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35837 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-06 23:25:59 +00:00
scheglov@google.com
593096bef2
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//263913003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35704 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-02 20:06:26 +00:00
scheglov@google.com
496aa45ed1
New analyzer snapshot. Sorted unit members.
...
New Character utilities.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//259773005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35468 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-26 22:37:24 +00:00
paulberry@google.com
6c000ea2cb
New analyzer snapshot, based on r35422.
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//257773008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35426 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-25 15:18:19 +00:00
scheglov@google.com
d1cc18b5e1
New analyzer snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//247053004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35270 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 17:10:47 +00:00