Commit graph

937 commits

Author SHA1 Message Date
Nate Bosch
9ba92779d6 Roll to latest package:watcher
Unblocks #40706

Change-Id: Iadc69ea28bab58d20e13048279901361116360d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138608
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2020-03-06 19:57:13 +00:00
Ryan Macnak
2806ccacc7 [build] Update clang to 7e9747b50bcb1be28d4a3236571e8050835497a6.
This version includes a fix for building with the iOS simulators.

Bug: https://github.com/dart-lang/sdk/issues/39611
Change-Id: I99532e891e57733fd04785c9c2b6e56285a2bb95
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138570
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Chinmay Garde <chinmaygarde@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2020-03-06 18:39:23 +00:00
Janice Collins
a2bf8dd351 Upgrade to dartdoc-0.30.2.
Change-Id: I7e53334582e96590fc738e04fa33a1f4a9a3b4b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138600
Auto-Submit: Janice Collins <jcollins@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2020-03-05 23:34:17 +00:00
Alexander Thomas
188c8fb4b0 [co19] Roll co19 to 34a1386e6e7d3e27f5f2b4461aeb6f8794ab55c7
2020-03-05 sgrekhov@unipro.ru Added tests for covariant late final variables
2020-03-05 irina.arkhipets@gmail.com Fixed Issue 535: assertions updated.
2020-03-05 sgrekhov@unipro.ru Fixes 536. Use correct Requirements value
2020-03-04 sgrekhov@unipro.ru Minor static errors tests changes
2020-03-04 sgrekhov@unipro.ru More static errors tests added
2020-03-03 irina.arkhipets@gmail.com Fixed Issue 534: new tests added.
2020-02-27 irina.arkhipets@gmail.com Fixed Issue 533: toF common function updated according to the Issue 40368 comments.
2020-02-26 irina.arkhipets@gmail.com Fixed Issue 531: type normalization is taken into account.
2020-02-26 sgrekhov@unipro.ru More static errors tests added
2020-02-25 sgrekhov@unipro.ru Fixes 521. Update Process tests to be able to work with NNBD and on all platforms
2020-02-25 sgrekhov@unipro.ru Static errors tests renamed and reordered according to the spec text
2020-02-25 sgrekhov@unipro.ru Fixes 532. FileSystemEvent.isDirectory is always false for delete events
2020-02-24 irina.arkhipets@gmail.com Fixed Issue 530: update overridings tests for generics - assigning to non-nullable variable corrected, nonfunction-type-aliases flag added.
2020-02-21 sgrekhov@unipro.ru More static errors tests added (classes and mixins with no generative constructor)
2020-02-20 sgrekhov@unipro.ru Static errors tests renamed and reordered according to the spec text
2020-02-20 irina.arkhipets@gmail.com Fixed Issue 530: update overridings tests for generics - assigning to non-nullable variable corrected, nonfunction-type-aliases flag added.
2020-02-19 sgrekhov@unipro.ru Negative static errors tests around late keyword fixed. Fixed expected error position and abstract classes added
2020-02-19 irina.arkhipets@gmail.com Fixed Issue 529: test call arguments changed.
2020-02-18 sgrekhov@unipro.ru Update static errors tests around late keyword according changed NNBD specification
2020-02-17 sgrekhov@unipro.ru Fixes 528. Process Never in a special way
2020-02-13 irina.arkhipets@gmail.com Fixed Issue 465: re-factoring: overriding tests mover to separate directory.
2020-02-12 sgrekhov@unipro.ru Fixes 527. Less specific type error detection
2020-02-12 sgrekhov@unipro.ru Fixes 522. Test rewritten
2020-02-12 sgrekhov@unipro.ru Fixes 523. Move tests that use mirrors to API tests.
2020-02-12 sgrekhov@unipro.ru Fixes 523. Move tests that use mirrors to API tests. Add metadata tests without mirrors
2020-02-11 irina.arkhipets@gmail.com Fixed Issue 519: it's possible to call generic function with default type parameter if it's Never.
2020-02-11 irina.arkhipets@gmail.com Fixed Issue 465: overriding tests updated according to the Issue 40454 evaluation.
2020-02-11 sgrekhov@unipro.ru Fixes 527. Make type error detection less specific
2020-02-11 sgrekhov@unipro.ru Fixes 525. Expect error not on 'switch' but on 'case'
2020-02-11 sgrekhov@unipro.ru Fixes 526. Remove tests for the statement deleted from spec
2020-02-11 sgrekhov@unipro.ru Issue numbers added to the tests
2020-02-10 irina.arkhipets@gmail.com Fixed Issue 465: test case table added.
2020-02-10 irina.arkhipets@gmail.com Fixed Issue 465: new tests added.
2020-02-10 irina.arkhipets@gmail.com Fixed Issue 465: new tests added.
2020-02-10 irina.arkhipets@gmail.com Fixed Issue 465: new tests added.
2020-02-10 irina.arkhipets@gmail.com Fixed Issue 465: new tests added.
2020-02-09 irina.arkhipets@gmail.com Fixed Issue 465: new tests added.
2020-02-09 irina.arkhipets@gmail.com Fixed Issue 465: new tests added.
2020-02-07 irina.arkhipets@gmail.com Fixed Issue 465: check for status warning added.
2020-02-07 irina.arkhipets@gmail.com Fixed Issue 465: test corrected, @Issue tag for the SDK bug 40514 added.
2020-02-07 irina.arkhipets@gmail.com Fixed Issue 465: type corrected.

