Skip to content

Commit

Permalink
Roll dart to f981f09 (flutter#5390)
Browse files Browse the repository at this point in the history
* Roll dart to f981f09

Changes since the last roll

```
f981f09 Revert "Clone annotations when cloning nodes that have them"
b4699ae Improve type parameter and type argument recovery
544863f Remove the no-op rewriter tests
4d27151 [VM Bigint] Fix arm64 intrinsic for _estimateQuotientDigit (loop missing jump back). Add regression test. Fix arm64 disassembler (was printing "unknow" instructions). Make decoding stricter in arm64 simulator. This fix addresses a14n/dart-rational#19
57d2563 [fuchsia] Update for port API change
c09e012 Observatory strong mode fixes: add explicit downcasts to button onClick callbacks.
a5bf688 Observatory strong mode fix: Avoid a String/Uri type mismatch.
1b0c2f4 Observatory strong mode fix: Add VM.target getter.
210d175 Observatory strong mode fix: Fix a callback parameter type using an explicit downcast.
08d0dcb Observatory strong mode fixes: specify some list literal types.
462e350 Observatory strong mode fixes: Change types of InstanceMock/Instance members.
6ed3b16 Added feature specification for upper/lower bounds of top/bottom types
abed87b Make BodyBuilder.handleCatchBlock use FormalParameters as catchParameters.
5016f11 [fasta] Make lists of type arguments growable
48e8b4c Make Forest.forStatement take the conditionStatement rather than extracting the rightSeparator
2d52780 Observatory strong mode fixes: fix several type annotations.
0125a5a Observatory strong mode fixes: Fix callback parameter types using implicit casts.
c85b2fc Observatory strong mode fixes: Fix an int/double type mismatch
3fb2204 Observatory strong mode fixes: make iteration types more specific.
2165d2d Observatory strong mode fixes: safe uses of dynamic and covariant.
6a34939 Use bottom type for Link constants
20831b1 Move ErroneousExpressionGenerator
8e25851 Split LargeIntAccessGenerator
7b3c399 Observatory strong mode fixes: add implicit downcasts.
de0e358 Discover available files before searching in known files.
d17859c Observatory strong mode fixes: make callback parameter types more general.
ca7d545 Follow up on initial fix-all fixes PR, https://dart-review.googlesource.com/c/sdk/+/56220, adding some assertions and a test.
922f969 [VM] Fix for issue 32901 - Isolate.resolvePackageUri has inconsistent behavior when called from a script launched via relative path.
9c70462 [vm] Roll boringssl to 189270c
785f368 Last changes to make dart2js strong mode clean when compiling itself!
993b4ca Make the change to ContextRoot non-breaking.
30ad3f6 Set DDK to run on Dart-2 VM
379232a Convert remaining IdentifierContext consts
819b212 Issue 33228. Fix Dart2 error in outline computer.
ec19ebd [vm] Fix feature detection of DBC32 versus DBC64 in snapshots with code.
00a5197 More changes to make dart2js dart 2 strong mode clean.
2d8bf77 CHANGELOG for invariant generic bounds
de545b4 Revert "[mirrors] Add IsolateMirror.loadUri."
1be1387 [ VM ] Addressed additional comments from CL 56461.
5cc3736 [vm/frontend-server] Include errors count into compile expression response.
891efdc Fix status file for analyzer.
ad4cfa0 [mirrors] Add IsolateMirror.loadUri.
a64bbbf Bump to watcher 0.9.7+8.
eb19be5 [vm/tool] Teach precompiler2 script to build ELF binaries.
7c43cfa [vm] Mark superclasses of interfaces implemented.
2f7874a [ VM ] Updated include path for typed_data_utils.h which was causing Flutter build to fail.
3c6907e [vm/kernel/aot] Approximate numerous invocations per selector in TFA
75a7526 Clone annotations when cloning nodes that have them
d3da30c Report errors on non-synthetic tokens
351d706 Initial new union of Dart Analysis Fixes, the initial fix is to remove all unused imports in a file.
e8bb129 Adjusted setter conflict specification, cf. flutter#33077
0a042a2 Fix a bug in the async transformation of let expressions
6fc0c1f [vm/kernel] Only create zone handles when necessary (e.g. in IR instructions, LocalVariable).
735f7bd Updated for expected FF failure.
02bcbc1 [vm/kernel] Fix partial instantiation implementation in StreamingConstantEvaluator.
8d4a1cc Split ReadOnlyAccessGenerator
ee9e1c1 Split TypeUseGenerator
9ec756b Split DeferredAccessGenerator
163807a Split LoadLibraryGenerator
51fa5c1 Correctly transform async functions with FutureOr return types
bca7007 [vm/kernel] Move kernel2kenrel "constants" transformation before TFA
1d8a72c Split StaticAccessGenerator
2d46ebd Fix Dart 2 runtime errors in the front end
89514bd Cleanup library_loader.
21b65a9 Remove unused typedef code
1840714 Split deferred load entity computation by class, member and local function
b84f18e [VM] Mark seemingly consistently failing test on windows
d07b9aa Add explicit type args on generators
b3862d5 Split SuperIndexedAccessGenerator
0ec82e2 Avoid late creation of entities.
1d59ab2 Fix flutter#29014, make function type parameters invariant.
4d7bbb5 Use AbstractValue in ClosedWorld
89f3741 Fix windows bot breakage for package:build tests.
9b44fc3 Deprecate chaseDependencies option.
05f96af [ VM ] Fix failing non-UTF8 path test on MacOS
c541cda [ VM ] Fixed issue where error code was being clobbered by call to Dart_TypedDataReleaseData on Windows, resulting in OSError returning a 0 error instead of the true error code.
a00dae2 Update test_parseAwaitExpression_inSync
9cd0e80 Convert more identifier contexts
552680b First round of changes to dart2js to make it strong mode clean.
cc4fe66 Replace parseTypeVariables with computeTypeParam
c3b6df5 Update dartdoc and dependencies to v0.19.1.
3ab7cf0 Revert "[dart:io] Revert recent non-utf8 path handling"
7c59fe6 Flip dartfmt to run in Dart 2 mode.
ade600c Update constructor identifier context
e35ed9c [ VM / Build ] Added '--no-include-kernel-service' to build.py. By default, the kernel service is now included in all build modes, including product mode. Providing '--no-include-kernel-service' will build the specified configuration without the kernel service.
e5eee0d Add Forest support for labeled statements
83e2902 Add schema-based file system
8f4c9bc Add single-root file system.
1567b44 Add Forest support for catch clauses
9816fce Fixed to use catchError instead of try/catch.
88d847e [release] Prepare CHANGELOG.md for 2.0.0-dev.58.0
2a5724c New package:build workspace before we support it at the language level
4f5db3a Update pub DEP – includes Dart2 type fixes
0a96975 Add Forest support for for statements
4fb0c60 [vm/kernel] Set active class when evaluating Dart annotations
8427d53 Extra precedence level in parser to distinguish postfix operators and selectors
1ce9b25 Replace call to parseTypeVariablesOpt with computeTypeParam
f7e0968 Split IndexedAccessGenerator and ThisIndexedAccessGenerator
9f3cd54 Remove UnhandledListener
98fcc33 Fix diet_listener.dart imports
3a5454a Split SuperPropertyAccessGenerator
e0144d5 [VM] Add UNREACHABLE() to AOT constant evaluator in the VM
fa6fd26 Remove unused IdentifierContext instance
cbe76ee [release] Prepare changelog for 2.0.0-dev.57.0
e62f37f Tighten failure and success of test.
a80dfa1 Revert "Add colons"
443c23c Remove subpackage_relationships_test.dart
7583fb8 [vm] Refactor state bits to free up two bits on Function.
0271003 Extract parseFunctionLiteral from parseType
b8cb785 Improve formal parameter identifier recovery
9f10979 [fasta] Add and use a type-inference-specific interface of BodyBuilder
3960cac Make peek return null when the stack is empty
3582e30 [VM] Remove unused _Random._A field in Dart sources and make constant in C++ code instead
f8cca09 [VM] Do not invoke the empty StackOverflowError/OutOfMemoryError constructors
39bccc1 Split NullAwarePropertyAccessGenerator
29253c5 Add colons
fc95fd9 Move generators out of body_builder
39516de Split ThisPropertyAccessGenerator
2d79c35 Start creating common superclass for generators
2a71885 Fixed status
cf87b84 Support Promise to Future for both DDC and dart2js.
6d8f473 [ VM / Hot Reload ] Updated kernel_service and hot reload behavior to run as long as the compiler returns valid kernel.
f4f79ac Improve annotation identifier recovery
3bdd173 Call computeType rather than parseType
2c8c05f [dart2js] merge generator body into empty entry function
96cfc63 [infra] Use a less specific browser version that works across platforms
3ac2a3f Address comment from 55981
8c0f574 Add build_integration package and move multi_root_file_system there.
ba0da68 Update status for new test
3f6c87d [vm/compiler] Do not use Constant(#null) to reserve space on the expression stack.
a756248 Add Forest support for assert statements and initializers
a9ab8f4 [GN] Hack around Dart 2 application_snapshot deps issue
298129c Improve part of identifier recovery
371c8e4 Append version and CRC32 to data in FileByteStore.
6cc0d97 Skip expressions by parsing them with a no-op listener.
3ccd5a0 [js_runtime] Fix for 'o is FutureOr<T>' with function type T
d34fe65 Revert "New package:build workspace before we support it at the language level."
580e486 Make CastStreamSubscription.onData handle a null callback
2a8eb80 [infra] Specify chrome version used by builds running on the test matrix
eeec646 Convert the command-line analyzer to a dart 2 snapshot.
89df6b7 Issue 33181. Use RefactoringWorkspace in rename refactoring to determine when element being renamed is outside the workspace.
85ddeb9 [release] Prepare changelog for 2.0.0-dev.56.0
7ff8adc Fix an incorrect dart:mirrors test
08d466b [kernel] Treat TypeParameter.defaultType as a child in visit methods
330dcb1 Rename remaining generators
2c9d892 [fasta] Make explicit Object in bound a constraint during type inference
5924c35 Prepare to remove expression_generator_impl.dart
c771e4d DDC: disallow ignore option on Stream cast failures
e191d4f Simplify errors on invalid arguments
7ab9ea0 Change return type of Fangorn.parenthesizedCondition
09582b4 Remove FastaAccessor and Accessor
a738567 Convert ContextAccessor to ContextAwareGenerator
bbdf560 Convert UnresolvedAccessor to UnresolvedNameGenerator
b5c6143 Convert IncompleteSend to IncompleteSendGenerator
63ff7ee [vm/interpreter] Support closures in bytecode. Support reordered bytecode metadata sections. For now, read but ignore exceptions table in bytecode metadata.
e1cabfd [dart2js]  'Fix' error in registrations
49d5ca3 Switch to BigInt for ConstantValue.
9696c9d Change analysis_server tests to use /project/test.dart as the test file.
e71bd04 [vm, kernel] Fix async stack code traversal in dart2.
714697e [vm/kernel/bytecode] Write constant pool before bytecode and exceptions table
80b4819 [frontend-server] Serialize compiled expression procedure into the file.
68b19b4 [vm/kernel/bytecode] Add invocation kind to StaticICData constant
929b79e [dart2js] Don't insert redundant checks
4cf51e6 Give (the old) ContextRoot path.Context to work with paths.
bea580c Disallow ignore on any explicit cast failures
1cf871a Improve import/export combinator identifier recovery
79a0ef6 Fix for 'Convert to final field' quick assist when no return type.
bbb8905 Observatory strong mode fixes: specify type argument to .map when not inferable.
841a91b Observatory strong mode fixes: Add abstract Location.toUserString to Location.
fc206a7 Add Kill isolate service request.
aad3270 Observatory strong mode fixes: fix C-style parameter declarations.
ea4d109 Observatory strong mode fixes: make return types more specific.
0f506ba Added period to comment for consistency.
5ab4294 [vm] Allow for creating a CoreJIT snapshot from a kernel file.
d5b9986 [frontend-server] Introduce compile-expression command.
ac8971a New package:build workspace before we support it at the language level.
99eb219 Add Forest support for break and continue statements
4d3ebab [vm] Fix error message when an API function is called without a current isolate.
c31b9a4 [vm/kernel] Reference constants in Dill by offset into constants table.
0ff6c20 Add Forest support for return statements
85fbc71 More test framework cleanup
6202749 [vm/kernel/bytecode] Support try-catch-finally in bytecode generator
78cc8a1 Improve type parameter recovery
3e7eef1 Remove reference to token.previous
5b4d67b Compute runtime completions in the context file itsef.
720b6c9 Improve some tests and fix a Dart 2 error
ff76905 [dart2js] Don't try to generate stubs for generator bodies
4610daa Convert ThisAccessor to ThisAccessGenerator
cb9bf91 Test that fasta_codes_generated.dart is up to date
eec11eb Convert ErrorAccessor to ErroneousExpressionGenerator
a155d6c Update dependencies on async, collection, http_throttle packages
ce1dc86 Adjust status file.
21fbf7d fix flutter#33103, switch dartdevk to use Kernel nSM stubs
5632b1c Adjust status file for precompiled target (see issue 33168)
41468e7 [VM] bypass some app_jit tests which have issues with mismatched VM options between the snapshot version and the invoked dart process.
c38bca6 [fuchsia] Fix bad state error on namespace cleanup
b911f78 Use AbstractValue/AbstractValueDomain in function_set.dart
c9ea44b Use the static type from the identifier element is local completions.
715ba58 Remove reference to token.previous
4edb23c Bump to linter 0.1.51.
2ff2af7 Allow running pub with --preview-dart-2
7aacf7e [ VM / dart:io ] Fixed memory leak in SecurityContext on MacOS.
ada23cd Add deferred test for local functions
f1f660f Small cleanup
9f6e8a3 Move DDC to Dart 2 snapshot
be5b189 Exclude synthetic import prefixes from runtime completion.
7ac05a1 Add Forest support for do statements
029e139 Make type promotion conditional depending on which builder is being used
817965f Runtime completion support for constructors, for loops, and function expressions.
02e47a9 [VM] Fix for issue 32188 (cannot use `pub` with --preview-dart-2)
```

* Update license. Fix to license script to accommodate boringssl additional build-time license

* Revert changes to pubspec.lock

* Roll to buildroot with boringssl fix

* Update license
  • Loading branch information
aam authored May 26, 2018
1 parent 2b1f3db commit 1ed25ca
Show file tree
Hide file tree
Showing 4 changed files with 934 additions and 919 deletions.
26 changes: 13 additions & 13 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -31,40 +31,40 @@ 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': '97b6c2e09d6532eeb622d85f23109f3f3b6d2b61',
'dart_revision': 'f981f097602ca434ce0a36b1f704723cad105fb6',

'dart_args_tag': '1.4.1',
'dart_async_tag': '2.0.6',
'dart_async_tag': '2.0.7',
'dart_bazel_worker_tag': 'v0.1.9',
'dart_boolean_selector_tag': '1.0.3',
'dart_boringssl_gen_rev': '344f455fd13d46f054726638e76026156ea73aa9',
'dart_boringssl_rev': '672f6fc2486745d0cabc3aaeb4e0a3cd13b37b12',
'dart_boringssl_gen_rev': 'fc47eaa1a245d858bae462cd64d4155605b850ea',
'dart_boringssl_rev': '189270cd190267f5bd60cfe8f8ce7a61d07ba6f4',
'dart_charcode_tag': 'v1.1.1',
'dart_cli_util_tag': '0.1.2+1',
'dart_collection_tag': '1.14.6',
'dart_collection_tag': '1.14.9',
'dart_convert_tag': '2.0.1',
'dart_crypto_tag': '2.0.2+1',
'dart_csslib_tag': '0.14.1',
'dart_dart2js_info_tag': '0.5.6+2',
'dart_dart_style_tag': '1.0.14',
'dart_dartdoc_tag': 'v0.19.0',
'dart_dartdoc_tag': 'v0.19.1',
'dart_fixnum_tag': '0.10.5',
'dart_glob_tag': '1.1.5',
'dart_html_tag': '0.13.3',
'dart_http_multi_server_tag': '2.0.4',
'dart_http_parser_tag': '3.1.1',
'dart_http_retry_tag': '0.1.1',
'dart_http_tag': '0.11.3+16',
'dart_http_throttle_tag': '1.0.1',
'dart_http_throttle_tag': '1.0.2',
'dart_intl_tag': '0.15.2',
'dart_json_rpc_2_tag': '2.0.6',
'dart_linter_tag': '0.1.50',
'dart_linter_tag': '0.1.51',
'dart_logging_tag': '0.11.3+1',
'dart_markdown_tag': '1.1.1',
'dart_markdown_tag': '2.0.0',
'dart_matcher_tag': '0.12.1+4',
'dart_mime_tag': '0.9.6',
'dart_mockito_tag': 'a92db054fba18bc2d605be7670aee74b7cadc00a',
'dart_mustache4dart_tag': 'v2.1.1',
'dart_mustache4dart_tag': 'v2.1.2',
'dart_oauth2_tag': '1.1.0',
'dart_observatory_pub_packages_rev': 'd3a3aebefbd35aa30fe7bbc2889b772b398f7d7f',
'dart_package_config_tag': '1.0.3',
Expand All @@ -73,7 +73,7 @@ vars = {
'dart_plugin_tag': '0.2.0+2',
'dart_pool_tag': '1.3.4',
'dart_protobuf_tag': '0.7.1',
'dart_pub_rev': '0c172864be2d2043a9d630e07f6b4eae7472653f',
'dart_pub_rev': '7bdcf4e4de85a7a8c7a322511b8198f1b6cb0a73',
'dart_pub_semver_tag': '1.4.1',
'dart_quiver_tag': '5aaa3f58c48608af5b027444d561270b53f15dbf',
'dart_resource_rev': 'af5a5bf65511943398146cf146e466e5f0b95cb9',
Expand All @@ -94,7 +94,7 @@ vars = {
'dart_typed_data_tag': '1.1.3',
'dart_usage_tag': '3.3.0',
'dart_utf_tag': '0.9.0+4',
'dart_watcher_tag': '0.9.7+7',
'dart_watcher_tag': '0.9.7+8',
'dart_web_socket_channel_tag': '1.0.7',
'dart_yaml_tag': '2.1.13',

Expand All @@ -114,7 +114,7 @@ allowed_hosts = [
]

deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'cce1705f816c05e4af002eb9280f336c188f699d',
'src': 'https://github.com/flutter/buildroot.git' + '@' + '02eee3f72574fd5d30454487b5083e704b32cca4',

# Fuchsia compatibility
#
Expand Down
17 changes: 17 additions & 0 deletions frontend_server/lib/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,23 @@ class _FlutterFrontendCompiler implements frontend.CompilerInterface{
_compiler.invalidate(uri);
}

@override
Future<Null> compileExpression(
String expression,
List<String> definitions,
List<String> typeDefinitions,
String libraryUri,
String klass,
bool isStatic) {
return _compiler.compileExpression(expression, definitions, typeDefinitions,
libraryUri, klass, isStatic);
}

@override
void reportError(String msg) {
_compiler.reportError(msg);
}

@override
void resetIncrementalCompiler() {
_compiler.resetIncrementalCompiler();
Expand Down
12 changes: 11 additions & 1 deletion tools/licenses/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1978,9 +1978,19 @@ class RepositoryBoringSSLSourceDirectory extends RepositoryDirectory {
///
/// This license includes 23 lines of informational header text that are not
/// part of the copyright notices and can be skipped.
/// It also has a trailer that mentions licenses that are used during build
/// time of BoringSSL - those can be ignored as well since they don't apply
/// to code that is distributed.
class RepositoryOpenSSLLicenseFile extends RepositorySingleLicenseFile {
RepositoryOpenSSLLicenseFile(RepositoryDirectory parent, fs.TextFile io)
: super(parent, io, new License.fromBodyAndType(LineSplitter.split(io.readString()).skip(23).join('\n'), LicenseType.openssl, origin: io.fullName)) {
: super(parent, io,
new License.fromBodyAndType(
LineSplitter.split(io.readString())
.skip(23)
.takeWhile((String s) => !s.startsWith('BoringSSL uses the Chromium test infrastructure to run a continuous build,'))
.join('\n'),
LicenseType.openssl,
origin: io.fullName)) {
_verifyLicense(io);
}

Expand Down
Loading

0 comments on commit 1ed25ca

Please sign in to comment.