Commit Graph

27 Commits

Author SHA1 Message Date
Jenn Magder
28ab431096 Make Logger required when injected in flutter_tool (#114111) 2022-10-27 22:40:08 +00:00
Jonah Williams
92034482f9 [flutter_tool] partial null safety migration of tool source code (#105798) 2022-06-15 20:02:07 +00:00
Jason Simmons
ba4d63a47b Exit the tool if a DevTools subprocess fails when running on a bot (#97613) 2022-02-02 14:55:18 -08:00
Kenzie (Schmoll) Davisson
5a85c0d81c Launch DevTools from the 'dart devtools' command instead of pub (#90894) 2021-09-29 15:32:24 -07:00
Sigurd Meldgaard
bce366203a Stop calling top level pub (#89032)
* Use `dart __deprecated_pub` instead of `pub` to invoke pub from tools

The top level `pub` commmand has been deprecated and will print
a message. It is however implemented via the __deprecated_pub command
that prints no message.
2021-08-30 10:40:10 -07:00
Ian Hickson
d3c17acf9d Run "pub global activate devtools" before overall_experience_test (#85812) 2021-07-12 14:36:05 -07:00
Zachary Anderson
53125203ea [flutter_tool] Pin DevTools to 2.4.0 (#86124) 2021-07-08 15:01:00 -07:00
Jonah Williams
ba143ae21e Update devtools_launcher.dart (#85995) 2021-07-06 22:01:02 -07:00
Jonah Williams
21fc0c3a7a [flutter_tools] remove online requirement for devtools (#85176) 2021-06-24 09:26:02 -07:00
Jonah Williams
a3863b6592 [flutter_tools] support memory profiles from flutter drive (#82739) 2021-05-17 17:39:03 -07:00
Michael Goderbauer
1edaec6c2c Add additional logging when devtools cannot launch (#81554) 2021-04-30 17:54:02 -07:00
Ian Hickson
0021a08c4d Always activate DevTools if it's not installed (#81242) 2021-04-28 17:14:02 -07:00
Jenn Magder
4a730509fc Migrate persistent_tool_state to null safety (#80085) 2021-04-08 19:14:03 -07:00
Jonah Williams
980880e2b6 [flutter_tools] remove package HTTP and add pub.dev head check tests (#75871) 2021-02-12 10:44:19 -08:00
Ian Hickson
b1cc48748d Only write the pid-file while listening to SIGUSR signals. (#74533) 2021-02-10 16:06:05 -08:00
Jenn Magder
8f3a6245f0 Consolidate ascii spinner stop in devtools activation (#75679) 2021-02-09 16:06:35 -08:00
Jonah Williams
021311ed8a Revert "[flutter_tools] move process manager into tool (#75350)" (#75639)
This reverts commit 8b6baae44c.
2021-02-08 09:21:46 -08:00
Jonah Williams
8b6baae44c [flutter_tools] move process manager into tool (#75350)
Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
2021-02-04 13:19:11 -08:00
Ian Hickson
8acac060bf Remove the timeout when launching DevTools (#74859) 2021-02-01 16:06:02 -08:00
Jonah Williams
74bd7b6f6d [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832)
* opt out the flutter tool

* oops EOF

* fix import

* Update tool_backend.dart

* Update daemon_client.dart

* fix more
2021-01-27 15:17:53 -08:00
Kenzie Schmoll
118f61230a Return the existing DevTools server from DevToolsLauncher.serve if one is already running. (#74271)
* Return the existing DevTools server from DevToolsLauncher.serve if one is already running.
2021-01-20 10:38:49 -08:00
Nate Bosch
dcc4fdd558 Pass only Uri to package:http APIs (#74285) 2021-01-20 09:59:03 -08:00
Jenn Magder
912c3ab171 Revert "Revert "[flutter_tools] Serve DevTools at app start (#73366)" (#73896)" (#73903)
This reverts commit 388dcd2478.
2021-01-13 15:36:43 -08:00
Jenn Magder
388dcd2478 Revert "[flutter_tools] Serve DevTools at app start (#73366)" (#73896)
This reverts commit 1cb0a24a46.
2021-01-13 13:57:09 -08:00
Kenzie Schmoll
1cb0a24a46 [flutter_tools] Serve DevTools at app start (#73366)
* [flutter_tools] Serve DevTools at app start
2021-01-12 21:39:27 -08:00
Kenzie Schmoll
b793285329 Add --no-launch-browser flag to DevTools pub run command (#72519) 2020-12-18 10:14:36 -08:00
Kenzie Schmoll
cd452286ab Launch DevTools from pub instead of devtools_server (#71737)
* Launch DevTools from pub instead of devtools_server
2020-12-14 10:12:42 -08:00