Commit Graph

106551 Commits

Author SHA1 Message Date
Daco Harkes 4463abc509 [doc] Fix GSoC deadline typo
Change-Id: I5f90a943c5acdb4372cf2e53de3a572008ec5e8c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419881
Reviewed-by: Liam Appelbe <liama@google.com>
Commit-Queue: Liam Appelbe <liama@google.com>
Auto-Submit: Daco Harkes <dacoharkes@google.com>
2025-04-02 15:42:16 -07:00
DEPS Autoroller 055ba0a9cb Roll Fuchsia SDK from 27.20250327.3.1 to 27.20250402.4.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-dart-sdk
Please CC fuchsia-3p-engprod@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Fuchsia SDK: https://bugs.fuchsia.dev/p/fuchsia/issues/list
To file a bug in Dart SDK: https://github.com/dart-lang/sdk/issues

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.dart.try:vm-fuchsia-release-x64-try;luci.dart.try:vm-fuchsia-release-arm64-try
Change-Id: Ie10fa769354b3d4933040c6e37f4568ef7f0afe9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/420000
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2025-04-02 14:16:21 -07:00
DEPS Autoroller d8fcc3ac77 Roll BoringSSL from c86127e656ae to e68438b863af (1 revision)
https://boringssl.googlesource.com/boringssl.git/+log/c86127e656ae..e68438b863af

2025-04-02 davidben@google.com Fix comment on bn_div_rem_words and use MSVC instrinsic

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/boringssl-dart-sdk
Please CC dart-engprod@google.com,dart-vm-gardener@grotations.appspotmail.com,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in BoringSSL: https://crbug.com/boringssl/new
To file a bug in Dart SDK: https://github.com/dart-lang/sdk/issues

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: dart-vm-gardener@grotations.appspotmail.com
Change-Id: I1cf43ff686b9241ce154235a5eb597828d912d4f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/420040
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2025-04-02 14:11:30 -07:00
Konstantin Shcheglov e10122923e Fine. Include initializer of const top-level variable.
Change-Id: Ife91f61722f7b3d0279402868a820a54fc569cdf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419985
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-04-02 14:08:18 -07:00
Konstantin Shcheglov 45a088f306 Fine. Include even private elements into manifests.
While only some elements can be referenced in constants
in valid code, still other elements might somehow affect public
elements. I think we will get more robust implementation, if we put all elements, including private into manifests. I don't want to guess: can this affect constants, or not?

The performance different is about 6% on computing library manifests on analyzer/ + analysis_server/ + linter/. And computing initial set of manifests itself is 5% of total work, so it is about 0.3% total slowdown.

Also adds static getters and methods to make it more representative.

Change-Id: I8994b8f84befbce695fd48fc657e4350109f6cfe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418720
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-04-02 14:03:00 -07:00
Konstantin Shcheglov f7edb90991 Fine. Add ManifestNodeIntegerLiteral.
Also adds read/writeInt64() helpers.

No tests, because we don't have enough functionality, e.g. writing
constant variable initializers to test it with.

Change-Id: I677f988e8580cf6f290fd7c866ee8ef91821b110
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419925
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-02 13:38:58 -07:00
Alexander Aprelev e0dc78bbf6 [vm/oom] If unable to create OOM stack trace, report OOM without stack trace.
Fixes flaky out_of_memory tests failures.

BUG=https://github.com/dart-lang/sdk/issues/60453
TEST=ci

Change-Id: I5c9192c6cc25660e83f6c03d4293360c353b02d1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419583
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2025-04-02 13:09:52 -07:00
Konstantin Shcheglov 5ee30689bf Fine. Assert LibraryManifest serialization, for all libraries.
Change-Id: Ic8ee0c30a5d701e321f70f044e1a09f21dcfcb5d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419980
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-04-02 13:01:30 -07:00
Ryan Macnak 383cd496ce [vm] Use dlopen for loading AOT snapshots on Fuchsia.
This will play better with native tooling compared to Dart_LoadELF.

Cq-Include-Trybots: luci.dart.try:vm-fuchsia-release-arm64-try,vm-fuchsia-release-x64-try
Change-Id: If5265d079200d7be754b82a9775d977aa66c15f9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419684
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Zijie He <zijiehe@google.com>
2025-04-02 12:46:55 -07:00
Kallen Tu a94645962e [cfe] Dot shorthands: Constructor type parameters are inferred in the empty context.
Fixes https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Static-access-shorthand/type_inference_A07_t01.dart and https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Static-access-shorthand/type_inference_A07_t02.dart.

