Ian Hickson
2bab6514b0
Enable avoid_implementing_value_types
lint ( #91078 )
2021-10-04 13:48:04 -07:00
Christopher Fujino
91dd3276fd
migrate vm service to null safety ( #88320 )
2021-10-02 10:18:03 -07:00
stuartmorgan
97fb8c0560
Fix Dart plugin registrant interaction with 'flutter test' ( #90288 )
...
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
- Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
- Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.
Fixes https://github.com/flutter/flutter/issues/88794
2021-09-30 20:25:13 -07:00
Sam Rawlins
bcb5db7758
Remove "unnecessary" imports from packages/ ( #89795 )
2021-09-15 01:27:02 -07:00
Jenn Magder
58944e6b88
Revert "Enable caching of CPU samples collected at application startup ( #89600 )" ( #89704 )
...
This reverts commit 619121b095
.
2021-09-08 19:37:34 -07:00
Ben Konyi
619121b095
Enable caching of CPU samples collected at application startup ( #89600 )
2021-09-08 17:22:04 -07:00
Jenn Magder
2d55032939
Migrate dds.dart to null safety ( #88382 )
2021-08-17 21:12:03 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker ( #86837 )
2021-07-21 21:51:06 -07:00
Lau Ching Jun
af42e7d730
Only set assets directory after assets are uploaded onto devfs. ( #85418 )
2021-06-28 13:16:04 -07:00
Jonah Williams
1977ee75b3
[flutter_tools] ensure kernel paths match between init from dill and persist ( #85252 )
2021-06-25 11:11:04 -07:00
Jonah Williams
cd13c91119
[versions] update dependencies ( #84639 )
2021-06-15 11:08:57 -07:00
Jonah Williams
73df069786
[flutter_tools] fully remove mocks from resident_runner_test.dart ( #84591 )
2021-06-14 16:29:02 -07:00
Jonah Williams
6728cf34cc
[flutter_tools] remove more mocks from runner tests ( #84312 )
2021-06-10 12:00:38 -07:00
Jonah Williams
67a57eb9a5
[flutter_tools] remove feature for alternative invalidation strategy ( #84366 )
2021-06-10 11:59:04 -07:00
Jonah Williams
ca789bf5a1
[flutter_tools] bail from printing if devtools launch fails ( #83934 )
2021-06-03 18:19:05 -07:00
Jonah Williams
f666f93dbb
[flutter_tools] always use device.stopApp ( #83803 )
2021-06-02 17:34:02 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Lau Ching Jun
a9d6131df8
Allow passing --initialize-from-dill
to flutter run and flutter attach ( #83454 )
...
To specify the dill file that will be used to initialize the resident
compiler, instead of the default cached version.
2021-05-26 23:06:38 -07:00
Jonah Williams
8beee479af
[flutter_tools] remove more mocks from resident_runner tests ( #83155 )
2021-05-24 11:59:03 -07:00
Jenn Magder
0d79013a81
Move globals.artifacts to globals_null_migrated, update imports ( #83137 )
2021-05-21 18:35:02 -07:00
Lau Ching Jun
2acd0007d6
Refactor CustomDimensions in analytics to be type safe ( #82531 )
2021-05-18 20:29:03 -07:00
Kenzie Schmoll
766b4509c6
Add 'v' hotkey to open DevTools in the browser ( #82227 )
...
* Add 'v' hotkey to open DevTools in the browser
2021-05-13 09:54:10 -07:00
Ian Hickson
e5414695d4
Change --disable-dds to --no-dds to avoid double negatives ( #80900 )
...
Also, refactor internal code to do the same.
See https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-double-negatives-in-apis
2021-04-23 16:29:38 -07:00
Emmanuel Garcia
b0a63c4ffe
Reland the Dart plugin registry ( #79669 )
2021-04-23 15:34:04 -07:00
Ian Hickson
598737adf2
Clean up the command line tool interactive help output. ( #80903 )
2021-04-22 19:34:02 -07:00
Jonah Williams
b30d97a64c
[flutter_tools] split host artifacts out of Artifacts ( #80876 )
2021-04-22 19:29:02 -07:00
Jonah Williams
e67f14e511
[flutter_tools] handle missing method on exit, debugDumpX ( #80890 )
2021-04-22 09:59:04 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Jonah Williams
fdda777e34
[flutter_tools] support screenshot on all device types ( #80616 )
...
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-04-20 15:48:26 -07:00
Jason Simmons
f94fa27802
Stop the DevTools child process if the runner terminates unexpectedly ( #80602 )
2021-04-18 09:34:03 -07:00
Jonah Williams
9904a7f472
Refactor core resident runner logic ( #80462 )
2021-04-16 17:27:35 -07:00
Jenn Magder
a2f67720ef
Migrate test/src/common to null safety ( #79907 )
2021-04-06 22:55:03 -07:00
Sam Rawlins
68492c5b69
Remove "unnecessary" imports. ( #78664 )
2021-04-06 11:19:02 -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
Jonah Williams
6b3093b6af
[flutter_tools] remove globals from Device and separate FlutterDeviceManager ( #79454 )
2021-03-31 12:59:00 -07:00
Jonah Williams
430626d0f3
[flutter_tools] use existing service implementations for web ( #78995 )
2021-03-29 21:44:03 -07:00
Jonah Williams
cf6d4a35a5
[flutter_tools] guard L service extension in debug mode ( #79173 )
2021-03-29 20:54:05 -07:00
Jenn Magder
8893e89d11
Migrate device_port_forwarder to null safety ( #78949 )
2021-03-24 16:56:14 -07:00
Jenn Magder
d018c24bb8
MockProcessUtils->FakeProcessManager in version_test ( #77985 )
2021-03-12 16:38:04 -08:00
Jonah Williams
721702717d
[flutter_tools] replace MockFlutterVersion usage with fake where possible, move from context ( #77390 )
2021-03-05 14:04:03 -08:00
Jonah Williams
2951363dc8
[flutter_tools] switch FakeCache to cache.test and NoopUsage to TestUsage ( #76802 )
2021-02-26 11:13:32 -08:00
Jonah Williams
a3b14c58ae
[flutter_tools] replace vm_service extension methods with wrapper class ( #76721 )
2021-02-24 15:40:33 -08:00
Jonah Williams
7ab8517f7e
[flutter_tools] refactor devtools handler to expose single method for run/attach and restart ( #75807 )
2021-02-10 17:04:47 -08:00
Jenn Magder
5b823cded8
Remove dead mock classes ( #75757 )
2021-02-10 17:01:28 -08:00
Jonah Williams
3aece33534
[flutter_tools] refactor devtools handler into its own class ( #75444 )
2021-02-09 15:31:39 -08:00
Ian Hickson
8acac060bf
Remove the timeout when launching DevTools ( #74859 )
2021-02-01 16:06:02 -08:00
Jonah Williams
6efe8e91a7
[flutter_tools] remove most usage of MockDevice ( #74999 )
2021-01-29 14:27:42 -08:00
Jenn Magder
6ecb8cbcfa
Replace MockUsage with TestUsage ( #74946 )
2021-01-28 18:49:04 -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