Commit Graph

106453 Commits

Author SHA1 Message Date
Konstantin Shcheglov fdc469778c Elements. Deprecate ExecutableElement.
Change-Id: Ic66c9df46bfcfe93d2e6bd93315e298eee694533
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418831
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 17:29:16 -07:00
Konstantin Shcheglov b18ffd3c43 Elements. Deprecate FunctionElement.
Change-Id: I668284d0b8346728bc529635ef898794fbab2c79
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418830
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 17:15:53 -07:00
Konstantin Shcheglov 8455955c6b Elements. Deprecate PropertyAccessorElement.
Change-Id: I6a2cc303fde74044d69d67275e55101be89dd926
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418906
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 17:00:31 -07:00
Konstantin Shcheglov 97e5d6c005 Elements. Deprecate MethodElement.
Change-Id: Iaeb9617ffdbd5998a7df2dbbde7049f2d79a7086
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418905
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 16:42:28 -07:00
Konstantin Shcheglov e9ddff548a Elements. Deprecate InstanceElement.
Change-Id: I7e1d80c01d90e64cc0e4b43a7ed58ceb7f149883
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418941
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-03-31 16:36:11 -07:00
Konstantin Shcheglov 30270ba98d Elements. Deprecate InterfaceElement.
Change-Id: I59d5a7d98ebde932f411ba3f6e17da43ebf662e8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418940
Reviewed-by: Paul Berry <paulberry@google.com>
2025-03-31 16:18:50 -07:00
Konstantin Shcheglov 1a08dac89c Elements. Deprecate ExtensionTypeElement.
Change-Id: Ia86a2b7b543fce9bec19583d7fe5d5d767c52d6a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418904
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 15:59:45 -07:00
Konstantin Shcheglov 53d2db7fd3 Elements. Deprecate ExtensionElement.
Change-Id: I467cefb09bf9260aa57f7597726442e1708e9f64
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418829
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 15:43:44 -07:00
Konstantin Shcheglov 637355a7e9 Elements. Migrate ElementPrinter.
Change-Id: I712c9da94194656b8e85247e2024b8c0c77bf336
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418824
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-03-31 15:37:13 -07:00
Konstantin Shcheglov 073df7a4fd Elements. Deprecate EnumElement.
Change-Id: I21b51cf2a0eff465dc9725a9477656b7ba2228ff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418828
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-03-31 15:04:59 -07:00
Ben Konyi 138924c1e8 [ dart:io ] Add tmux terminals to list of terminals known to support ANSI
Fixes https://github.com/flutter/flutter/issues/142861

TEST=N/A

Change-Id: I208c597f33c622d19419202351dd17d39ec82bc3
CoreLibraryReviewExempt: only dart:io
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419280
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Brian Quinlan <bquinlan@google.com>
2025-03-31 14:31:47 -07:00
Ryan Macnak 92df34dfd5 [build] Remove Fuchsia sub-builds.
The builders at https://ci.chromium.org/p/fuchsia/g/dart/console no longer exist.

TEST=build
Change-Id: I1b801d7892b3e6cba37d7b9549e3d08306cc9723
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417907
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2025-03-31 13:07:29 -07:00
Konstantin Shcheglov 19c5d0d274 Elements. Deprecate MixinElement.
Change-Id: I03ded956186834561e2ab1ce6ff0626c9f054e2e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418827
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 11:40:17 -07:00
Alexander Markov 733ca506c1 [dynamic modules] Add pragmas to core library classes and members used to implement language features
This change adds pragmas which can be used in dart:* libraries to
specify classes and members which are used by the compiler
to implement certain language features. Compiler can insert
references to those classes and members when desugaring language
constructs, so dynamic module code can use these classes and members
implicitly even if they are private.

Previously, we required to specify these members in the
dynamic_interface.yaml before dynamic modules could use them.
However, this is cumbersome and error-prone.

Now, the following pragmas are recognized:

@pragma('dyn-module:language-impl:extendable')
@pragma('dyn-module:language-impl:can-be-overridden')
@pragma('dyn-module:language-impl:callable')

