14 Commits

Author SHA1 Message Date
Greg Spencer
5a4558f9bf Synchronizes analysis_options.yaml files, and turns on Function typedef lint. (flutter/engine#5419)
Addresses flutter/flutter#18028 for the engine repo, and synchronizes the analysis_options.yaml files between the engine and the flutter/flutter repo.
2018-05-30 16:06:05 -07:00
Vyacheslav Egorov
89cc735f59 Generate .packages for both flutter_kernel_transformers and frontend_server in the same way (flutter/engine#5362)
* Generate .packages for both flutter_kernel_transformers and frontend_server in the same way

* Generate more precise .packages
2018-05-24 14:58:58 -07:00
Siva
f1cf718e49 Roll Dart to version 97b6c2e09d6532eeb622d85f23109f3f3b6d2b61 (flutter/engine#5317)
* Roll Dart to version 97b6c2e09d6532eeb622d85f23109f3f3b6d2b61

This dart roll includes the following changes:

97b6c2e09d Don't give Source and ResourceProvider to CompletionRequestImpl.
04816270fa Add Forest support for creating parenthesized conditions
7a90ed9b88 Tests for completion with nested blocks, functions, and methods.
353ddbaea1 Add Forest support for while statements
8d0bda43f3 Fix codesize regression from Cleanup after removing MirrorsData
802c25aff9 Add tests to test InstanceCreationExpressionImpl.canBeConst
def6f6c86c Don't create linked groups when nothing was written.
0c2b349827 Blocks and variable declarations in Forest
5ecf69d90a [fasta] Use Object as defaultType if Object is the explicit bound
4bac17655d [kernel/vm] VM support for instantiate-to-bounds.
a4494a7fb2 Make `mixin` and `interface` built-in identifiers.
dc76aa34c7 Stop using a port to keep the isolate alive in async_helper.
a16563931c [VM] Mark 3 more tests as pass, crash
a5d4195b0b CHANGELOG entry for noSuchMethod change
d49af06ce0 Fix for searching references to named parameters in hierarchy.
c26435f18f [dart:io] Add length check assert to x509 code
6fee620564 Convert more IdentiferContext consts
a6ad152315 Fix constant-related deprecation warnings in analyzer packages
3e8ca8e0a6 Improve class declaration header recovery
ffd5a1914d Update top level function name identifier context
24f5ca0187 [fuchsia] Use Fuchsia prebuilts
1a2f317735 Update parse mixin to use computeType and add recovery tests
1d6619eba6 [infra] Upgrade checked in SDKs to 2.0.0-dev.55.0
76a30dd594 Initial implementation of 'execution.getSuggestions'.
510669a0b4 [VM] Address uncovered issues, mark test as passing
abb1ee98f7 Move library related operations to DartFileEditBuilderImpl. Initialize enclosing elements into fields lazily.
7d5ebb937b A few more Analyzer/CFE type argument tests
11006c3bac Reland "[VM] Use IR for code in [CatchEntryInstr]s to populate captured exception/stacktrace variables"
e7495e427c [dart:io] Adds X509Certificate.der and X509Certificate.pem
62ffedefdd Rewrite writing types to using existing writeXYZ() methods.
e6fc78c87b Revert "Reland "[VM] Use IR for code in [CatchEntryInstr]s to populate captured exception/stacktrace variables""
d59745029a [fasta] Update expectation files after CL 50945
6fc4854e98 [fasta] Run instantiate-to-bound on functions
23b4a505ec Reland "[VM] Use IR for code in [CatchEntryInstr]s to populate captured exception/stacktrace variables"
23c8c4d101 [vm/kernel] Pass type variables through ActivationFrame for expression compilation.
b827b70e89 Extract IdentifierContext.typeVariableContext into new subclass
b7659e6d03 Improve typedef declaration recovery
7c1ae73a21 Fix a Dart 2 runtime bug in BodyBuilder
38cb4cbc0a [VM] Update status file to make hot-reload builders green
1be81b4a96 [VM] Skip vm/dart/appjit_test on opt-counter builder
4d22c0de58 [infra] Improve cycle time of dart2js builders
812189d3e7 Convert LargeIntAccessor to LargeIntAccessGenerator
5e98c49606 Convert ReadOnlyAccessor to ReadOnlyAccessGenerator
17e284fbc2 Convert DeferredAccessor to DeferredAccessGenerator
d5719cae62 Small cleanup in compiler.dart
54173bf293 Move TypeMask cache to CommonMasks
78f348b3d5 Don't export types/masks.dart from types/types.dart
d2d763411d Use AbstractValue in inference results.
1c0b52ccc0 Reapply "Cleanup after removing MirrorsData" with fix
e491bc5d86 Allow to specify what dill file to initialize from
8101ee0479 [kernel] Remove unused GlobalIndexer from ast_to_binary.dart
dc8e621451 [js_runtime] Avoid more casts
0ad2b1243d Use carbon copy buffer field instead of passing it around.
6d55ba3037 [dart2js] Remove checks from inlined static call sites
6363cf6d3d Add new handleParenthesizedCondition event
393a47441f fix #33138, local class name should not conflict with inline-JS in SDK
6c3a861f8f [dart2js] Check arguments declared with generic method type parameter
499c25d886 [fuchsia] Update FIDL include paths.
d91af4625c Fix fix import URIs from file:// URIs on Windows.
53a51d17db Support for optional ImportPrefixGenerator to generate prefixes for new imports.
338a423416 Add Forest support for creating try statements
757ef3979c Revert "Revert "Revert "Don't do implicit new/const code generation with --preview-dart-2 enabled."""

* Update license.

* barback has been removed.

* Update license file.

* Update license file.
2018-05-21 10:15:57 -07:00
Siva
80a6a46fb4 Roll Dart to version fe606f890b0a311da802c78b0af414a3c2087a79 (flutter/engine#5033)
fe606f890b Revert [vm/compiler] Canonicalize more intermediate constants in IL.
54531ad4e7 Bring in the latest pub_semver
61b15fede8 [build] Remove unnecessary inputs from uses of application_snapshot.
9968728df1 Remove package:cli_util deps from package:analyzer.
0ca8b6e5be Improve recovery when "assert" is used in an expression
6de5da1f58 fix #32649, add an option to disable asserts in DDC/K
afbaf0c4a6 Add 'Extract Widget' to getAvailableRefactorings().
d4a1896cfb Demote IMPORT_DUPLICATED_LIBRARY_NAMED to a warning
f85480b4dd Add tests for CFE implementation of expression compilation.
a865531f57 Remove two unused classes from the public API
3b7199fe63 [standalone] Only allow one outstanding load when running with --deterministic.
35fecb4a10 Issue 32896. Add isXYZ accessors to ParameterElementForLink_VariableSetter.
8df94f34fd Improve fasta parser await-for statement recovery
dd897d35a2 Move the task API out of the public API
c32e0e4bf3 [vm] Clear trailing bytes of objects that end up in snapshot images.
3a5fcf5a87 Upgrade the dep on package:isolate.
973a1a0219 Remove uses of upper-case constants in remaining SDK code.
b3595d59b3 [VM] Revert small change in FlowGraphCompiler::EmitTestAndCallCheckCid
0cbd4b520a Address review comments from change 51120
5dd283e783 fix #32270, DDC tests can now work with preview-dart-2
ce2b0db370 Improve fasta parser "assert" recovery
f8f5365a94 [vm/compiler] Fix sorting of instructions stats.
30655dcea0 [vm/aot] Treat Endian.host as a compile time constant.
eeaea82b75 Update status on test that often times out
805c08d8bf Fix a run-time type issue when running in Dart 2 mode
b1bc4ed2b5 Handle as in nested const constructors
823dfda5a5 Delete serialization, except for equivalence and helpers used in other tests.
7383cd46e0 Fix for issue 32872
86ba29265a Clean up the use of deprecated API in the analyzer_plugin package
fbb60b786f Add generic bounds test to function_type_variable_test
fd5f998796 [vm] Delta-encode offsets into ROData.
6fe7a86e7f Replace SourceFactory.resolveUri() with resolveRelativeUri() in resynthesizer.
2fb94418cd Mark mirrors test crashing.
c2b338f1b7 Remove fuzzy arrow support from analyzer
9976cddcd7 Shared cache of FileState contents.
b52931ff30 Revert "[vm/kernel] Fix non-canoncialized type arguments in partial instantiation."
c214c43758 Make LineInfo a public class
bd12c869ae [vm/kernel] Fix non-canoncialized type arguments in partial instantiation.
51a2f96a71 Always call writeAnnotationList to write annotations.
974a8ee21d Fix crash in named function expression
988de9c925 Thread forest object through calls
51f9d243e7 [VM] Mark type as finalized before calling the Canonicalize() method
a8578eaf69 Clean up some imports in Fasta type inference
e9616da13e Cleanup TypeInfo
3b414a277c Reland "[VM] Introduction of type testing stubs - Part 1-4"
c5f69dff2d Include `call` on Closure in inference
826928e2ab Use _trust to test inference of --omit-implicit-checks
6802746ad7 Fixed a couple of typos in subtyping.md
782cfe04d1 fix #32756, DDC dynamic calls to generics will work with emit-metadata
8613938e33 fix DDK to track mock setters correctly.
92f1d0fab4 [gn] Allow single or double quotes in .config
e2ee654cd1 Make a method in MempryResourceProvider private
b0fafbd1f4 Clean up js_runtime parse/tryParse methods
5e1cb4d41b Make SourceRange part of analyzers public API
1ab4cee181 Add a benchmark for running flutter analyze --flutter-repo against flutter head.
ff24a5ee6b fasta: make strong-mode inference aware of the type of LoadLibrary and CheckLibraryIsLoaded
6d7df88fa3 Delay computing file name sets until they are requested.
b7cc1e7ce7 Fix stack overflow in RTI computation
6db4ea4ca5 [vm] Use unsigned varints when possible in the clustered snapshot.
2018-04-18 11:07:56 +02:00
Todd Volkert
dd9b7675de Revert "Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79" (flutter/engine#5023)
This reverts commit 2983a1b6130a10aadb0f64a6ff411890a794c92f.
2018-04-16 21:50:11 -07:00
Régis Crelier
2983a1b613 Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79 (flutter/engine#5020) 2018-04-16 17:25:39 -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 8790a33a0ddfa70635e5dd87d795bb9051e17d3d.
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 e121d45124ba9cf6270427ff46017ea26fc2c8fa.
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
Alexander Aprelev
8dc44e0d70 Leave only widget creation tracker kernel pass in flutter frontend server. (flutter/engine#4727)
* Leave only widget creation tracker kernel pass in flutter frontend server.

This is follow-up to https://dart-review.googlesource.com/c/sdk/+/43888.

* Adapt to updated interface

* Tyop

* Fix imports. Compiler interface extension

* Add trivial test back. Rename library to flutter_frontend_server.
2018-03-02 07:52:19 -08:00
Jacob Richman
4f5fd6d2ba Stop using ClassHierarchy.deprecated_incremental. (flutter/engine#4678)
* Stop using ClassHierarchy.deprecated_incremental.
2018-02-14 10:56:21 -08:00
Jacob Richman
a98c9a16a6 Track widget creation locations. (flutter/engine#4529)
* Track widget creation locations.
2018-02-13 12:33:23 -08:00