• Danny Tuppeny's avatar
    Add `--machine` support for `flutter attach` (#19077) · ed9afbbc
    Danny Tuppeny authored
    * 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
    ed9afbbc
Name
Last commit
Last update
..
android Loading commit data...
base Loading commit data...
commands Loading commit data...
dart Loading commit data...
fuchsia Loading commit data...
intellij Loading commit data...
ios Loading commit data...
runner Loading commit data...
test Loading commit data...
tester Loading commit data...
vscode Loading commit data...
application_package.dart Loading commit data...
artifacts.dart Loading commit data...
asset.dart Loading commit data...
build_info.dart Loading commit data...
bundle.dart Loading commit data...
cache.dart Loading commit data...
compile.dart Loading commit data...
context_runner.dart Loading commit data...
crash_reporting.dart Loading commit data...
dependency_checker.dart Loading commit data...
devfs.dart Loading commit data...
device.dart Loading commit data...
disabled_usage.dart Loading commit data...
doctor.dart Loading commit data...
emulator.dart Loading commit data...
flutter_manifest.dart Loading commit data...
globals.dart Loading commit data...
plugins.dart Loading commit data...
project.dart Loading commit data...
protocol_discovery.dart Loading commit data...
resident_runner.dart Loading commit data...
run_cold.dart Loading commit data...
run_hot.dart Loading commit data...
services.dart Loading commit data...
template.dart Loading commit data...
tracing.dart Loading commit data...
usage.dart Loading commit data...
version.dart Loading commit data...
vmservice.dart Loading commit data...
vmservice_record_replay.dart Loading commit data...