- 12 Oct, 2020 1 commit
-
-
Jonah Williams authored
For historical reasons, the flutter tool uploads dill files to paths based on the entrypoint URI. This isn't actually necessary, and the tool can use specific files : main.dart.incremental.dill for incremental dills, and main.dart.dill/main.dart.swap.dill for full dills. This allows hot restarting applications with an entrypoint outside of lib/ and simplifies the devFS code. Fixes #63243
-
- 09 Oct, 2020 1 commit
-
-
Jonah Williams authored
If the vm of an attached device rejects a hot reload, pretty print the reason. Suggest a hot restart so that users are aware that they do not have to detach and rebuild. Also resets the last compilation time, so a subsequent restart would still apply the last change. Adds an integration test for the const field removal. Fixes #64027
-
- 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.
-
- 16 Sep, 2020 2 commits
-
-
Michael R Fairhurst authored
- 31 Aug, 2020 2 commits
-
-
Mehmet Fidanboylu authored
This reverts commit c8f234d3.
-
- 29 Aug, 2020 1 commit
-
-
Jonah Williams authored
This reverts commit eef0050d.
-
- 28 Aug, 2020 2 commits
-
- 27 Aug, 2020 1 commit
-
-
Ben Konyi authored
This change re-enables DDS and outputs the DDS URI in place of the VM service URI on the console. If --disable-dds is not provided, --host-vmservice-port will be used to determine the port for DDS rather than the host port for the VM service, which will instead be randomly chosen.
-
- 29 Jul, 2020 1 commit
-
- 21 Jul, 2020 2 commits
-
- 20 Jul, 2020 2 commits
-
- 16 Jul, 2020 2 commits
-
- 14 Jul, 2020 2 commits
-
- 10 Jul, 2020 2 commits
-
-
Ben Konyi authored
- 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.
-
- 24 Jun, 2020 1 commit
-
-
Jonah Williams authored
Fix tests broken under tester
-
- 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>
-
- 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
-
- 27 May, 2020 1 commit
-
-
Jonah Williams 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.
-
- 01 May, 2020 1 commit
-
-
Jonah Williams authored
-
- 28 Apr, 2020 1 commit
-
-
Jonah Williams authored
Move FlutterView and related RPCs to the package:vm_service implementation. Update some getIsolate calls with catchError to match previous behavior. - Updates tests that were previously mocking FlutterViews to use real views - Moves the FlutterView cache from VM to FlutterDevice - Catch SentinelException during Isolate.kill
-
- 27 Apr, 2020 4 commits
-
-
Jenn Magder authored
This reverts commit a18e6361.
-
Jonah Williams authored
-
Jonah Williams authored
This reverts commit 2e50fd75.
-
Jonah Williams authored
Move FlutterView and related RPCs to the package:vm_service implementation. Update some getIsolate calls with catchError to match previous behavior. - Updates tests that were previously mocking FlutterViews to use real views - Moves the FlutterView cache from VM to FlutterDevice - Catch SentinelException during Isolate.kill
-