If dynamic interface yaml file is specified during compilation,
then classes/members annotated with these pragmas are treated as if
they are used in corresponding sections of dynamic_interface.yaml.

If dynamic interface yaml file is not specified, these pragmas
are ignored.

Bug: b/395992622

TEST=existing
CoreLibraryReviewExempt: no API changes, only adding pragmas.
Change-Id: I6606467fc5e5264a2565d7eb8e8baccc2eebea84
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418663
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2025-03-31 11:33:50 -07:00
Mayank Patke 0c422d6d61 [dart2js] Don't use a record key for canonicalized type mask cache.
Bug: #60419
Change-Id: Id3368d69d9590b328dc26b5aa088cf1e7142c5b7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418500
Reviewed-by: Nate Biggs <natebiggs@google.com>
Commit-Queue: Mayank Patke <fishythefish@google.com>
2025-03-31 11:32:14 -07:00
Alexander Aprelev 4a46bed718 [vm/prealloc] Don't preallocate oom, unwind errors, stacktrace object during isolate startup.
For out-of-memory events vm reserves (and if used, then replenishes) small chunk of memory for handling those, so preallocation of oom and stacktrace is not needed.
Unwind error can be created once as part of vm launch, kept in vm isolate.

This should reduce overhead of starting new isolate.

TEST=ci

Change-Id: Ibe2c85f250a521a8e838cc5690984fe9fa287a98
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419261
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2025-03-31 11:17:18 -07:00
Konstantin Shcheglov 0fda5de36a Elements. Deprecate ClassElement.
Change-Id: I0bf4a73bacc4917d4f61c91bcdceba41a9c18ec9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418903
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 11:09:38 -07:00
Brian Wilkerson a0d4786adc Update the GitHub template for analyzer issues
This updates the template to apply the correct label to the issue being
created.

Change-Id: I67f2c0d7145dfe98f1907351f88fb1f8d3b723fa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418680
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
2025-03-31 11:06:21 -07:00
Konstantin Shcheglov 1dcc22fc15 Elements. Deprecate ConstructorElement.
Change-Id: I4182423232709ed2c954cee89ab913bd3bc4453e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418902
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 10:13:20 -07:00
Sam Rawlins bc230b73aa Deprecate the unused importPrefixGenerator parameter of ChangeBuilder.addDartFileEdit
Change-Id: Ic8bad9999359d3670ea58fe9594e744d6560a030
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418780
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Auto-Submit: Samuel Rawlins <srawlins@google.com>
2025-03-31 09:53:57 -07:00
Brian Wilkerson f7f9318db3 Update the Writing Lints document
The document refers to GitHub labels that have been changed. This
updates the references to be complete.

Change-Id: Ib08e3dfaf386997d6bd126708f56584b57a1f5fa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418660
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com>
2025-03-31 09:46:29 -07:00
Konstantin Shcheglov 393bc6439c Elements. Deprecate CompilationUnitElement.
Change-Id: Id2f5258a002967bf4ebdad72997791bdf8ba276a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418826
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 09:33:31 -07:00
Paul Berry 650900448f [analyzer] Rename the element model migration guide.
The new name clarifies that the guide is specifically about element
model migration, not migration in general.

Changing the name now allows us to make links to the guide without
having to worry about updating those links if we change the name
later.

Change-Id: I6860867246b41671c20ecc725fdb2a5f7b77b949
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419240
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2025-03-31 09:32:10 -07:00
Sam Rawlins 59fee86145 DAS: Rearrange code to promote variables better
The motivation here was to remove the local duplicate variables like
`final_foo` or `foo_final`. These variables only existed because the
variables they duplicate lose their promoted types inside the
`builder.addDartFileEdit` closure. They lose their promoted type
because they are multiply assigned in loops or not always promoted to
be non-null.

Often the fix is to replace a `if (x == null) return` with
`} else { return; }`. I think this code more directly represents the
flow of code, rather than relying on the nullity of a variable, like
"is this variable still null? Oh then we must not have entered any
of the situations above, so we should return."

