445a23a9bc first cut extension methods test
13ff60ec02 Use Substitution for typeAfterSubstitution with summary2.
dad211bfca Store offset for ConstructorDeclaration.
47ed7f737a Resolve default values in mixin method parameters.
39ec9fc4f3 Revert "[cfe] Build some annotations during outlining"
1df5fb3d57 [cfe] Build some annotations during outlining
0325ba4b4a Update test framework to uniformly use NNBD in type strings
2958e80671 Refactor to conditional and spread elements
5352c67478 Tweaks for 'Import Library' quick fixes to better reflect the expected behavior.
2ef2eb14d5 Fix FixesTest on Windows.
475d68527c Add types on overridden method signatures
0739387b05 [vm] Account for DBC32 when deciding between 32-bit and 64-bit ELF.
436c8d8a79 [gardening] Remove flutter patch as the original cl was indeed identified as a culprit and will be reverted.
c9ace73ffb CHANGELOG entry for covariance in super-interfaces.
d99d83ea09 Add ddc modular test suite and single test
ebe6146781 [gardening] Fix patch name so it matches dart sdk hash.
2268c65cbe First subtyping rules for nullable types
19a8886a8a [gardening] Attempt to troubleshoot failing hhh buildbot.
dd5530a73e [dartdevc] make ImmutableSet private
4c9bf5479f Extract generic runner logic, now dart2js modular test is mostly dart2js specific
2492d40829 [vm/disassembler] Remove redundant assert.
76750c58f2 Issue 35553. Report WRONG_TYPE_PARAMETER_VARIANCE_IN_SUPERINTERFACE.
98a4dba4b3 Update Element.appendTo to more closely match Dart syntax
694699c6e4 [dartdevc] Improve NSM errors when making dynamic calls
a332c414f1 Switch server to using DeclarationsTracker for 'Import Library' quick fixes.
d74d49e748 Convert more diagnostic tests to include location
1b95819e3d [dartdevc] Train ddc on dill file instead of analyzer summary
fca2c82be0 Add support for cancelling requests in LSP server
47e63b0eee [dartdevc] encode part file metadata
d5405d06f4 [cfe] Allow local const variables as annotations.
0d0f01a7b7 Add new AOT build steps to deb package build script.
182d55dfda [dart2js] Add support for BabelJS to test.py
b1d3a212a7 Fill references to dynamic/Naver in LinkedElementFactory.
d9dccc3b0f Pass in no_git_hash option to utils.py when computing version
f9bf379ae1 Move BOOLEAN_CONVERSION_CHECK to separate HInstruction
2e51423c3d Convert the way function types are displayed to better match the syntax of Dart
da3ead02c1 Issue 3446. Recurse into attributes to find children widgets.
9556a95038 Fix string->bytes encoding in overlay_file_system
fc17a90bed assist for sorting child properties last
b0a11c9d25 [vm] Fix kernel list loader so that files are relative to the list.
96c2d3c303 [dartdevc] enable testing of ddc internals
554f9db768 [ VM / Service ] Made Logging event and LogRecord public
46ae4c5f0a [ VM ] Removed tests that are no longer valid as of Dart 2.0.
c35f53fab0 [dart:io,fuchsia] Change namespace setup failure from ASSERTs to FATALs
af93ebcf4c [vm] Direct generation of ELF shared libraries.
834587a78c [dartdevc] fix import/export declarations for es6 to add extension
d06592b532 [dartdevc] Add details to failed assertion messages
cca2bb317e [ dart:developer ] Exposed `reason`, `errorCode`, and `errorDetail` getters in `ServiceExtensionResult`.
03781b9402 Build also summary2 in build mode.
4c32cddef8 [vm/ffi] Fix ffi trampoline class finalization - fix test on android
This reverts commit 03d5bb8f53de789c0d821e2733ef179875629a10.
With this change applied, test/widgets/widget_inspector_test.dart is failing
when run by the dev/bots/test.dart script in the framework tree.
d5405d06f4 [cfe] Allow local const variables as annotations.
0d0f01a7b7 Add new AOT build steps to deb package build script.
182d55dfda [dart2js] Add support for BabelJS to test.py
b1d3a212a7 Fill references to dynamic/Naver in LinkedElementFactory.
d9dccc3b0f Pass in no_git_hash option to utils.py when computing version
f9bf379ae1 Move BOOLEAN_CONVERSION_CHECK to separate HInstruction
2e51423c3d Convert the way function types are displayed to better match the syntax of Dart
da3ead02c1 Issue 3446. Recurse into attributes to find children widgets.
9556a95038 Fix string->bytes encoding in overlay_file_system
fc17a90bed assist for sorting child properties last
b0a11c9d25 [vm] Fix kernel list loader so that files are relative to the list.
96c2d3c303 [dartdevc] enable testing of ddc internals
554f9db768 [ VM / Service ] Made Logging event and LogRecord public
46ae4c5f0a [ VM ] Removed tests that are no longer valid as of Dart 2.0.
c35f53fab0 [dart:io,fuchsia] Change namespace setup failure from ASSERTs to FATALs
af93ebcf4c [vm] Direct generation of ELF shared libraries.
834587a78c [dartdevc] fix import/export declarations for es6 to add extension
d06592b532 [dartdevc] Add details to failed assertion messages
cca2bb317e [ dart:developer ] Exposed `reason`, `errorCode`, and `errorDetail` getters in `ServiceExtensionResult`.
03781b9402 Build also summary2 in build mode.
4c32cddef8 [vm/ffi] Fix ffi trampoline class finalization - fix test on android
* Allow specifying both Dart and non-Dart fixtures in engine unittests.
This fixes numerous issues in the way in which fixtures were managed
in the engine unit-tests.
* Instead of only being able to specify Dart fixtures, unit-tests may specify
non-Dart fixtures as well. These are simply copied over to the fixtures
directory known to the unit-test at runtime.
* An issue where numerous Dart files could be given to the kernel snapshotter
has been addressed. It was anticipated that such a (legal) invocation to the
kernel snapshotter would produce a snapshot with the contents of all the Dart
files added to the root library. This is incorrect and the behavior in this
case is undefined.
* Dart files referenced by the main Dart file are correctly tracked via a
depfile.
* The snapshotter arguments have been cleaned up to get rid of unused
arguments (`—strong`) and the use of the VM product mode argument has been
corrected to no longer depend on the Flutter product mode.
fee615c5a5 consolidate multiple modifier error codes
6aee4f390b Make analyzer's File.readAsBytesSync() impls return Uint8List
2878bfde6c [vm/ffi] Fix ffi trampoline class finalization
85c28b804d Check LSP support for workspace/applyEdit before giving CodeActions that require it
50b0d85804 [vm/ffi] Observatory support for FFI
db599d4005 [vm/ffi] Fix GC crash in SimDBC
39dbaecfc1 Remove tests relying on contravariant uses of varaibles in supertypes
e6e2020fb2 [fasta] Allow only covariant uses of type parameters in supertypes
527c165426 Deprecate 'abstract' setter in elements, replace with 'isAbstract'.
d368bb8ecd Make some fields in LinkedNode informative.
e4362612b0 Add support for dynamic registration for LSP
969038934a [compiler] Fix EmitTestAndCall for a complete call of a Smi method.
3a2bc9b8e7 Updated pub client
c67b9f2331 [compiler] Fix EmitTestAndCall for a complete call of a Smi method.
b3a06c1933 [dart:_http] Fix http_cookie_date_test.dart compile errors.
1025c5bebb [DDC] Only inline textually small constants.
25033cee32 [CFE] Control inlining of const variables from backend.
afc54e23e3 [vm/ffi] FFI callbacks on ARM64.
0a5e5995e8 [vm/ffi] FFI callbacks on IA32.
ae944a68ed [Incremental compiler] Only re-check package-uris if base-uri changed
d911d9b5ff Cleanup "libraries" field in DillTarget when their invalidated
eb131c3d68 [kernel worker] Don't do unnecessary computeCanonicalNames
ec3cd7ffe0 Workaround for dartbug.com/36983 also when not in incremental compiler
e19bcb9411 [vm/ffi] Fix Google3 build
bd39cca700 [compiler] Mark each variable stored on entry to catch block.
0e5ebcaa96 Add InlineData and InlineDataCache
508a9fa6b0 Work-around called-once imprecision
bd078896f8 [vm/ffi] Remove use of private symbols from ffi_test_functions.cc
21b74fdf79 [dart2js] Update expectation file after BigInt fix in core lib.
735669190e [corelib BigInt] Fix implementation of BigInt.modInverse (fixes issue #37008).
5b200ea3dc remove unused import
70bd05e662 Stop ignoring runtime cast failures on function types.
eff6e95385 Improve code generation for variant classes.
03e415a4e8 Update the hover 'containingLibraryName' to not include the 'file:///' prefix.
4979a51a9c Add information about existing imports to completion response.
e43d81af5f Folders containing overlayed files should exist even if they do not exist on disk
e42d4a1d89 fix missing returns in lambdas
baa721ba23 Add an sdk module to the modular_test pipeline
64ed4bf664 Changes to bazel worker to support modular testing.
fc6954f084 [dartdevc] self hosting tests
f4f2c77d4a improve missing body error messages
ec1ddcdb83 improve extension message missing body error message
9081f28fbb [analyzer] fix a copy paste doc issue and 2 unused imports
3c34c8fa2f Fix type substitution of "star" types.
77f2603052 [dartdevc] preliminary nnbd support
0e5d18f281 Ensure that nullability promotion of the `Null` type yields `Never`.
5278d4059a Sort non_nullable_test.dart
0fb0185df0 [cfe] Extract field initializer tokens from the token stream
b53162d82b [build] Link with dl library on linux by default.
10692669e3 [cfe] Add flags for new experimental features
052272d998 Avoid dependency on file system order in modular_test/loader_test
d7054690ab [vm/compiler] Partially revert "Replace LoadClassId for known cids."
c20802ce16 [cfe] Introduce a Kernel annotation builder
eca6c8953f Allow `async` as an identifier everywhere.
dbd70dd214 [cfe] Simplify metadata builders
9f9f10ad97 Use cached serialization of source-information
4ff89f880d Move registrations on OutputUnitData to the impact transformer
7580e77ef2 Support modular code generation
225a301637 [vm/ffi] Re-land "[vm/ffi] FFI callbacks on X64."
edadc9c881 Add support for caching results of shared modules.
8208e872f8 Refactor summary IDL generator.
22c086fbe5 Remove unsafe uses of TypeImpl.withNullability (use TypeSystem instead).
aa785d938b [dart/vm] Fix erroneous claim on "temp" Q7
704446d159 Disable implicit casts but keep dynamic casts when NNBD enabled
49262365dc [vm] Do expensive kernel metadata verification only once per kernel
cc2fac57f3 Remove HBoolify
dfbc3923e4 add default CompilerContext in analysis server
1ffcccd9cc add extension method header parser recovery
db367542b3 [vm/kernel] Fix uninitialized variables in kernel_translation_helper.h
c4d691064a Remove unused methods from LinkedUnitContext.
5822645e66 Support for 'Wrap with Xyz' for expressions in ExpressionFunctionBody.
4b7c05f2ce Remove LinkedNodeVariablesDeclaration.
6e1f628f19 Outline the StackZone's Zone
cd2188f2f5 DAS change in hover behavior- the containingLibraryName now returns the URI of the containing library instead of the (possibly non-existent) library name
4fc86d726f Fix some lints in LSP tests
d4e2d78a94 [vm] Partially disable 5393ce7d35729e6a6b89e6e9316e99c15a8e3639.
338b74a52c [vm/ffi] Align stack frame when entering and exiting safe point
7bbd8ea29d Introduce a representation of the type `Never?`.
28f701982b Add diagnostic location info to more tests
70a0c86a4a Update pub client reference
cbd4391747 [vm/compiler] Forward the ByteData constructor length argument.
1993669102 Clean up examples in analyzer docs that were using deprecated APIs and add a test to catch future breakages
14b1d2feb8 [infra] Make deflaking optional in test.dart
181aeb30e7 Don't use OneShotInterceptorData during codegen and remove SuperMemberData
d92341be08 first cut parse extension methods
df95340f0c [dart:_http] Fix parsing of empty cookies and double quotes.
b316210d94 [vm/compiler] Speed up the compiler part which deals with kernel reading up in DEBUG mode
0c891451a8 cleanup parser forwarding and test listeners
6edefda065 cleanup token rewriter and clients
4ccf7b865e Don't set type for StringLiteral(s) in directives.
caac50d7ff [dartdevc] Fix metalet regression
As another step toward aligning the macOS plugin API with the iOS plugin
API, and with its final form, rename the plugin-related classes from
FLEPlugin* to FlutterPlugin*. This makes the names of the clasess the
same between iOS and macOS. Eventually they should actually merge, with
annotations/ifdefs for platform differences, but for now since the macOS
version uses the same method names and is simply a subset of the iOS
APIs (with one to-be-stabilized method that is macOS-specific) doing the
merge later won't be a breaking change.
Doing this now allows for building out plugin tooling and plugin
implementations on macOS without creating a growing body of code that
will experience a breaking change later.
See:
https://github.com/flutter/flutter/issues/31735https://github.com/flutter/flutter/issues/32718
In breaking change flutter/engine#4487, a typo was fixed in our Android
APIs correcting RequestPermissionResult to RequestPermissionsResult
(note the 's' on Permissions) for consistency with the Android SDK.
Various tombstone comments were left to help guide developers in the
right direction. These comments were slated for removal in March of
2018; at over a year later, we can probably safely remove them.
Corects a bnuch of typeos throughout teh engien codebsae. Also makes
a couple minor Commonwealth -> US spelling adjustments for consistency
with the rest of Flutter's codebase.
Made use of `misspell` tool:
https://github.com/client9/misspell
This improves performance as the version in the SDK is able to work more
incrementally and avoids creating an expensive ClassHierarchy.
There is now no measureable performance difference with the option so the
kernel transformer can be enabled by default.