flutter/packages/flutter_tools/lib/src
Danny Tuppeny ed9afbbc72
Add --machine support for flutter attach (#19077)
* Extract some of startApp into a reusable method

* Get basic attach --machine working

* Attach --machine tweaks

Move validation to validate method and create daemon early so we get the startup event before trying to get a connection.

* Bump daemon version so we know whether it's valid to flutter attach

* Tweak output text

* Swap package imports for relative

* Review tweaks (naming, formatting, typedefs)

* Separate arguments from process spawning

This will make calling attach easier

* Add a basic test for flutter attach --machine

* Fix crash if port unforward modifies the list of forwarded ports

* Add a no-op port forwarder for flutter-tester

* Switch to using BasicProject instead of our own inline code

* Fix expectation in test now we have a portForwarder

* Remove stale TODO (this is done)

* Tweak formatting

* Change some Completers to void to fix Dart 2 issues
2018-07-19 13:38:29 +01:00
..
android Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
base Make cleanup of flutter processes in tests more reliable (#19307) 2018-07-19 11:37:40 +01:00
commands Add --machine support for flutter attach (#19077) 2018-07-19 13:38:29 +01:00
dart Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
fuchsia enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
intellij Extract checking IntelliJ packages into a helper and use for Android Studio. (#16198) 2018-04-04 10:48:46 -07:00
ios Flutter emulator launch crash running in dart-2-mode (#19454) 2018-07-19 10:32:44 +01:00
runner Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -07:00
test Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
tester Add --machine support for flutter attach (#19077) 2018-07-19 13:38:29 +01:00
vscode Fix type for Dart 2 (#18998) 2018-07-03 07:37:00 +01:00
application_package.dart Revert "Use FlutterProject to locate files (#18913)" (#19409) 2018-07-16 16:21:20 +02:00
artifacts.dart Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
asset.dart Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
build_info.dart Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
bundle.dart Add flutter tool support for creating app-specific VM snapshots. (#18417) 2018-06-15 11:53:30 -07:00
cache.dart Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
compile.dart Preserve original kernel file for isolate spawn requests. (#18127) 2018-07-12 13:41:15 -07:00
context_runner.dart Remove race conditions involving finding available ports (#18698) 2018-06-27 16:44:28 -07:00
crash_reporting.dart make crash server URL customizable from environment (#18649) 2018-06-20 15:43:43 -07:00
dependency_checker.dart Use deprecated io constants (#17278) 2018-05-03 22:27:29 -07:00
devfs.dart Preserve original kernel file for isolate spawn requests. (#18127) 2018-07-12 13:41:15 -07:00
device.dart Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
disabled_usage.dart Don't collect usage data during Fuchsia build (#12780) 2017-10-30 12:28:31 -07:00
doctor.dart enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
emulator.dart Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
flutter_manifest.dart Revert "Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277)" (#19295)" (#19322) 2018-07-12 14:59:22 -07:00
globals.dart enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
plugins.dart Revert "Use FlutterProject to locate files (#18913)" (#19409) 2018-07-16 16:21:20 +02:00
project.dart Revert "Use FlutterProject to locate files (#18913)" (#19409) 2018-07-16 16:21:20 +02:00
protocol_discovery.dart Remove race conditions involving finding available ports (#18698) 2018-06-27 16:44:28 -07:00
resident_runner.dart Add --machine support for flutter attach (#19077) 2018-07-19 13:38:29 +01:00
run_cold.dart Add --machine support for flutter attach (#19077) 2018-07-19 13:38:29 +01:00
run_hot.dart Add --machine support for flutter attach (#19077) 2018-07-19 13:38:29 +01:00
services.dart Use deprecated io constants (#17278) 2018-05-03 22:27:29 -07:00
template.dart Add module template for Android (#18697) 2018-06-22 18:19:37 +02:00
tracing.dart Revert "Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277)" (#19295)" (#19322) 2018-07-12 14:59:22 -07:00
usage.dart enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
version.dart Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
vmservice_record_replay.dart Use Dart 2 camel case constants (#15360) 2018-03-12 11:06:32 -07:00
vmservice.dart Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00