New failures will be triaged on:
https://github.com/dart-lang/co19/issues/537

Change-Id: Iaf03662b8595927c0bb8589804d0a0e30cd600cb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138289
Reviewed-by: Karl Klose <karlklose@google.com>
2020-03-05 10:15:37 +00:00
Paul Berry
4af4245c45 Remove duplicate entry in DEPS
As of
https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2088422,
duplicate keys in DEPS are no longer allowed.

Change-Id: I2d6b9b36ac01b2df65d2127e99b4e48b38c1bfe0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138460
Reviewed-by: Srujan Gaddam <srujzs@google.com>
2020-03-05 00:37:21 +00:00
Jacob MacDonald
25f5febfc8 update test, test_core, test_api, and source_map_stack_trace to the latest
Bug: https://github.com/dart-lang/package_resolver/issues/30
Change-Id: I4722630ec1e9e5cab3e6bda38b71e2f22ea9e203
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138400
Commit-Queue: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Auto-Submit: Jake Macdonald <jakemac@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2020-03-04 22:37:58 +00:00
Jacob MacDonald
8e5354dccb update shelf_packages_handler to the latest version
Bug: https://github.com/dart-lang/package_resolver/issues/30
Change-Id: I42c10dabfb14f082b2facc492dd90c1ecdd1901a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138386
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2020-03-04 22:23:23 +00:00
Devon Carew
8e3850395a [dartdev] refactor the dartdev pub command - delegate to the pub snapshot
Change-Id: If0221ba6472271a186fc8628416ddca73e951a80
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/137653
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Jaime Wren <jwren@google.com>
2020-02-28 23:22:30 +00:00
pq
3ebc8a6b08 linter 0.1.112
Change-Id: Icaaf4a1c489490e6c1588fed30f7f898970ece0f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/137820
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2020-02-28 17:00:32 +00:00
pq
7eaafa01cc linter 0.1.111+1
Change-Id: I9e311527a41f65b888c4208615158715e3ff6dbf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/137321
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2020-02-26 20:34:31 +00:00
Ryan Macnak
73f6d15665 [build] Update clang and gn to match Fuchsia.
This new version has functional TSAN.

Bug: https://github.com/dart-lang/sdk/issues/39611
Change-Id: Ia9835fb6ad6de73f43faea695f893ed0c62fffa7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136380
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2020-02-24 21:04:18 +00:00
Alexander Thomas
ceec05a2d3 [infra] Move package_config DEP to a hash on the master branch
Fixes https://github.com/dart-lang/sdk/issues/40739

Change-Id: Id0d6cb039172f64c33aa299b846d94946925c88d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136815
Auto-Submit: Alexander Thomas <athom@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
2020-02-21 23:58:12 +00:00
Devon Carew
9bedc9a7af [dartdev] bring in the new stagehand project template
Change-Id: Ie6c0c83bec3db86f430faeb033b0de7ebaf183cf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136660
Reviewed-by: Jaime Wren <jwren@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2020-02-21 00:26:30 +00:00
Janice Collins
79b507f4cb Upgrade dartdoc to v0.30.1.
Change-Id: I8e6b6bad839912ba30c9d03f7763bd89cbadab86
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136281
Commit-Queue: Janice Collins <jcollins@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
Auto-Submit: Janice Collins <jcollins@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2020-02-18 19:46:54 +00:00
Lasse R.H. Nielsen
3f28a3496c Change SDK to use package_config v1.9 (unreleased).
Change-Id: I405ac5e59d0b330c6fc6c63fab48d2d303734e59
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136123
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2020-02-18 10:56:59 +00:00
Jens Johansen
2a49768f15 [CFE] Update dart2js_dills deps version
I forgot to update the deps file in
a314cff6ee.

