From 78d4efdd503f37a7f63f8788ccdaecd4cc1bef43 Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Tue, 14 May 2019 15:38:33 -0700 Subject: [PATCH] Roll src/third_party/dart a0290f823c..6d5f763952 (70 commits) 6d5f763952 [vm] Eliminate Mutex/Monitor indirection where possible bed74d6e97 Remove NullabilityGraph._upstream. b0727bd661 [dart/vm] enhanced graph checker 228df22dbf Remove the old constraint variable based nullability migration logic. 83607564ea Switch nullability migration over to the new algorithm based on the new nullability graph. 354bfb5bab Remove a few more usages of NullabilityNode._nullable. eba45291fb [observatory] Cleanup unused imports, fix warning about SDK version 933ad32baa Add logic to assertNonNullIntent to check the nullability graph. b05190499d Add new nullability propagation logic based on the NullabilityGraph. f3aca11478 Record not-supplied named parameters in the nullability graph 2fbc446d23 Record information about guards in the nullability graph. 0ce9cb7267 Encode unconditional control flow information in nullability graph. 8a8a700336 Fix nullability of inferred dynamic types 9bbc06fddb Add the ability to do a debug dump of a nullability graph. a779db0813 Update LSP spec to latest b7521f5e1b Fix lints not appearing when using LSP Server 9472745446 Change error code for server shutting down ef971f3787 [infra] Bump version file on master to 2.3.1 27df933bd1 Fix some hints in the analyzer package. f7e288e3ad Return empty responses instead of errors for non-Dart files in LSP server d0869386f6 More optimizations for summary2 storage format. 6dd7007b48 Tweak CONVERT_TO_PACKAGE_IMPORT assist. ca92a30299 Reuse LibraryScope in MetadataResolver. 140822aebd [dartdevc] Allow multiple summaries and experiments in ddb tool 42c35d7bd6 Optimize summary2. 54a541706d [vm] Simplify IsolateSpawnState 3bc0ad4ee3 Revert "Use the full URI for DDK library debug names" b8050f9322 Make NullabilityNode.nullable private. d47c31da48 Remove NullabilityNode.isNeverNullable. b91a4f5423 [analyzer] Resolve methodName staticType when Function to check Function? 11b59bec8d Store compilation unit NNBD status in unlinked summary. dac5a56422 Fix workspace/package identification for package:build packages 370b393ac5 Remove redundant optimization from callers of `withNullability`. d2ddf644fa Ignore deprecated analyzer import warnings 0edab8264a Support steps that only run on the main module 8aa2c13c9f Exclude parents when initializing visible data 5de409bfa1 Ensure subfolders in input sources paths are created first 05a9cdc3d5 Fix type parameter in pipeline subclasses fb29d0e96d Move async_minitest to package:async_helper. 1a9d38be41 Fix improper unchecked_nullable test cases b0b6a289ec [vm, compiler] Make IA32 megamorphic calls match the other architectures. 5cffcd9e2c Add the class NonNullableTypeProvider to access SDK classes in opted-in context b1f6c1d092 [vm] Fix -O0 build after CL 101222 8a3a9dc588 [fuchsia] Migrate to zx_clock_get_new 36d8e3a9ba Fix more places where hardcoded types need to be made non-nullable under NNBD 63001295c0 optionally report scanner errors before parsing 7e0b680851 [dart/vm] minor test refactoring 8754351283 [CFE] Run widget transformer before constant evaluation. 1179467a5e Move widget transformer to kernel package 638ebcab97 Directly check for subclass-of without using a class hierarchy. 2a32cdda6d [vm/compiler] Replace LoadClassId for known cids. 0db620a2a5 Decouple Namer from RuntimeTypesEncoder and Tracer 2c86872a5f Store isAsynchronous and isGenerator in executables. 4a058a3773 Check for hasDefaultValue / hasInitializer directly, without reding the initializer. c532458e09 [vm/compiler] Fix for flaky crash in CallSpecializer::ReplaceWithInstanceOf 2736dab879 [VM/tests] Use appropriate type when invoking Isolate.spawn 869cb683d8 [dart/fuzzer] rename exception parameter 477ad3c0ea [vm/bytecode] Eliminate asserts from bytecode unless --enable-asserts 0069beb7ed [vm/interpreter] Cleanup stack slot in Interpreter::InterfaceCall 536ecbac7b Add language 2 tests for null access errors 130ad1bcf9 Stop reporting some errors when constant evaluation produces a valid object with an unknown state (issue 36873) d1a5eb5900 Fix the special casing of binary operators with primitive types when NNBD is enabled b4e2c0246c update parser to handle leading error tokens be6bbfc06b Remove redundant error notifications from LSP server f261f8a526 bump to linter 0.1.88 4c2b9f1d91 Don't send LSP error notifications for files in dot-folders 0450462503 Improve sending/flushing of errors for files in dot folders c1e2df8f36 [infra] Update checked in SDKs to 2.3.0 b2949d3436 fix Flutter build for "[vm/ffi] DBC support on x64 Linux/MacOS hosts" a8b93d9e78 [vm/ffi] DBC support on x64 Linux/MacOS hosts --- DEPS | 4 +-- ci/licenses_golden/licenses_third_party | 5 ++- sky/packages/sky_engine/LICENSE | 43 +++++++++++++------------ 3 files changed, 28 insertions(+), 24 deletions(-) diff --git a/DEPS b/DEPS index 8b2875036e5bf..2fc02c7b5bd76 100644 --- a/DEPS +++ b/DEPS @@ -31,7 +31,7 @@ vars = { # Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS. # You can use //tools/dart/create_updated_flutter_deps.py to produce # updated revision list of existing dependencies. - 'dart_revision': 'a0290f823c53df70643a8e46bf946020d2bbe37d', + 'dart_revision': '6d5f7639526b0b984656ae603bc12321163aeba7', # WARNING: DO NOT EDIT MANUALLY # The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py @@ -60,7 +60,7 @@ vars = { 'dart_http_throttle_tag': '1.0.2', 'dart_intl_tag': '0.15.7', 'dart_json_rpc_2_tag': '2.0.9', - 'dart_linter_tag': '0.1.87', + 'dart_linter_tag': '0.1.88', 'dart_logging_tag': '0.11.3+2', 'dart_markdown_tag': '2.0.3', 'dart_matcher_tag': '0.12.3', diff --git a/ci/licenses_golden/licenses_third_party b/ci/licenses_golden/licenses_third_party index b198ad6041514..21d8725d15219 100644 --- a/ci/licenses_golden/licenses_third_party +++ b/ci/licenses_golden/licenses_third_party @@ -1,4 +1,4 @@ -Signature: b20afbc397e016f35432399d87bb21b4 +Signature: 44652e110b191bac979e7129d985e086 UNUSED LICENSES: @@ -4608,6 +4608,7 @@ FILE: ../../../third_party/dart/runtime/observatory/web/favicon.ico FILE: ../../../third_party/dart/runtime/observatory/web/index.html FILE: ../../../third_party/dart/runtime/observatory/web/third_party/trace_viewer_full.html FILE: ../../../third_party/dart/runtime/observatory/web/timeline.html +FILE: ../../../third_party/dart/runtime/vm/compiler/ffi_dbc_trampoline_x64_linux_mac.S FILE: ../../../third_party/dart/samples/ffi/sqlite/docs/lib/scenario-default.svg FILE: ../../../third_party/dart/samples/ffi/sqlite/docs/lib/scenario-full.svg FILE: ../../../third_party/dart/sdk/lib/html/html_common/conversions_dart2js.dart @@ -5134,6 +5135,7 @@ FILE: ../../../third_party/dart/runtime/bin/ifaddrs-android.h FILE: ../../../third_party/dart/runtime/bin/namespace_fuchsia.h FILE: ../../../third_party/dart/runtime/bin/socket_base_android.cc FILE: ../../../third_party/dart/runtime/lib/ffi.cc +FILE: ../../../third_party/dart/runtime/lib/ffi.h FILE: ../../../third_party/dart/runtime/lib/ffi_dynamic_library.cc FILE: ../../../third_party/dart/runtime/lib/ffi_dynamic_library_patch.dart FILE: ../../../third_party/dart/runtime/lib/ffi_native_type_patch.dart @@ -5161,6 +5163,7 @@ FILE: ../../../third_party/dart/runtime/vm/compiler/backend/type_propagator_test FILE: ../../../third_party/dart/runtime/vm/compiler/backend/typed_data_aot_test.cc FILE: ../../../third_party/dart/runtime/vm/compiler/ffi.cc FILE: ../../../third_party/dart/runtime/vm/compiler/ffi.h +FILE: ../../../third_party/dart/runtime/vm/compiler/ffi_dbc_trampoline.h FILE: ../../../third_party/dart/runtime/vm/compiler/graph_intrinsifier.cc FILE: ../../../third_party/dart/runtime/vm/compiler/graph_intrinsifier.h FILE: ../../../third_party/dart/runtime/vm/compiler/graph_intrinsifier_arm.cc diff --git a/sky/packages/sky_engine/LICENSE b/sky/packages/sky_engine/LICENSE index 3d2b10eaf21fc..003db6cb99817 100644 --- a/sky/packages/sky_engine/LICENSE +++ b/sky/packages/sky_engine/LICENSE @@ -4328,8 +4328,9 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- fuchsia_sdk +icu -Copyright 2019 The Fuchsia Authors. All rights reserved. +Copyright 2014 The Chromium Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -4359,8 +4360,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- fuchsia_sdk icu +skia -Copyright 2014 The Chromium Authors. All rights reserved. +Copyright 2015 The Chromium Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -4392,7 +4394,7 @@ fuchsia_sdk icu skia -Copyright 2015 The Chromium Authors. All rights reserved. +Copyright 2016 The Chromium Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -4421,10 +4423,18 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- fuchsia_sdk -icu +rapidjson + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-------------------------------------------------------------------------------- +fuchsia_sdk skia -Copyright 2016 The Chromium Authors. All rights reserved. +Copyright 2018 The Chromium Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -4453,18 +4463,9 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- fuchsia_sdk -rapidjson - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -fuchsia_sdk skia -Copyright 2018 The Chromium Authors. All rights reserved. +Copyright 2019 The Chromium Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -4493,9 +4494,9 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- fuchsia_sdk -skia +tonic -Copyright 2019 The Chromium Authors. All rights reserved. +Copyright 2015 The Fuchsia Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -4526,7 +4527,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. fuchsia_sdk tonic -Copyright 2015 The Fuchsia Authors. All rights reserved. +Copyright 2016 The Fuchsia Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -4557,7 +4558,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. fuchsia_sdk tonic -Copyright 2016 The Fuchsia Authors. All rights reserved. +Copyright 2017 The Fuchsia Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -4588,7 +4589,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. fuchsia_sdk tonic -Copyright 2017 The Fuchsia Authors. All rights reserved. +Copyright 2018 The Fuchsia Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -4619,7 +4620,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. fuchsia_sdk tonic -Copyright 2018 The Fuchsia Authors. All rights reserved. +Copyright 2019 The Fuchsia Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are