1f1592edce Add manifest checks for touchscreen feature
630058286f [build] Fix deps for dart_io.
5ee20c99ac [vm/aot/tfa] Workaround for crash in getStaticType
2c304d997f [dartdevc] fix#36372, make JS Array constructor property usable from JS
ef9c25c08b Support codeOffset/Length for CompilationUnit and other nodes.
80bed430c8 Extract AnalysisDriver tests that work with summary1 into a separate test class.
39662f8108 Set ElementAnnotation for directives.
c7279d347b Always lazy create TypeParameterTypeImpl.
27b64953d5 Fixes for applying resolution for fields metadata.
385406ac92 Give LinkedElementFactory its AnalysisSession, fixes for nameOffset.
8b6d04b2ee sort tests
c89e71cd40 The default return type for []= is void.
971f4845d7 [build] Remove last platform -> vm and bin -> vm dependencies. Fix some ODR violations.
3aef424c9c Always add imported / exported files, even if they are parts.
e7a54a9759 Support for TokenType.GT_GT_GT
ec79fc2ff4 update AstBuilder to process "late" modifier
390ba6925d Allow nnbd to be enabled in tests
d1b675055c Read all GenericFunctionType(s) and TypeParameter(s) is lazy AST before reading eager AST.
17db9f986a Simplify type tests in nullable_type_ambiguous_test.dart
dfa56c7031 [vm, interpreter] Invoke field as a bytecode.
2d6313c9e4 Prepare to publish analyzer version 0.36.1
4a33d33297 Store FeatureSet in CompilationUnit.
08832508ec Forward "late" modifier to parser listeners
449cdecda2 [vm/interpreter] Fix bytecode instruction formats in interpreter
6d9d95d938 Add GenericFunctionTypeImpl.declaredElement
fd48001ace Put NNBD modifiers behind a flag
a9b1d9e33b Splice resolved API nodes and unresolved function bodies.
38eed58f61 Fix hints in nullability migration code
d50232a3f5 Plumb new FeatureSet class into AstBuilder.
780f1b6c3e Remove unused imports
c3f822eae6 Attempt to fix failures on the windows bot
47a8ff60e1 Convert more analyzer unit tests
76f177a492 Use a non-null index for all features, even expired ones.
f5224b53e4 [dart_internal] Bump SDK constraint upper-bound to <2.4.0
3d1ca4ae39 Revert "[vm, interpreter] Invoke field as a bytecode."
c85631330d [vm, interpreter] Invoke field as a bytecode.
680744d169 Fix version number strings to always include a patch number.
cb4db33010 [vm/debugger] fix order of type arguments in debugger
1ecedb2341 Fix JsLinkedHashMap memory leak
af0fa108da Add support for required named parameters
a2e06eafff allow built-in keywords as identifier in for-in loop
63658b113c Proposed new API for tracking feature opt in/out
8924c18003 [vm/tests] Revert changes in pkg/vm unit tests after constant-update-2018 was disabled
aaa829695f Fix typo in CHANGELOG.md
78340fdf82 [vm] Support ListInterfaces for android
9e87c16677 Record TopLevelInferenceErrorKind.dependencyCycle in summary2.
3ae2ef7763 parse "late" modifier
b352b5ffb7 [vm, jit] The hottest Smi ops are + < == not + - ==.
3f477a6218 Consolidated CHANGELOG entry for 2.3.0.
* Revert "fix toString (#8688)"
This reverts commit 9fa7336784b56ef70fd3580ac54d2939d1faa5a0.
* Revert "Make Rect and RRect use 64 bit doubles, and make them const-able (#8565)"
This reverts commit c12315273f6344175dae748ec1f23e15b4e7d59e.
With this, no Skia or Dart roll (or any other engine commit) would accidentally break the framework.
For commits that require manual engine-to-framework rolls, the `build_and_test_host` test would fail. In such cases, the author should explicitly mention **"merge on red as the failure is expected; the engine will be manually rolled into the framework"**.
If the mapping callback is not set or it the callback returns invalid data, ICU initialization will be embedder responsibility.
This affects all embedders and the following have been audited:
* Android: Via a symbol mapping.
* iOS: Via a file mapping.
* Embedder: Via a file mapping.
* Fuchsia: Via a VMO mapping
* Test shells and Flutter tester: Via file mapping with ICU data needing to be next to the executable.
The GetMapping calls removed in this patch had the same code and had to be repeated across different test harnesses as well as in dart_snapshot.cc. Just make this a factory method so the code is less verbose.
As long as the Mac SDK is i386 ready, engine developers should be able to use the latest version of Xcode to build all artifacts. This issue goes away when gen_snapshot migrates to x64.
This reverts commit 0fcfa0df2aa19947ad73882ab4fb24fc9124e47b.
Windows depends on referencing the snapshot symbols directly instead of
via dlsym. Something in the way these symbolsa are generated in
bin_to_assembly.py is causing them to be inaccessible at runtime.
cf4444b803 Revert "[ VM / Service ] Temporarily disable VM service auth codes by default"
f8491950fe Create List<TypeParameterElement>, not Impl.
fa7485f28e Build types for not simply bounded elements using dynamic type arguments.
9d376de55a [vm] Remove code collection.
0c0e49cd11 update keyword list to include "late" modifier
3cf3e4edde [dart/vm] Reduce trip count of osr test
503e20946c [vm] Start logging if shutdown takes too long.
2b9f968d2f Convert engine.dart to triple-slash comment style
73b917c014 [vm/compiler] Do not generate unnecessary field length guards
20fde9a6a8 Don't overwrite inherited types of fields with types of initializers.
e6e2a196a3 Issue 36667. Check for unresolved URI in getLibraryByUri().
6ac38a926c The synthetic default constructor should have reference.
92729e0cd3 Remove UndefinedTypeImpl.
cf77b82f52 [analyzer] handle youtube and animation dartdoc directives
6384f629c0 new conflicting-modifiers error code
f3703c1bce change "late" from built-in to keyword
af9c01432c Remove unused import
7b6b8f8c43 Restore 'parameters' and 'typeParameters' for ParameterElementImpl.
bc58bf598e Add summary serialization support for nullability suffixes.
8093f73424 [vm/dbc] Add UNREACHABLE() stubs to simulator_dbc.cc in 32-bit mode to make 32-build work
336fc9001c Fix for getting type of a DefaultFormalParameter during building types.
e93c6b7ce1 Add AST representation of the late keyword
43eebea5a3 [kernel_worker] retry on failure
284a299543 Fix mustCallSuper for mixins; fixes#36492
5a824581b7 Read directive annotations before returning offset.
703ccc974b Support for TypeParameter metadata.
242ed77040 Fix for FormalParameter without name.
92dd37081d Write / read Annotation element.
d8a0d68bd6 Rename devcompiler to ddc
6d91643073 [vm, interpreter] Handle closure case of invoke-field-dispatchers as bytecode.
b8a9711489 Update AstBuilder to handle "required" modifier
ca28e2c8ce forward "required" modifier to parser listeners
250d931ecc When URI cannot be resolved, the library is null.
2491767a33 Use correct CompilationUnitElement for annotations.
4ef18fdb96 Fix nameOffset for Export/ImportElement.
7873dbdc1d Fix for duplicate declarations.
38049f3cb6 [vm, interpreter] Handle implicit static getters as bytecode.
714a082a5d Minimal integration of summary2 into AnalysisDriver.
dd3530450d make "late" and "required" builtin keywords
836efd6520 Add a language_2 test for having an invalid type in an on clause
81e554ea43 parse "required" modifier for NNBD
1eab04ed3f Reland "[VM-debugger] resolve column breakpoint tokenposition into a single value"
ec27b09e68 [vm, service] Fix deferral of service extension invocation to not be mislead by other OOB messages.
1e30bb90dc [vm/dbc] Support unboxed Int64 on DBC
The raw pointer isn't a reliable id as the allocator can reuse an
address that's just been released for another layer.
This will fix Fuchsia bug FL-216.
This problem was not affecting non-Fuchsia Flutter probably because
non-Fuchsia Flutter purges the raster cache key much more frequently so
we won't see a key collision. In Fuchsia, as the key has to wait for the
Vulkan surface to render asynchronously, this suddenly becomes an issue.
`//flutter/runtime: runtime_lifecycle_unittests` was added because the these assumed that there was no VM already running in the process. Running other tests in the base target would mess up that assumption. Now that all test targets have been updated to make sure the VM instance does not leak, the tests in this target can be merged.
LUCI bots don’t need to be patched as these tests were only ever run on the trybots.
Reland "Add a unit test for PhysicalShapeLayer (#8616)"
This reverts commit 91b71070f55ffc38c432babc7d9bb68ac2720d8d.
The only change is the namespace.
currentLineWidth is the width passed into Paragraph layout, which comes
from the maxIntrinsicWidth returned by a previous call to Paragraph layout.
That width is calculated by Layout::measureText.
postBreak is calculated from the character widths in the LineBreaker.
A slight mismatch between these two widths may unnecessarily cause the
insertion of desperate breaks in addWordBreak. Adding some slack to
currentLineWidth works around this.
Fixes https://github.com/flutter/flutter/issues/30347