Change-Id: I1a3fdf3499d7f9e85ee5e4ea8103e64b36abb140
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136185
Reviewed-by: Jens Johansen <jensj@google.com>
2020-02-18 09:55:58 +00:00
Jens Johansen
81d4ac07d4 [CFE] Use package config v2
Change-Id: I32da9e8b2c1040db1521af4345f8e952c22bd30d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/130864
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2020-02-12 10:07:25 +00:00
Zichang Guo
f117eb3ec1 Update DEPS file for coming HttpHeaders change
Original cl: https://dart-review.googlesource.com/c/sdk/+/119100
In order to land this without breaking flutter builds, change DEPS file first.

Change-Id: Ic4550d8060bf130f83e5df428a130e68a67b4273
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134105
Commit-Queue: Zichang Guo <zichangguo@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2020-02-11 20:22:09 +00:00
Dmitry Stefantsov
535ee87c21 [kernel] Add NORM implementation
Change-Id: I6292a4247ed0c418f2d3d6fa841ed086894c31c9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134335
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2020-02-07 15:00:24 +00:00
Alexander Thomas
43b751c15b [co19] Roll co19 to def1183bacc28f008db4fdd3d0442ed05f1889f8
2020-02-06 irina.arkhipets@gmail.com Fixed Issue 465: Issue tags updated.
2020-02-04 irina.arkhipets@gmail.com Fixed Issue 465: re-factoring.
2020-02-04 irina.arkhipets@gmail.com Fixed Issue 465: re-factoring.
2020-02-04 irina.arkhipets@gmail.com Fixed Issue 465: New nnbd tests added (overriding).
2020-02-03 irina.arkhipets@gmail.com Fixed Issue 465: Overriding tests updated.
2020-01-31 irina.arkhipets@gmail.com Fixed Issue 465: New tests for overriding added.
2020-01-31 irina.arkhipets@gmail.com Fixed Issue 465: New tests for overriding added.
2020-01-31 irina.arkhipets@gmail.com Fixed Issue 518: Issue tags updated.
2020-01-30 irina.arkhipets@gmail.com Fixed Issue 518: Minor tests correction.
2020-01-30 irina.arkhipets@gmail.com Fixed Issue 518: Minor tests correction.
2020-01-30 irina.arkhipets@gmail.com Merge branch 'master' of https://github.com/dart-lang/co19
2020-01-30 sgrekhov@unipro.ru NNBD tests updated according last roll results (fixed, issue numbers added)
2020-01-30 sgrekhov@unipro.ru Null aware test fixed
2020-01-30 sgrekhov@unipro.ru Null aware test fixed
2020-01-29 irina.arkhipets@gmail.com Fixed Issue 518: Issue tags added for the NNBD tests which fail because of the issues 40367, 40368
2020-01-29 sgrekhov@unipro.ru NNBD tests fixed after the next roll results investigation
2020-01-28 irina.arkhipets@gmail.com Fixed Issue 516: expected result for the tests which check methods with required arguments updated.

Change-Id: I8efb2e49a7dd5f6ef4422dd068264d0cfb57586e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134701
Reviewed-by: Jonas Termansen <sortie@google.com>
2020-02-06 13:07:20 +00:00
Johnni Winther
80dacdf3a0 [kernel] Add Class.hasConstConstructor and Member.isNonNullableByDefault predicates
Closes #40440

Change-Id: I2776c165d23e2aa2bf5d7515741bd0f0d067b26d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134292
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2020-02-06 12:27:37 +00:00
Devon Carew
c8ed304e97 [dartdev] add a dartdev 'create' command
Change-Id: I95625a9c422335ba5de92c887afce9eb564d6a04
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/133460
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Jaime Wren <jwren@google.com>
2020-02-02 02:23:13 +00:00
Zichang Guo
91a3ea89c8 Revert "[dart:io] Stop forcing lower case on HttpHeaders"
This reverts commit b2b7337ad4.

Reason for revert: flutter build broke!!

