Keerti Parthasarathy
0e7bec7d2f
Add validation for AndroidManifest.xml files
...
Change-Id: Ieab8027eb81257d76cdda34b423bb554f968f021
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98040
Commit-Queue: Keerti Parthasarathy <keertip@google.com >
Reviewed-by: Keerti Parthasarathy <keertip@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-04-05 19:30:34 +00:00
Paul Berry
61e71e785f
Prepare to publish analyzer version 0.36.0
...
Change-Id: I858ebe2a1717a467ef1901d5e643fe3e416036f5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97544
Reviewed-by: Mike Fairhurst <mfairhurst@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-03-21 19:08:11 +00:00
Paul Berry
b18b626d78
Remove deprecated AST structures related to the "UI as code" feature.
...
This constitutes a breaking change, so the analyzer major version
number is bumped to 36. Clients that have stopped using the removed
data structures (and the methods associated with them) should be
unaffected.
Change-Id: Iab68ecf8d10a13013ebb6b1198c54755225d0eb7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95704
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-03-20 03:36:42 +00:00
Paul Berry
44753660ec
Prepare to publish analyzer 0.35.4
...
Change-Id: I265b0d0bf970f3962a66689895e7dd640fea91a1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97006
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-03-15 22:33:45 +00:00
Konstantin Shcheglov
eeb19b0416
Remove usages of ExtensionManager and package:plugin in general.
...
R=brianwilkerson@google.com
Change-Id: I489e72464474b3d40d7678f44562f65934f93288
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96863
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-03-14 15:31:08 +00:00
Konstantin Shcheglov
927e758e96
Stop using package:html in analyzer.
...
Related to https://github.com/dart-lang/sdk/issues/35802
R=brianwilkerson@google.com
Change-Id: I875a8dc657900137c5a7b59f2820b30a81b23405
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95480
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-03-05 18:36:41 +00:00
Paul Berry
545ebe1741
Prepare to publish analyzer 0.35.3
...
This is needed so that we can publish a version of analyzer_plugin
that depends on it; also so that dartfmt work on "UI as code" features
can proceed.
Change-Id: I7647fd69fec28b9e788f89e915c14779815fcc02
Reviewed-on: https://dart-review.googlesource.com/c/94803
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-02-28 20:54:19 +00:00
Paul Berry
9b55682a5c
Prepare to publish analyzer 0.35.2
...
Change-Id: I532d805f26e453aec0a38f4ce5f9213f6acd0b95
Reviewed-on: https://dart-review.googlesource.com/c/94020
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-02-22 22:20:42 +00:00
Paul Berry
9d280198a4
Prepare to publish analyzer version 0.35.1.
...
Change-Id: Ib3d31fa14ec2144a04d95f33bac385f38a47d6a7
Reviewed-on: https://dart-review.googlesource.com/c/92820
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-02-12 19:39:21 +00:00
Kevin Moore
ca4978e363
Add pkg:analysis_tool as an SDK-only set of utils
...
Reduces the API surface of pkg:analyzer that requires pkg:html
Related to https://github.com/dart-lang/sdk/issues/35802
Change-Id: Icd08d76190d6ab77cd180561cdde6df254b22557
Reviewed-on: https://dart-review.googlesource.com/c/91701
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Kevin Moore <kevmoo@google.com >
2019-01-31 16:52:05 +00:00
Paul Berry
6f5556c88a
Prepare to publish analyzer version 0.35.0.
...
Change-Id: Icd0cd786a2b7746046367ca4315748d33381c590
Reviewed-on: https://dart-review.googlesource.com/c/91580
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-01-29 20:27:37 +00:00
Brian Wilkerson
30f478b439
Add visitor methods for new AST nodes
...
Change-Id: Ifa8ce25f4da6580acddf76502c0c84b38eed555a
Reviewed-on: https://dart-review.googlesource.com/c/90121
Reviewed-by: Paul Berry <paulberry@google.com >
2019-01-22 19:25:12 +00:00
Paul Berry
7984dc4fcc
Prepare to publish analyzer version 0.34.2.
...
Change-Id: I70f9036cd18fc5aa4d30b0005dfe577d0bb11fb7
Reviewed-on: https://dart-review.googlesource.com/c/89821
Commit-Queue: Paul Berry <paulberry@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-01-16 16:44:43 +00:00
Paul Berry
01a8ff067e
Remove support for "@checked" annotations.
...
Dart now has a "covariant" keyword that serves the same purpose.
Fixes #28797
Note that this is a breaking change, not to the analyzer API but to
the language semantics implemented by the analyzer; client code that
wants the "@checked" behavior will now have to use the "covariant"
keyword instead. Since the front end implementation of the type
system only supports the "covariant" keyword, the impact on user code
should be low; any user code that would be broken by this change is
already broken under the front end. Google internal code has already
been migrated to use "covariant".
Change-Id: Ida052bd5449d3ba703bacf98143bece650f53b53
Reviewed-on: https://dart-review.googlesource.com/c/88225
Commit-Queue: Paul Berry <paulberry@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-01-03 22:12:43 +00:00
Paul Berry
6ece9f910c
Prepare to publish analyzer version 0.34.1.
...
Change-Id: I81a9053e4ab3dacd1dcbb8e72d2b80f19752b758
Reviewed-on: https://dart-review.googlesource.com/c/87609
Commit-Queue: Paul Berry <paulberry@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2018-12-18 23:02:44 +00:00
Paul Berry
1d14b8a94e
Prepare to publish analyzer 0.34.0.
...
Change-Id: I66fe8810655b6ae2089e70d50af327909fecd5e1
Reviewed-on: https://dart-review.googlesource.com/c/85418
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Dan Rubel <danrubel@google.com >
Reviewed-by: Mike Fairhurst <mfairhurst@google.com >
2018-11-29 22:13:08 +00:00
Paul Berry
e649ed1aa3
Merge commit 'c1daa3276566e48dac6f52742264578092c56a35' into analyzer
2018-11-21 08:47:55 -08:00
Paul Berry
4255a012f8
Update analyzer pubspec to note dependency on pub_semver.
...
The dependency was added in cb88347087 .
Change-Id: I33bd532211ed0f60e665ce6c4017ac22805a039a
Reviewed-on: https://dart-review.googlesource.com/c/84967
Commit-Queue: Paul Berry <paulberry@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2018-11-21 00:09:22 +00:00
Paul Berry
89719f4eab
Cherry-pick changes from the analyzer-0.33 branch.
...
These changes were made in order to fix #35158 . We want them on the
analyzer branch too so that they will be retained when analyzer
version 0.34.0 is published.
Change-Id: I45cfb70e87735ba5c62b11fa1b161704217f70cc
Reviewed-on: https://dart-review.googlesource.com/c/84445
Commit-Queue: Paul Berry <paulberry@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2018-11-14 21:25:20 +00:00
Paul Berry
85d225e3f6
Move parameter context into NodeLintRule and make it required.
...
This is a breaking change, so the analyzer major version number is
bumped. However, we don't need to publish a new analyzer yet so we
use a "-dev" version number.
This breaking change requires upgrading to the latest version of the
linter package.
Change-Id: I90637068acee646c41613e7b7f7d66496bb260e9
Reviewed-on: https://dart-review.googlesource.com/c/82946
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2018-11-05 23:32:47 +00:00
Janice Collins
644342a6e6
Prepare for analyzer 0.33.0 publish.
...
Change-Id: Idaf40321b8ba861670f5492bec7697865726b428
Reviewed-on: https://dart-review.googlesource.com/c/77982
Commit-Queue: Janice Collins <jcollins@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2018-10-03 22:36:17 +00:00
Brian Wilkerson
90189408c5
Prepare to publish analyzer (and associated packages)
...
Change-Id: Id54eb6c90c69e34be997068b149336a302774a23
Reviewed-on: https://dart-review.googlesource.com/74540
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2018-09-11 21:46:46 +00:00
Brian Wilkerson
8b125b55d0
Add an AST structure for the new mix-in support
...
Change-Id: I3d8890edf26eeb19eaaab9c27772e2c37c10e629
Reviewed-on: https://dart-review.googlesource.com/70141
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Dan Rubel <danrubel@google.com >
2018-08-21 16:39:41 +00:00
Devon Carew
89cfa2edd7
Update package:test_reflective_loader.
...
Change-Id: If23bb61ef03efe62282ba2e163d3a830d6e0bfad
Reviewed-on: https://dart-review.googlesource.com/67700
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Devon Carew <devoncarew@google.com >
2018-08-01 00:20:45 +00:00
pq
b32277988f
analyzer 0.32.4
...
See: https://github.com/dart-lang/sdk/issues/33901
Change-Id: I0bb8bc029865f2b46b052f50e49a5d2d13c5c81e
Reviewed-on: https://dart-review.googlesource.com/65981
Reviewed-by: Kevin Moore <kevmoo@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2018-07-20 19:34:09 +00:00
Alexander Aprelev
dbd97fb8a5
Prep for analyzer 0.32.3, front_end 0.1.3, kernel 0.3.3
...
This is follow-up to https://dart-review.googlesource.com/c/sdk/+/63683 .
Change-Id: I99ca6e596a98f253cd053bbee9a101c1def20d23
Reviewed-on: https://dart-review.googlesource.com/63703
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Alexander Aprelev <aam@google.com >
2018-07-04 04:30:09 +00:00
pq
05b19947a4
Prep for analyzer 0.32.2
...
See: https://github.com/dart-lang/linter/issues/1040
Change-Id: Iedc7c4f0b3c4a9543292e07c2fd738329d39406d
Reviewed-on: https://dart-review.googlesource.com/62324
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Kevin Moore <kevmoo@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2018-06-26 19:59:49 +00:00
Paul Berry
ec47e524bc
Switch to non-alpha versions for analyzer/front_end/kernel.
...
After some discussion, we decided that it's not necessary to publish
alpha versions when making non-breaking changes. (The rationale for
publishing alpha versions is to minimize the number of breaking
changes, since breaking changes to a popular package can potentially
slow down pub's version solver, but this is not an issue for
non-breaking changes).
Change-Id: I3f4f975712af43b6b0475f2c68dc430c394454cb
Reviewed-on: https://dart-review.googlesource.com/57140
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2018-05-29 23:26:07 +00:00
Paul Berry
84fcf42c25
Bump analyzer version in preparation for publishing.
...
Change-Id: I1d794db9f086f8fb8830d7974b79653d549423c6
Reviewed-on: https://dart-review.googlesource.com/56708
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Janice Collins <jcollins@google.com >
Reviewed-by: Mike Fairhurst <mfairhurst@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2018-05-29 17:47:46 +00:00
Janice Collins
e6d9ed5688
Restrict analyzer/front_end/kernel SDK versions to dev.48+.
...
Change-Id: If341e8aa3503881bb44e445c39e5f821fd213bfd
Reviewed-on: https://dart-review.googlesource.com/55000
Reviewed-by: Kevin Moore <kevmoo@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Janice Collins <jcollins@google.com >
2018-05-14 19:32:45 +00:00
Janice Collins
90618bdcf3
Prepare for analyzer 0.32.0.
...
Change-Id: Ica117a443f922c9bb5377c99ff87ce4a7a0bce16
Reviewed-on: https://dart-review.googlesource.com/54741
Reviewed-by: Kevin Moore <kevmoo@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Janice Collins <jcollins@google.com >
2018-05-14 18:07:02 +00:00
Janice Collins
6d9371aec3
Prepare for analyzer-0.31.2-alpha.2
...
Change-Id: Ib428b7316633bb77978428a17956bc05e736d57d
Reviewed-on: https://dart-review.googlesource.com/52981
Commit-Queue: Janice Collins <jcollins@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Dan Rubel <danrubel@google.com >
2018-04-30 17:56:31 +00:00
Devon Carew
9968728df1
Remove package:cli_util deps from package:analyzer.
...
Change-Id: I6bda63e31b9a8eb3e7ede406bd7e3e5748130ff6
Reviewed-on: https://dart-review.googlesource.com/51362
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Devon Carew <devoncarew@google.com >
2018-04-16 20:26:08 +00:00
Devon Carew
3a5fcf5a87
Upgrade the dep on package:isolate.
...
Change-Id: Ie9c52c6dd24672e2469787220505bd85a50ed5ff
Reviewed-on: https://dart-review.googlesource.com/51241
Commit-Queue: Devon Carew <devoncarew@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Kevin Moore <kevmoo@google.com >
2018-04-16 17:08:48 +00:00
Brian Wilkerson
1560f19844
Fixes to make analyzer preview-dart-2 safe, part 1 of many
...
Change-Id: I8f88168a1fab61b3d0d808b5d9e09e6391325302
Reviewed-on: https://dart-review.googlesource.com/46953
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2018-03-19 13:15:46 +00:00
Mike Fairhurst
6f3b6bfb62
Do the rounds for new analyzer publish + fix analyzer_plugin.
...
I'm not sure -- I ticked analyzer to 0.32 from 0.31-alpha.
I think because of the new methods, this is the right call (though it
leaves us in the weird place where there was no stable publish of
0.31.2?)
Also not sure if I need to update any other downstream packages (args?
dart_style?). Seems like if so, those are all in other repos.
Change-Id: I512e6674549a99fdafe47f2138738463f4e66e37
Reviewed-on: https://dart-review.googlesource.com/46126
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Mike Fairhurst <mfairhurst@google.com >
2018-03-12 23:02:29 +00:00
Janice Collins
121a8ebcb2
Prepare for analyzer 0.31.2-alpha.0.
...
Update changelog and versions prior to publish, primarily for the crash
in computeNode fixed by https://github.com/dart-lang/sdk/commit/3791ddb496a2d8c9ed9bc2edcc62e562c2e47eb2#diff-ff9cb85838db7a802ac5aa9c55f26d86 .
Change-Id: If3bbe3238fb622d884cee5df87a06a90b401fe7e
Reviewed-on: https://dart-review.googlesource.com/41040
Commit-Queue: Janice Collins <jcollins@google.com >
Reviewed-by: Kevin Moore <kevmoo@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2018-02-14 21:22:54 +00:00
Janice Collins
75a2661f0e
Prepare to publish analyzer 0.31.1 and associated packages.
...
Verified that the new analyzer at least smoke-tests on .21 still,
so did not update SDK constraints. Publish is to address
dart-lang/dartdoc#1603 .
Change-Id: I39320e5557344f6c1c79df50b792246fc1c29840
Reviewed-on: https://dart-review.googlesource.com/40401
Commit-Queue: Janice Collins <jcollins@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Devon Carew <devoncarew@google.com >
2018-02-09 18:29:29 +00:00
Kevin Moore
ad1b16e502
Prepare to release package:analyzer 0.31.0+1
...
Corrects SDK constraint
Change-Id: Ia6b48ee223760ceccac07e8c020d7398fd4b2f29
Reviewed-on: https://dart-review.googlesource.com/38360
Reviewed-by: Devon Carew <devoncarew@google.com >
2018-02-02 23:16:24 +00:00
Kevin Moore
ca7996f033
Prepare to publish package:analyzer 0.31.0
...
Includes version bumps to kernel and front_end
Fixes https://github.com/dart-lang/sdk/issues/32022
Change-Id: I2e09d9184f6446b6f442e3a4188aa15da80b9601
Reviewed-on: https://dart-review.googlesource.com/38345
Reviewed-by: Devon Carew <devoncarew@google.com >
2018-02-02 22:43:30 +00:00
Brian Wilkerson
725c3fad49
Update front_end and kernel before publishing
...
Change-Id: Ifea9db1f41e232136afe0c0eacdcc7c1a430e69d
Reviewed-on: https://dart-review.googlesource.com/24200
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Kevin Moore <kevmoo@google.com >
2017-11-28 19:28:24 +00:00
Brian Wilkerson
5d80760472
Prepare to publish a new alpha version of analyzer
...
Change-Id: I1941665229f1d7db81002cf911f2b31d8339f25c
Reviewed-on: https://dart-review.googlesource.com/24161
Reviewed-by: Kevin Moore <kevmoo@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2017-11-28 18:19:35 +00:00
Kevin Moore
b7a9f2ae7c
Fix SDK constraints on analyzer, front_end, kernel, meta
...
Prepare to publish meta
Change-Id: I1bc564c68315fb2f27469deda76e75495e42c23b
Reviewed-on: https://dart-review.googlesource.com/9364
Reviewed-by: Kevin Moore <kevmoo@google.com >
Reviewed-by: Devon Carew <devoncarew@google.com >
2017-09-28 19:33:27 +00:00
Brian Wilkerson
f64000374d
Update pubspecs prior to publishing
...
R=devoncarew@google.com , paulberry@google.com
Review-Url: https://codereview.chromium.org/3006623002 .
2017-08-25 13:24:17 -07:00
Konstantin Shcheglov
bf25080cc1
Replace typed_mock with mockito in analyzer.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2991913002 .
2017-07-27 16:15:17 -07:00
pq
6e45682ebb
Analyzer 0.31.0-alpha.0
...
For analyzer, front_end and kernel packages:
* bump alpha versions
* update SDK constraints
R=brianwilkerson@google.com
Review-Url: https://codereview.chromium.org/2985103002 .
2017-07-26 13:18:14 -07:00
Kevin Moore
4d642466fb
Update pkg/analyzer dependency on pkg/args to include v1.x
...
pkg/analyzer currently does not create an AgrParser so the breaking
behavior charge that came w/ the bump to args v1 does not affect any
code
R=brianwilkerson@google.com
Review-Url: https://codereview.chromium.org/2955583003 .
2017-06-23 11:47:01 -07:00
pq
7e7a446ec5
Bump analyzer version to latest published (0.30.0+2).
...
BUG=
R=brianwilkerson@google.com
Review-Url: https://codereview.chromium.org/2897783002 .
2017-05-22 06:11:00 -07:00
pq
ba1a6e39f3
Update to fresh cli_util (0.1.0).
...
BUG=
R=devoncarew@google.com
Review-Url: https://codereview.chromium.org/2894433002 .
2017-05-17 11:04:29 -07:00
Devon Carew
af7f15e633
package:kernel version change 0.3.0-dev.1 => 0.3.0-alpha.1.
...
BUG=
R=paulberry@google.com
Review-Url: https://codereview.chromium.org/2857273002 .
2017-05-03 18:06:50 -07:00