This is a temporary workaround to unbreak the build. The breakage was
caused by differences in the latest released dev Dart SDK
(2.0.0-dev.64.0) and the version currently used by Flutter
(2.0.0-dev.63.0).
Revert once the SDK has been updated in the engine.
1. Mark perf overlay path as volatile
2. Set sample_margin_width = 0 to get a bar graph instead of saw-tooth.
Previously, the perf overlay itself could be a significant performance
hit and that makes it difficult to profile flutter app.
* Roll dart sdk to 4c9689c1d2da97d0aa25cf16cc90c2e463ad157f
Changes since last roll:
```
4c9689c1d2 [vm] Support pluggable expression compiler for `evaluate` service api call.
d70c38eed8 [Gardening] Mark test as flaky on also non-kernel (legacy)
060ee6769e Make CastStreamSubscription.onData handle a null callback
f7289aa219 Remove specification of naming conventions.
87131780cb Add appendix to spec which specifies JavaScript integer behavior.
dfeaf79cef Fix VM accepting too many overlarge hex numbers in int.parse.
c84a9f46b2 Recompute ClassHierarchy after adding noSuchMethod forwarding stubs
b558a9c2f4 Handle missing compile-time errors
3df126c497 [gardening] Update status for vm-kernel-linux-debug
e22706793d Treat objects with .call as "subtypes" of function types
b960e5a3ed [gardening] Mark standalone_2/io/directory_test as Crash on dartkp/debug
e2d72aad91 Prepare tools/bots/try_benchmarks.sh for Dart 2.
de5f9ea95f Add --use-fasta-parser flags to dartanalyzer and the analysis server.
e2d903c4dc Remove packages/ directory resolution from CFE
aabb78f56a Update checked-in SDK to 2.0.0-dev.63.0 on mac and linux.
bc8d77231d Improve flags documentation, reenable hints in dart2js.
209a602769 Tweak for fixes tests - use orElse to avoid exception.
0e4c158847 Issue 33458. Suggest 'Create Class' Quick Fix for creation without new.
44650cc9eb Pass the location of vm_platform to compile_platform from the commandline.
0bac650833 switch to dart_action until prebuilt Windows Dart VM is updated
82ed18cdb9 Update checked-in Windows SDK to 2.0.0-dev.63.0
2394097e44 Support for including/excluding the same path in ContextRoot.isAnalyzed().
f59389b688 Optimize .runtimeType impact based on usage
ee1f7f5a93 Fix newly reported warnings
afa8ff6292 Add a resource provider that supports file overlays
a63cf8e0cb Add --no-preview-dart-2 flag.
2a396d5315 [vm/intrinsics] Intrinsify 64-bit int typed data.
dd8988c9b2 - Moved all WebGL rendering/drawing constants to synthesized class WebGL. - Removed obsolete Dartium/_blink code.
541dd195bb Enable creating full kernel files in addition to outlines from the bazel worker for kernel.
8e9e8e1da0 Fix various bugs and regularize behavior of returns statements in various kinds of functions.
f1d1da6164 [vm/precomp] Reduce the size of slow-path code in precompiled mode.
b51d3d4146 Key string should be avoided
1e906c3f7e Add no-op entry point for IncrementalCompiler
aeeb7baa96 Change error message to not use imperative tone
309baedc72 Mark some frequently flaky co19 dart2js tests.
1a08341730 Analyzer status file update
ac039abc83 Add option to check if a dill is self-contained
f479435bca - Removed custom handling of fill - it was wrong the method is now overloaded. - Associate the JS class SpeechSyntesisVoice with the correct Dart class (DDC). - Top-level querySelectorAll wasn't generic. - Handle "static" for attributes in the IDLs.
d2a37231b3 optimize await in async* methods in dartdevc
8f0106e490 Update more Analyzer fasta tests
53c2a6f9d5 Cleanup remaining unescape string call sites
1ef4399df0 Run dartfmt --fix for dart2 on pkg/dev_compiler
38eda19be6 Fix resolve_input_uri_test on windows.
5bf6436bc9 Initial implementations of two generators
03bcc495f7 [fuchsia] Migrate process creation to fdio_spawn_vmo
0cf860f361 Remove pub_build_validity test
c015e8d303 Improve invalid string literal error recovery
84f077842b Update CHANGELOG.md for 2.0.0-dev.63 release
7757fa784a [vm] Remove redundant Profiler::DumpStackTrace().
2bc9025be3 Consider initializing formals during top-level type inference
9df6426adb Mark the library analyzer.dart as being deprecated
bd956620fe Remove code that is causing a couple of hints
d99aeb3e13 [kernel] Update Fuchsia suspend to use new API.
6f44d3f208 Issue 2287. Move all, but constructors and fields set in constructors, from StatelessWidget into State.
729e9942bd Support multiple files in messages test.
99575f79ca Split ContextAwareGenerator and its subclasses
41a8b79475 Use the inferred type of const lists/maps to for constant evaluation.
2972ca61f8 Fix continue in invalidation logic
c54a302495 [VM] Evaluate symbols in kernel2kernel constant evaluator in AOT (even in non-const contexts)
4a7ccd5c9a Deleted TODO comment in Scoping
8dca855de1 Specify dynamic type of Futures/... returned from async/... functions
385d825469 Make frontend_server initialize from dill work again
2716b6f9a6 Add test to frontend_server that mimics the flutter benchmarks
17d2839a03 Fixed tests for FF difference.
6779ea0cc6 GN rules: add libraries_specification_uri argument to the compile_platform template.
12b33ada44 [VM interpreter] Support NativeCall kernel bytecode.
db72134f90 [vm/inliner] Add smi return type of clamped convertors.
33feee3b03 [vm/kernel/bytecode] Fix arguments passing in native factory constructors
c30ce41ae6 Add hook to use single-root in fasta scripts and make use of it when creating the dart2js platform files.
34ee27a52d Update to the latest pub
bfb9a4eab8 linter 0.1.53
dfe6385eb0 Fix a Dart 2 runtime cast failure
f7ef66f5b0 Issue 33412. Fix for race condition in knownFiles during search.
aca417a256 Fix test and expected failure.
664f756914 [vm] Reduce maximum new generation size and growth rate.
bd603ba3c6 Record dependencies via CompilerContext
```
Previously the engine would load all embedded fonts listed in the app's
font manifest during startup. This change creates a Skia font manager that
is backed by the engine's AssetManager and can load embedded font assets
on demand.
The txt::FontCollection contains a cache of minikin::FontCollection objects,
which in turn hold a fallback provider that refers back to the txt::FontCollection.
Using a weak_ptr in the fallback provider breaks the circular reference.
* pass a locale to GetMinikinFontCollectionForFamily
* provide the ICU data file path
* loosen checks based on the Minikin LineBreaker's line widths
(LineBreaker widths do not exactly match the advances calculated during layout)
* Reland "Added IsolateNameServer functionality (#5410)"
This reverts commit 1598c7ad7b830b298647c17a0c85f3648f6b737d.
* Fixed issue with isolate_name_server_test which caused test to timeout
* Disabled thread_annotations on Android as they aren't supported in the
NDK headers for std::mutex. Readded thread annotations to
IsolateNameServer.
* Added IsolateNameServer functionality, which allows for the association
of string names with isolate SendPort ids that can be used to establish
inter-isolate communications.
* Roll the Dart VM.
c95617b19c Add a release note about the VM going sync-async
05f11aa74c [kernel] Account for defaultType in some of the Kernel visitors
c39c2c8ac1 Handle type variables in optional function typed parameter in jsinterop methods
a4af44b470 [VM] Do not invoke any functions during AOT compilation
5be73cd166 Make debug printing of function types more robust.
6054cb3e1f CompilerContext always expects a Future now
6213303e65 Fix some runtime check failures in tests
d17ec7c131 Move inference data from JClosedWorld to GlobalTypeInferenceResults.
6fcc68bee3 Adjust test status.
fe21518df8 Improve literal list recovery
134e00fd73 Treat 64 bit ints as unsigned until conversion to JS.
b375d69800 [observatory] When the VM is forwarding events to the Android or Fuchsia system tracers, link to the document describing how to use them.
edb1642709 [vm] Repair interpreter build.
a9fef15ff3 Add FileResult and AnalysisDriver.getFileSync().
787a43ec78 [vm] Fix some missing private name mangling in the kernel reader.
1cf348b29f Mark enum_private_test/02 as pass, crash
cc1a817faa Use ZX_THREAD_STATE_BASIC on state output of ZX_INFO_THREAD.
4e0e72a65f Fix map_insert_remove_oom_test.
8421e69fbb [js_runtime] Make _checkLength more likely to be inlined
b66dd3d456 Stop using generic comment syntax in observatory.
b667be4861 Fix source maps strong mode runtime failure in dart2js.
7b972a653b [vm/linearscan] Account for definitions with no SSA name when processing PairLocation outputs.
09fc582bfd Fix EvalExpression test.
f2883d1b4f Fix test error message expectation on Windows.
8bfbce33f1 Mark cc/Profiler_CodeTicks as failing on Windows, dartk x64 config
a8c2263d3f Issue 33336. AnalysisDriver.discoverAvailableFiles() should notify the scheduler that there is work to do.
b7493b663e [vm/inliner] Inline small int convertors.
6b71414296 [Test status] Update status of several triaged lib_2/mirrors tests
1f03109200 Proposed replacement for SourceFactory
60631b0944 Remove unnecessary casts from observatory.
bfa8be887a Extending dartLangSpec.tex with super-bounded types and variance.
daee781179 Revise beginTypeVariable event in event sequence
e0ca1514a2 Mark test as failing.
* Update hash.
Eliminates support for running directly from sources or script snapshots. In
debug mode, we run from a kernel snapshot; in profile and release modes, we
link in AOT-compiled code.
Renames --dart-non-checked-mode to --disable-dart-asserts since checked mode
does not make sense in Dart 2.
* Enforce clang-format on all files in commit
This re-enforces clang-format across all files changed in the commit.
In c10c417, we enabled checking only for the lines changed in the diff
in order to reduce the change of merge conflicts with the shell refactor
landed in 82c5c8f.
* Reformat sources to match latest clang-format
As part of re-enabling clang-format across the codebase, reformat all
code to match the latest toolchain.
On a Linux host, we were having to convert the type of the bitmap to N32, but we weren't also fixing the channel order to RGBA, so consequently we were getting BGRA when the API was asking for RGBA. This forces the color format to be RGBA when that is what is asked for.
We weren't needing to do conversion on macOS, so macOS was always getting RGBA.
Paragraph layout breaks the text into lines, and ellipsizing (if applicable)
will truncate the last run of a line at the point where word wrap would have
occurred.
Fixes https://github.com/flutter/flutter/issues/18198
This updates the documentation for StrokeJoin and StrokeCap to contain animated diagrams that describe their function. The actual diagrams reside in the assets-for-api-docs repo.
libtxt will query Skia for a fallback typeface when it encounters a character
that is not found in the primary font. The font collection should make all
the variants of the fallback typeface's font family available to Minikin for
use in future font lookups.
Fixes https://github.com/flutter/flutter/issues/17985
* Move the handling of delegating AppDelegate callback out of FlutterAppDelegate.
Also moves the plugin registry to FlutterViewController. So each view-controller will handle its
own plugins.
This is intended to simplify including one or more Flutter views in an existing iOS app and giving
more precise control of plugin registration.
Fixes: https://github.com/flutter/flutter/issues/16539
* formatting
* Update license golden file
* Fixed type error
* FREEZE.unindexed
* Fix Header types
* Revert "FREEZE.unindexed"
This reverts commit bebb70056c9bcb90b4321bdc2873896623ed6faa.
Adds --dynamic and --interpreter flags to
tools/gn. These flags result in engines with
properties as follows:
--dynamic:
- JIT targeting native code on Android and
DBC on iOS
--interpreter
- Target DBC even if running on Android.
For example:
gn --android --dynamic --interpreter --runtime-mode release
Will generate an engine:
- Without Dart asserts
- Without Observatory
- With JIT compililation to DBC
into out/android_dynamic_release_dbc