- 10 Aug, 2020 1 commit
-
-
Michael Klimushyn authored
-
- 06 Aug, 2020 1 commit
-
-
Nolan Scobie authored
* Add punctuation for unterminated sentences in doc comments * Addressing review nit
-
- 31 Jul, 2020 1 commit
-
-
Helin Shiah authored
-
- 29 Jul, 2020 2 commits
-
-
Lau Ching Jun authored
- 21 Jul, 2020 2 commits
-
- 20 Jul, 2020 4 commits
-
-
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.
-
Helin Shiah authored
- 16 Jul, 2020 3 commits
-
-
Jonah Williams authored
complete removal of all generate functionality Fixes #61508
- 14 Jul, 2020 2 commits
-
- 13 Jul, 2020 1 commit
-
-
Dan Field authored
* Optionally invert oversized images
-
- 10 Jul, 2020 2 commits
-
-
Ben Konyi authored
- 30 Jun, 2020 3 commits
-
-
Jonah Williams authored
initialize from dill does not handle changing null-safety flags and will incorrectly use the nullability mode of the last compile. Add all extra frontend options to the unique name prefix for the flutter run dill cache to avoid this situation.
-
Jonah Williams authored
In web debug mode, infer sound null safety by default. When sound null safety is enabled, provide a separate dill and precompiled Dart SDK. Release builds do not need this setting since we run dart2js from source. Fixes #59873
-
Jonah Williams authored
The flutter daemon unconditionally waits for the appFinished signal, even if startup failed. Ensure this future is correctly completed if there is a failure in ResidentRunner.run and not just ResidentRunner.attach. Adds regression tests for run release, debug, debug web, and release web. Adds missing try catch in cold runner startup. Manually tested with release/debug on Android and release/debug on web. Fixes #60613
-
- 25 Jun, 2020 1 commit
-
-
Jonah Williams authored
The global packages path could cause tests to fail when it would be overriden to unexpected (in test setup) values. Remove most usage and make it a configuration on buildInfo, along with most other build information. Cleanup the asset builder to require the .packages path and the resident runners to no longer require it, since they already have the information in build_info. It needs to stick around for the fuchsia deps we do not control. Filled #60232 for remaining work.
-
- 23 Jun, 2020 1 commit
-
-
Jonah Williams authored
* [flutter_tools] track null safety usage * Update flutter_command_test.dart * cleanups
-
- 18 Jun, 2020 2 commits
-
-
Jonah Williams authored
Refactors KernelCompiler and ResidentCompiler to no longer use globals (except as a fallback for g3 migration). Improves the compilation error when running flutter test on a package without a flutter_test dependency. Updates machine mode to output trace text to stderr
-
Jonah Williams authored
A frequent request from the last Flutter developer survey was for an easier method of testing light/dark mode changes. Currently, a user needs to manually change the theme settings or adjust phone settings to see the difference. Instead we should add a toggle from the CLI, and eventually devtools/Intellij/Vscode that allows developers to override the current setting. Fixes #59495 Adds flutter.ext.brightnessOverride service protocol which either queries the current platform brightness, or overrides it to a new value. This accepts either Brightness.light or Brightness.dark as a value. Adds a CLI toggle b which allows the setting to be toggled manually. Requires an update to the MediaQuery, to conditionally use a debug override when not in release mode
-
- 17 Jun, 2020 1 commit
-
-
Jonah Williams authored
Fixes #59608 The VmService getter can be null, handle that in the listViews method. NNBD when
-
- 09 Jun, 2020 2 commits
-
-
Jonah Williams authored
This prevents using a cached kernel file with different defines, since --initialize-from-dill does not handle this correctly. Fixes #58976
-
Helin Shiah authored
-
- 08 Jun, 2020 3 commits
-
-
Jonah Williams authored
This reverts commit f0174b17.
-
Jenn Magder authored
-
Helin Shiah authored
* Revert "Revert "Send text error in JSON and print in tools (#58284)" (#58872)" This reverts commit c2d5e18c. * Put streamListen in try/catch if extension events already listened for
-
- 06 Jun, 2020 2 commits
-
-
Jonah Williams authored
This reverts commit cce6b3c5.
-
Helin Shiah authored
* Send text error in JSON and print in tools * Add test for error text * Fix analysis issues * Move streamListen to try/catch and use global.printStatus * Extract print error fn and listen for events in web runner * Add extension listen request to test * Update packages/flutter_tools/lib/src/resident_runner.dart Co-authored-by:
Jonah Williams <jonahwilliams@google.com> * Rename error parsing method * Allow crash if listen for extension stream fails * Add test for error and non-error extension events * Fix formatting for TextTreeRenderer * Use shorter message for second exceptions * Specify types for map * Add empty JSON for resident_web_runner test * Move stream listen to vmservice and add vmservice test * Fix stream type * Move structured error log definition to vmservice * Use correct test matcher isNot Co-authored-by:
Jonah Williams <jonahwilliams@google.com>
-
- 05 Jun, 2020 1 commit
-
-
Jonah Williams authored
Allow dumping sksl files on driver exit when a file path is provided to drive's --write-sksl-on-exit
-
- 04 Jun, 2020 2 commits
-
-
Jonah Williams authored
* [flutter_tools] only copy cached dill after startup * shared code * cleanup artifact directory * do not copy if dillOutputPath is given
-
Jonah Williams authored
Also combines experiments into extraGenSnapshot/ExtraFrontEndOptions. Allows providing --no-sound-null-safety to allow out of order migration and running.
-
- 03 Jun, 2020 1 commit
-
-
Jonah Williams authored
The linked error has been fixed, removed work around. Updates the test cases to only test for exit instead of error message #33050
-
- 02 Jun, 2020 1 commit
-
-
Jonah Williams authored
This reverts commit 39d1e4b7.
-
- 01 Jun, 2020 1 commit
-
-
Jonah Williams authored
Remove copying from the shutdown stage since that seems risky. If the tool copies the first compilation there will still be a decent dill for initialization.
-