Commit graph

634 commits

Author SHA1 Message Date
William Hesse
fb762be46a Update dart_style to version 1.1.1 in DEPS
Bug: https://github.com/dart-lang/sdk/issues/33663
Change-Id: Ic4dc36489b70164c723433487a6ac82082b2a165
Reviewed-on: https://dart-review.googlesource.com/63585
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: William Hesse <whesse@google.com>
2018-07-03 13:44:38 +00:00
pq
1ed94b8db8 linter 0.1.56
* fix to `avoid_positional_boolean_parameters` to ignore overridden methods
* fix to `prefer_is_empty` to not evaluate constants beyond int literals
* new lint: `null_closures`
* new lint: `lines_longer_than_80_chars`

Change-Id: Id11694d65091de6f26f521d62f3c5fb1921f58af
Reviewed-on: https://dart-review.googlesource.com/63271
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2018-06-29 21:02:31 +00:00
Zach Anderson
0aeaff99b6 Roll http_io forward
Change-Id: Ie22490a6c2595db9f4dedb799eb84af93200079f
Reviewed-on: https://dart-review.googlesource.com/62760
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-06-28 21:42:38 +00:00
Devon Carew
c19233dcce Plumb in more of the analytics impl into the analysis server; allow clients to enble analytics.
Change-Id: Id546ce60e3ec49d37d6c5545f98a46bff009e6c1
Reviewed-on: https://dart-review.googlesource.com/62701
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2018-06-28 16:28:25 +00:00
Alexander Thomas
66c9109caf [infra] Download checked in SDKs from CIPD
#33659

Change-Id: I94fccf4bbce2f0140bf0d6efa953d44b290df856
Reviewed-on: https://dart-review.googlesource.com/62840
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2018-06-28 16:08:14 +00:00
Kevin Moore
cb4a19b5fc misc(pkg/analyzer): update to latest pkg:matcher API
Change-Id: I42a5c41394226f6ddc9c0608c6d688ae683ffdea
Reviewed-on: https://dart-review.googlesource.com/62680
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2018-06-27 19:29:20 +00:00
pq
edf26852e6 linter 0.1.55
* fixed an issue in `const` error handling
* updated `linter` binary to use `previewDart2`


Change-Id: Ic46df8fc248c241b9ecc71e180ae3adb2238546a
Reviewed-on: https://dart-review.googlesource.com/62641
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2018-06-27 17:44:58 +00:00
William Hesse
37d9e79b1b Update co19 and co19 strong branch in DEPS
Change-Id: I0ab70e30f645efbf15e942e347be6d286d87b2c3
Reviewed-on: https://dart-review.googlesource.com/62141
Reviewed-by: Alexander Thomas <athom@google.com>
2018-06-27 16:19:21 +00:00
Bob Nystrom
70576f431e Roll https://github.com/dart-lang/pub/pull/1938 into the SDK.
Change-Id: Ifa2158fb61f174fca93f70b3548a59266cd2dd95
Reviewed-on: https://dart-review.googlesource.com/62460
Reviewed-by: Natalie Weizenbaum <nweiz@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2018-06-26 23:57:50 +00:00
William Hesse
12971f37a9 Update dart_style package to 1.1.0 in DEPS
Update Changelog to add this info, and to prepare for releasing -dev.65.0

Change-Id: Iaa6c0d917acb1132227352b422ef3939cda2a9f4
Reviewed-on: https://dart-review.googlesource.com/61926
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2018-06-26 11:33:24 +00:00
Ryan Macnak
65a3c4443b [observatory] Update packages and remove dead dependencies.
Change-Id: I6dbf547e30a6be9a303d7fc08c9f4c024164334e
Reviewed-on: https://dart-review.googlesource.com/62200
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2018-06-25 22:09:54 +00:00
Nate Bosch
f598e6933c Drop support for Dart 1 in pub
Closes #33187

Brings in the latest version of pub. There is still an issue with
invaliding old snapshots, but this version works better than the current
synced version.

Change-Id: I5c98b0277ea769baa83c3fee7ebfff2034ba9920
Reviewed-on: https://dart-review.googlesource.com/61983
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2018-06-23 01:00:05 +00:00
Janice Collins
b36f353f76 Update dartdoc to 0.20.1.
https://github.com/dart-lang/dartdoc/releases/tag/v0.20.1

Updates dartdoc and its dependency "quiver" to new versions (dartdoc
ran into a type problem with the older quiver).
Because of the quiver change this could affect more than just dartdoc.