This CL changes the following behaviour according to the spec -- In case of a constructor invocation, the shorthand expression is inferred in the empty context.

Bug: https://github.com/dart-lang/sdk/issues/59758
Change-Id: Ia849888f1a810df7390a35e454a09f3fed458849
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417960
Commit-Queue: Kallen Tu <kallentu@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
2025-04-02 12:44:23 -07:00
Konstantin Shcheglov 474673fdc0 Fine. Rename ManifestNode subclasses.
Change-Id: I2baa6f448635a78bb36b121aba2b64f599e96ee1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/420020
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-02 12:31:18 -07:00
Konstantin Shcheglov b0c6d970f0 Fine. Extract ManifestMetadata.
Change-Id: Ie51333b75a7ac67d1befa8906b133fcb3d9f37df
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419984
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-02 12:26:29 -07:00
Konstantin Shcheglov 0fb8a42af9 Fine. Support for top-level setters.
Many existing manifest tests involving top level variables were changed to use `final` variables, so that the test expectations don't need to contain distracting references to top level setters.

Change-Id: I5a641c2d446f366435a127d66e951d78d784d0b2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419983
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-02 12:17:39 -07:00
Konstantin Shcheglov b2d139ba7d Elements. Move elementModelDeprecationMsg to src/.
Change-Id: Ia71ffd60041890536e28635be981e4c9c7a249ba
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419981
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-02 12:16:51 -07:00
FMorschel 5d27e4f5bf [DAS] Fixes occurrences for extension and type parameters
Fixes: https://github.com/dart-lang/sdk/issues/60449
Change-Id: Ie862deea3d3d37890f1f610c7c83509fe82b2a40
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419423
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Auto-Submit: Felipe Morschel <git@fmorschel.dev>
2025-04-02 11:28:40 -07:00
Ryan Macnak d4cb7a4f21 [vm] Fix COPY_FP_REGISTER for Windows x64, arm, arm64.
This should improve DumpStackTrace from assertion failures, though x64 still doesn't work for lack of frame pointers in the runtime code.

TEST=manually add assertion failure.
Change-Id: Ie632f79b21fd14a2ece3cde23736adc097938315
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419800
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2025-04-02 11:20:48 -07:00
Stephen Adams c5adfd2d3e [dart2js] Trust refined types from Dart type promotion
Using the promoted type reduces the need for primitive receiver and argument checks, and can result in better code.