Change-Id: I9dd6686b7f4d9c6caf59c171179b129a5a957ba8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418160
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-03-31 09:23:29 -07:00
Sam Rawlins d592a7eb26 DAS: Remove dead DartFileEditBuilderImpl code
* Privatize `DartEditBuilderImpl.dartFileEditBuilder`.
* Rename the `toAdd` parameter on `_addAll` to `items`.
* Remove the unused `required` argument on `_canWriteType`.
* Privatize `DartFileEditBuilderImpl.createEditsForImports`,
  `.codeStyleOptions`, and `ensureShown`.
* Remove the unused `useShow` parameter on
  `DartFileEditBuilderImpl.importElementLibrary`.

Change-Id: I473788d9d566a2982914c374fce2429909466381
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418703
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-03-31 08:46:20 -07:00
Lasse R.H. Nielsen a824ee3206 Include or remove stray pubspec.yaml files.
There were `pubspec.yaml` files in `tools/` that were not
included in the global package config.
That means that their imports were irrelevant, which could
be misleading. And if any tool would look at the
`pubspec.yaml` file, it might be inconsistent with
the actual package resolution.

Makes every `pubspec.yaml` file either be included by the
`tools/generate_package_config.dart` script, or deletes them
if they seem to be stale and unused.
(Compare vs. `git ls-files '**/pubspec.yaml'`.)

Excepted `tools/dart2js/sourceMapViewer/pubspec.yaml`.
The entire directory might be stale. The dependencies of
that pubspec are not SDK dependencies otherwise,
the pubspec has no SDK min-version, which is now a requirement,
and the README refers to a *packages directory*.
Keeping as-is and filing issue to have owners take a look.

Added `lib/` directory to `tools/` to avoid `tools/bots/`
being inside the package URI root of the `tools/` package,
which would cause its `../../pkg/...` import to fail.

Makes every `pubspec.yaml` file use a `^...` SDK constraint instead
of the longer `>= ... < ...` format.

Tested: No new tests, goal is to keep running the same way
Change-Id: I688e463fe985fc4de43550a1f4c7ff350536cffc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414020
Commit-Queue: Lasse Nielsen <lrn@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Sigurd Meldgaard <sigurdm@google.com>
Reviewed-by: Brian Quinlan <bquinlan@google.com>
2025-03-31 08:30:33 -07:00
Ömer Ağacan 93df675c5e [dart2wasm] Implement a workaround for front-end bug #60375
Issue: https://github.com/dart-lang/sdk/issues/60375
Change-Id: I6441c8b0c3cf94c9b33facc73ccf7bf8bba111d7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419160
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Ömer Ağacan <omersa@google.com>
2025-03-31 05:48:31 -07:00
Ömer Sinan Ağacan 99d5a32aa1 [dart2wasm] Generate field names in the names section
Change-Id: Ia2fdbb63c20cde2fed432fd89f93acb9373239f4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/381840
Commit-Queue: Ömer Ağacan <omersa@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2025-03-31 04:52:11 -07:00
Martin Kustermann b8d25b791a [dart2wasm] Make slow path call StackTrace.current on null errors
For throwing normal exceptions we already outlined obtaining
the current stack. We can do this for null check errors as well.

Change-Id: Ie0505bfd99ff9c6738040c47b07e542439ee74a5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419161
Reviewed-by: Ömer Ağacan <omersa@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2025-03-31 04:10:39 -07:00
Daco Harkes 90aecc4fe8 [deps] Roll dart-lang/native
Change-Id: Ic8a01cf2cd93d0f4ad89478efc0d412b2ab39039
Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418580
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Ivan Inozemtsev <iinozemtsev@google.com>
2025-03-31 02:34:09 -07:00
Google Admin 7ee7416a62 Update runners to ubuntu-24.04 from deprecated ubuntu-20.04 label
Closes https://github.com/dart-lang/sdk/pull/60412