Change-Id: I9b0bbb3d4b222f605d7ac5cafc641b5da0c02d20
Reviewed-on: https://dart-review.googlesource.com/61912
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2018-06-22 17:44:05 +00:00
Stephen Adams
d1e1af84e7 DEPS: update crypto version
New version avoids literals that are not exact in JavaScript.

Change-Id: I38fa0d6132b9006f361b01e3e691b5a672584e98
Reviewed-on: https://dart-review.googlesource.com/61741
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2018-06-21 22:09:23 +00:00
Bob Nystrom
c37bbcca7f Roll pub to the latest version.
This fixes precompiling snapshots when running pub get/upgrade which
broke when the VM removed support for "--preview-dart-2".

Change-Id: I70fe2241f85cf5e8cdf447387df92ea47d398c57
Reviewed-on: https://dart-review.googlesource.com/61440
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2018-06-20 23:40:20 +00:00
pq
71042d3dfa linter 0.1.54
* new `unnecessary_const` lint
* new `unnecessary_new` lint
* fixed errors in `use_to_and_as_if_applicable`
* new `file_names` lint

Change-Id: Ic461249050277ea81ade7a90b92506c6041ac480
Reviewed-on: https://dart-review.googlesource.com/61280
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2018-06-20 16:06:44 +00:00
Nate Bosch
34ee27a52d Update to the latest pub
Brings in fix for https://github.com/dart-lang/pub/issues/1919

Change-Id: Ied08a3c4b9a61879bed33c0bf15c800690bf341d
Reviewed-on: https://dart-review.googlesource.com/60148
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
2018-06-13 22:03:14 +00:00
pq
bfb9a4eab8 linter 0.1.53
* updated `unnecessary_statements` to ignore getters (as they may be side-effecting).

Change-Id: I2019d1c2c49224525ac066a8f44c6da301dbfd91
Reviewed-on: https://dart-review.googlesource.com/60180
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2018-06-13 21:52:58 +00:00
Nate Bosch
00bfb03cf3 Update pub to the latest
Change-Id: Ie203de0c410fbbd73ff615aec3d9cdd586a0b0e6
Reviewed-on: https://dart-review.googlesource.com/59940
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
2018-06-12 19:53:49 +00:00
Lasse R.H. Nielsen
0b91676362 Remove the retype method.
See #33075.

Bug: http://dartbug.com/33075
Change-Id: I1ee2f587afbc672dd08ac61ac003bbdc85bb95e2
Reviewed-on: https://dart-review.googlesource.com/59091
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-06-12 14:36:09 +00:00
pq
22f2d92902 linter 0.1.52
* fixed `void_checks` to handle arguments not resolved to a parameter
* fixed exceptions produced by `prefer_const_literals_to_create_immutables`

Change-Id: Ia25fe8e432ee7717cfe289bce4515481e801c4f8
Reviewed-on: https://dart-review.googlesource.com/59201
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2018-06-07 23:19:42 +00:00
Nate Bosch
2f79dc3f00 Bring in the latest pub
Fixes https://github.com/dart-lang/pub/issues/1914

Includes fixes for snappshotting and running executables in Dart 2 mode.

Change-Id: If35c22859b3985fee769e15d2606f484746f2926
Reviewed-on: https://dart-review.googlesource.com/58804
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2018-06-06 19:06:04 +00:00
Paul Berry
5db95fbb61 Upgrade mockito to latest version.
And fix frontend_server_test.dart accordingly.

Change-Id: Ic6a57afc9582780e55015a36f3cec6969de13c54
Reviewed-on: https://dart-review.googlesource.com/56709
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2018-06-01 19:32:13 +00:00
Emily Fortuna
789ceee184 Update version number in DEPS for dart2js_info pkg
Change-Id: I12c77392f95415bba150c0510612b27ffb63db46
Reviewed-on: https://dart-review.googlesource.com/57740
Reviewed-by: Stephen Adams <sra@google.com>
2018-06-01 17:52:28 +00:00
Janice Collins
753d95453c Move to dartdoc 0.20.0 and enable preview-dart-2.
Change-Id: I8e1b7957a416644b8c7d02bee60c248e6c6d9827
Reviewed-on: https://dart-review.googlesource.com/57444
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2018-05-30 19:08:41 +00:00
Zach Anderson
9c70462e3c [vm] Roll boringssl to 189270cd190267f5bd60cfe8f8ce7a61d07ba6f4
fixes #33229

