Commit Graph

397 Commits

Author SHA1 Message Date
pq f013d3868c Actual URI support for package URI resolution.
R=brianwilkerson@google.com, paulberry@google.com

Review URL: https://codereview.chromium.org//1245263002 .
2015-07-21 15:53:56 -07:00
John Messerly 646c84762d few small analyzer fixes
ResolutionCopier.visitLibraryDirective now copies its element

AstCloner.visitVariableDeclarationList now copies the comment.
(otherwise ResolutionCopier thinks the tree structure doesn't match)

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1240283004 .
2015-07-21 12:42:56 -07:00
John McCutchan 977d213344 Refactor AnalysisOptionsProvider
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1245513002 .
2015-07-17 15:17:40 -07:00
John McCutchan cb5335dc4a Add a PathFilter to each context in analysis_server
BUG=
R=brianwilkerson@google.com, pquitslund@google.com

Review URL: https://codereview.chromium.org//1238173003 .
2015-07-17 12:42:57 -07:00
John McCutchan c9dd867c1f Add path filter
BUG=
R=pquitslund@google.com

Review URL: https://codereview.chromium.org//1232763004 .
2015-07-17 10:06:29 -07:00
Paul Berry 86227840d7 Bump analyzer version to 0.25.2 in preparation for publishing.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1241743002 .
2015-07-14 13:27:15 -07:00
pq a114695faa Analyzer bump to 0.25.2-alpha.1 (sdkext changes).
Review URL: https://codereview.chromium.org//1229693006 .
2015-07-08 22:36:24 -07:00
pq 90ba02b9ab Bump to 0.25.2-alpha.0
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1217443026 .
2015-07-08 13:28:52 -07:00
pq 91a803eae8 Analyzer version bump (0.25.1).
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1219893004 .
2015-07-07 11:05:04 -07:00
pq 01af0560bb Package map source factory support [FIXED].
A rework of https://codereview.chromium.org/1206323005/ with better handling of the case where a .packages config file is not specified.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1223833008 .
2015-07-07 09:10:54 -07:00
pq bb196a27fc Revert "Package map source factory support."
This reverts commit e3a4ff55d7.

BUG=

Review URL: https://codereview.chromium.org//1228493003.
2015-07-06 11:45:32 -07:00
pq e3a4ff55d7 Package map source factory support.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1206323005.
2015-07-06 11:13:17 -07:00
Sigmund Cherem 4ec3db6947 keep old location of libraries.dart in the generated SDK (fixes 23755)
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1216313002.
2015-06-30 17:08:21 -07:00
Paul Berry ad23a8f515 Rev analyzer version in preparation for publishing.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1209753002.
2015-06-24 13:55:27 -07:00
Dan Rubel 61460a0a10 pull in new watcher package
BUG=
R=paulberry@google.com

Review URL: https://codereview.chromium.org//1194653002.
2015-06-20 14:12:12 -04:00
Brian Wilkerson cb8b774fef Re-enable and add new HTML support
R=paulberry@google.com

Review URL: https://codereview.chromium.org//1182303006.
2015-06-16 09:52:18 -07:00
pq 35e0da2b89 Version constraint cleanup.
R=paulberry@google.com

Review URL: https://codereview.chromium.org//1180943003.
2015-06-12 09:28:27 -07:00
Brian Wilkerson 585402d77f Attempt to fix the build by backing out HTML support
Review URL: https://codereview.chromium.org//1177983003.
2015-06-11 14:44:00 -07:00
pq c0481bf995 Analyzer version bump.
This tags a version that provides options support for consumption by `analyzer_cli`.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1177233006.
2015-06-11 13:47:36 -07:00
Brian Wilkerson 980978c967 Support for parsing HTML in the new task model
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1185443002.
2015-06-11 13:24:20 -07:00
pq 230f594328 Options plugin API.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1175253005.
2015-06-11 10:42:21 -07:00
Konstantin Shcheglov f1d4ef9164 Issue 23409. Don't set 'propagatedType' in (vs. after) 'name is Type'.
This fixes the corresponding 'Extract Method' issue.

R=brianwilkerson@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=23409

Review URL: https://codereview.chromium.org//1161343002
2015-06-01 12:40:30 -07:00
Paul Berry 3d73dbd675 Bump analyzer version in preparation for publishing.
R=pquitslund@google.com

Review URL: https://codereview.chromium.org//1143173003
2015-05-22 14:24:12 -07:00
Brian Wilkerson 650ac5458d Add plugin support for command-line access
R=pquitslund@google.com

Review URL: https://codereview.chromium.org//1136633007
2015-05-19 14:27:54 -07:00
brianwilkerson@google.com ac3613e2bb Re-apply change to move to plugin package
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45408 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 18:54:24 +00:00
brianwilkerson@google.com 3d536efcfe Revert breaking change
Review URL: https://codereview.chromium.org//1101213002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45384 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-23 22:12:20 +00:00
brianwilkerson@google.com 24c853446a Convert analyzer and analysis_server to use the plugin package
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45382 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-23 20:32:35 +00:00
pquitslund@google.com 2e544388e0 Changelog fixes.
R=brianwilkerson@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45380 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-23 20:31:10 +00:00
pquitslund@google.com 6753963a1a Analyzer version bump.
R=brianwilkerson@google.com, kevmoo@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45375 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-23 15:47:37 +00:00
pquitslund@google.com 49d0f16a2a Analyzer CLI removal.
CLI now lives in dedicated `analyzer_cli` package.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45362 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-22 20:32:05 +00:00
scheglov@google.com 817e9fce3b Use ExtensionManager and EnginePlugin to configure task list.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45290 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-20 16:30:10 +00:00
scheglov@google.com 1ea1b3ac49 Move LibraryUnitTarget into API.
We need this Target to use it in the Angular plugin.

Also increment version with the goal to publish the analyzer package and use in the Angular plugin.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45192 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-16 00:06:20 +00:00
brianwilkerson@google.com 12f4830b36 Prepare to publish analyzer
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45144 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-14 19:01:02 +00:00
brianwilkerson@google.com f15102d5ec Introduce common superclass to fix ClassElement.node (issue 23120)
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44971 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-08 15:58:19 +00:00
paulberry@google.com 8ee49e51e0 Fix ill-formatted error messages in analyzer.
Previously, two analyzer error messages (one recently introduced by
me, and one that has been around for a while) failed to provide enough
arguments to populate the error message template, resulting in
user-visible strings like "{0}" showing up in error messages.

This CL fixes the problem, and safeguards against it happening again
in the future by adding assertions to verify, at the time the error
message is formatted, that enough arguments were passed.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44911 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-06 15:28:34 +00:00
paulberry@google.com 83eaf1df57 Roll analyzer version to 0.24.1 in preparation for publishing.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44910 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-06 15:22:05 +00:00
paulberry@google.com 635c6a11ec Implement the new '?.' operator in analyzer.
As in r44802, the new operator is only accepted by the tokenizer if
the command-line option "--enable-null-aware-operators" is supplied.
Only static analysis of '?.' is implemented; however, the tests in
tests/language will verify behavior once it is implemented.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44907 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-05 20:59:05 +00:00
brianwilkerson@google.com 06ed0b094c Remove unused dependency from analyzer
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44889 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-03 20:53:49 +00:00
paulberry@google.com 8df0973e80 Change analyzer version to 0.24.1-alpha.0 in preparation for publishing.
The most recently released version of analyzer that we intend to
support is 0.24.0, and there have been no breaking changes since then.
Therefore, assuming no further breaking changes occur, the next
supported version of analyzer will be 0.24.1.

We need to release an unsupported version of analyzer for
analysis_server to depend upon.  Publishing packages with "dev" in
their version string is discouraged (since "dev" means "unpublished"),
so we're going to start using "alpha" for this purpose.  Therefore,
the correct version string for this alpha release is 0.24.1-alpha.0.

Note that three versions of analyzer greater than 0.24.1-alpha.0 have
already been published: 0.25.0-dev.{1,2,3}.  It's not a problem that
we're going "backwards" in version number, because (a) those releases
contain a "-" in their version string, indicating that they are
unsupported, and (b) the minor version should never have been
incremented to 25, since there have been no breaking changes since
0.24.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44868 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-02 20:01:33 +00:00
paulberry@google.com e19a30e5aa Bump analyzer version to 0.25.0-dev.3 in preparation for publishing.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44779 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-30 15:42:38 +00:00
pquitslund@google.com a7a0e4514e Reverting analyzer args deps update pending new args in third_party (dartbug.com/22902).
R=keertip@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44568 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-18 23:01:39 +00:00
pquitslund@google.com 8eeb131f62 Args dep update (dartbug.com/22902).
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44567 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-18 22:25:14 +00:00
pquitslund@google.com e84fbc4941 Bump analyzer version pre dev pub publish.
R=paulberry@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44561 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-18 18:00:36 +00:00
scheglov@google.com 6323feedaa Update pubspec.yaml before publishing 'analyzer'.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44002 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-24 22:08:34 +00:00
sigmund@google.com f2ccdbd73d Minor changes in analyzer to make it easier to extend
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43934 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-20 22:23:27 +00:00
johnniwinther@google.com 827e265786 Revert "Add sharedfrontend package"
This reverts commit r43635.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43637 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 11:32:18 +00:00
johnniwinther@google.com d7118339b5 Add sharedfrontend package
- initial element model includes Element, LibraryElement and ClassElement
- AccessSemantics moved to sharedfrontend to be utilized from both analyzer2dart and dart2js.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43635 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 10:44:56 +00:00
pquitslund@google.com 5ca6eca321 Version bump pre dev pub push.
R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43583 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 05:13:55 +00:00
scheglov@google.com 75c26fe8e9 New analyzer version before push.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43412 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 17:39:27 +00:00
pquitslund@google.com 46e5078360 Bump analyzer rev pre pub publish.
Addresses bug in setting linter options.

R=danrubel@google.com, paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43341 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-30 17:46:37 +00:00