GitOrigin-RevId: 90f39d7b542f32fa9e1b22ae3817a9d593a5d61e
Change-Id: Icb9462884a81041e7ea726863f20378f4939fb38
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418202
Reviewed-by: Alexander Thomas <athom@google.com>
2025-03-31 02:03:59 -07:00
Vyacheslav Egorov 241b8ab73b [pkg] Bump protobuf constraint for vm_service_protos
Change-Id: Ia6fb65bd11d38ede6238732fcb55fef455904871
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418262
Auto-Submit: Slava Egorov <vegorov@google.com>
Reviewed-by: Derek Xu <derekx@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
2025-03-29 03:24:51 -07:00
Brian Wilkerson 2adeadda02 [migrate] minor cleanup in element_printer.dart
Change-Id: Idc9cbcba6f522c0164afc0b2a4b9559131d3a7ae
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418664
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2025-03-28 21:24:18 -07:00
Kallen Tu 865dcc5130 [analyzer] Dot Shorthands: AST - DotShorthandInvocation and DotShorthandPropertyAccess.
This CL adds new nodes for the dot shorthands feature. These new nodes will be used, alongside a context type, to resolve to a method/constructor invocation or a static field/getter or tearoff.

Design decision for this CL made here: https://docs.google.com/document/d/1rJuwytXFyG9Ir9key146_hAa7uhEXk4Otqd_3RpSg8A/edit?usp=sharing&resourcekey=0-hRydkMfiTwDEwsX3fN4taQ

Bug: https://github.com/dart-lang/sdk/issues/59835
Change-Id: Iab78bd9e55e488656d1138b1d5d6fc5c9ed64bde
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418201
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
2025-03-28 15:46:42 -07:00
Paul Berry 67113cf257 [flow analysis] Rename SsaNode.getOrCreatePropertyNode.
The old name (`getProperty`) was unclear because (a) the thing being
returned isn't the property itself but the property's SSA node, and
(b) it didn't give any indication that if the property node was not
present, it would be created.

Thanks to Konstantin for pointing this out.

Change-Id: Ib64315b0bb635545c0ee9253c965277c391f36c4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418661
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Auto-Submit: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-28 15:44:56 -07:00
asiva 284a7ee8c5 [VM/IO] Fix error path in SocketAddress::GetSockAddr
Dart_TypedDataReleaseData was not called in an error path.

Should fix https://github.com/dart-lang/sdk/issues/60421

TEST=tests/standalone/io/datagram_error_test.dart

Change-Id: I1935af1c5beed9d696a0543d0e97f2d549743879
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418701
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
2025-03-28 14:49:19 -07:00
Sam Rawlins b0c3f4ef1f DAS plugins: Move two files to be in the public API
Change-Id: I7230dead69b8c82ea758e48a0a3fbc56902cb05d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417945
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-03-28 13:09:21 -07:00
Sam Rawlins 440c93ae64 DAS: Rearrange code to promote variables better
The motivation here was to remove the local duplicate variables,
`isEmptyIdentifier_final`, `context_final`, and `returnType_final`.
These variables only existed because the variables they
duplicate lose their promoted types inside the `builder.addDartFileEdit`
closure. They lose their promoted type because they are multiply
assigned.

This CL simplifies each method by taking advantage of early returns
and implicit late assignment.

Change-Id: I81ff248d97e875a5b75c7d20b8e95f1b0c08ea24
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417701
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-03-28 12:15:07 -07:00
Sam Rawlins 7f5485d23a DAS plugins: report early when a fix or assist does not have a fixKind or assistKind
Change-Id: I83a147adc4740d1a8891faa06d35c4901cf568b2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417943
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-03-28 12:12:49 -07:00
DEPS Autoroller f0c2fa702c Roll Fuchsia SDK from 27.20250324.3.1 to 27.20250327.3.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: Ia1dd5a8ca30c4bf52d52d11511b06f06a357efd8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418320
Reviewed-by: Brian Quinlan <bquinlan@google.com>
Commit-Queue: Brian Quinlan <bquinlan@google.com>
Reviewed-by: Zijie He <zijiehe@google.com>
2025-03-28 12:07:01 -07:00
DEPS Autoroller 12580d8996 Roll BoringSSL from 02f0d8776ecd to a9993612faac (9 revisions)
https://boringssl.googlesource.com/boringssl.git/+log/02f0d8776ecd..a9993612faac