Original change's description:
> [dart:io] Stop forcing lower case on HttpHeaders
> 
> This is a breaking change. Request: https://github.com/dart-lang/sdk/issues/33501
> 
> HttpHeaders use lowercase by default for all headers, since it is supposed to be case insensitive. Some servers incorrectly treat case as significant, however, and expect headers with capitalization or in uppercase. The current implementation forces headers to be lower cases when adding values. Users cannot even manually modify the headers.
> 
> This change removes this restriction here so that users can modify the headers to whatever form they want. The new behavior is backwards compatible except if class was implemented. All headers inside http.dart are written as lower cases, adding values to HttpHeaders is still receiving lower cases input.
> 
> The other cl (https://dart-review.googlesource.com/c/http_multi_server/+/121411) migrates multi_headers.dart to be compatible with this change.
> 
> Bug: https://github.com/dart-lang/sdk/issues/33501
> Change-Id: I6f7f2ef907b229773c283140c07f2de4cd500981
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119100
> Commit-Queue: Zichang Guo <zichangguo@google.com>
> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>

TBR=whesse@google.com,sortie@google.com,lrn@google.com,zichangguo@google.com

Change-Id: I4d4299393ad6549b250053df8823e726855e2baf
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: https://github.com/dart-lang/sdk/issues/33501
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134102
Reviewed-by: Zichang Guo <zichangguo@google.com>
Commit-Queue: Zichang Guo <zichangguo@google.com>
2020-01-31 22:32:22 +00:00
Johnni Winther
54c8066f6f [cfe] Add new flags to AsExpression and IsExpression
Change-Id: I31eba9b4ced051a1067945fd68e60a09b1fa6ed7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/133100
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2020-01-31 19:55:22 +00:00
Zichang Guo
b2b7337ad4 [dart:io] Stop forcing lower case on HttpHeaders
This is a breaking change. Request: https://github.com/dart-lang/sdk/issues/33501

HttpHeaders use lowercase by default for all headers, since it is supposed to be case insensitive. Some servers incorrectly treat case as significant, however, and expect headers with capitalization or in uppercase. The current implementation forces headers to be lower cases when adding values. Users cannot even manually modify the headers.

This change removes this restriction here so that users can modify the headers to whatever form they want. The new behavior is backwards compatible except if class was implemented. All headers inside http.dart are written as lower cases, adding values to HttpHeaders is still receiving lower cases input.

The other cl (https://dart-review.googlesource.com/c/http_multi_server/+/121411) migrates multi_headers.dart to be compatible with this change.

Bug: https://github.com/dart-lang/sdk/issues/33501
Change-Id: I6f7f2ef907b229773c283140c07f2de4cd500981
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119100
Commit-Queue: Zichang Guo <zichangguo@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2020-01-31 17:08:52 +00:00
pq
9c04bdf1c6 bump to linter 0.1.110
Change-Id: I4763c5f99e06036f990a347954fc13e9d5f42d0f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/133436
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2020-01-28 17:15:28 +00:00
Alexander Thomas
cdad337d1a [co19] Roll co19 to 5a3388d1f79cc3c61f9cdc1b3eaaa405bd62c882
2020-01-28 sgrekhov@unipro.ru Implicit onversions tests added
2020-01-27 sgrekhov@unipro.ru Null-aware  static errors tests fixed
2020-01-27 sgrekhov@unipro.ru More static errors tests
2020-01-24 sgrekhov@unipro.ru Fix legacy warning test
2020-01-24 sgrekhov@unipro.ru Static errors swithc statement tests added
2020-01-23 irina.arkhipets@gmail.com Fixed Issue 465: NNBD generics tests updated.
2020-01-23 irina.arkhipets@gmail.com Fixed Issue 465: Refactoring of the tests, some typos corrected.
2020-01-23 sgrekhov@unipro.ru Static errors swithc statement tests added
2020-01-23 irina.arkhipets@gmail.com Fixed Issue 465: New tests for Exports added (type aliases).
2020-01-23 sgrekhov@unipro.ru Optional parameters of abstract method test added
2020-01-23 sgrekhov@unipro.ru Issue number added
2020-01-22 irina.arkhipets@gmail.com Fixed Issue 465: New tests for Exports added (function typedefs).
2020-01-22 irina.arkhipets@gmail.com Fixed Issue 465: New tests for Exports added (function typedefs).
2020-01-22 irina.arkhipets@gmail.com Fixed Issue 465: New tests for Exports added (function typedefs).
2020-01-22 irina.arkhipets@gmail.com Fixed Issue 465: New tests for Exports added (generic classes).
2020-01-22 irina.arkhipets@gmail.com Merge branch 'master' of https://github.com/dart-lang/co19
2020-01-22 irina.arkhipets@gmail.com Revert "Fixed Issue 465: New tests for Exports added (generic classes)."
2020-01-22 irina.arkhipets@gmail.com Fixed Issue 465: New tests for Exports added (generic classes).
2020-01-22 sgrekhov@unipro.ru More static errors tests added
2020-01-22 irina.arkhipets@gmail.com Fixed Issue 465: Copyrights updated.
2020-01-22 irina.arkhipets@gmail.com Fixed Issue 465: tests for Exports added updated.
2020-01-21 irina.arkhipets@gmail.com Fixed Issue 465: tests for Exports added updated.
2020-01-21 sgrekhov@unipro.ru More static errors tests added
2020-01-21 sgrekhov@unipro.ru Function invocation with ! test added
2020-01-20 sgrekhov@unipro.ru Prefix operators added
2020-01-20 sgrekhov@unipro.ru if (t is Object) tests fixed
2020-01-17 sgrekhov@unipro.ru Late variables tests changed according to the spec (await and late final)
2020-01-17 sgrekhov@unipro.ru Fixes 514. It's a warning to use null-aware operator on type Never
2020-01-17 sgrekhov@unipro.ru Fixes 513. It's a warning to use function type with ! operator
2020-01-17 sgrekhov@unipro.ru Fixes 515. Second write to local final late variable is a compile error not a runtime one
2020-01-14 irina.arkhipets@gmail.com Fixed Issue 511: test assertion updated.
2020-01-13 irina.arkhipets@gmail.com Fixed Issue 512: nonfunction-type-aliases option added.
2020-01-11 irina.arkhipets@gmail.com Fixed Issue 512: nonfunction-type-aliases option added.
2020-01-10 irina.arkhipets@gmail.com Fixed Issue 510: typo in the test comment corrected.
2020-01-10 irina.arkhipets@gmail.com Fixed Issue 465: tests for overriding with NNBD re-named and corrected. New tests added.

Change-Id: I3e3b525c373ef46cda0422c5e278465ac5525275
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/133232
Reviewed-by: Jonas Termansen <sortie@google.com>
2020-01-28 11:12:51 +00:00
Sigurd Meldgaard
be1ddc8a64 Bump pub revision in DEPS
New commits included in this revision:
```
$ git log --pretty=oneline 4d8ecbd409d773fec47da33b7e6c8db0b51487fd..429a06039d185149f387a65e3503b0693ce6d24e
429a06039d185149f387a65e3503b0693ce6d24e (HEAD -> master, origin/master, origin/HEAD) Parallel fetching of available versions (#2280)
6705b085b9bf4754a4c8002a070f436f115dc4d1 Retry on all SocketExceptions (#2254)
a1820273b9f3c7bb5a13d26cd14d30d5bab187ae Use a unqiue file name for the snapshot during testing. (#2303)
72686563e767f8a359e48a267a2c323953a6a0ef Include osx and windows testing on Travis (#2299)
a7a66821d13920b9b22cc394dfa55c679e971e40 Fail travis for lints and warnings (#2301)
25aa24c023453f064dad8f3cce1bbd55269d0efa Omit languageVersion when there is no SDK constraint (#2300)
82e60a3dcb3afe753563e7d304827fb650bc4833 Use LOCALAPPDATA for system cache on windows (#2297)
ceaa86f2c7eb35f044b4c202268a17361de68d13 Enforce and fix lints from package:pedantic (#2291)
6ce1606564352c305bd0f6d97704f0f7f6ebbca0 Use more collection literals for args (#2293)
be245e6baeebb71aaf3b3a260fcfbbb011a9a7e0 Rename some test utilities from Mock to Fake (#2294)
f7638ce85298df7d9e73d717dd4d81f499681720 Refactor Set.add following !Set.contains (#2295)
390022b24bc076cb934385936ac7904f045a75ba Filter out `null` from `getCachedPackages`. (#2292)
0eea0c4421ed0b83c8597b62dacf68b93de172b9 Fix existing hints and lints (#2290)
7cf2fe860a40517ccb65f5efdda9e4dc350142c3 promote strict deps failures to errors from warnings (#2289)
```

Change-Id: I62782b29e16092114940df00811bfdd20c8045fa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/131839
Reviewed-by: Jonas Jensen <jonasfj@google.com>
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
2020-01-16 14:45:59 +00:00
pq
55637a41a8 linter bump to 0.1.109
Change-Id: I975655beb1fd8c5eca986da498e9707b85efd50f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/131840
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2020-01-15 17:27:34 +00:00
Johnni Winther
d302d7f10a [cfe] Insert member signatures for nnbd aware inheritance
Change-Id: I86dbbd586434af81b6dc4f4ae748cbd8177d06e0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/129080
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2020-01-15 07:36:28 +00:00
Alexander Thomas
283a65b377 [co19] Roll co19 to 6d84d8db719f2076e0c2bbc41db9297e803ab445
2019-12-30 sgrekhov@unipro.ru Requirements=nnbd-strong added to NNBD tests
2019-12-27 sgrekhov@unipro.ru NNBD. Minor wording change
2019-12-26 sgrekhov@unipro.ru Override checking NNBD tests fixed
2019-12-26 irina.arkhipets@gmail.com Fixed Issue 465: Needless Issue tag removed.
2019-12-26 irina.arkhipets@gmail.com Fixed Issue 465: tests for overriding with NNBD re-named and corrected. New tests added.
2019-12-25 sgrekhov@unipro.ru Issue numbers added to some NNBD tests
2019-12-24 irina.arkhipets@gmail.com Fixed Issue 465: tests for overriding with NNBD re-named and corrected. New tests added.
2019-12-23 irina.arkhipets@gmail.com Fixed Issue 465: tests for overriding with NNBD re-named and corrected. New tests added.
2019-12-19 sgrekhov@unipro.ru Analyzer failures triaged. Some tests fixed, for some issue numbers added
2019-12-19 sgrekhov@unipro.ru Requirements=nnbd-strong flag added to the 'late' tests
2019-12-19 sgrekhov@unipro.ru Late variables tests fixed and new ones added

Reported issues:
https://github.com/dart-lang/sdk/issues/40055
https://github.com/dart-lang/sdk/issues/40057
https://github.com/dart-lang/co19/issues/510
https://github.com/dart-lang/co19/issues/511

Change-Id: I4c2737ce3b9fb392d9035079611f85db0b116351
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/131060
Reviewed-by: William Hesse <whesse@google.com>
2020-01-10 10:39:32 +00:00
Janice Collins
e894d06abc Upgrade dartdoc to 0.30.0.
Release notes: https://github.com/dart-lang/dartdoc/releases/tag/v0.30.0

Change-Id: I7d4f30d95e806492a41aa08ddea613b48279ffd0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/130883
Auto-Submit: Janice Collins <jcollins@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2020-01-09 18:06:16 +00:00
pq
c0dfdb27e7 linter 0.1.108
UPDATE (1/3): blocked on a new analyzer roll (details: https://github.com/dart-lang/linter/issues/1927)
UPDATE (1/8): updated to 0.1.108


Change-Id: I4fc825c5019fee05b4d9e1ec38bd50f9044f42dd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/130081
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: David Morgan <davidmorgan@google.com>
2020-01-08 19:28:51 +00:00
Alexander Thomas
8b290d92f9 [co19] Roll co19 to 9e3512c90f9110353909a0da71a871e33324034e
2019-12-18 sgrekhov@unipro.ru Fixes 508. Relative import in multitests fixed
2019-12-13 sgrekhov@unipro.ru Increasing List length tests added
2019-12-13 sgrekhov@unipro.ru 491. Generic function type null-check operator tests fixed
2019-12-12 sgrekhov@unipro.ru Analyzer error in Expect library fixed
2019-12-12 sgrekhov@unipro.ru 491. Null-check operator tests improved and new ones added
2019-12-11 sgrekhov@unipro.ru 491. Null-check operator tests improved and new ones added
2019-12-11 sgrekhov@unipro.ru Tests for calling of 'call()' method via 'this()' and 'super()' added
2019-12-09 sgrekhov@unipro.ru 491. Static errors tests extended according to the updated specification
2019-12-09 irina.arkhipets@gmail.com Fixed Issue 465: tests for overriding with NNBD re-named and corrected. New tests added.
2019-12-08 irina.arkhipets@gmail.com Fixed Issue 465: tests for overriding with NNBD re-named and corrected. New tests added.
2019-12-06 irina.arkhipets@gmail.com Fixed Issue 465: tests for overriding with NNBD re-named and corrected.
2019-12-06 irina.arkhipets@gmail.com Fixed Issue 507: needless compile-error expectation removed.
2019-12-06 irina.arkhipets@gmail.com Fixed Issue 506: test expected result corrected.
2019-12-06 irina.arkhipets@gmail.com Fixed Issue 505: --enable-experiment=nonfunction-type-aliases option added.
2019-12-06 irina.arkhipets@gmail.com Fixed Issue 465: tests for NNBD (Overriding Section) corrected, new tests added.
2019-12-05 sgrekhov@unipro.ru 491. Static errors tests extended according to the updated specification
2019-12-04 sgrekhov@unipro.ru 491. Static errors tests extended to check all possible nullable/non-nullable types
2019-12-03 sgrekhov@unipro.ru Fixes 504. Fix typos in the tests
2019-12-02 irina.arkhipets@gmail.com Get rid of useless references to the issue 34950 which is fixed now.
2019-12-02 irina.arkhipets@gmail.com Fixed Issue 498: compile error diagnostic improved.
2019-12-02 irina.arkhipets@gmail.com Fixed Issue 498: get rid of self-references in non-function type aliases tests.
2019-11-28 sgrekhov@unipro.ru 491. Static errors tests extended to check all possible nullable types
2019-11-27 sgrekhov@unipro.ru Required keyword tests improved
2019-11-26 sgrekhov@unipro.ru Fixes 503. Allow multiple return statements of different kind
2019-11-26 sgrekhov@unipro.ru 491. Static errors tests extended to check all possible nullable types

Change-Id: Icbf4057fa6ee8def864069200dd199712cb22bce
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128729
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-12-18 10:15:09 +00:00
Janice Collins
0f50c454a4 Upgrade SDK to dartdoc 0.29.3
Release notes:  https://github.com/dart-lang/dartdoc/releases/tag/v0.29.3

Change-Id: Icad97c60f11eb7424b3eebde571303f5b1d343f0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128780
Auto-Submit: Janice Collins <jcollins@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2019-12-17 20:47:19 +00:00
Sigurd Meldgaard
1fe9d7c4b6 Bump pub version
This includes the single commit:

```
4d8ecbd409d773fec47da33b7e6c8db0b51487fd Don't precompile on pub get/upgrade by default (#2277)
```

Change-Id: I1e72498487858cfc61f3af03e2eeb3397499d246
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128070
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
Reviewed-by: Jonas Jensen <jonasfj@google.com>
2019-12-13 08:06:28 +00:00
pq
3e8e11b95a bump to linter 0.1.106
Change-Id: I59aa5f6ad1c469c281d09697c701a10b27e68054
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128100
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2019-12-11 18:52:07 +00:00
Alexander Thomas
1d9cd1d83f [infra] Update checked-in SDKs to 2.8.0-dev.0.0
Also change the script to use gsutil.py, which is usually in the path
because it's in depot tools.

Closes #39672

Change-Id: If434b4ebc4c0cb6054f6eb6d15f85a221a9ab1e6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127894
Commit-Queue: Alexander Thomas <athom@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
Auto-Submit: Alexander Thomas <athom@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-12-11 13:23:59 +00:00
pq
a3953b607d linter 0.1.105
Change-Id: Id3d59bf77326a6fb98e8d5632953e9a3f1ddf512
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127340
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2019-12-05 23:01:41 +00:00
Janice Collins
6c42984383 Update dartdoc to 0.29.2.
Release notes:  https://github.com/dart-lang/dartdoc/releases/tag/v0.29.2

Change-Id: I4f2a3b3b36ac5eab3273cb29f5dcde8dd2c2b588
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127080
Auto-Submit: Janice Collins <jcollins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2019-12-03 19:43:48 +00:00
Clement Skau
89e31069e8 Revert "[vm/cfe] Elaborate for-in statements during async transform"
This reverts commit 63333deed6.

Reason for revert: Causes failures on Flutter HHH CI in the "flutter test hostonly_devicelab_tests" step due to kernel binary format version mismatch.

Original change's description:
> [vm/cfe] Elaborate for-in statements during async transform
> 
> This allows us TFA to analyze the iterator calls and we generate much tighter
> code in AOT.
> 
> However, due to the increased inlining opportunities, we end up emitting 0.5%
> more code. Inlining of the _GrowableList iterator specifically also includes the
> concurrent modification check and error handling.
> 
> Calls to get:iterator, moveNext and get:current account for 7.12% of all InstanceCall
> instructions in Flutter Gallery.
> 
> Fixes https://github.com/dart-lang/sdk/issues/39516
> Issue https://github.com/dart-lang/sdk/issues/39566
> Issue https://github.com/dart-lang/sdk/issues/39565
> 
> Change-Id: I8dcc08b7571137e869a16ceea8cc73539eb02a5a
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126381
> Commit-Queue: Samir Jindel <sjindel@google.com>
> Reviewed-by: Martin Kustermann <kustermann@google.com>

TBR=kustermann@google.com,sjindel@google.com,johnniwinther@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I89b88c3d9f7c743fc340ee73a45c3f57059bcf30
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126734
Reviewed-by: Clement Skau <cskau@google.com>
Reviewed-by: Teagan Strickland <sstrickl@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Clement Skau <cskau@google.com>
2019-12-03 12:29:35 +00:00
Sigurd Meldgaard
175ceca1fa Bump pub version in DEPS
This includes only commit
ff5ad1eab1649a8eee6cc593302d3624d9853049
'Warn in Flutter plugin validator with implicit flutter
sdk dependency'.

Bug: https://github.com/dart-lang/pub/issues/2264
Change-Id: I8d7c9e95d0c1121917a55e4d85c665c09dda8524
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127000
Reviewed-by: Jonas Jensen <jonasfj@google.com>
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
2019-12-03 11:02:41 +00:00
Samir Jindel
63333deed6 [vm/cfe] Elaborate for-in statements during async transform
This allows us TFA to analyze the iterator calls and we generate much tighter
code in AOT.

However, due to the increased inlining opportunities, we end up emitting 0.5%
more code. Inlining of the _GrowableList iterator specifically also includes the
concurrent modification check and error handling.

Calls to get:iterator, moveNext and get:current account for 7.12% of all InstanceCall
instructions in Flutter Gallery.

Fixes https://github.com/dart-lang/sdk/issues/39516
Issue https://github.com/dart-lang/sdk/issues/39566
Issue https://github.com/dart-lang/sdk/issues/39565

Change-Id: I8dcc08b7571137e869a16ceea8cc73539eb02a5a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126381
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-11-29 16:42:36 +00:00
Alexander Thomas
3524bb1a93 [co19] Roll co19_2 and add co19 (nnbd) to DEPS.
Initial import of co19 (nnbd) at 8767031866e8243eafdb46011d4d8a7b5705019d.

Roll co19_2 to 368bfa9e877a2df003547f64bb17e30596af10c7:
2019-11-22 irina.arkhipets@gmail.com Issue 501 fixed: correct expected result adjusted.
2019-11-22 irina.arkhipets@gmail.com Issue 501 fixed: correct expected result adjusted.
2019-11-22 irina.arkhipets@gmail.com Issue 499 fixed: correct expected result adjusted.
2019-11-22 sgrekhov@unipro.ru Fixes 500. Expected result corrected
2019-11-12 sgrekhov@unipro.ru Fixes 495. Partial fix. Explicit extension member invocation tests added
2019-11-11 sgrekhov@unipro.ru 495. Partial fix. Null-aware explicit extension member invocation tests added
2019-11-07 sgrekhov@unipro.ru Remove hint in analyzer
2019-11-07 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added
2019-11-06 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added
2019-11-05 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added
2019-10-31 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for binary operations added
2019-10-30 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for binary operations added
2019-10-29 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests added
2019-10-10 irina.arkhipets@gmail.com Fixed Issue 494: expected result corrected.
2019-10-09 irina.arkhipets@gmail.com Fixed Issue 493: typo corrected.
2019-10-09 irina.arkhipets@gmail.com Fixed Issue 492: typo corrected.

Failures are due to:
* Triple-shift is not yet implemented.
* https://github.com/dart-lang/sdk/issues/39527

Change-Id: I81578e1e3e18b396f1d20cee7aaa34cd4df54bbf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125973
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-11-26 17:10:18 +00:00
Mike Fairhurst
5c111a217c Update package:watcher in SDK
Change-Id: Iad90c6aa9924ed616164ba42c67c11b4ce9beb9c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125992
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
2019-11-22 21:39:47 +00:00
pq
bb29b1545b linter 0.1.104
Change-Id: I03b72ba583146d1c3224f6941bdaaaa68a6997e7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124915
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2019-11-14 14:30:06 +00:00
Sigurd Meldgaard
0e9eadcb71 Upgrade pub revision
$ git log --pretty=oneline 80ac76400ff58fde3c5a335d860d196c3febe837..HEAD
d15067931a6b671a1c9dcc98b5923347676269cf Add link to Flutter plugin docs to warning message (#2253)
61601357ac5857ddf7507ef71678cb9d15344f26 Improve error message when .dart_tool/package_config.json is missing (#2252)

Change-Id: I01726a0dd3d1c96301425d97294c7251ed4681fc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124685
Reviewed-by: Jonas Jensen <jonasfj@google.com>
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
2019-11-11 10:04:12 +00:00
Janice Collins
cfec969eff Update dartdoc version to 0.29.1.
Release notes:  https://github.com/dart-lang/dartdoc/releases/tag/v0.29.1

Change-Id: I2ad924de906d171c6d17ba05f80eed815d8cd97f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124590
Commit-Queue: Janice Collins <jcollins@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
Auto-Submit: Janice Collins <jcollins@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
2019-11-08 21:28:57 +00:00
Stephen Adams
51016532e8 DEPS: update d8 to 7.8.279
Change-Id: I6362e7e1da69ac91dbd6d9a87d6e5f135949c25d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124169
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2019-11-06 01:03:27 +00:00
Alexander Thomas
8b050df2db [infra] Remove duplicate args_tag from DEPS
Seems to have been accidentally introduced here:
https://dart-review.googlesource.com/c/sdk/+/119645

Change-Id: Ie72dd1e06960ee148cf262923b6d779e85181a4f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124130
Auto-Submit: Alexander Thomas <athom@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2019-11-05 15:49:23 +00:00