Change-Id: I786c2f48108a3e00b3b3ef2ae8a68ddaac256fda
Reviewed-on: https://dart-review.googlesource.com/56628
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-05-24 22:04:30 +00:00
Konstantin Shcheglov
a64bbbf6b3 Bump to watcher 0.9.7+8.
Change-Id: If1705ac18715876fc5c1325dab4c3dda42b8d2b9
Reviewed-on: https://dart-review.googlesource.com/56580
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2018-05-24 17:05:36 +00:00
Janice Collins
c3b6df5eb7 Update dartdoc and dependencies to v0.19.1.
Release notes: https://github.com/dart-lang/dartdoc/releases/tag/v0.19.1



Change-Id: Iab2aa84fd8ce444d14b8eba527709b944ab2557f
Reviewed-on: https://dart-review.googlesource.com/56295
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2018-05-23 21:05:34 +00:00
Kevin Moore
4f5db3aef2 Update pub DEP – includes Dart2 type fixes
Change-Id: I03c9114ae2ef6c72ab8be5093aa8c52a5f0c6d1e
Reviewed-on: https://dart-review.googlesource.com/56292
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-05-23 18:02:35 +00:00
Kevin Moore
a155d6c9e5 Update dependencies on async, collection, http_throttle packages
Helps with https://github.com/dart-lang/pub/issues/1899
...but there are still more issues with upload

Change-Id: I79fba90722631eb4a4685037478d25611a1d74c2
Reviewed-on: https://dart-review.googlesource.com/55988
Reviewed-by: Jenny Messerly <jmesserly@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-05-19 01:46:09 +00:00
pq
4edb23cfc1 Bump to linter 0.1.51.
* `unrelated_type_equality_checks` now allows comparison between `Int64` or `Int32` and `int`
* `unnecessary_parenthesis` improved to handle cascades _in_ cascades

Change-Id: I588893132e04a706e9fc93a7a16a07005465eb1f
Reviewed-on: https://dart-review.googlesource.com/55914
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2018-05-18 21:03:16 +00:00
Leaf Petersen
ed92c91e0a Remove barback from the SDK.
Change-Id: I6843981cda8e0dc7936271bcc019ab9571b15d67
Reviewed-on: https://dart-review.googlesource.com/55321
Reviewed-by: Kevin Moore <kevmoo@google.com>
Reviewed-by: Gary Roumanis <grouma@google.com>
2018-05-16 00:01:52 +00:00
Bob Nystrom
07f642384e Roll dart_style 1.0.14 into the SDK.
This should be safe to do without rolling the prebuilt SDK since it
makes no changes to existing formatted code.

Change-Id: I3420698b5dac94ab04ee7908940ace70936a3e5b
Reviewed-on: https://dart-review.googlesource.com/55269
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2018-05-15 21:13:27 +00:00
Zach Anderson
1a2046c333 [vm] Roll tcmalloc forward
It hasn't been updated in nearly 2 years. This update adds support for
more modern C++'s.

Change-Id: Ie3cbf95db6073d838a3a4cdbb72c3f50e0777c01
Reviewed-on: https://dart-review.googlesource.com/55265
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-05-15 21:07:57 +00:00
Nate Bosch
57dee60d4d Update to latest pub
Change-Id: I34de418baa3e3a202edb129e3d88f751473e0d3d
Reviewed-on: https://dart-review.googlesource.com/54636
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
2018-05-11 00:03:35 +00:00
pq
6e15762556 Bump to linter 0.1.50
* migration of rules to use analyzer package `NodeLintRule` and `UnitLintRule` yielding significant performance gains all around
* specific performance improvements for `prefer_final_fields` (~6x)
* addressed no such method calls in `void_checks`
* improved lint reporting for various lints

Change-Id: I63896a5367e27241ef596408aea44830c8067c75
Reviewed-on: https://dart-review.googlesource.com/53861
Reviewed-by: Devon Carew <devoncarew@google.com>
2018-05-09 20:52:51 +00:00
Nate Bosch
4da831fd3a Latest pub_semver
Bug: #33030
Change-Id: I7155482cbba12e9e5501feebac8ff31c6d8071ff
Reviewed-on: https://dart-review.googlesource.com/54140
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-05-07 23:32:32 +00:00
Nate Bosch
6c301a4e32 Bring in the latest pub
Closes https://github.com/dart-lang/sdk/issues/33030
Change-Id: Ib71de5c979e9bdeca5dace501ff5436852e32a82
Reviewed-on: https://dart-review.googlesource.com/54060
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2018-05-07 21:44:05 +00:00
Janice Collins
384c55c29e Update dartdoc & dependencies to v0.19.0.
Release notes:  https://github.com/dart-lang/dartdoc/releases/tag/v0.19.0