2025-03-27 dlf@google.com upprev boringssl/util/bot/perl-win32 dep
2025-03-26 bbe@google.com Make Golint happy
2025-03-26 davidben@google.com Revert "Remove Karatsuba multiplication in BIGNUM"
2025-03-25 bmclarnon@google.com Add `hpke::Kem::get_public_key`
2025-03-25 bbe@google.com Add support for C2PA validation modes
2025-03-25 davidben@google.com Add a missing ifdef to CRYPTO_set_fuzzer_mode call
2025-03-25 nharper@chromium.org Fix comment for SSL_get_write_sequence.
2025-03-25 bbe@google.com Pull SLH-DSA test out of BORINGSSL_self_check()
2025-03-25 davidben@google.com Add APIs to access DTLS record layer state

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: I886a5f434612c1758f86f25ba68dca0ac5ab21bb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418321
Commit-Queue: Brian Quinlan <bquinlan@google.com>
Reviewed-by: Brian Quinlan <bquinlan@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2025-03-28 11:49:37 -07:00
Eric Seidel 47d7d4d5f2 fix: gcc builds broken by clang-only warning flag
Closes https://github.com/dart-lang/sdk/pull/60422

GitOrigin-RevId: 8e32b0bea95193aa5ab6f61e4e3cb8224b9a7c31
Change-Id: I034d5db35873c065fa83d1407ce7674476884abb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418662
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2025-03-28 11:44:10 -07:00
Konstantin Shcheglov a1044b6e23 Elements. Migrate ResolvedAstPrinter
Change-Id: Ie8090edb94063060da3eafbb37f469947e49bb0b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418700
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-28 11:36:48 -07:00
Mayank Patke cc0527decb Remove babel from DEPS and (dart2js) IE support from test infra.
Tested: N/A
Change-Id: Ib1804b49c40cac9be52e732090e8160444ebb48d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417948
Commit-Queue: Mayank Patke <fishythefish@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2025-03-28 11:26:47 -07:00
Mayank Patke 945b031f5e Delete js_platform_hostasserts fileset.
The hostasserts and non-hostasserts filesets do not differ significantly
and can be merged for ease of maintenance. The cost of copying extra
files is small compared to building, and we currently lack the
granularity to see meaningful savings in builds if we keep them separate.

Change-Id: If8e3dd1013f60b05dabb104c632abd7a1638fe1d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417947
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
2025-03-28 11:26:47 -07:00
Paul Berry 6446cce249 [_fe_analyzer_shared] Rename isNever to isBottomType.
This operation was mis-named. Its actual behavior is to check whether
the given type is a bottom type.

Thanks to Lasse for pointing this out (see
https://github.com/dart-lang/language/issues/4304#issuecomment-2761576720).

Change-Id: I6bb1ce459c09a16f6b0466f5081977358e21fb74
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418640
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2025-03-28 10:57:20 -07:00
Danny Tuppeny 352c1d29c1 [analysis_server] Allow clients to provide diagnostic information to be included in the report
See https://github.com/dart-lang/sdk/issues/60259, though this still requires the related client changes.

Change-Id: I6a9419780b9d4c4b0c7a9518098c69e1609262b2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418100
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2025-03-28 10:56:44 -07:00
Brian Wilkerson 9994d0c6a2 Update How the Issue Tracker Works
This updates the document to reference the GitHub label `area-devexp`
rather than `area-analyzer` as a result of the recent changes in team
structure.

Change-Id: I2c912d8a5cf61285d1e0a8239b54256272972ab0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418681
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com>
2025-03-28 10:36:07 -07:00
pq 6acab30e25 [analytics] validate lintUsage reporting for multiple options files
Change-Id: I6d6bbcc14d80fc670e134a8fa84f0ef42d17b3f7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418440
Auto-Submit: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-03-28 10:16:20 -07:00
Konstantin Shcheglov 4d21cd4b6c Fine. Check that itemMap has item of the right type or null.
Change-Id: I72a20ad328a1c15245a43d410b0c64b854889c89
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418540
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-28 10:13:14 -07:00