- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 05 Oct, 2021 1 commit
-
-
stuartmorgan authored
* Don't generate plugin registry in ResidentWebRunner generateDartPluginRegistry was being set to true unconditionally in ResidentRunner, bypassing the primary check in DartPluginRegistrantTarget, and the targetPlatform was not set in that codepath, bypassing the second after the changes in https://github.com/flutter/flutter/pull/87991. This caused web hot restarts to be slower due to doing unnecessary work. This ensures that generateDartPluginRegistry is false in the ResidentWebRunner to skip that unnecessary step. Fixes https://github.com/flutter/flutter/issues/91262 * Formatting Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com> Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
-
- 04 Oct, 2021 1 commit
-
-
Ian Hickson authored
-
- 01 Oct, 2021 2 commits
-
-
Ian Hickson authored
-
stuartmorgan authored
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR: - Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins. - Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future. Fixes https://github.com/flutter/flutter/issues/88794
-
- 22 Sep, 2021 1 commit
-
-
chunhtai authored
-
- 03 Aug, 2021 1 commit
-
-
Anna Gringauze authored
* Flutter_tools for web platform: report error messages with stacks on toolExit Print error messages and stacks in verbose mode before calling `throwToolExit` on communication errors to chrome and dwds. This will help us disagnose CI flakes: Helps: https://github.com/flutter/flutter/issues/84012 Closes: https://github.com/flutter/flutter/issues/87149 * Added tests * Extend timeout for testing failure to connect to chrome * Update rest of chrome tests to await until matching is finished
-
- 08 Jul, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 15 Jun, 2021 1 commit
-
-
Jonah Williams authored
-
- 10 Jun, 2021 1 commit
-
-
Jonah Williams authored
-
- 19 May, 2021 1 commit
-
-
Lau Ching Jun authored
-
- 14 May, 2021 1 commit
-
-
Jonah Williams authored
-
- 21 Apr, 2021 1 commit
-
-
Phil Quitslund authored
-
- 18 Apr, 2021 1 commit
-
-
Jonah Williams authored
[flutter_tools] Remove web specific vm_service handlers, move handler tests to single location (#80440)
-
- 17 Apr, 2021 1 commit
-
-
Jonah Williams authored
-
- 16 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 07 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 06 Apr, 2021 1 commit
-
-
Sam Rawlins authored
-
- 03 Apr, 2021 1 commit
-
-
Ben Konyi authored
-
- 30 Mar, 2021 1 commit
-
-
Jonah Williams authored
-
- 13 Mar, 2021 1 commit
-
-
Jenn Magder authored
-
- 08 Mar, 2021 1 commit
-
-
Jonah Williams authored
-
- 02 Mar, 2021 1 commit
-
-
Jonah Williams authored
-
- 24 Feb, 2021 1 commit
-
-
Jonah Williams authored
-
- 18 Feb, 2021 2 commits
-
-
Sam Rawlins authored
-
Jonah Williams authored
-
- 11 Feb, 2021 2 commits
-
-
Jenn Magder authored
-
Jenn Magder authored
-
- 27 Jan, 2021 1 commit
-
-
Jonah Williams authored
* opt out the flutter tool * oops EOF * fix import * Update tool_backend.dart * Update daemon_client.dart * fix more
-
- 22 Jan, 2021 2 commits
-
-
Jonah Williams authored
-
Jonah Williams authored
-
- 20 Nov, 2020 1 commit
-
-
Jonah Williams authored
-
- 29 Oct, 2020 1 commit
-
-
Angjie Li authored
Support --web-renderer options which would allow user to specify which rendering backend to use. (#68848)
-
- 09 Oct, 2020 1 commit
-
-
James D. Lin authored
[flutter tools] Add a DelegatingLogger class Move most of `DelegateLogger` `from test/src/testbed.dart` to `lib/src/base/logger.dart` to better formalize the common practice of chaining `Logger`s together. I renamed the class since it isn't itself the delegate and to better match the `Delegating...` classes from `package:collection`. Additionally, add a freestanding `asLogger<T>` function to "cast" a `Logger` into a matching delegate if possible. This will allow `Logger` chains to be ordered a *bit* more freely (e.g. `NotifyingLogger` and `AppRunLogger` will no longer required to be at the end of the chain, an unwritten rule that has led to breakage in google3). Chain order still matters since lack of virtual dispatch means that parent `Logger`s can never invoke child methods, however. I made `asLogger<T>` a freestanding function because I didn't want to make it part of the `Logger` interface (and I thought that making it an extension method might be weird). Bonus cleanup: There no longer appears to be a way to construct an `AppRunLogger` with a null parent, so remove all of code paths for that case and make the `parent` construction parameter required.
-
- 30 Sep, 2020 1 commit
-
-
Jonah Williams authored
Re-arrange the implementation of the devtools launcher so that google3 is not required to depend on any devtools packages. Also renames the build_runner folders to isolated to better clarify their intention.
-
- 21 Sep, 2020 1 commit
-
-
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.
-
- 17 Sep, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tools] use flutter tool handler for dwds resources and precache tool pub dependencies (#65814) If the tool is downloaded from a precompiled snapshot, or if the backing source files in the pub cache are deleted, the dwds debugging functionality will break as the client.js file cannot be located. Instead use the PackageConfig to verify that package location, downloading if it is missing. Override the dwds middleware to avoid Isolate.resolvePackageUri Fixes #53644 Fixes #65475
-
- 20 Jul, 2020 1 commit
-
-
Jonah Williams authored
To support #61407 , the tool needs to check if a single widget reload is feasible, and then conditionally perform a fast reassemble. To accomplish this, the FlutterDevice class will have a WidgetCache injected. This will eventually contain the logic for parsing the invalidated dart script. Concurrent with the devFS update, the widget cache will be updated/checked if a single widget reload is feasible. If so, an expression evaluation with the target type is performed and the success is communicated through the devFS result. An integration test which demonstrates that this works is already present in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/test/integration.shard/hot_reload_test.dart#L86 Finally, when actually performing the reassemble the tool simply checks if this flag has been set and calls the alternative reassemble method. Cleanups: Remove modules, as this is unused now.
-