674fd0e060 Fixes VSCode highlighting of num.dart.
fa90c9abe5 New summaries work snapshot.
ed9e70c771 Add completion support for the ui-as-code features
1335296750 Move SourceLibraryBuilder builder, support for typedef(s), some type parameters.
9ff0a654ca Revert "Reland "[VM runtime] Dual mapping of executable pages.""
9e5cf6b09e Improve set/map/list literal type checking.
affcca729b Fix some tests broken by CL 94993
f6c8468a98 Revert "Eliminate uses of old AST node types from pkg/analyzer/lib/src/summary"
303b8bab3a fix for null_closures
231c5c138e Create codegen work item for all members
0b40a46ab5 Eliminate uses of old AST node types from pkg/analyzer/lib/src/summary
37fa71dc4e Resolve types in scopes, resynthesize some elements.
9f7e11c06b Remove extraneous `3` from method name
d4ccff7b54 Fix _inferSetOrMapLiteralType to handle a context of `?` correctly.
1e1d19bb02 fix for replace_colon_with_equals
04befc2ab3 Improve type inference tests
73be247e12 Eliminate uses of old AST node types from pkg/analyzer/lib/src/generated
068aa0d2e7 Support eagerly initialized static fields.
e6f56a8adf [vm/compiler] first vm implementation of block expression
474e7dc865 update add await fix description
b3b9375ca7 Update comments to refer to the greatest/least closure operation.
6387b1bc73 Clarify ambiguity handling logic in _inferSetOrMapLiteralType
b72ab0790d Add an Iterable type to the nonstandard SDK test.
1ce3e8af71 Reland "[cfe] Handle spread map entries of static type Null"
9f6476392c Reland "[cfe] Compile null-aware spreads in non-const maps"
10b38fd3f9 Reland "[cfe] Handle spread elements of static type Null"
c31be8ab5c Reland "[cfe] Disambiguate between sets and maps with spreads"
8430281a6b Add an implementation of ScopedVisitor.visitForEachPartsWithDeclaration.
6da340bf76 Reland "[VM runtime] Dual mapping of executable pages."
2b501b21aa Revert "[cfe] Disambiguate between sets and maps with spreads"
ff5f5de1be Revert "[cfe] Handle spread elements of static type Null"
b2cb604b9d improve literal list/map/set control flow recovery
d2d098405f [tests] Fix some control flow collections tests
1a2c93ae00 Revert "[cfe] Compile null-aware spreads in non-const maps"
afccd8cbc7 Revert "[cfe] Handle spread map entries of static type Null"
6c8dbd84a0 [infra] Support different local named configurations in tools/test.dart.
166c5e4b38 Use subtype rather than assignability to disambiguate maps/sets.
2e9ff26527 Fix overflow bug in BigInt implementations.
9a7679e9e1 Remove some of the tests of the task framework to reduce references to it
6e359857e4 Move ConstantEvaluationTarget out of the task model
ccd2c85a1a [cfe] Handle spread map entries of static type Null
3160b084d8 [cfe] Compile null-aware spreads in non-const maps
0a13ef7d03 [cfe] Handle spread elements of static type Null
b817b274c2 [cfe] Disambiguate between sets and maps with spreads
0e054b1c6e Some fixes for UI-as-code type inference
8d88316246 fix for unawaited_futures
5eefbd8d14 [vm/ffi] Add a slot for RawPointer::address.
ff55d429f6 [kernel] Collection concatenation nodes.
52ff930338 [cfe] Desugar map spread entries in non-const map literals
76ff150df4 [cfe] Add type inference for spreads in map literals
95b0e57ac5 [gardening] Disable ASAN's coredump suppression via ASAN_OPTIONS.
235e5f3709 Allow component to easily adopt libraries at will
64d8a16563 API changes to incremental compiler to support modular compilation
6231ba0b18 Added appropriate comma within comment.
283cabf1a1 [infra] Reject unexpected extra arguments in approve_results.
299c6457cf [vm/ffi] Fix style guide violation
b8069cbeca Refactor computation of modular data
889d5d9240 Fix type error in node_tracer
2fb6cd9f5f [vm] Fix Service::RequestAssets
585eb7f507 [ VM / Service ] Added `disableBreakpoints` parameter to `evaluate`, `evaluateInFrame` and `invoke` RPCs
9b0ac9ee03 Extract diagnostic tests in preparation for supporting ui-as-code features
93d42679f0 [vm, arm64, fuchsia] Check for stack overflow / interrupts based on DSP instead of CSP.
05be278603 Split MISSING_RETURN tests
1dd4559271 [vm] Add Native->VM transitions when dereferencing API handles.
34953ffd7d Cleanup some NNBD flags
a47ffd2b50 Fix some errors in the control flow collections tests
e1dfad1f2c Attempt 4 at the upload abi dills script
4b609422e9 Make AVAILABLE_SUGGESTION_SETS and related APIs non-experimental.
8332fb0631 [vm] Adds an API call to dump the CPU profile to the timeline
ccf756dae5 Integration testing to ensure server lint name representations are correct.
34e1c93906 add prefer_null_aware_operators error code association
5c7b07f783 [dart/vm] Fix bug in kernel binary flow graph builder
07b2f82203 [fuchsia] Remove unused header
a6a5a2b635 [dart/fuzzer] Added more Dart constructs
48ac0bdd72 Revert "Attempt 3 at the upload abi dill script"
bc02b6ce7d Split DEAD_CODE tests into their own file
6c1a05a388 update non-nullable flag in ErrorVerifier for angular plugin
da831bda20 fix lint name for unnecessary_overrides
f2a8e71ff9 [vm] Decouple flow graph building of implicit closure functions from kernel reading
f44fecbe39 Fix the way type arguments for iterable and map are accessed
94a382bfb8 Attempt 3 at the upload abi dill script
924a934fe1 Shrink the stack headroom if the stack is very small
e5a833b06b Comment out test that unexpectedly passes on Windows.
72548cde13 Revert "[vm, gc] The mutator's TLAB and the interpreter's lookup cache must be visited even if the mutator is unscheduled."
bdb07f4a1f [vm/ffi] Fix garbage collection of ffi.Pointer subtypes.
cab4a7b48d fix lint name for unnecessary_brace_in_string_interps
00aeae4ca8 add fix for no_duplicate_case_values
593405afda add fix for use_rethrow
1551d9c660 Include correct stack during error with Stream.join
309140693c Revise non-nullable flag from AstBuilder to ErrorVerifier
2d3b1055d3 [vm/ffi] remove RuntimeError/Fail expectation from status files
b4e9e46f81 [Gardening] Add tools/diff_results.dart which can query the test results database and report a diff in test results from two commits
f1cc9c7cf1 [cfe] Classes for if, for and for-in elements.
e3f0ca80e5 [cfe] Compile null-aware spreads in non-const lists and sets
e8fa9a019b [ddc] Fix a front end test failure
b71f6afd2c [vm/ffi] enable function stress test on macos
4ec72c1eb1 [VM-Runtime]Fix source report coverage to not include field without function initializer
253499fe68 [vm, gc] The mutator's TLAB and the interpreter's lookup cache must be visited even if the mutator is unscheduled.
980e5c7b57 [vm] Mark VM isolate objects at heap finalization instead of allocation.
e48ad45fbd [vm, interpreter] Enable field guards.
a7d790bbbe Fix cast exception in resolution
2f53b7913c [dartdevc] Including the current library for members from within an InstanceConstant
0124541d5f Deprecate AST data structures that will be obseleted by the "UI as code" feature
1751135fc3 [infra] Increase number of shards on app-* builders
6988347b53 [fuchsia] Migrate to lib/sys/cpp
995b1c9adc FE Server shouldn't try to invalidate other file schemes
975cc65c17 [vm, interpreter] Implement interpreter stubs for IA32.
85dec3423c add fix for unnecessary_new lint
17bf9d13b1 Delay disambiguating maps and sets until we know whether there are any conflicts
079309fcd6 Create curly braces when resynthesizing map and set literals
68c9909ef8 Re-apply workaround for bug fixed by closures containing type promotions in variables with inferred types.
68946df573 [vm] Also print version information in assertion failures, not just faults.
0c231060f4 Revert "Another attempt to fix the upload script."
d1e60e0f3d Remove @failingTest from a test that stopped failing.
825d03c585 [vm] Remove malloc_hooks support for jemalloc
8bb8d11859 Prepare to publish analyzer_plugin version 0.0.1-alpha.7
0e578056e9 Another attempt to fix the upload script.
90b61e2fde Start implementing linker and resynthesizing.
a1226b1490 Write and read almost all nodes.
ba5644b76c Fix handling of closures containing type promotions in variables with inferred types.
7a98559781 [vm/ffi] make Pointer.toString() uniform on all operating systems
12fcb9136c [cfe] Make resolveInputUri available for pkg/vm
5441ff672b add fix for unnecessary_const lints
9645b19060 [infra] Link to the documentation in the new workflow tools.
150c58c13f [infra] Shard app-kernel tests that were causing timeouts
105912339c [cfe] Inherit SpreadElement from Expression, not ExpressionJudgment
a85e481d3d [vm/gardening] Fix status file for entrypoints_verification_test.
fa0d99156f Remove task model initialization
3712235e0e Remove the task graph and the tool that produces it
99d028be77 [infra] Make promote.py work with newer versions of gsutil
9d9f599ca9 [cfe] Compile spread in sets
b5a1f6c36b Reland "[CFE] Move constant evaluation number semantics handling to front end."
ea6e83004b Use @pragma instead of package:meta/dart2js in tests
2448445826 Make IfStatementImpl use IfMixin.
7ba8995917 Download ABI dills during gclient sync
dc1f2bd087 [vm] Avoid assertion for non-finalized type parameter of expression evaluation function
ef969c8c7e Revert "Update the build bot name restriction in upload_abi_dills.sh"
57f16820cd Add tests for "await" inside spread, if, and for.
cbc404b6de [VM] Cleanup status files some more
dc02d859f4 Ensure all SetConstantValues are JavaScriptSetConstants.
f112b672e7 Use ListLiteral.elements2 instead of ListLiteral.elements.
4a7f9d7c11 Remove FindNode.setLiteral method.
2922878ce9 [vm, compiler] Fix GuardFieldTypeInstr to update the original field.
4eedef85a3 Update the build bot name restriction in upload_abi_dills.sh
60de5b4983 [vm] Avoid quadratic growth in (Malloc)TextBuffer and ZoneTextBuffer.
c921716a30 Add upload_abi_dills.sh to dart-sdk-linux in test_matrix.json
47b417c88e Remove FindNode methods related to AST data structures that will be removed.
c793038137 Identify flutter_web in Flutter.
1da7c0d472 [cfe] Fix type checks in spreads within lists and sets
09a1cf67e6 [cfe] Don't replace spreads with invalid expressions after inference
51a334caa7 [vm] Remove kernel reading from BuildArgumentTypeChecks
927e758e96 Stop using package:html in analyzer.
53438199a4 Tweak version numbers in LSP readme
58a0487125 more tests for 34610 and 36009
2071d1284d [vm/ffi] Fix crash on toString for dart:ffi trampoline functions
aacd8c7711 de-dup machine format errors
cc455ecc1d Add use_abi_version flag, and plumb ABI version to version.h
96e982f054 Improve await-outside-async error recovery
e033b676dd fix parser crash in unterminated string literal inside unterminated interpolation
ed8357cf83 Re-land "[vm/ffi] Stress tests for FFI functions.""
6227ab0b97 Replace @ForceInline with @pragma in dart:html
204651f3ab Replace package:expect annotations with @pragma
45e6f83cd6 gitignore visual studio project files
ca24e7aa10 [vm] Allow no main method when doing type flow analysis
c769743f67 [CFE] Transform constants in annotations on all parameters.
718b36ed73 [cfe] Use for-in instead of List.addAll for list spread
99093c0610 [fasta] Required but not inferred constant context.
822ebdd1e0 [fasta] Wrap non-const variable accesses inside const expressions.
013cf68624 Replace js_helper annotations with @pragma
1a88421d39 Allow to change .package uri in incremental compiler
2695cdfbb1 Change incremental compiler to take entry points (plural)
3124125008 Move Flutter utility methods into a class, which can be instantiated either with regular package:flutter, or with package_flutter_web.
5a8bdc7f34 [dartdevc] fix#36052, missing key in map should result in null
643895befc Fix two failing tests on the bots (TBR)
24d28e8f48 Write SetOrMapLiteral instead of MapLiteral or SetLiteral.
c86a9ece5f First cut at upward inference for the ui-as-code features
2329fccdb9 Use visitForStatement2() and read as ForStatement2 and its parts.
a7a4c95df7 Summarize SetOrMapLiteral
1abcbe1318 Eliminate uses of old AST node types from parts of the analyzer
1c27b817fc New protocol to inspect analysis server state at code completion time
Some embedders may have to wait on fences asynchronously before committing
contents. This allows them to post a task onto the engine managed thread used
for rendering.
Some clients (e.g., embedded devices) prefer generating persistent cache files for the specific device beforehand, and ship them as readonly files in OTA packages.
This updates the FlutterSemanticsAction enumerator identifiers for the
'move cursor forward/back one word' actions (added in
flutter/engine#8033) for consistency with the 'move cusor forward/back
on character' identifiers.
ABI compatibility is unaffected, but this with require the following
change in any embedder making use of these fields:
Rename:
kFlutterSemanticsActionMoveCursorForwardByWordIndex
to:
kFlutterSemanticsActionMoveCursorForwardByWord
Rename:
kFlutterSemanticsActionMoveCursorBackwardByWordIndex
to:
kFlutterSemanticsActionMoveCursorBackwardByWord
The current assumption is that the embedder will wait till the vsync event and
then fire the callback. However, some embedders have that information upfront.
Since the time point has already been specified by the embedder, there is no
reason to burden the embedder with having to setup a wait either.
Adds scroll event handling to the macOS shell, sending them using the
new embedding API.
Currently, trackpad scrolling is just handled like scrollwheel
scrolling, since the trackpad-gesture-based scroll handling in Flutter
is still in progress.
Adds code to synthesize Add events if mouse tracking isn't enabled,
so that it doesn't rely on Flutter being lenient about handling events
from pointers that have never been added.