Commit Graph

563 Commits

Author SHA1 Message Date
Alexander Aprelev
db0aabe3ff Roll dart to 52afcba357ad398e8c24f3e3363ac6ff5293df63 (flutter/engine#4905)
* Roll to 59d859645ef0557bc7f8e2ee07957f506b755255

Changes since last roll:
```
59d859645e [fasta] Do new/const insertion in simple cases
4c0a09b79f [vm-service] Add setFlag.
bed5debbeb Callable object support in Analyzer and DDC.
a1e4d8e0bf Don't do implicit new/const code generation with --preview-dart-2 enabled.
49558b9c4c Fixed MessageChannel receiveing messages on ports. Removed pkg browser from tests.
e150bf638c Fix tests for missing required SDK libraries on Windows.
b970d834e1 Update type_representation_test to test strong mode types
85d5812a93 Port type_representation_test to work with kernel
8504808ce3 Remove Dart 2 errors in package:js_ast
a6a2152482 Add runtime type representation for void
477a773cdb [fidl] Port Dart runtime to FIDL2.
d46dd1bd68 fix error message for dcalls on null
af22f6a591 Track calls to 'pub get' from analysis_server
8d689fcca7 step 4 of ??: add omit-implicit-checks and preview-dart-2 flags, strong-mode defaults to include implicit checks.
f201ace7f3 Check for missing required libraries dart:core and dart:async.
d53291d156 Fix MockErrorCode after adding isUnresolvedIdentifier.
b05ba71b0c [VM runtime] Minor clean up of type test with non-function type object.
ce1d52481c Don't remove unused imports when there are unresolved symbols.
ad9afa1656 Add the isUnresolvedIdentifier flag for ErrorCode.
14806df576 Make correction parameter optional named in ErrorCode and subclasses.
98f627f989 Issue 32708. Make GenericFunctionTypeElementForLink implement GenericFunctionTypeElementImpl.
3306aabd82 Fix for type inference from instance creation arguments.
055dfad887 Fix the test to determine whether a library is in the SDK
506ac7f953 Rework linker type inference using ExprBuilder.
494b861d00 Further prep work for #32525.
7d90df42f1 [Kernel, VM runtime] Hook up bool checks in strong mode (fixes #32336). Update kernel status file.
```

* Update license hash. No changes to licenses.

* Roll to pick up SIGTTOU fix.

* Update license hash. No changes to licenses
2018-03-30 14:07:57 -07:00
Alexander Aprelev
912f4fd79d Revert "Roll Dart for FIDL2 (#4906)" (flutter/engine#4907)
This reverts commit 5950b13e3b.
2018-03-30 13:56:55 -07:00
Ian McKellar
5950b13e3b Roll Dart for FIDL2 (flutter/engine#4906) 2018-03-30 13:33:51 -07:00
Alexander Aprelev
2f17326a65 Revert pub roll from recent dart roll. (flutter/engine#4904)
pub rolll causes https://github.com/dart-lang/pub/issues/1853.
2018-03-30 07:37:03 -07:00
Alexander Aprelev
fe83adc6fe Roll dart. (flutter/engine#4902)
* Roll dart.

Changes since last roll:

4da52281aa [frontend-server] Return non-zero exit code if there are errors.
d7a540bfe7 Document --enable-asserts in dart2js's help, and remove --checked.
d9c3190e44 [vm] Remove some bin -> vm includes.
3dcdaf9e57 [vm] Check for OOM when allocating a new handle block.
865f52737a [dart:io] Adds IOOverrides.socketConnect
f858e5d539 Replace Token.previous usage in BodyBuilder
f66532b31b Replace more occurrences of token.previous with findPrevious
d46915d239 Bring in the latest pub
7470f410dd Clean up documentation of command-line analyzer options
4b682341d9 [ VM / Dart 2 ] Marked tests that exercise functionality not supported in Dart 2 as SkipByDesign.
859632b439 Fixes for uninitialized fields of Flutter widgets create constructors in Flutter style.
c9e9c1d8e9 Remove dart:isolate runtime support in DDC
0482cf4da1 [fuchsia] Add rules to build gen_snapshot targeting Fuchsia
2de82410e0 Make isolate patch play nice with web workers.
be3baa0b8f Additional ExprBuilder implementation.
42581e4fa6 [VM] Added '--enable-asserts' to the top-level help message.
44dbba2b80 Use offset/length of the import prefix, or empty. Same for constructor names.
85b4c604c5 [VM runtime] Improve type error messages in Dart 2 (fixes #32564). Hide private class _Future and map it to core lib class Future. In Dart 2, show dynamic as type argument(s) of raw generic types.
ebdee7ee0f More prep work to allow the linker to re-use resolution logic.
91e6c8b019 Fix missing_return warning in expr_builder.dart
59de9710ea Complete Flutter's setState() as a whole statement, with a closure, and the caret inside the closure.
b82e5b4704 Replace code completion usage of token.previous with findPrevious
0e8457c8c8 Fix for building sequence of identifiers and several tests.
6a84638d7a Updated for proper failure.
577b168c39 Fix jsinterop bug: we incorrectly added null values for js-interop constructor calls.
8e02ff92db Added @category annotation for Web libraries and removed createCustomUpgrader.
c60199cf86 [vm/kernel/aot] Tree shaking based on results of TFA, take 2.
b217e21907 Mark a few more co19 failures to fix.
70f455351d [kernel] Add field for instantiate-to-bounds algorithm in TypeParameter.
bc75856e54 Update getClientRects, removed xtab, removed bogus entry in dom.json, expose ServiceWorker, removed query and queryAll from in dart:html, added constructor to MessageChannel and removed getCssCanvasContext.
f9e12f1116 step 3 of ??: ignore old options from old FE
c0fa4e2fe3 step 2 of ??: remove unnecessary pattern in -m option
51867f28a2 step 1 of ??: cleaning up options...

* Update license hash. No license changes.
2018-03-29 14:54:24 -07:00
Ben Konyi
e4cfd10241 Rolled Dart SDK to e3051175192c83fafa3636c0f16d804734bb285a (flutter/engine#4877)
* Rolled Dart SDK to e3051175192c83fafa3636c0f16d804734bb285a
2018-03-28 14:36:58 -07:00
Siva
b5660698e7 - roll Dart to 2f68e82526d59b679a522e25db224d8c7e23d280 (flutter/engine#4864) 2018-03-23 15:33:21 -07:00
Alexander Aprelev
81ba175c42 Revert dart roll 20180322 (flutter/engine#4855)
* Revert "Roll back pub upgrade. (#4854)"

This reverts commit 222b6fe552.

* Revert "Roll flutter 20180322a (#4852)"

This reverts commit e10e11745a.

* Revert "Roll dart to 95e9e890a9 (#4850)"

This reverts commit 4c6f33a0c0.
2018-03-22 22:30:24 -07:00
Alexander Aprelev
222b6fe552 Roll back pub upgrade. (flutter/engine#4854)
New version of pub causes https://github.com/flutter/flutter/issues/15848.
2018-03-22 21:22:04 -07:00
Alexander Aprelev
e10e11745a Roll flutter 20180322a (flutter/engine#4852)
* Roll dart to af1436931b.

Changes since last dart roll:

```
af1436931b (HEAD, origin/master, origin/HEAD) [CFE] Fix for insertion of duplicate NSM forwarders
48644d5f6a [CFE] Fix crash when trying to add NSM forwarder for a field
898260a998 Split dependency on dart:html from dart:js
ef919c5eb3 fix commit queue: update nSM test expectation on ddc too.
d014fce4de Update dartkp NSM expectations.
6bd38cc912 Analysis Server API for 'Extract Widget' refactoring.
123e59c189 Improve for loop recovery
790b7b98fb [kernel] Update more NSM expectations.
696be0ae46 Initial support for extracting methods.
8d669c9d4e [kernel] Update NSM-forwarding test expectations.
edf039d510 [ VM / Dart 2 ] Made StackMapGC test strong-mode clean. Fixes part of 32190.
77239ee1db [fuchsia] Replace use of deprecated fdio_get_vmo with fdio_get_vmo_clone.
```

* Update license hash. No changes to the licenses
2018-03-22 16:20:12 -07:00
Alexander Aprelev
4c6f33a0c0 Roll dart to 95e9e890a9 (flutter/engine#4850)
* Roll dart to 95e9e890a9

Changes since last roll:

```
95e9e890a9 [kernel/vm] Implement NSM-forwarding in the VM.
7450e2ad60 Fix parsing of invalid interpolation in string literal
cd03f35a0b Prepare for analyzer 0.31.2-alpha.1, front_end 0.1.0-alpha.11, and kernel 0.3.0-alpha.11.
38b0825a55 [kernel] Add target for Flutter on Fuchsia.
2fd9969c96 extend unstable API to pass in the location of the libraries-specification
1caf7b7ecd Revert "Create new AnalysisSession instance on changes."
c90ca298ed Provide a message for InconsistentAnalysisException.
b6944e3165 Make use of environment overrides in fasta's implementation of config specific imports
26c06cdd82 Clean up Dart 2 type issues related to YAML support
4989976a81 Add CFE support for noSuchMethod forwarders
014bd821e6 Retry when fixes cannot be computed because of an inconsistent session (issue 32635)
04f5d1b974 Recover from missing while in do/while statement
dc5a8b2e91 Improve the fix to add an explicit cast
c7cdb72f32 Move CloneWithoutBody to Kernel API
2be1456309 [fasta] Fix not being able to output a program because of erroneousProgram
17a778c9cb Changed AudioScheduledSourceNode.start to start2. Fixes https://github.com/dart-lang/sdk/issues/32624
ae9b76dba6 [kernel] Add flag for NSM-forwarding stubs.
691bb9b299 [vm/compiler] Add a comment about MakeTemporary limitation.
83bfbcdd96 Incremental compilation: computing class hierarchy for reachable things only
0dd2a8dbdb Incremental compiler: Only include libraries loaded from dill if used
b4206bb92c Remove dartk
bb2bf609be Incremental compiler: Deal with disappearing package
2e366e8c9a [fasta] Refactor incremental_load_from_dill_test
4f40e43d7a Incremental compiler: Add test that mixes in something from the sdk
83c0a75564 [fasta] Add failing test to incremental compiler test suite
3a81263fee [ VM / Dart 2] Split DartAPI_PropagateError into DartAPI_PropagateError and DartAPI_PropagateCompileError since the compile time error from the missing semicolon prevented the code from being executed in Dart 2.
4905a2da7c Fix pub issues links from bde48c67ec6bd76a475ead02f45a16c1c0309529
bde48c67ec Update pub dependency
95089a2eeb cleanup CHANGELOG for -dev.39 and -dev.40
068be3b656 [ VM / Dart 2 ] Fixed issue where TokenPosition::kNoSource was being registered as the position of native methods. Fixes DartAPI_CurrentStackTraceInfo
5430010395 Use writeFieldDeclaration() and writeFunctionDeclaration() to write extracted widget.
1d774b7f77 Add "environment_overrides" section to libraries-specification.
36d4fd37a7 Mark test as flaky
f2806ab624 [Corelib, VM runtime] Fix handling of zero operand in Bigint operations (fixes #32465). Fix VM, dart2js, and dcc Bigint implementations. Add shift tests. Re-enable Bigint intrinsics on VM.
9f0e391e28 Rename writeParameterSource() to writeParameter() and make 'type' optional.
8136c957a1 Improve fasta parser library declaration recovery
b3c4b1c2ef Remove pkg/browser from SDK source – use mirror
179db6dc6a Remove usage of pkg:browser from tools/dart2js/sourceMapViewer
a81f4babcc Revert "[ VM / Dart 2 ] Fixed StackTraceFormat test to expect file URIs in stacks generated by the Dart frontend."
ae130bc187 [ VM / Dart 2 ] Fixed StackTraceFormat test to expect file URIs in stacks generated by the Dart frontend.
2546f2235e Fix status lines for html group tests - group was duplicated in logs.
8658a7403e Check for references/writes to superclass members.
15bf72615d Fix for using isFinal/isConst with type in writeFieldDeclaration().
a8986cf45a Support for parameters for extracted widget.
aac5d04198 [infra] Add optimization_counter_threshold builder tag to the test matrix
fe5e2444ad [ VM / Dart 2 ] Fixed DartAPI_InvokeCrossLibrary test.
dddb578fbb Update Safari status for two tests
521846c832 [VM] When generating the token position list for each line (for a [Script]), only scan relevant classes/functions/fields
8630c69c9f Add typeInfo expression accessor
587e4f8723 Parse local function metadata
8493f68271 Adjusted status for lib_2/async/future_or_type_test.dart
7c05f1e608 Add more tests for FutureOr used as a type.
1fc73bf1a6 Compute ClassFunctionType from signature function in Dart 2
ad5f5abb13 Remove dart2js self analysis tests
31dd6683f8 [VM] Optimize performance of dart_boostrap in debug-kernel-strong mode.
38dc57504b [status] Update corelib_2 status for bigint test
6469f4c78a Support for extracting widget from a function.
00ec3b0867 [vm] Fix several kernel-specific memory leaks.
b7c3c32f63 [vm] Do not assign type to phi if it was loaded from a different local
d26c310a27 Rework parsing of local const declarations
06638dd17f [ VM / Dart 2 ] Removed DartAPI_NativeFieldAccess and DartAPI_InjectNativeFields1 as they were using Dart_CreateNativeWrapper which doesn't make sense in the context of Dart 2. Also did some status file cleanup and reorganization.
a5966ad988 Fix dart2js libraries.yaml
ec65830504 [ VM / Dart 2 ] Fixed DartAPI_LookupLibrary test which was treating the script in Dart_LoadScript as kernel instead of source.
8abeb56ebb Basic 'Extract Widget' refactoring.
996277d427 Entity-fy the non-frequence minifier so it can be supported under the CFE.
0e764393f3 A few more Dart2 related fixes
965cb81c0f Add AnalysisSessionHelper and move getClass() into it.
1c5d2e9016 Bump linter to 0.1.45
86b1646475 webSQL is not suported by Firefox fixed test supported should of true should not be expected.
3d34f4d4fe Updated CHANGELOG with Chrome 63 roll changes and fixed status file test now passes.
08d305bbd7 Inline modifiers into endTopLevelFields and endFields events
efab00ce5c Fix type issues caused by running with --preview-dart-2
adb9f8cc0b Inline modifiers into beginClassDeclaration and beginNamedMixinApplication
b75fb574ee Fix async_compiler_input_provider_test for Windows
fd005e17bc Rework parsing of local function declarations
8eb749e032 Fix sourcemaps/name_test for kernel
581c512345 Fixed DOMRectList not having a prototype field.
031ef989ac Provide better error message when a linked dependency doesn't exist
d9878ae0da fix regression in DDC handling of top-level field named 'name'
ac322d0fb4 Move LibraryElement caching to AnalysisSession.
2047d44631 Handle the case where there is no selection(issue 32563)
```

* Update license hash. No changes to licenses.
2018-03-22 13:16:49 -07:00
skia-flutter-autoroll
2b4e8a5af5 Roll Skia (flutter/engine#4841) 2018-03-21 13:28:32 -07:00
Siva
673ab2c34b Roll dart version to 06949dc98556adb807e270c47cbb9407ec781064 (flutter/engine#4816)
Includes the following changes
- Flip analyzer and server to preview-dart-2 by default
- [vm] Move writing snapshot magic value from embedder to VM
- Fix bug in BigInt.from with certain double value
- [vm] Clean up any remaining API scopes in Dart_ShutdownIsolate.
- [analyzer] Don't expect type arguments for class type parameters of static methods.
2018-03-19 17:45:44 -07:00
Ryan Macnak
7886e02834 Reapply "Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091." (flutter/engine#4809) 2018-03-19 11:22:23 -07:00
Alhaad Gokhale
ab632603e1 Revert "Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (#4800) (#4805)" (flutter/engine#4807)
This reverts commit 8790a33a0d.
2018-03-19 09:51:41 -07:00
mikejurka
8790a33a0d Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (#4800) (flutter/engine#4805) 2018-03-16 17:08:06 -07:00
mikejurka
713dbf4ca8 Revert "Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (#4800)" (flutter/engine#4803)
This reverts commit e121d45124.
2018-03-16 16:22:41 -07:00
Ryan Macnak
e121d45124 Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (flutter/engine#4800) 2018-03-16 12:17:38 -07:00
Brian Osman
dbb4ebb9da Roll skia and update licenses (flutter/engine#4797) 2018-03-16 11:06:40 -04:00
Siva
dd1d4806aa Update Dart to version 7328726088065b53f40e02caae6fd73f94528e3e (flutter/engine#4793)
Includes the following changes
- Support for MultiRootFileSystem options in frontend server (will be
  used in google3)
2018-03-15 01:30:19 -07:00
Siva
d7a90e2f83 Roll Dart to version 0175f24b2549732d0010708988fd328440c3f956 (flutter/engine#4791)
* Roll Dart to version 0175f24b2549732d0010708988fd328440c3f956

Notable runtime changes :

- Translate asserts in the VM-specific async translation

- Fixes flutter code coverage issues

- Fix type test '_Closure class IS FunctionType' in strong mode

- Report a compile-time error on magic const

- Do not skip type checks on closure functions.

- Make Dart_DumpStackTrace work when there is no current isolate.

- [vm/kernel/aot, test tool] Enable global type flow analysis

* updated DEPS

* Update.

* Update new license.
2018-03-14 19:51:38 -07:00
Petr Hosek
84293f06da Migrate all uses of gtest to googletest (flutter/engine#4755)
gtest is an old version that predates the googletest and googlemock
merger, all tests should be using the newer googletest that's being
kept in sync with the upstream version.
2018-03-14 11:32:34 -07:00
Jason Simmons
2214f7311b Roll buildroot (flutter/engine#4776) 2018-03-12 16:05:14 -07:00
Vyacheslav Egorov
40e7b8c01f Roll Garnet. (flutter/engine#4772)
* Roll Garnet

* Update licenses
2018-03-12 21:00:47 +01:00
Alexander Aprelev
7fcaa4f84c Roll dart to 290c576264faa096a0b3206c71b2435309d9f904. (flutter/engine#4771)
* Roll dart to 290c576264faa096a0b3206c71b2435309d9f904.

Changes since last roll:
```
290c576264 Remove inherited setters for mixed-in fields and copy their covariance-bits.
52b66e17fe Make fasta command line work on Windows
cb2e4b183e [fasta] Rename some methods in Forest API
2fcdfc1f23 Rename bug32353{,_2}_test.dart to issue32353{,_2}_test.dart
414a3318ea Add jsonDecode, jsonEncode, base64Decode, base64Encode, base64UrlEncode functions.
6cef6625ef [kernel] Record supertypes after the query intervals in CHA are built
f820555d19 Add test of type checks on redirecting initializer arguments
c31e628c4c Check types of arguments passed to redirecting initializers
009b6673ce [vm/kernel] Make 'unsupported tag' errors more verbose
70d715f115 Substitute return type too
40738b8884 fix #32481, generate signatures for mock members induced by nSM
b6460f34f6 Upgrade analyzer_plugin for republish with recent bugfix
439badf2c0 Revert "[build] Declare dependency of the version strings on the current Git commit."
7a0b6f8f4a Fix the analyzer bots
c080951d45 [build] Declare dependency of the version strings on the current Git commit.
693390a776 Index and search implicit references to optional positional parameters.
80a571d546 Take the --preview-dart-2 defaults from the context and options classes, not the cli tool defaults. Also, allow --no-preview-dart-2 from dartanalyzer.
8d47a6e86f Add a fix for lints that recommend using final (issue 32473)
0b48112d3e Fix nsm forwarding bug
977f4c706f Issue 32397. Fix for top-level inference and implicit creation.
b8093e3323 Generate signature of instantiated generic function from uninstantiated function
528d9d2e1f Do not hint when only a responsive asset exists (issue 32250)
5eb6d980b5 Do not hint when using a deprecated parameter in the defining function (issue 32468)
aff70cafc1 [vm] Fix reading of Object::extractor_parameter_types() from a snapshot
23fccf2e59 [VM] ARM64 unboxed 64 bit fix signed/unsigned const shift
e66733dd60 Simplify test case bug32353_test and decouple it from dart:io
e067f7fdfa The dart-dfe target is no longer being benchmarked.
7ce30c5289 Fix status files after 26e689de05b4
978840a42f [infra] Use a jessie sysroot for sanitizer builds
ad62702e93 Update status
11c77930e0 [infra] Turn on C++14 in the compiler config
30a87ce3fa [VM] ARM64: Add unboxed 64 bit integers
d2b7787186 [infra] Use downloaded sysroots by default
76b8e397ed Revert "Reland "[VM runtime] Switch intrinsics from old to new Bigint implementation.""
26e689de05 More work on signatures
5f51db3efb More status preparations to make the CQ clean
2cb80620bd Revert "[vm/simarm] Fix VRECPS/VRSQRTSQS instruction implementation."
feac6cfc20 Deal with Function type parameter contexts in closure conversion.
76a672e8ea mark lib_2/html/fileapi_entry_test flaky on ddc+mac
97bbe2f20b [vm] Avoid using objects in VM isolate heap for de-duplication
e1909cb52a Update Outline protocol - change offset/length, add codeOffset/codeLength.
602a8c2a7b Clean up usage of deprecated constants
5c94ec7b43 avoid generating unused constructors in dart:html
7aa3e54acf [vm] Fix computation of hashCode of a closure with null receiver
b93c74092a Make isInterceptedCall a field
c956cc152f Prepare co19 for d8-hostchecked-dart2js-with-cfe.
4c881188b2 Disable the .whereType method until generic methods are turned on.
16e8194147 Prepare additional lib, html, samples statuses: this embeds of d8-hostcheck results
0013f6acf8 Prepare co19 for the FE switch
22ccad1aa6 [vm] Stream writing snapshots as assembly to reduce peak memory usage.
eea08cfabe Add optional 'file' for getElementDeclarations.
b7cb8a1daa Mark 2 more tests as flaky
8240134d66 [infra] Roll boringssl forward. Use clang for arm on Linux.
e775ae9c30 Mark flaky co19 test
3da9c349d4 [vm/simarm] Fix VRECPS/VRSQRTSQS instruction implementation.
d059e97974 Add platform.dill files to the hostchecked try bots.
b3c12d4e3a Dart 2 Libraries Wave 3
021a29d68f Move analyzer-specific status lines into language_2_analyzer.status
b457d71713 Canonicalize representation of a message without location.
383517d292 [VM runtime] Fix type canonicalization (fixes #32425). A reused type argument vector that is longer than necessary needs to be shortened to the correct length upon type canonicalization. The runtime call comparing two instance runtime types also needs to consider reused vectors. Add regression test.
0fdbc331f6 Fix dynamic type dependencies in codegen
ef5909b986 Remove now unused dartk_wrappers
50ba330a04 Fix for suggesting both class and its default constructor.
e3ecc87eb9 [VM / Kernel ] Fixed issue where enum classes were not being marked as such in the VM. Enum class fields are now eagerly initialized.
4c58384b50 Prepare html, isolate, lib, and lib_2 status files to turn on CFE on dart2js by default
24507da9da Fix stack overflow when analyzing type variables in generic methods.
0e30facfc3 Update versions of the following packages to the latest versions - boolean_selector - collection
211bf1ee5f [vm/kernel/aot] Cache specializations of cone types in TFA
1c8841e52a [vm/kernel/aot] Fully support named parameters in type flow analysis
618cd897e6 Gardening: Adjust test status to fix bots again. Didn't fix the right status file last time and I couldn't test this since it's on Windows. :-(
23a7b62c42 Use type of receiver for setter target identification
f5b5ae86b6 Respect comments when inserting imports (issue 32432)
7290c950d0 Change name of 'signature' to ':signature' to not conflict with a DOM member.
7f9d5d318a Gardening: Change test status for standalone_2/namespace_test on Windows. Has been passing for as far back as I can see in the history.
55f7687908 [infra] Enable front end CQ builder
e8018bfdea Mark tests as flaky
9d17f3a92d Tests no longer crash
90c08d5287 Update co19 status for Chrome 65 roll
440b58d644 Start running analyzer tests with --preview-dart-2.
dc0f4c840c Fix status of map_literal1_test on analyzer
aecf5bf56e [VM] Remove locking in code called by signal handler, ensure profiler thread sees valid [Redirection] list
a55cdaee08 A bit of gardening
db08061424 Handle implicit tear-off of .call when an implicit downcast is required
8f4db274f1 Compute which selectors that need type arguments
83c8c21abe Gracefully handle local function modifiers
8831dd1308 Remove failing assertion
a3218d0b72 Roll back change to pkg/dev_compiler/analysis_options.yaml
50a6bb559d Update co19 status on IE11 after co19 update
6b91b4f2d2 Remove RuntimeTypesNeed.classUsesTypeVariableLiteral
f69da8e36b Move tests to /model/
d17db1d5f3 Pass type inference context down to field initializer when type inferred via override
675048d0b6 Add pragma class to dart:core.
94aa20dd07 Update status for $compiler == fasta
615f40bc1d Ensure that `null` is not used as a context in more places.
f3687198b8 Update dart2js_extra: normalize further and update to match runtime==chrome expectations
18aa6b570f Delete recursive import test, improve comment of dummy_compiler_test.
7fe8bdb2ee Refactor tests
932a99a731 Prepare pkg.status to enable dart2js CFE by default
dab7da78cd fix implicit casts in DDC
1b9b3453de fix DDC ES6 module export names, part of #32272
69f8d4ef0d Fix parsing of super expressions (issue 32393)
2ace7c9e9a Update dart2js-minified status for co19 no-such-method test
a1cacec5fc Update status after co19 roll
6b44182344 Only widgets in libraries can be rendered.
8d6b050e28 [VM] Guard against duplicate entries in the static [Redirection::list_]
be87175fee Implement Flutter Outline rendering API.
619434d38d Remember that C() is a compile-time constant expression.
18fe31ab11 Remove useOptimizedMixins from dart2js
9f56e28372 Mixin Applications with a Vengeance
3f71dc5dd2 Add preview_dart_2 to supported set of status file variables
bda78a0f41 Deprecated old upper-case constants.
```

* Update license hash
2018-03-12 09:12:51 -07:00
Alexander Aprelev
1629c12500 Revert "Roll dart to c080951d45e79cd25df98036c4be835b284a269c. (#4767)" (flutter/engine#4768)
This reverts commit 47fc2d03f3 as it causes https://github.com/flutter/flutter/issues/15368.
2018-03-09 18:49:05 -08:00
Alexander Aprelev
47fc2d03f3 Roll dart to c080951d45e79cd25df98036c4be835b284a269c. (flutter/engine#4767)
* Roll dart to c080951d45e79cd25df98036c4be835b284a269c.

Changes since last roll:
```
c080951d45 [build] Declare dependency of the version strings on the current Git commit.
693390a776 Index and search implicit references to optional positional parameters.
80a571d546 Take the --preview-dart-2 defaults from the context and options classes, not the cli tool defaults. Also, allow --no-preview-dart-2 from dartanalyzer.
8d47a6e86f Add a fix for lints that recommend using final (issue 32473)
0b48112d3e Fix nsm forwarding bug
977f4c706f Issue 32397. Fix for top-level inference and implicit creation.
b8093e3323 Generate signature of instantiated generic function from uninstantiated function
528d9d2e1f Do not hint when only a responsive asset exists (issue 32250)
5eb6d980b5 Do not hint when using a deprecated parameter in the defining function (issue 32468)
aff70cafc1 [vm] Fix reading of Object::extractor_parameter_types() from a snapshot
23fccf2e59 [VM] ARM64 unboxed 64 bit fix signed/unsigned const shift
e66733dd60 Simplify test case bug32353_test and decouple it from dart:io
e067f7fdfa The dart-dfe target is no longer being benchmarked.
7ce30c5289 Fix status files after 26e689de05b4
978840a42f [infra] Use a jessie sysroot for sanitizer builds
ad62702e93 Update status
11c77930e0 [infra] Turn on C++14 in the compiler config
30a87ce3fa [VM] ARM64: Add unboxed 64 bit integers
d2b7787186 [infra] Use downloaded sysroots by default
76b8e397ed Revert "Reland "[VM runtime] Switch intrinsics from old to new Bigint implementation.""
26e689de05 More work on signatures
5f51db3efb More status preparations to make the CQ clean
2cb80620bd Revert "[vm/simarm] Fix VRECPS/VRSQRTSQS instruction implementation."
feac6cfc20 Deal with Function type parameter contexts in closure conversion.
76a672e8ea mark lib_2/html/fileapi_entry_test flaky on ddc+mac
97bbe2f20b [vm] Avoid using objects in VM isolate heap for de-duplication
e1909cb52a Update Outline protocol - change offset/length, add codeOffset/codeLength.
602a8c2a7b Clean up usage of deprecated constants
5c94ec7b43 avoid generating unused constructors in dart:html
7aa3e54acf [vm] Fix computation of hashCode of a closure with null receiver
b93c74092a Make isInterceptedCall a field
c956cc152f Prepare co19 for d8-hostchecked-dart2js-with-cfe.
4c881188b2 Disable the .whereType method until generic methods are turned on.
16e8194147 Prepare additional lib, html, samples statuses: this embeds of d8-hostcheck results
0013f6acf8 Prepare co19 for the FE switch
22ccad1aa6 [vm] Stream writing snapshots as assembly to reduce peak memory usage.
eea08cfabe Add optional 'file' for getElementDeclarations.
b7cb8a1daa Mark 2 more tests as flaky
8240134d66 [infra] Roll boringssl forward. Use clang for arm on Linux.
e775ae9c30 Mark flaky co19 test
3da9c349d4 [vm/simarm] Fix VRECPS/VRSQRTSQS instruction implementation.
d059e97974 Add platform.dill files to the hostchecked try bots.
b3c12d4e3a Dart 2 Libraries Wave 3
021a29d68f Move analyzer-specific status lines into language_2_analyzer.status
b457d71713 Canonicalize representation of a message without location.
383517d292 [VM runtime] Fix type canonicalization (fixes #32425). A reused type argument vector that is longer than necessary needs to be shortened to the correct length upon type canonicalization. The runtime call comparing two instance runtime types also needs to consider reused vectors. Add regression test.
0fdbc331f6 Fix dynamic type dependencies in codegen
ef5909b986 Remove now unused dartk_wrappers
50ba330a04 Fix for suggesting both class and its default constructor.
e3ecc87eb9 [VM / Kernel ] Fixed issue where enum classes were not being marked as such in the VM. Enum class fields are now eagerly initialized.
4c58384b50 Prepare html, isolate, lib, and lib_2 status files to turn on CFE on dart2js by default
24507da9da Fix stack overflow when analyzing type variables in generic methods.
0e30facfc3 Update versions of the following packages to the latest versions - boolean_selector - collection
211bf1ee5f [vm/kernel/aot] Cache specializations of cone types in TFA
1c8841e52a [vm/kernel/aot] Fully support named parameters in type flow analysis
618cd897e6 Gardening: Adjust test status to fix bots again. Didn't fix the right status file last time and I couldn't test this since it's on Windows. :-(
23a7b62c42 Use type of receiver for setter target identification
f5b5ae86b6 Respect comments when inserting imports (issue 32432)
7290c950d0 Change name of 'signature' to ':signature' to not conflict with a DOM member.
7f9d5d318a Gardening: Change test status for standalone_2/namespace_test on Windows. Has been passing for as far back as I can see in the history.
55f7687908 [infra] Enable front end CQ builder
e8018bfdea Mark tests as flaky
9d17f3a92d Tests no longer crash
90c08d5287 Update co19 status for Chrome 65 roll
440b58d644 Start running analyzer tests with --preview-dart-2.
dc0f4c840c Fix status of map_literal1_test on analyzer
aecf5bf56e [VM] Remove locking in code called by signal handler, ensure profiler thread sees valid [Redirection] list
a55cdaee08 A bit of gardening
db08061424 Handle implicit tear-off of .call when an implicit downcast is required
8f4db274f1 Compute which selectors that need type arguments
83c8c21abe Gracefully handle local function modifiers
8831dd1308 Remove failing assertion
a3218d0b72 Roll back change to pkg/dev_compiler/analysis_options.yaml
50a6bb559d Update co19 status on IE11 after co19 update
6b91b4f2d2 Remove RuntimeTypesNeed.classUsesTypeVariableLiteral
f69da8e36b Move tests to /model/
d17db1d5f3 Pass type inference context down to field initializer when type inferred via override
675048d0b6 Add pragma class to dart:core.
94aa20dd07 Update status for $compiler == fasta
615f40bc1d Ensure that `null` is not used as a context in more places.
f3687198b8 Update dart2js_extra: normalize further and update to match runtime==chrome expectations
18aa6b570f Delete recursive import test, improve comment of dummy_compiler_test.
7fe8bdb2ee Refactor tests
932a99a731 Prepare pkg.status to enable dart2js CFE by default
dab7da78cd fix implicit casts in DDC
1b9b3453de fix DDC ES6 module export names, part of #32272
69f8d4ef0d Fix parsing of super expressions (issue 32393)
2ace7c9e9a Update dart2js-minified status for co19 no-such-method test
a1cacec5fc Update status after co19 roll
6b44182344 Only widgets in libraries can be rendered.
8d6b050e28 [VM] Guard against duplicate entries in the static [Redirection::list_]
be87175fee Implement Flutter Outline rendering API.
619434d38d Remember that C() is a compile-time constant expression.
18fe31ab11 Remove useOptimizedMixins from dart2js
9f56e28372 Mixin Applications with a Vengeance
3f71dc5dd2 Add preview_dart_2 to supported set of status file variables
bda78a0f41 Deprecated old upper-case constants.
```

* Update licenses
2018-03-09 16:21:10 -08:00
Jason Simmons
11f1e071ed Roll Garnet (flutter/engine#4759) 2018-03-09 09:34:25 -08:00
Alexander Aprelev
5ecac5ba92 Revert "Migrate all uses of gtest to googletest (#4728)" (flutter/engine#4750)
* Merge

* Update license hash
2018-03-06 09:46:24 -08:00
Alexander Aprelev
d86d65360a Dart roll (flutter/engine#4748)
* Dart roll

b5b8080b2c Disable the conflicting generics check when using the old task model.
9986b6de25 Fix bugs in implicit-creation tests. Add one more test.
d22ac9f071 Faster first/last on VM implementation of (Linked)HashSet.
f8f97bf105 *.status files and DEPS updated to include latest fixes for co19 tests
235e62264e [VM] Reland Support some 32bit instructions in 64bit assemblers.
17d5c44d40 [fasta] Invalidate part file when init from dill
d3c3ac48a3 Remove implicit 'implements Function' for strong mode
6baae53a5b Check functionTypeIndex in rti_emission_test
e047586a0e Fix bad merge after 2181119d879da8e0293ddee698dc50e3de631750
2181119d87 Test and fix invalidating file exporting main
080e7e6073 Fix status files: file is excluded and so dartanalyzer errs on test.
c8ee601268 Add feature specification draft for Dart 2.0 subtyping
73944a3a5c Stop running corelib_2 in dart2js legacy
748cfdff7e Refactor to efficiently find analysis roots correctly fix #31343 & #31344.
c2a8632665 Cleanup language_2 .status
6189b9a360 Change Flutter Outline API to provide full instrumented code instead of edits.
2448814e83 Also exclude 'Ok' as a valid status to ignore when checking for runtime errors in Runtime.none
b1778e5c34 Stop running language_2 tests on legacy mode
4066804e5f Remove hint suppression now that MapEntry has landed
f5e4f88c71 Skip assertions in InlineWeeder unless enabled
ce715c3157 [Kernel] Annotate status file with newly filed issues.
a4c69b7729 Pass platform sdk as uri to frontend server.
1d159e7c23 Rename annotation testing methods in Element
4688be6320 Pass sdkRoot as file path to frontend server.
3ac86d759e Revert "[VM] Support some 32bit instructions in 64bit assemblers."
d0eb2d63e8 [infra] Add front-end builder to test matrix
a5f173f165 [VM] Support some 32bit instructions in 64bit assemblers.
d1203a382f [fasta] Use platform as outline in incremental test; assert non-empty mixin bodies
5fd560f96b Add getters to replace ParameterKind
0b332de3a8 Refactor where AST re-writing is happening to not interact poorly with inference (issue 32342)
a528f09443 Update status for dartkp test null_nosuchmethod_test
e59018e714 Revert "Do not return this on RandomAccessFile.close"
14c1834334 [fasta] Add mixin test to incremental compiler test
2993476129 Report an error if a class inconsistently implements a generic interface.
e5295eb6d1 [fasta] Small changes to the incremental compiler
b2fa7c4497 Always create problems to ensure lines are removed from status files
c89055ee32 [VM] Fix type finalization for Kernel function types.
4ff939d3e4 [frontend-server] Keep output kernel file name through reload request.
11cbdbe26e When checking mixin type inference errors, don't skip mixins with explicit type args.
e74e2b3c3e Pass varFinalOrConst in beginVariablesDeclaration event
44aa9a17fd Do not return this on RandomAccessFile.close
9be25848e1 Roll async in DEPS to 2.0.6
8e8287f4e0 Add classes for instantiations
cae6d89429 Prepare language_dart2js.status to enable CFE by default on dart2js
7fd5294bb3 Add rules to build dart2js platform in strong mode
47ba426b62 [vm] Dump stack on SIGILL; print exception codes.
751de54dc0 Remove invalid dart:collection link in doc comments
22f860a229 Update AstBuilder to report illegal assignment
109316c484 Force inlining to match AST version
34f8c356a3 Fix sdk stack trace mapping so tools recognize it
514271e494 Prepare corelib.status for flipping on CFE on dart2js
80e2d30c20 [vm] Fix issue causing recursive_mixin_test to crash
2c956749a5 [VM] Add support to HierarchyInfo to not only create [CidRangeVector]s of subtypes but also subclasses
5d92543f42 [VM] Fix accidental double assignment
80805ff1c1 [VM] Make FlowGraphCompiler::EmitTestAndCallCheckCid static and therefore usable from stubs
9cfd721f78 [VM] Handle kVoidCid/kDynamicCid/kVectorCid the same way
65b2b1a671 [VM] Split handling of Code from non-Code in Thread::{CanLoadFromThread,OffsetFromThread}
2f10ab76f7 Mark incremental_load_from_dill_test slow on Windows
b70d7d55b7 Fix setting of body for procedures patched with redirecting factories
3a769b9dbe Add missing methods to make classes Dart 2 valid.
57a01968ed [fasta] Incremental compilation fallback
7d83584c5b Some kernel status file adjustments
c67cf2090a Make warning more warning-y.
e38e98afbe Update dart2js_native.status: updated to be accurate with our many configurations
1ce131b317 fix section for update_from_log
bde6603d92 Update dart2js_extra.status: now it correctly declares expectations for non-minified, minified, host-checked, checked, and fast-startup
be62fff82f Reland "[VM runtime] Switch intrinsics from old to new Bigint implementation."

* Update license
2018-03-06 08:45:29 -08:00
Petr Hosek
93d28a103c Migrate all uses of gtest to googletest (flutter/engine#4728)
gtest is an old version that predates the googletest and googlemock
merger, all tests should be using the newer googletest that's being
kept in sync with the upstream version.
2018-03-06 01:06:32 -08:00
Alexander Aprelev
a248710df8 Revert "Roll dart to a4c69b772950c65cd73e6a84e550cc9f46083504. (#4744)" (flutter/engine#4745)
This reverts commit 1090357e54 as it
causes dartbug.com/32421.
2018-03-05 14:19:15 -08:00
Alexander Aprelev
1090357e54 Roll dart to a4c69b772950c65cd73e6a84e550cc9f46083504. (flutter/engine#4744)
* Roll dart to 4688be632009ab2eae7f9ae39e929e0fa36ba365.

* Move dart dep up to a4c69b772950c65cd73e6a84e550cc9f46083504
2018-03-05 10:37:41 -08:00
Alexander Aprelev
7a28a77f9e Roll dart to ee15c8eb689791f6777eb3f6b0a1e9c58ff0671b. (flutter/engine#4736)
* Roll dart to ee15c8eb689791f6777eb3f6b0a1e9c58ff0671b.

* Update dart deps

* Skip over .emf-files.

.emf-files are binary media files in Microsoft enhanced mediaformat.

* Update license

* Cleanup license

* Clean up 3rd party licenses
2018-03-01 20:33:46 -08:00
Siva
022a4bb887 Roll dart in engine to version 1aaebedd7045a44ba92bb1bb27c3a8bc25d74856 (flutter/engine#4721) 2018-02-27 20:59:21 -08:00
Jason Simmons
e6ca9221d5 Roll Topaz/Tonic (flutter/engine#4718) 2018-02-27 12:46:02 -08:00
Todd Volkert
84701b5339 Rev Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (flutter/engine#4693) 2018-02-20 13:17:31 -08:00
Zachary Anderson
b2b7309505 Roll Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (flutter/engine#4689) 2018-02-16 14:59:21 -08:00
Siva
0a63f58b0c Fix strong flag setting (flutter/engine#4683)
* Turn on strong mode by default when a platform file is present in the
bundle instead of using a flag passed into the engine which might not be
true when we invoke an installed app.

* - Roll dart to version fe96de2858f078e4ad04f8f30640184bf3d8102d

* Update license file.
2018-02-15 11:02:31 -08:00
Siva
a855502916 Roll Dart to version 0fd6aa87a37023d9691cf50866214c1235dab2d1 (flutter/engine#4682)
* Roll Dart to version 0fd6aa87a37023d9691cf50866214c1235dab2d1

* Update license file.
2018-02-14 18:04:23 -08:00
Chris Bracken
080d8c2f78 Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (#4670) (flutter/engine#4677)
Rolling to tip of tree, but specifically the intent is to pick up
fc4f768e5aaf8efdd112f38295a35de83a0f9a55 in order to pick up a fix for
multitexturing on iOS. Originally disabled in flutter/engine#4364 due to
iOS text rendering issues described in flutter/flutter#12934.

Upstream Skia patch:
https://skia-review.googlesource.com/c/skia/+/99800
2018-02-14 08:41:55 -08:00
Ben Konyi
24cc533afc Dart SDK roll for 2018/02/13 (flutter/engine#4674)
* Dart SDK roll for 2018/02/13
2018-02-13 19:21:13 -08:00
Chris Bracken
7db76a8e25 Revert "Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (#4670)" (flutter/engine#4672)
This didn't break anything that we know of, but the engine is not
currently rollable to the framework due to a Dart bug. I'm reverting
this so we can get a fix landed for the Dart SDK, then roll, then
re-land this, then roll, to allow us to measure the performance impact
of the Dart SDK roll and the Skia roll independently.

This reverts commit 55b5f7dca6.
2018-02-13 16:30:32 -08:00
Chris Bracken
55b5f7dca6 Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (flutter/engine#4670)
Rolling to tip of tree, but specifically the intent is to pick up
fc4f768e5aaf8efdd112f38295a35de83a0f9a55 in order to pick up a fix for
multitexturing on iOS. Originally disabled in flutter/engine#4364 due to
iOS text rendering issues described in flutter/flutter#12934.

Upstream Skia patch:
https://skia-review.googlesource.com/c/skia/+/99800
2018-02-13 16:01:14 -08:00
Jason Simmons
2c2cd2c9a5 Roll Topaz/Tonic and call Dart_NewListOfType for TextBox lists (flutter/engine#4667)
Fixes https://github.com/flutter/flutter/issues/14555
2018-02-13 15:02:57 -08:00
Chris Bracken
ed5dc5d1f4 Roll buildroot to 06e2d5a3e84459931ca9bedd3171c76f9953ebfa (flutter/engine#4668)
Inlcudes:
* Enable -Wunguaraded-availability for iOS builds (flutter/buildroot#126)
* Eliminate is_nacl from build config (flutter/buildroot#127)
2018-02-13 14:44:06 -08:00
Alexander Markov
1aac5e6ed4 Roll Dart to 223eeb2ebe112aaaddca206aab55cd54b4e54391 (flutter/engine#4659)
* Roll Dart to 223eeb2ebe112aaaddca206aab55cd54b4e54391
* Update licenses
* Make analyzer happy, fix test for change in mockito
2018-02-12 14:47:18 -08:00
Chris Bracken
e02ec09002 Roll topaz to 531e2778d86b213bc663ea51bb0e0dde33d8ac8c (flutter/engine#4657)
Includes https://fuchsia-review.googlesource.com/c/topaz/+/121856, which
enables path sanitization for Dart source loaded directly from from
file:// URIs (e.g., main entry points from flutter_tester).
2018-02-09 18:25:55 -08:00
Chris Bracken
91bacdb95a Roll topaz to 046105efd225ed61c94e65dbd4a528256a3a34a9 (flutter/engine#4652)
Lands
https://fuchsia.googlesource.com/topaz/+/046105efd225ed61c94e65dbd4a528256a3a34a9
which adds support for general handling of URI %xx escape sequences.
This enables support for paths including accents, CJK characters, emoji,
etc.
2018-02-08 18:30:21 -08:00
Chris Bracken
0295f160bb Roll topaz to 08a3394395036a2bb9b556f5b0eb8f365d2c0fa5 (flutter/engine#4650)
This picks up fuchsia/topaz@fe3f1503dc,
which ensures paths resolved from package: URIs are properly sanitized for
correct handling of URI-encoded path components.
2018-02-07 18:12:02 -08:00