Change-Id: I94cfce84f3cb67c929c4fe94ef91f3ff7ae11153
Reviewed-on: https://dart-review.googlesource.com/53462
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2018-05-02 21:08:36 +00:00
Edward Lemur
e2247e5e00 Put the '@' outside the revision variables.
Bug: None
Change-Id: I5627ac27907acfa5e304e47720758383a2e6376a
Reviewed-on: https://dart-review.googlesource.com/53166
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2018-05-02 11:37:58 +00:00
Bob Nystrom
26cf0d559c Roll dart_style to 1.0.12.
This has no formatting changes, so is safe to roll without coordinating
with a new prebuilt SDK.

Change-Id: If8b966a7fd402909f82aa016ee9958672a275e8b
Reviewed-on: https://dart-review.googlesource.com/53161
Reviewed-by: Natalie Weizenbaum <nweiz@google.com>
2018-05-01 00:05:21 +00:00
Alexander Thomas
f95df2a26b [dartfmt] Bump dart:style to 1.0.11
* Fix a runtime error when dart_style is itself run in Dart 2.
* Force splitting an empty block as the then body of an if with an else.
* Use the new lowercase Dart 2 constant names.

https://github.com/dart-lang/sdk/issues/32961

Change-Id: I283f28a5e75016528093358a899b7f983ae1445e
Reviewed-on: https://dart-review.googlesource.com/52760
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2018-04-26 18:26:32 +00:00
Nate Bosch
94f45c8876 Bring in the latest pub
Bug: 32593
Change-Id: I4a8ce82591249968cfb00e9c57ddf75afb760d14
Reviewed-on: https://dart-review.googlesource.com/52700
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2018-04-26 00:01:35 +00:00
pq
534268d017 Bump Linter to 0.1.49
* new `void_checks` lint

(Also removes analyzer internal API dependency.)

Change-Id: I71015d765c033c18d06ac17b64c399612ebb4e17
Reviewed-on: https://dart-review.googlesource.com/52260
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2018-04-20 20:23:47 +00:00
pq
92a3fd7ffd Bump to latest linter (0.1.48).
* new `avoid_field_initializers_in_const_classes` lint
* miscellaneous documentation fixes
* improved handling of cascades in `unnecessary_statements`
* new `avoid_js_rounded_ints lint`

Change-Id: I0b1e78432404dd1946e187bff88c56342dacfe73
Reviewed-on: https://dart-review.googlesource.com/51364
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2018-04-16 21:43:26 +00:00
Natalie Weizenbaum
54531ad4e7 Bring in the latest pub_semver
Change-Id: Icb7419e0922c9bf8a794a324c4da15f1da0e3074
Reviewed-on: https://dart-review.googlesource.com/51200
Reviewed-by: Gary Roumanis <grouma@google.com>
Commit-Queue: Natalie Weizenbaum <nweiz@google.com>
2018-04-16 21:14:59 +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
Harry Terkelsen
9d4da03309 Roll dart2js_info to 0.5.6+2
Change-Id: I7e6def9cc6462fd2f4d69989fb3c11c4ad76a1d3
Reviewed-on: https://dart-review.googlesource.com/50800
Reviewed-by: Harry Terkelsen <het@google.com>
Commit-Queue: Harry Terkelsen <het@google.com>
2018-04-11 20:17:01 +00:00
Natalie Weizenbaum
7689dc9e06 Bring in the latest pub_semver
Change-Id: Ibd772c70d596fdc32c6654a058bf44ef0ab787a0
Reviewed-on: https://dart-review.googlesource.com/49827
Commit-Queue: Natalie Weizenbaum <nweiz@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2018-04-10 01:41:09 +00:00
Harry Terkelsen
1fd3011f47 dart2js: Add more whole-program information to dump-info
Change-Id: I39c8778aae26ebb2b7d39db092e043d101bc63c5
Reviewed-on: https://dart-review.googlesource.com/50321
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Harry Terkelsen <het@google.com>
2018-04-09 21:40:47 +00:00