Commit graph

643 commits

Author SHA1 Message Date
William Hesse
dcd58ff563 Update unittest to 0.11.x. Check out unittest from chromium.googlesource.
Change-Id: I35fbf7d18cf596c23fcdc9c702cc1a6d498a4691
Reviewed-on: https://dart-review.googlesource.com/65320
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: William Hesse <whesse@google.com>
2018-07-17 12:18:48 +00:00
Bob Nystrom
42bbdec54e Update dartfmt to 1.1.3.
We also need to update the prebuilt SDK to keep it in sync with this
change so the presubmit doesn't get wonky. But, in this case, it should
be fine. The change affects a rare case that I don't think occurs in
the SDK: a multi-line string inside a string interpolation, inside
another string. If that does occur, it's easy to just change that code.

Change-Id: Icdfdfb0b2e1359005d88d983e9a3cf05b0e91e48
Reviewed-on: https://dart-review.googlesource.com/65280
Reviewed-by: Jenny Messerly <jmesserly@google.com>
2018-07-17 11:04:29 +00:00
Leaf Petersen
bcad45f350 Update DEPS to post CONSTANT versions of packages
Change-Id: I0f09586610e4096ed6b1031541c90934ed8a2a59
Reviewed-on: https://dart-review.googlesource.com/65161
Commit-Queue: Leaf Petersen <leafp@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2018-07-16 17:18:30 +00:00
William Hesse
58f1819023 Update the checked-in sdk to version 2.0.0-dev.68.0
Change-Id: Ifc39a60ca75d4b03830f14b8c99ad436966d6c4e
Reviewed-on: https://dart-review.googlesource.com/64541
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2018-07-12 09:01:12 +00:00
Lasse R.H. Nielsen
2efe3447ee Update DEPS to remove dependencies on upper-case constants
Change-Id: I5839a92d9790abcf35011b7ab3cdd3e05dbfa45c
Reviewed-on: https://dart-review.googlesource.com/63950
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2018-07-11 09:45:33 +00:00
Leaf Petersen
6f822ace89 Update bazel_worker, shelf, oauth2, markdown DEPS to latest versions
to enable removing deprecated CONSTANTS.

Change-Id: Ib8d7fbf7cbb2826dd239f62186a5c4e315b60cff
Reviewed-on: https://dart-review.googlesource.com/64461
Reviewed-by: Nate Bosch <nbosch@google.com>
2018-07-10 23:35:08 +00:00
Sergey G. Grekhov
54f66eebf2 [co19] co19 roll: DEPS and test_matrix update
Cq-Include-Trybots:luci.dart.try:front-end-mac-release-x64;luci.dart.try:front-end-win-release-x6;luci.dart.try:analyzer-mac-release;luci.dart.try:analyzer-win-release

Change-Id: I37f3b78180133c31f6267b76c3eeb16f8c00325a
Reviewed-on: https://dart-review.googlesource.com/63623
Reviewed-by: Erik Ernst <eernst@google.com>
2018-07-10 11:07:36 +00:00
William Hesse
b5e97a6537 Roll dart_style to version 1.1.2
This stops the splitting of long strings inside their interpolations.

BUG=https://github.com/dart-lang/sdk/issues/33773

Change-Id: Ie3a7a576de036c9055b02e6770f5f28d8bb49e35
Reviewed-on: https://dart-review.googlesource.com/64040
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2018-07-09 22:51:54 +00:00
Devon Carew
007dcd415d Upgrade package:http to 0.11.3+17.
Change-Id: Ic2eb67fac0c361be458d44201f4d573bcfac9221
Reviewed-on: https://dart-review.googlesource.com/64080
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2018-07-09 17:29:40 +00:00
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