This allows you to categorize commands, if you do they will be grouped in the usage text by category.
Change-Id: I2576ef76d18691f2fcee1f0f72c29285c4a346cf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207980
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Change-Id: I665d6cb353030b69c31c5230381e10202549ab38
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207821
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Change-Id: I4ffe2d1774b65d7e9387b90c766e644a8b843af1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207220
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Change-Id: I36c0b33419189b0002f01420cd88a806ce751347
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207820
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Note that this adds command suggestions when no command is found, see https://github.com/dart-lang/args/pull/206 for details.
This is likely to affect the output of the dart cli and other clis in the sdk, for that scenario. This may break some integration tests.
Change-Id: Ia64ab6f6c44af6b88f1db62268363820d39c63a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207701
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Auto-Submit: Jake Macdonald <jakemac@google.com>
Change-Id: I1cb6a5cc348778cbc6fd4969086a42a35da077ef
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207620
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
- New version has been migrated to null safety.
- Update tests that are currently broken. It looks like a CFE bug
was fixed and now the private static fields are accessible.
Change-Id: I3d9bde85b65c0e219f756df2d9531539eb7f732b
Issue: https://github.com/dart-lang/sdk/issues/46617
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207382
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
* This includes changes to dart format from dart_style 2.0.2
TBR=athom@google.com
Change-Id: I344f90e11b28746cfcb78427556a5f0a7de8611d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206371
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: William Hesse <whesse@google.com>
Change-Id: I3d7cb5d3cff30453766a6fcafce8c595a3af89f0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206321
Auto-Submit: Kevin Moore <kevmoo@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
This relands https://dart-review.googlesource.com/c/sdk/+/205633
but without renaming TARGET_OS_IPHONE to DART_TARGET_OS_IPHONE.
It also changes uses of TARGET_OS_IOS to
DART_TARGET_OS_MACOS_IOS to be consistent with the rest of the
VM.
TargetConditionals.h for XCode 13 defines several
TARGET_OS_* preprocessor symbols that confuse the
Dart build. There is probably a more targeted fix
for this, but renaming the symbols that Dart uses
will also prevent this problem if more symbols
are added to the platform headers in the future.
See: https://github.com/dart-lang/sdk/issues/46499
TEST=It builds.
Change-Id: Ie775c19dd23cfdf5f65e5ebc6ee4ec3a561676fa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205860
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
This reverts commit aa9201b76b.
Reason for revert: blocks G3 roll (b/192627187)
Original change's description:
> [vm] Prefix HOST_OS_* and TARGET_OS_* with DART_
>
> TargetConditionals.h for XCode 13 defines several
> TARGET_OS_* preprocessor symbols that confuse the
> Dart build. There is probably a more targeted fix
> for this, but renaming the symbols that Dart uses
> will also prevent this problem if more symbols
> are added to the platform headers in the future.
>
> See: https://github.com/dart-lang/sdk/issues/46499
>
> TEST=It builds.
> Change-Id: I3b33a03b4a9a14b76d55fe12f8cdefec4b3c3664
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205633
> Commit-Queue: Zach Anderson <zra@google.com>
> Reviewed-by: Siva Annamalai <asiva@google.com>
TBR=rmacnak@google.com,zra@google.com,asiva@google.com
Change-Id: Ib06ca418c7e9d3b4df62c72c033cd39f462f7667
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205790
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
TargetConditionals.h for XCode 13 defines several
TARGET_OS_* preprocessor symbols that confuse the
Dart build. There is probably a more targeted fix
for this, but renaming the symbols that Dart uses
will also prevent this problem if more symbols
are added to the platform headers in the future.
See: https://github.com/dart-lang/sdk/issues/46499
TEST=It builds.
Change-Id: I3b33a03b4a9a14b76d55fe12f8cdefec4b3c3664
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205633
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
This version retains the non-guaranteed behavior of matching the
`Uint8List.buffer` size to the data in `collectBytes` which is a detail
that some projects depend on.
Change-Id: Ibe1854f7ae0e388097d9a55c968cad360cdbabad
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205763
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
Use the depot_tools provided gsutil in the update script.
Cq-Include-Trybots: luci.dart.try:dart2js-minified-strong-linux-x64-d8-try,dart2js-strong-hostasserts-linux-ia32-d8-try
Change-Id: Ia12e61d6ba76a0cd89923d6f8821f7a3e2919cea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/204205
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
This reverts commit fc9383ed41.
Reason for revert: After discussion with athom, the breakage is a known temporary situation.
Original change's description:
> Revert "[build] Use Fuchsia windows clang toolchain"
>
> This reverts commit e479049467.
>
> Reason for revert: Broke build on vm-fuchsia-release-x64.
>
> Original change's description:
> > [build] Use Fuchsia windows clang toolchain
> >
> > Change-Id: Ie04039c736f40174cc45a61aa637a88fa53d9024
> > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/201862
> > Reviewed-by: Alexander Thomas <athom@google.com>
>
> TBR=aam@google.com,athom@google.com
>
> Change-Id: I3f1ce2c30bf0600b025bc95a051e569660e140c0
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/204582
> Reviewed-by: Tess Strickland <sstrickl@google.com>
> Commit-Queue: Tess Strickland <sstrickl@google.com>
# Not skipping CQ checks because this is a reland.
Change-Id: I0efe29d2dc11a2f3e65d65d2f2eaecc4c827490a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/204583
Reviewed-by: Tess Strickland <sstrickl@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2021-06-10 sgrekhov@unipro.ru 1087. More function tear-offs tests added
2021-06-09 sgrekhov@unipro.ru 1087. More function tear-offs tests added
2021-06-08 sgrekhov@unipro.ru 1096. Fix roll failures caused by wrong static errors expectations
2021-06-07 sgrekhov@unipro.ru 1087. Wrongly named tests renamed
2021-06-07 sgrekhov@unipro.ru 1087. Constructor tear-off tests fixed and new ones added
2021-06-07 sgrekhov@unipro.ru 1095. Dead code removed
2021-06-07 sgrekhov@unipro.ru Fixes 1095. Wait for entryPoint is invoked before doing the test
2021-06-04 sgrekhov@unipro.ru 1087. Constructor tear-off tests fixed, new ones added
2021-06-02 sgrekhov@unipro.ru 993. Array class extensions tests added
2021-06-02 irina.arkhipets@gmail.com Issue 1087: New tests for unnamed constructor tear offs added
2021-06-02 sgrekhov@unipro.ru 993. Update tests description for Struct and Union tests
2021-06-01 irina.arkhipets@gmail.com Issue 1087: New tests for unnamed constructor tear offs added
2021-06-01 irina.arkhipets@gmail.com Issue 1087: New tests for unnamed constructor tear offs added; missing enable-experiment tags added.
2021-06-01 sgrekhov@unipro.ru 993. More tests for Union added
2021-05-31 sgrekhov@unipro.ru 993. Tests for Union added
2021-05-28 irina.arkhipets@gmail.com Issue 1092: Instantiate-to-bound/typedef/static/typedef_typedef_l1_t14.dart test updasted acording to the Spec.
2021-05-27 irina.arkhipets@gmail.com Issue 1087: New tests for Tearing off constructors from type aliases added.
2021-05-25 irina.arkhipets@gmail.com Issue 1087: New tests ащк Tearing off constructors from type aliases added
2021-05-24 irina.arkhipets@gmail.com Issue 1087: New Constructor Tear Offs tests added
2021-05-24 irina.arkhipets@gmail.com Issue 1087: New Constructor Tear Offs tests added
2021-05-24 irina.arkhipets@gmail.com Issue 979: more testcases updated.
2021-05-21 sgrekhov@unipro.ru 1086. @compile-error replaced by static errors
Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-mac-release-x64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-release-x64-try,vm-kernel-precomp-nnbd-mac-release-simarm64-try
Change-Id: Ia5c1de2c1e7695e74642e182af559ff21d7c7c94
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/203301
Reviewed-by: William Hesse <whesse@google.com>