Ben Konyi
2df140f40d
Remove references to Observatory ( #118577 )
...
Observatory is being deprecated for Dart 3.0 so it should no longer be
referenced in tooling messaging / flags.
See https://github.com/dart-lang/sdk/issues/50233
2023-02-13 14:29:30 -05:00
Victoria Ashworth
a07e8a6ac4
[reland] Support wireless debugging ( #118895 )
...
* Reland "Support iOS wireless debugging (#118104 )"
This reverts commit cbf2e16892
.
* Remove device loading status
2023-01-20 19:02:37 +00:00
Jenn Magder
cbf2e16892
Revert "Support iOS wireless debugging ( #118104 )" ( #118826 )
...
This reverts commit 5cd2d4c61e
.
2023-01-19 12:31:53 -08:00
Victoria Ashworth
5cd2d4c61e
Support iOS wireless debugging ( #118104 )
...
* setup wireless debugging to use device IP
* fix tests
* fix unused var and missing annotation
* remove unneeded try catch
* remove commented out line, change null to package id
* better way to get package id
* update mDNS lookup to continously check for server, add messaging if takes too long to find observatory url, update flutter drive to enable publish-port if using network device
* Refactor mDNS Discovery to poll for observatories and better handle multiple instances of the same app. Update drive command to make publish-port more stable. Update attach for iOS to only use Protocol Discovery if applicable, run mDNS and Protocol Discovery simultaneously, handle --debug-port/--debug-url/--device-vmservice-port, continously poll for obseravtories with mDNS, include port in error message when mutliple available
* add and update comments, use logger spinner intead of timer in flutter attach, other small improvements
* add newline to message so next log won't be on same line
* fix install/waiting for permission status progress so it doens't double print the time it took.
* only print backtrace if observatory times out on a physical usb connected device
* fix test
* Update related references from Observatory to Dart VM Service
* fix test
2023-01-19 20:00:21 +00:00
Jenn Magder
ada4460502
Audit covariant
usage in tool ( #116930 )
2022-12-15 11:59:34 -08:00
Jesús S Guerrero
eea60f86f1
Dependency injection Attach command ( #113227 )
2022-10-18 17:30:01 +00:00
Lau Ching Jun
2a73ce9b50
Refactor DeviceManager.findTargetDevices()
and FlutterCommand.findAllTargetDevices()
, and add a flag to not show prompt. ( #112223 )
2022-09-23 21:10:35 +00:00
Christopher Fujino
1371b8dc3c
[flutter_tools] Fix null check errors in attach command ( #107864 )
2022-07-18 23:10:06 +00:00
Jesús S Guerrero
889a15eb9d
[flutter_tools] add needsFullRestart flag on hot runner ( #104562 )
2022-06-03 10:18:16 -07:00
Michael Goderbauer
3fa355c97d
Remove dead code in tools tests ( #104567 )
2022-05-25 12:48:17 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Ben Konyi
75baed585e
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #100995 )
2022-03-30 13:50:13 -07:00
Christopher Fujino
9c138f9c76
[flutter_tools] warn when doctor takes long ( #100805 )
...
* warn when doctor takes long
2022-03-28 14:13:28 -07:00
Zachary Anderson
54a9d65282
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )"" ( #98803 )
2022-02-19 10:09:26 -08:00
Ben Konyi
4add01ab68
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #98769 )
...
This reverts commit ac3c44355a
.
2022-02-18 13:28:42 -08:00
Ben Konyi
2a2f973120
Update flutter_tools to look for new VM service message ( #97683 )
...
* Update flutter_tools to look for new VM service message
The Dart SDK will soon move away from the current Observatory message:
"Observatory listening on ..."
To a new message that no longer references Observatory:
"Dart VM Service listening on ..."
This change updates all tests with mocks to check for the new message
and also adds support for the new message in ProtocolDiscovery.
See https://github.com/dart-lang/sdk/issues/46756
* Fix some parsing locations
* Fix analysis failures
* Update message
* Remove extra comment
* Update message
* Add globals prefix
2022-02-15 07:33:57 -08:00
Emmanuel Garcia
79bc1bfa89
Add ability to wrap text messages in a box ( #94391 )
2021-12-15 13:19:11 -08:00
Greg Spencer
52ae102f18
Adds tool warning log level and command line options to fail on warning/error output ( #92031 )
2021-11-10 16:13:04 -08:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Ben Konyi
ac3c44355a
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )" ( #92235 )
...
This reverts commit ba0321e95d
.
2021-10-20 22:05:49 -07:00
Ben Konyi
ba0321e95d
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )
...
This reverts commit dc7fea8d19
.
2021-10-20 19:20:17 -07:00
Ian Hickson
2bab6514b0
Enable avoid_implementing_value_types
lint ( #91078 )
2021-10-04 13:48:04 -07:00
Jenn Magder
2d55032939
Migrate dds.dart to null safety ( #88382 )
2021-08-17 21:12:03 -07:00
Lau Ching Jun
f25e4fea18
Remove unnecessary variables. ( #86444 )
2021-07-15 16:56:04 -07:00
Jonah Williams
63a4013160
Revert "[flutter_tools] let the logger know about machine mode ( #86116 )" ( #86363 )
...
This reverts commit 53d8cba3ec
.
2021-07-13 10:39:35 -07:00
Jonah Williams
53d8cba3ec
[flutter_tools] let the logger know about machine mode ( #86116 )
2021-07-12 10:41:03 -07:00
Jenn Magder
e87a85c30e
Add Designed by iPad attach destination for ARM macOS ( #84411 )
2021-06-14 12:09:02 -07:00
Jonah Williams
aaff32902e
[flutter_tools] remove all mocks from attach.dart ( #84118 )
2021-06-07 15:24:03 -07:00
Jenn Magder
6b92a93c0f
Remove more mocks from error_handling_io and attach_test ( #83504 )
2021-05-27 13:49:04 -07:00
Alexandre Ardhuin
df3662b15e
use throwsA ( #82238 )
2021-05-11 10:19:01 -07:00
Jenn Magder
cbf885b749
Replace MockAndroidDevice and MockIOSDevice with fakes ( #81352 )
2021-04-28 13:39:02 -07:00
Ian Hickson
a7eb2c8a1a
Use "aliases" in args to fix some technical debt ( #81073 )
2021-04-27 14:54:03 -07:00
Jenn Magder
ff7b91b932
Migrate tools test fakes to null safety ( #80154 )
2021-04-09 17:32:54 -07:00
Jenn Magder
a2f67720ef
Migrate test/src/common to null safety ( #79907 )
2021-04-06 22:55:03 -07:00
Sam Rawlins
3e4320847a
Remove "unnecessary" imports in test/commands.shard. ( #78665 )
2021-04-06 11:14:01 -07:00
Jonah Williams
4ae68a3aa2
[flutter_tools] Move sksl writing out of vm_service ( #79455 )
2021-04-01 13:23:40 -07:00
Jenn Magder
152af5aba7
Fix device_port_forwarder file name typo ( #79481 )
2021-03-31 18:14:03 -07:00
Jenn Magder
8ddc27e607
Split globals.dart into null sound and unsound libraries ( #79016 )
2021-03-31 16:55:20 -07:00
Jonah Williams
6b3093b6af
[flutter_tools] remove globals from Device and separate FlutterDeviceManager ( #79454 )
2021-03-31 12:59:00 -07:00
Jenn Magder
8893e89d11
Migrate device_port_forwarder to null safety ( #78949 )
2021-03-24 16:56:14 -07:00
Jonah Williams
4807f806e2
[flutter_tools] remove globals from logger ( #78353 )
2021-03-16 16:46:21 -07:00
Jenn Magder
66768f8c5b
Remove mocks from web devices test ( #77968 )
2021-03-11 19:55:02 -08:00
Jonah Williams
d39d450594
[flutter_tools] remove most globals from resident web runner ( #77432 )
2021-03-08 14:38:26 -08:00
Jonah Williams
8df58eb650
[flutter_tools] use a single fake implementation of HttpClient ( #75471 )
2021-02-09 15:32:03 -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
Jonah Williams
3b884aa613
Catch VM Service disappearance from run/attach handler code ( #75298 )
2021-02-03 10:53:15 -08:00
Ian Hickson
8acac060bf
Remove the timeout when launching DevTools ( #74859 )
2021-02-01 16:06:02 -08:00
Jenn Magder
3f380ca544
Swap mockito import for test/fake ( #74847 )
2021-01-27 16:02:44 -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