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
Ben Konyi
89ef88c64f
Ensure attaching to an application with an existing DDS instance is not treated as a fatal error ( #70847 )
2020-12-04 17:16:30 -08:00
Ben Konyi
4cbafda853
Roll package:dds to 1.5.1 and add isCompleted guards around completers in base/dds.dart ( #70712 )
2020-11-17 16:03:18 -08:00
Ben Konyi
f6bedddd9f
Support legacy behavior for --host-vmservice-port and --observatory-port with DDS ( #70336 )
...
Implements the following:
- If both --host-vmservice-port and --dds-port are specified, use the current behavior
- If only --host-vmservice-port is specified and dds is enabled, use that for the dds port
- If only --dds-port is specified, use that for the dds port
Fixes https://github.com/flutter/flutter/issues/70332
2020-11-17 16:03:02 -08:00
Jenn Magder
de5bf09e7a
Show macOS arm64 architecture in doctor and devices list ( #69245 )
2020-10-30 13:48:04 -07:00
Jonah Williams
18f0a2288e
[flutter_tools] update to vm_service 5.2.0, update to dwds 7.0.0 ( #69067 )
...
Rolls in several fixes to web tooling, including better handling of absolute file imports. Updates to latest vm service to unblock null safety mode query
Co-authored-by: Gary Roumanis <grouma@google.com>
Co-authored-by: Anna Gringauze <annagrin@google.com>
2020-10-27 13:55:32 -07:00
Jonah Williams
9e70180f63
[flutter_tools] do not measure progress timeout ( #67959 )
...
Remove "This is taking a long time" progress timeout and TimeoutConfiguration.
2020-10-13 13:05:47 -07:00
Jenn Magder
6e5f9ed94d
Replace MockProcessManager with FakeProcessManager ( #67019 )
2020-10-05 12:21:43 -07:00