- 24 Sep, 2020 2 commits
-
-
Jonah Williams authored
Registering the service worker immediately after the documented has loaded may cause SW initialization to compete with framework initialization. It was recommended to us that we defer the service worker setup until after the framework is done with setup, which should be sometime after the first frame. To implement this, I augmented the binding setup to dispatch an event on the document after the binding has initialized. I don't see any obvious risks with this setup. Fixes #66066
-
Jonah Williams authored
This should be a mostly non breaking change for hot reload workflows that improves performance, but if you see anything odd with hot reload behavior on master please file a bug. This feature can also be disabled without any changes to the SDK with flutter config --no-single-widget-reload-optimization
-
- 23 Sep, 2020 11 commits
-
-
Jonah Williams authored
Delete the destination directory for the web sdk before copying the new contents. This might fix an error where the OS refuses to overwrite the files on dev
-
Jonah Williams authored
Improve our ability to measure the performance of hot restart. Also flush all UI thread tasks before calling the hot restart "complete" in benchmark mode. If this is successful at stabilizing the benchmarks, this should be enabled for "normal" hot restart so that we can accurately track execution time.
-
Jenn Magder authored
-
Greg Spencer authored
Based on feedback from various desktop developers, and to be consistent between the defaults and the sample code, this PR switches the default for visual density in desktop themes to be compact instead of standard. It also removes the same setting from the sample code generated by "flutter create" because it is no longer needed now that it is the default.
-
Jacob MacDonald authored
Updates all null safe dependencies to versions that allow 2.10 stable and 2.11 dev releases. Also updates flutter_goldens and flutter_goldens_client to allow 2.11 dev.
-
Jonah Williams authored
The throttle duration could delay past the point where the destination sink was closed. Check if it is closed before adding an event. Fixes a crash on dev: StateError: Bad State: Stream is already closed.
-
Emmanuel Garcia authored
-
Jonah Williams authored
If a file scheme and one or more roots is provided, fall back to this mapping before the direct file path if the file path cannot be turned into a package URI. Use URI representation so that the transformation is resilient to the org-dartlang-app scheme used by the web builds. Fixes #66095 Fixes #66404
-
Jenn Magder authored
This reverts commit af6ba867.
-
Jenn Magder authored
-
Jenn Magder authored
-
- 22 Sep, 2020 9 commits
-
-
Jonah Williams authored
-
Jonah Williams authored
If a file scheme and one or more roots is provided, fall back to this mapping before the direct file path if the file path cannot be turned into a package URI. Fixes #66095
-
Jenn Magder authored
This reverts commit 2be4570d.
-
Jenn Magder authored
-
Jonah Williams authored
-
Jenn Magder authored
This reverts commit 5c858036.
-
- 21 Sep, 2020 5 commits
-
-
Jonah Williams authored
The k toggle allows switching between canvaskit and html backend at runtime. unfortunately this causes hot restart to break, since the dart_sdk modules stores state at runtime. The recommendation will be to use cavaskit via dart-defines.
-
Jonah Williams authored
-
Yegor authored
-
Jonah Williams authored
-
Jonah Williams authored
-
- 19 Sep, 2020 3 commits
-
-
Jonah Williams authored
[versions] update to latest source span and roll engine to 4b8477d11573d233e6791204191c0090f733b05d (#66136)
-
Jonah Williams authored
-
Zachary Anderson authored
Revert "Ensure VmService instance is disposed after failed direct connection attempt (#66123)" (#66164) This reverts commit 409e994c. Co-authored-by: Jenn Magder <magder@google.com>
-
- 18 Sep, 2020 4 commits
-
-
Jenn Magder authored
-
stuartmorgan authored
-
Ben Konyi authored
_attemptServiceConnection in FallbackDiscovery would fail if the root library URI was not a package URI even if the VM service connection attempt was successful. This resulted in a VM service connection being left alive, causing DDS to fail its connection to the VM service. Updated _attemptServiceConnection to ensure the VM service instance is disposed after a non-connection related failure and to allow for root library URIs with a file scheme.
-
Jonah Williams authored
The main.dart.js bypass is not needed now that we have skipWaiting. Additionally optimize the fetch handler so that resources not in the cache skip the service worker altogether. Fixes #66068
-
- 17 Sep, 2020 6 commits
-
-
Yegor authored
-
Daniel Edrisian authored
-
younghwan authored
-
Jonah Williams authored
-
stuartmorgan authored
Removes the template version from the Windows template; the API and tooling boundary will now be considered stable, so there will no longer be frequent breaking changes. Also updates the link for adding desktop support to a project for all three platforms to reflect the current location. Fixes https://github.com/flutter/flutter/issues/52748
-
stuartmorgan authored
The engine now has an explicit API for system font changes, rather than expecting the WM_FONTCHANGE message to be forwarded to the Flutter view.
-