From 6280d4266983ff8eff24f26164d10172e3824385 Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Wed, 1 May 2019 09:11:43 -0700 Subject: [PATCH] Dart SDK roll for 2019-04-30 (#8796) * Update dart_quiver_tag to dart_quiver-dart_tag to match Dart SDK deps * Roll src/third_party/dart c46deebfb6..5fbf7720f8 (68 commits) 5fbf7720f8 [ VM ] Updated splay-tree licenses, added V8 project authors to AUTHORS e803d02227 [vm] Update Isolate to C++11 style. aebc542801 update scanner to process language version comment 597e9c6222 Update new issue template. af1dbdf13b Change representation of ExpressionChecks. 5152269d28 Convert another test class from ResolverTestCase to DriverResolutionTest a8d034f3e1 [vm/reload] Make sure classes in saved class table are visited by GC 25daff618d Support for 'late' keyword. ae97367e4a Support for 'required' keyword and default parameter kinds. 0213a31527 Fix for default parameters without name. 347b72c260 [vm] Bypass malloc for large Zone allocations to avoid jemalloc leaks. a7325f9e59 Re-enable and fix the move_file_test.dart tests in the analysis server. 4215dc8365 cleanup analyzer warnings f6f59c997f Rename quiver revision variable so it matches [dep_name]_tag pattern. ea708965ab Find type alias self-references during linking. afe805fa6e Fix hint unused_shown_name 156de21785 Adapt OptionalConstMixin to summary2. 0bfe57da52 Store unresolved URIs, but as empty strings. ca3d908719 With issue 36262 fixed, remove the workaround. 4d7217016e encapsulate scanner configuration in ScannerConfiguration 7757c3e948 [vm] Consolidate generic move code between ParallelMoveResolver and FFICall 1dd0f88c84 Don't allow `null` as argument to `StreamIterator` constructor. 9cf5e51988 Consolidate test usage of ExpressionChecks.nullCheck into a single method. 43937aa9ca Don't let expression compilation bleed into real library 054d1a301c Another test for reissuing problems 0325d50db2 [CFE] Add disambiguation for type parameters if needed d8739b582b Don't try to initialize from empty dill af3ec66106 [Kernel] Fix specification of constant reference. f3e1480b52 Update manifest checks watnings and corrections 243373af1c [vm, x64] Tighten the monomorphic entry sequence. 532226f024 The library is synthetic when its defining unit is synthetic. 6e72fed210 [vm] Fix for flaky crashes in background compiler while Dart_SortClasses() is running 611dbeb387 [vm, fuchsia] Fix deps and stop suppressing -fvisibility=hidden. 87a3256e8f Add lineOffset and columnOffset fields to the Script service protocol class. 0b9060ec1d [vm] Fixes for flaky crashes when querying source or source location c944328528 Refactor types resolution, compute default types for type parameters. 6436104712 [vm/tests] Fix flaky crashes on vm/cc/GenKernelKernelMaxRSS test b83902d51b Add a language_2 test for missing arguments related to required named parameters 950e174799 It is not an error for a late final variable to not have an initializer in nnbd c4c357eb21 [vm/interpreter] Fix for flaky crashes in interpreter 6ef55cee3e [dart/vm] fix build breakage in assembler_dbc_test 9b3567a466 Rename poorly named error code and improve the message 7d462b12b9 [vm, fuchsia] Add back -fvisibility=hidden suppressions. 66fbaf30e6 Update CHANGELOG.md with AOT 9de07a2c58 [infra] Bump version file on master to 2.3.0 2f06696655 Include the keyword required when printing elements, with additional cleanup 49573f59d3 cleanup analyzer warnings 24396182e1 [ VM / Service ] Handle case where user navigates to Observatory without a slash trailing the authentication code. 4038f91c38 Change the messaging for the CrOS touchscreen check e2d0f5a50b Add `featureSet` parameter to Parser constructor. b378eef54a Add a option to pass in version file to tools 37f915543f Introduce AstFactory.compilationUnit2 with a required featureSet argument. 3d0825da5d Improve the message when a mixin cannot be applied because the superclass does not implement a required class (issue 36775) 3d0cdc8956 Switch perf.dart completely over to Fasta parser. 4028fec3b5 Reland "[vm] Finish adding support for ECMAScript 2018 features." 160aa37b9f Ignore exporting of unavailable libraries. f598581e41 Support for type parameters in function typed formal parameters. d816a46806 Convert MixinDriverResolutionTest to subclass DriverResolutionTest fd76dda221 Identify mobile or web Flutter correctly when both are possible. 7e0d76c5dd Compute BuiltWorld properties from member usage e00b2b577e [dart/fuzzer] restrict length parameter in List fill 5964ec4db7 Disable all tests in move_file_test.dart by renaming the file to move_file_disabled.dart c3669f787e Add a diagnostic for missing arguments associated with required named parameters f3b6028edc [vm/interpreter] Bump usage counters and trigger compilation of invoke-field ec15148db2 [dart/fuzzer] no target on unsupported build targets 986978ad8e Additional FeatureSet plumbing for parser_fasta_test.dart 0dc33da6e8 Add LinterContext.canBeConstConstructor(). d03323783a Fix an exception in flutter outline when using ui-as-code elements (issue 36772) --- DEPS | 6 ++-- ci/licenses_golden/licenses_third_party | 40 +++++++++++++++++++++++-- sky/packages/sky_engine/LICENSE | 29 ++++++++++++++++++ 3 files changed, 70 insertions(+), 5 deletions(-) diff --git a/DEPS b/DEPS index 45c5ca31723eb..c12ea6c5f9612 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': 'c46deebfb63c5855dc4a1674ad885bd652590914', + 'dart_revision': '5fbf7720f8bcbf9723e50933f5b1c7d1bc940338', # WARNING: DO NOT EDIT MANUALLY # The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py @@ -77,7 +77,7 @@ vars = { 'dart_protobuf_rev': '0c77167b16d00b561a6055bfe26690af7f26ae88', 'dart_pub_rev': '8c363fe26f059c3063f1129adbb3c4e22a8ce954', 'dart_pub_semver_tag': '1.4.2', - 'dart_quiver_tag': '2.0.0+1', + 'dart_quiver-dart_tag': '2.0.0+1', 'dart_resource_rev': '2.1.5', 'dart_root_certificates_rev': '16ef64be64c7dfdff2b9f4b910726e635ccc519e', 'dart_shelf_packages_handler_tag': '1.0.4', @@ -294,7 +294,7 @@ deps = { Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'), 'src/third_party/dart/third_party/pkg/quiver': - Var('chromium_git') + '/external/github.com/google/quiver-dart' + '@' + Var('dart_quiver_tag'), + Var('chromium_git') + '/external/github.com/google/quiver-dart' + '@' + Var('dart_quiver-dart_tag'), 'src/third_party/dart/third_party/pkg/resource': Var('dart_git') + '/resource.git' + '@' + Var('dart_resource_rev'), diff --git a/ci/licenses_golden/licenses_third_party b/ci/licenses_golden/licenses_third_party index 6dcd0d30a3c82..ff609a37a8e1e 100644 --- a/ci/licenses_golden/licenses_third_party +++ b/ci/licenses_golden/licenses_third_party @@ -1,4 +1,4 @@ -Signature: 4b3f9c1d8a227c643c8bd8ebe4ed65f8 +Signature: 551e5f08ae5c955a071e7987f25566ae UNUSED LICENSES: @@ -5188,6 +5188,7 @@ FILE: ../../../third_party/dart/runtime/vm/intrusive_dlist_test.cc FILE: ../../../third_party/dart/runtime/vm/libfuzzer/dart_libfuzzer.cc FILE: ../../../third_party/dart/runtime/vm/longjump.h FILE: ../../../third_party/dart/runtime/vm/pointer_tagging.h +FILE: ../../../third_party/dart/runtime/vm/splay-tree.h FILE: ../../../third_party/dart/runtime/vm/static_type_exactness_state.h FILE: ../../../third_party/dart/runtime/vm/stub_code_list.h FILE: ../../../third_party/dart/runtime/vm/thread_stack_resource.cc @@ -6580,6 +6581,41 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ==================================================================================================== +==================================================================================================== +LIBRARY: dart +ORIGIN: ../../../third_party/dart/runtime/platform/splay-tree-inl.h + ../../../third_party/dart/LICENSE +TYPE: LicenseType.bsd +FILE: ../../../third_party/dart/runtime/platform/splay-tree-inl.h +FILE: ../../../third_party/dart/runtime/platform/splay-tree.h +---------------------------------------------------------------------------------------------------- +Copyright (c) 2010, the Dart project authors. Please see the AUTHORS file +for details. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +==================================================================================================== + ==================================================================================================== LIBRARY: dart ORIGIN: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_scope_builder.h + ../../../third_party/dart/LICENSE @@ -19181,4 +19217,4 @@ freely, subject to the following restrictions: misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. ==================================================================================================== -Total license count: 319 +Total license count: 320 diff --git a/sky/packages/sky_engine/LICENSE b/sky/packages/sky_engine/LICENSE index f754f1eec47e7..ce6263d959740 100644 --- a/sky/packages/sky_engine/LICENSE +++ b/sky/packages/sky_engine/LICENSE @@ -3108,6 +3108,35 @@ and disclaimer. -------------------------------------------------------------------------------- dart +Copyright (c) 2010, the Dart project authors. Please see the AUTHORS file +for details. All rights reserved. + + Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +-------------------------------------------------------------------------------- +dart + Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file for details. All rights reserved.