Reuses the implementation that was previously done for Scene.toImage
(see e52ba8b257)
This introduces a breaking API change:
Picture.toImage is now asynchronous and returns a Future<Image>
Fixes https://github.com/flutter/flutter/issues/23621
b0855ffd35 [infra] Fix testing on Android
8d9247b9fc dartfix README
7b5f24db6f Change wiki link to follow contents moved.
6f4e85d11f [dart2js js_runtime] Run dartfmt --fix-doc-comments
f0c7d971c4 [dart2js] Run dartfmt --fix-doc-comments
a9ce969e53 [vm] Decouple growable_array.h and zone.h from thread.h
d821a2ec96 [vm/aot/tfa] Correctly tree shake initializers of write-only fields
602aa203b2 [vm/compiler] AOT bounds check elimination
3c5501a090 Add the experiment flags for the control flow and spread collection features
71e62a6016 [gardening] mark standalone_2/io/stdout_stderr_non_blocking_test as flaky
e636e1fa6f Accept experimental flags in dart2js and enable set-literal tests, now supported once we accept the flag.
7cea3cba29 Several dump-info fixes.
bbc6e2dd6f [VM/Compiler] Add some missing results for inlines.
e329a830da [VM/AOT] Fix shared spilling stubs on arm/arm64 and enable it
5a1e01b7c9 [gardening] mark lib_2/isolate/unresolved_ports_test as flaky
3ef595bb56 [VM/Compiler] Separate out inlined code from replacement result.
68ad94cebe Extract more hint tests into separate files
47e988b781 Clean up the remaining copyright notices in analysis_server
ea9303566b [vm] Allow choosing architecture for runtime sources in generate_idefiles.py.
1842020a69 Fix empty set/map literal disambiguation rule.
6a756ac040 Add front-end test for set/map literal disambiguation.
76be911f22 Enable set literals by default in the front-end tests.
02bb4379a2 Added specification of new style function types, generalized typedefs
b631eb9b2f [gardening] Mark io/http_server_close_response_after_error_test as flaky
03098c1505 Implement DillClassBuilder.mixedInType
4547066f4b Tweak Declaration API
c3b13ae5c1 Collect abstract members immediately instead of counting.
deb9239790 Compute type arguments of dill types.
c41611d35b Add non-final fields to setters
b61a085c60 Use custom thisType to signal static type precision.
9157bbcf19 [kernel] Add text (de)serialization for VariableSet
ba75b4c437 Revert "Change default target to "create_sdk"."
736ac8469d Use correct way of enabling blobs on dartk-bare-{simarm,simarm64}
1314a6dbf7 [Kernel] Do not evaluate fromEnvironment constants
90d22365d1 Convenience function to parse a list of experimental flags
7b2aae5498 Handle dynamic/instance access in ir/impact.dart
5cb13961db Use typeEnvironment.nullType for `null` and custom type for 'does not complete'
5340fea835 Move more parts of impact builder to ir/impact.dart
cff0d20247 Use better static types for RuntimeTypeUse
944984f015 [Kernel] Add syntax for unevaluated constants
3d7ca147a4 Add FeaturesDataInterpreter
d9c5bc131d [VM] Use --use-blobs for dartk-precomp-simarm/simarm64 builders
3f90e88288 first cut adding simple non-nullable migration to dartfix
16e98d012d Update BasicWorkspace's docs and tests
03be1858e7 [vm, gc] Use the correct trap instruction when zapping ARM/ARM64 code space.
e2e2a85744 [dart2js] Add --no-minify flag for compiler devs
bb4da7890b [gen_snapshot] Fixes for x86 Flutter code push.
fc67a19feb js_runtime: Fix bit mask to match comments
a1ff5f7cd5 Ensure inlining of getter/setters is recorded in our source-map extension
d44ec3a57e Remove full emitter version of Function.apply
60cf393ff3 [dartdevc] fix to pass in analysis options to analysis context
c34f1b4890 [vm] Bind static calls before saving JIT snapshots.
161f9b35c7 Use preparsed experiment status in Static Type Analyzer
f043f296ef [vm] More modulo tests.
29b34fa63f Set nullability for TypeName(s) based of ClassElement.
bb025bfac4 Use target file in CREATE_CONSTRUCTOR fixes.
5966565f0e Re-sort file and move TODO to where it was originally
4ef8de99ac Remove full emitter
8719fb3a7b Generate homebrew script compatible with latest changes
edb68daa2c DateTime decimal separator: Added ',' version to regex and docs, added unit tests
6712dca7d8 Fix the test used to differentiate between empty sets and empty maps
c76fa45178 Add an analysis server diagnostics page for LSP capabilities and completions
4a80990758 Implement LSP textDocument/documentHighlight
44449e29d2 Add a custom toJson snippet for LSP ResponseMessage for null handling
7e0d65706f Include null in allowed types for `any` and prefer null to omitting values if allowed
59b252fa0a [kernel] Add text serializer/deserializer for VariableGet
0bb0072f5f [infra] Add vm-kernel-precomp-android builder to the test matrix
d908743de1 update_homebrew: initial cleanup
e0ede8791f Fasta: Set fileEndOffset on Fields
fe079b31b0 [tools] Fix list of possible arguments for -a in --help.
705701951a Small cleanup in incremental compiler
05673b80fc Suggest uploading dill file when failing to initialize from dill
457a7355f5 [vm] Use Util::Abs instead of std::abs.
89d3276703 Revert regexp_kill_test which is flaky on all platforms.
d00f1e7e8e Introduce kernel based impact builder
0109e39ca4 Report INVALID_ASSIGNMENT for prefix/postfix increment decrement when the result is not assignable to the operand.
e7495724b9 Remove TypeEnvironment.hierarchy
8e5ad9b3bd Prepare the VM for removing TypeEnvironment.hierarchy
7ac495e02a Prepare DDC for removing TypeEnvironment.hierarchy
ca9ea997bd Fix old treatment of {}, enable set literals tests
7e3f4516b8 Allow crashes on fasta compiler co19_2 tests of Constant-update2018. Needed to turn ci bot green.
3c9e2cf8c9 Update front-end compiler status for co19_2 tests
8da53e3120 [vm] Add Dart_SaveTypeFeedback and Dart_LoadTypeFeedback.
9f2e614e98 [fuchsia] Just use dlopen like on other OSes
Eliminates a using std::string directive that conflicts with a
Google-internal using directive in base libs.
This applies a small subset of an upstream Minikin patch.
This fixes potential race condition when patch gets downloaded on top
of zip file that's currently in active use by resource extractor and/or
asset manager. This change is necessary since download can happen in
the background while normal application operations are in progress.
651d19cdaa Ignore --fast-startup flag, assume true
aeb7fccd5b Fix plugin start up to work with OverlayResourceProvider
0b0704c7c4 [vm] Use std::abs instead of regular abs().
36b5fe0c7a Track how many analysis server requests had latency info
bf13ac85c4 Ensure LSP server clears diagnostics for removed files/analysis roots
54fffe4cca Add support for LSP workspace/didChangeWorkspaceFolders
e7b783ba5d Fix bug with deprecated rootPath + add tests
ad300b904d Improve handling of server-specific analysis diagnostics pages
1d096d8499 Enable the analyzer Diagnostics server for LSP
6bb1dcdfa4 Fix wording
e749576caa [VM/Compiler/AOT] Do not populate unused arguments descriptor in bare instructions mode
a1250467fe Move member conflict detection to own method
This is a no-op change, except for fixing a bug where download task
reference wasn't cleared after download was completed.
This change also removes call to output stream flush(), which is not
necessary according to Java spec.
The rest of the change deals with requiring the code to work directly
with ResourceUpdater object instead of having FlutterMain be a facade
that forwards some of ResourceUpdater's methods. This simplifies the
other (more essential) upcoming changes that will be landing in the
followings few PRs.
f4986cc78d Fixed a couple of typos, including LaTeX error
68f77faa96 Specify that extending or implementing Function does nothing.
0f1b9439b5 Use 'no-' prefix to disable an experiment.
de85d1661a Implement DillClass.supertype
2bc015b03a Remove dependency on TypeEnvironment.hierarchy
7ba199794d Save transient state
2bb2f5e834 Simplify ClassHierarchyBuilder.getNode
34afa499a1 Merge interfaces only when necessary
1dc920e0d7 Change names to reflect merge isn't used only for superclasses
50ea6344f5 Use TypeEnvironment.getTypeAsInstanceOf instead of ClassHierarchy
d21b852b02 Extend bare to have coverage across all AOT configurations
a7b23e1cb5 [Kernel] Add text serializers for some invocations
e7c808f910 Remove unused methods
cc4da96fb5 Decouple runtime type analysis from the K-world
3c662736d9 [VM] Ensure PP is restored when returning from runtime calls in bare instructions mode.
efdbeb8059 [vm] Repair JIT snapshots generated from gen_snapshot.
8f33211f25 Fix typo in import, was using path
e5c32261da Add note about new Literal codes
303b3a96a7 Use ExperimentStatus field in summary / resynthesize tests.
52a159de5c Change AnalysisContext.analysisOptions setter to just remembering the AnalysisOptions object.
e9eb4842ea Remove the unused hint code INVALID_ASSIGNMENT
253b0cc1e3 [dartdevc] improve cast failoure error message
2ca417aff1 Initial support for recording nullability in types
f54ac41ce1 Ensure LSP server advertises it has QuickFixes
9dbb6fb113 Add a Hint enforcing contract of @literal