- 10 Mar, 2021 1 commit
-
-
Jia Hao authored
-
- 24 Feb, 2021 1 commit
-
-
Jonah Williams authored
-
- 16 Feb, 2021 1 commit
-
-
Jonah Williams authored
-
- 03 Feb, 2021 1 commit
-
-
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
-
- 24 Jan, 2021 3 commits
-
-
Zachary Anderson authored
* Reland: Handle more cases where the tool receives RPCError 112 * Add null-aware access
-
Zachary Anderson authored
This reverts commit c87f15fe.
-
Zachary Anderson authored
-
- 23 Jan, 2021 1 commit
-
-
Ben Konyi authored
* Handle RPCError when VM service disappears while invoking `VmService.getIsolate` * Add test
-
- 22 Jan, 2021 1 commit
-
-
Ben Konyi authored
* Handle service disappeared RPCError when VM service connection disappears while invoking a service extension registered by the framework * Add unit test, handle non-trivial cases
-
- 20 Jan, 2021 1 commit
-
-
Ben Konyi authored
-
- 07 Jan, 2021 1 commit
-
-
Gary Roumanis authored
-
- 26 Oct, 2020 1 commit
-
-
Jonah Williams authored
Overhaul of flutter drive in order to deliver a better experience, namely: * flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive. * Removes web-initialize-platform as this is no longer used * flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service. * VM service connection now provides access to memory info without launching devtools (only for debug/profile mode) Web changes * Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible Additional NNBD related bug fixes: No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
-
- 23 Oct, 2020 1 commit
-
-
Jonah Williams authored
Revert "[flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web (#68451)" (#68845) This reverts commit 2e75f52a.
-
- 22 Oct, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web (#68451) Overhaul of flutter drive in order to deliver a better experience, namely: flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive. Removes web-initialize-platform as this is no longer used flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service. VM service connection now provides access to memory info without launching devtools (only for debug/profile mode) Web changes Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible Additional NNBD related bug fixes: No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
-
- 12 Oct, 2020 1 commit
-
-
Jonah Williams authored
HACKTOBERFEST
-
- 05 Oct, 2020 1 commit
-
-
Jonah Williams authored
This functionality ultimately became the single widget reload optimization, which did not require a separate service protocol.
-
- 19 Sep, 2020 1 commit
-
-
Jonah Williams authored
-
- 16 Sep, 2020 1 commit
-
-
Michael R Fairhurst authored
-
- 17 Aug, 2020 1 commit
-
-
Jonah Williams authored
-
- 06 Aug, 2020 1 commit
-
-
Nolan Scobie authored
* Add punctuation for unterminated sentences in doc comments * Addressing review nit
-
- 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.
-
- 13 Jul, 2020 1 commit
-
-
Dan Field authored
* Optionally invert oversized images
-
- 18 Jun, 2020 5 commits
-
-
Chris Bracken authored
This rolls the engine from: 965fbbed1776545ee681cb57f3fb1d0c2000bbcb to b5f5e6332cb4987e9e38ffaa267733ec0a8705ba. A Dart SDK roll in this range changed the format of the compileExpression RPC VMService endpoint, necessitating a tool patch.
-
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
-
Chris Bracken authored
Failing dev/integration_tests/ui/test_driver/keyboard_resize_test.dart Also timing out on new_gallery_ios__transition_perf This reverts commit c7a37c72.
-
Ben Konyi authored
-
Jonah Williams authored
-
- 09 Jun, 2020 1 commit
-
-
Helin Shiah authored
-
- 08 Jun, 2020 2 commits
-
-
Jonah Williams authored
This reverts commit f0174b17.
-
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 2 commits
-
-
Jonah Williams authored
-
Jonah Williams authored
Allow dumping sksl files on driver exit when a file path is provided to drive's --write-sksl-on-exit
-
- 27 May, 2020 1 commit
-
-
Jonah Williams authored
-
- 22 May, 2020 1 commit
-
-
James D. Lin authored
-
- 05 May, 2020 3 commits
-
-
Jonah Williams authored
Fixes #56194 Remove caching of FlutterView and poll forever if the list of flutter views is empty. Added test for missing release mode logic.
-
Jonah Williams authored
This reverts commit 209bdcb6.
-
Jonah Williams authored
Remove caching of FlutterView. Perhaps the FlutterView RPC might return an empty list if the VM is not quite up yet? We had some old logic to poll the flutter views RPC for up to 200ms. That doesn't seem like a great approach, so instead we could forgo it entirely and trust that either the views come up before the developer tries to interact, or we crash.
-