The promoted type is 'used' by inserting pinned HTypeKnown instructions at the use site. The pinning can constrain code motion. Better inference in the optimizer (https://github.com/dart-lang/sdk/commit/9505e957e1770cc4f15a70f6ab1fc9b1cc73723d) relaxes most of these constraints.




Change-Id: Ic9c0ebe7fd95b60382e2f66c49f69440b8b881d1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419484
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2025-04-02 11:09:52 -07:00
DEPS Autoroller 4464f61e62 Roll BoringSSL from a9993612faac to c86127e656ae (1 revision)
https://boringssl.googlesource.com/boringssl.git/+log/a9993612faac..c86127e656ae

2025-04-01 victortan@google.com Change to use ALPS new codepoint as default

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/boringssl-dart-sdk
Please CC dart-engprod@google.com,dart-vm-gardener@grotations.appspotmail.com,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in BoringSSL: https://crbug.com/boringssl/new
To file a bug in Dart SDK: https://github.com/dart-lang/sdk/issues

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: dart-vm-gardener@grotations.appspotmail.com
Change-Id: I4323852d4198ead90594ce15a731facab5264de3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419462
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2025-04-02 10:29:08 -07:00
Konstantin Shcheglov 68b060e76b Fine. Verify write/read roundtrip for LibraryManifest.
Fixes for found bugs.

Change-Id: I873e43277b620afc3b712dcac1ace915991edf85
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419685
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-02 09:37:28 -07:00
Kevin Moore dc7e9dac2e lib: drop unnecessary new and const
CoreLibraryReviewExempt: no API changes
TEST=no behavior changes
Change-Id: Ibef80bbfb000026042e562014b672258a5f1860d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419761
Reviewed-by: Lasse Nielsen <lrn@google.com>
Reviewed-by: Liam Appelbe <liama@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2025-04-02 09:28:41 -07:00
Mehdi Hassan b18df098e7 docs(Dart-GSoC-2025-Project-Ideas): update GSoC 2025 application status
Closes https://github.com/dart-lang/sdk/pull/60460

GitOrigin-RevId: ae91b4b4af963f8c3a9c3fc067f0ab244766f4fa
Change-Id: I57fc88bc94ed3b3d3653137848e1aa6e5b6efb76
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419921
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2025-04-02 09:14:16 -07:00
Danny Tuppeny 5803acf31f [analysis_server] Update plugin tests to work through test runner
This removes a use of `Platform.script` so the tests work through the test runner. It also extracts some common code between this and the other integration tests to remove some duplication.

Change-Id: Ia9d441424789ea99decb071f7fdc6c71c8e54a72
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419860
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
2025-04-02 09:06:09 -07:00
DEPS Autoroller 853654d596 Roll Fuchsia Test Scripts from AEdsljKmUiPk92Wvv... to FZdRtNwH7jmADecj6...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-test-scripts-dart-sdk
Please CC fuchsia-3p-engprod@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Fuchsia Test Scripts: https://bugs.fuchsia.dev/p/fuchsia/issues/list
To file a bug in Dart SDK: https://github.com/dart-lang/sdk/issues

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.dart.try:vm-fuchsia-release-x64-try;luci.dart.try:vm-fuchsia-release-arm64-try
Change-Id: I33a726f4bce351bd814de4af3158542b2fe2e6b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419447
Reviewed-by: Zijie He <zijiehe@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2025-04-02 08:39:31 -07:00
Alexander Markov af1be1fc13 [dynamic modules] Fix dynamic interface for dynamic_modules_suite/override_extra_params test
Fixes https://github.com/dart-lang/sdk/issues/60456

Change-Id: Id59dd0f82959ccefe35f6430b9d3548540d2824f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419900
Commit-Queue: Nate Biggs <natebiggs@google.com>
Auto-Submit: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Nate Biggs <natebiggs@google.com>
2025-04-02 08:22:38 -07:00
Sam Rawlins 30a9f13794 DAS plugins: document assists
Change-Id: I2c50f36111cc319a85ad1a09369bcbdda14416d8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419762
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-04-02 08:16:49 -07:00
Ivan Inozemtsev 9c88769967 Dartdev cross compilation support
- Add `target-arch` option to `dart compile exe|aot-snapshot`
- Add artifacts cache in `~/.dart`, and download gen_snapshot and
  dartaotruntime from cloud storage if necessary

I've manually built an aot snapshot and exe on macOS ARM64 for Linux
X64, copied them over to a linux machine, and made sure they work.

Change-Id: I74dd581ecb573ff4069a2fe19f9d04aaa352538e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417801
Reviewed-by: Tess Strickland <sstrickl@google.com>
Commit-Queue: Ivan Inozemtsev <iinozemtsev@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
2025-04-02 08:14:28 -07:00
Kallen Tu cfba919989 [analyzer] Dot Shorthands: Change DotShorthandPropertyAccess Token to SimpleIdentifier.
This CL changes `propertyName` to be a `SimpleIdentifier` instead of `Token` because we need to resolve and store the resolved element in the `SimpleIdentifier`.

Note that the corresponding class `PropertyAccess` represents its
`propertyName` as a `SimpleIdentifier` for the same reason.

Bug: https://github.com/dart-lang/sdk/issues/59835
Change-Id: I934f66f914b061b8593399c79a0f7b590b84cc12
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419584
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-04-02 08:06:29 -07:00
Sam Rawlins 6253555a2c DAS: Only yield libraries that provide an extension member with a given name
The `DartFixContext.librariesWithExtensions` utility function accepts
a `memberName` parameter but never did anything with it. This change
adds filtering in that function based on the member name.

This code depends on the set of exported extensions, which is provided
in an extension (`LibraryElementExtensions.exportedExtensions`) in the
analysis_server package, which must be moved to the analyzer package.

Change-Id: I06c8a9a0e11ceb70e75517b30c0b048321d6b024
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418641
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-04-02 08:06:25 -07:00
Ivan Inozemtsev 3718ed6426 Pass --no-junction flag to depot_tools script for windows toolchain
This cancels the effect of https://source.chromium.org/chromium/chromium/tools/depot_tools/+/c6684fda9877962580c021aab7c8bc0e9f1c2647.

Change-Id: If8a46bbcc1d1d8b645609d3a9d6f174e3d420edd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419841
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Ivan Inozemtsev <iinozemtsev@google.com>
2025-04-02 06:33:49 -07:00
Konstantin Shcheglov b0a0866ea0 Elements. Deprecate Element.
Change-Id: Ibc46feb65931e12677330ec012507158747f6646
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419820
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-02 06:06:08 -07:00
Alexander Markov 6eaeccf82f [vm] Handle null field values in record type testing stubs
TEST=vm/cc/TTS_RecordSubtypeRangeCheck

Issue: https://github.com/dart-lang/sdk/issues/60419
Change-Id: Ibe85d1da750e0c8feb82415df36990927a6413e2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419483
Reviewed-by: Tess Strickland <sstrickl@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2025-04-02 05:58:18 -07:00
Ömer Ağacan 68fd76fa68 [dart2wasm] Special case async functions with simple bodies
When an async function directly returns a `const` value, a basic
literal, or implicit `null` (empty body), omit the state machine loop
and exception handling.

See the new test for the cases this simplifies.

Issue: https://github.com/dart-lang/sdk/issues/60433
Change-Id: I25c25cb42c02cc3a9155e01ce205f63b567a1008
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419840
Reviewed-by: Martin Kustermann <kustermann@google.com>
2025-04-02 05:40:44 -07:00
Ömer Ağacan 82282b6287 [dart2wasm] Generate local names in the names section
Local names for function value parameters and for "precise this", return
values are generated, state indices in `async` and `sync*` functions are
generated.

We can generate names for more locals as needed.

Change-Id: Ie919f030f0bfae8adbca90408509dd04a7414278
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419200
Commit-Queue: Ömer Ağacan <omersa@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2025-04-02 01:52:18 -07:00
Nate Biggs 52da6a0037 [dart2wasm] Add support for overrideable function dispatch to handle signature changing param count.
We compare the signatures from the main module and the dynamic module. If the dynamic module has more parameters these must be from an override with extra optional paramters so we can provide the default value.

Change-Id: I818187fde3e38812dcdae0a14bbeefec4ee91e51
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/416460
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Nate Biggs <natebiggs@google.com>
2025-04-01 21:55:15 -07:00
Konstantin Shcheglov 697e8ce413 Elements. Migrate lib/src/dart/element/element.dart
Change-Id: I7fc964eee4d1268b732f5f0967918428e206b40e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419063
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 21:34:22 -07:00
Konstantin Shcheglov d79cb80e10 Elements. Migrate ElementImpl.enclosingElement3 setters.
Change-Id: I9cf0faca40c095ab460344f4c34d79bfd30b7a96
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418929
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 19:17:18 -07:00
Konstantin Shcheglov 15a022bcb2 Elements. Migrate lib/src/dart/element/member.dart
Change-Id: I0742dfd74557999c29bd660400c267c35442375d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419062
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 18:17:46 -07:00
Devon Carew d56749cc34 [deps] rev core, dartdoc, ecosystem, http, i18n, shelf, test, webdev
Revisions updated by `dart tools/rev_sdk_deps.dart`.

core (https://github.com/dart-lang/core/compare/61e6771..a6e81e0):
  a6e81e0b  2025-03-31  Lasse R.H. Nielsen  Make URL strategy better at recognizing URLs. (dart-lang/core#873)
  379e9c2e  2025-03-25  dependabot[bot]  Bump dart-lang/setup-dart from 1.7.0 to 1.7.1 in the github-actions group (dart-lang/core#869)

dartdoc (https://github.com/dart-lang/dartdoc/compare/d400676..cbc1885):
  cbc18857  2025-03-25  Sam Rawlins  Improve the error message when an import cannot be resolved (dart-lang/dartdoc#4023)
  18a7631d  2025-03-25  Parker Lougheed  Place footer below main content (dart-lang/dartdoc#4014)
  f41bd3ab  2025-03-24  Sam Rawlins  Improve failure when import cannot be found (dart-lang/dartdoc#4022)

ecosystem (https://github.com/dart-lang/ecosystem/compare/2317263..391a80c):
  391a80c  2025-04-01  Brian Wilkerson  Update prompts.dart (dart-lang/ecosystem#349)
  6a89899  2025-04-01  Brian Wilkerson  Update create_tuning_data.dart (dart-lang/ecosystem#350)

http (https://github.com/dart-lang/http/compare/1b6e28d..e988925):
  e988925  2025-03-31  Brian Quinlan  Remove .gitignored files (dart-lang/http#1728)
  29c5733  2025-03-25  Brian Quinlan  Improve the reliability of cronet_http/ok_http workflows (dart-lang/http#1736)
  dd56b86  2025-03-21  Brian Quinlan  Remove cronet_http.impl (dart-lang/http#1734)
  7f5ad18  2025-03-21  Brian Quinlan  Adding missing license headers (dart-lang/http#1735)
  fedead7  2025-03-20  Brian Quinlan  [cronet_http] Prepare to release 1.3.3 (dart-lang/http#1733)

i18n (https://github.com/dart-lang/i18n/compare/d9cce0b..2701040):
  2701040  2025-04-01  dependabot[bot]  Bump the github-actions group with 2 updates (dart-lang/i18n#959)
  5101533  2025-04-01  Moritz  Fix hashes.dart formatting (dart-lang/i18n#960)

shelf (https://github.com/dart-lang/shelf/compare/2af8529..082d3ac):
  082d3ac  2025-04-01  dependabot[bot]  Bump actions/cache from 4.2.2 to 4.2.3 in the github-actions group (dart-lang/shelf#475)

test (https://github.com/dart-lang/test/compare/9e349d0..c1fa1e6):
  c1fa1e69  2025-04-01  dependabot[bot]  Bump the github-actions group with 3 updates (dart-lang/test#2476)
  31a2d64c  2025-03-31  Nate Bosch  Sort reporter options (dart-lang/test#2475)

webdev (https://github.com/dart-lang/webdev/compare/302b6db..697f2f7):
  697f2f7f  2025-03-24  Jessy Yameogo  renamed DWDS injector parameter (dart-lang/webdev#2602)
  af33df71  2025-03-21  Tristan Ross  Add offline mode (dart-lang/webdev#2483)
  5c805f14  2025-03-21  Jessy Yameogo  Updated DWDS to include a boolean flag that enables debugging support when set to true (dart-lang/webdev#2601)

Change-Id: I7af88306b77efa3dab2bdef0d7543663317448f1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419682
Auto-Submit: Devon Carew <devoncarew@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 18:00:09 -07:00
Konstantin Shcheglov 7630c241a9 Elements. Migrate lib/src/utilities/extensions/element.dart
Change-Id: I503dd24aa3911e59a69646eda23320c3d175c6b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418928
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 17:43:24 -07:00
Konstantin Shcheglov 0691b01970 Elements. Stop referencing XyzElement in element.dart
Change-Id: Idbbbb76a2c63ea2997b1b0c43bc4e94c9ca8e1f1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419060
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 17:13:32 -07:00
Sam Rawlins 4a96dd122c DAS plugins: Respond to real assist requests
Change-Id: I1f1afca0dc746948410a56e29cf13bebef234ed7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419760
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-04-01 16:43:54 -07:00
Konstantin Shcheglov aa15b91e1e Elements. Deprecate UriReferencedElement.
Change-Id: Ia74e6ab4ea6935897c0d137d67da9c916e691eca
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418927
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 16:41:38 -07:00
FMorschel 42394e5874 [DAS] Better docs auto-complete with extensions and typedefs
Fixes: https://github.com/dart-lang/sdk/issues/60423
Change-Id: I0907a52a0c7787adc3de21c82bb60aced8263d2d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419422
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Auto-Submit: Felipe Morschel <git@fmorschel.dev>
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2025-04-01 16:29:10 -07:00
Konstantin Shcheglov 478d1ef089 Elements. Deprecate Element.declaration/nonSynthetic.
Change-Id: I72074b7bb0237ce2d5b2abf21bf65d76481157f8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418926
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-04-01 15:44:35 -07:00
Konstantin Shcheglov d3da1370eb Elements. Deprecate Element.children
Change-Id: I525184a8d855a111985d141c458738a2fddb2a2a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418925
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 15:37:10 -07:00
Konstantin Shcheglov 920af11d40 Elements. Deprecate LibraryElement.
Change-Id: Idec043d76296c3ebaa52229f426311bb47395a99
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418924
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-04-01 15:36:32 -07:00
Mayank Patke 6740561109 [DEPS] Update browsers (chrome, firefox, d8, jsshell, jsc)
Change-Id: I063e030f5bdcd05390bffc4f9655bc4e072e528d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419482
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Mayank Patke <fishythefish@google.com>
2025-04-01 15:27:19 -07:00
Danny Tuppeny 22e3e969b3 [analysis_server] [linter] Fix some additional tests when running through the test runner
`Platform.script` doesn't work when run through `dart test` (see https://github.com/dart-lang/test/issues/110). This uses `Isolate.resolvePackageUriSync` to locate package roots instead.

Change-Id: Ieda05cd625cf07152d695daf94c99f1fad1cefe3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419720
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
2025-04-01 14:59:19 -07:00
Konstantin Shcheglov 45fa7284cb Elements. Deprecate InterfaceTypeImpl.element
Change-Id: Iff7d90a8d614a6069ec7f13810c8bd6600cfcc1f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418919
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 14:38:38 -07:00
Konstantin Shcheglov f0b649173e Elements. Deprecate PartElement.
Change-Id: I623ddbd3335e06222095cf7eaeae0409f2f423d0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418918
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-01 14:33:01 -07:00