1. 30 Jul, 2018 1 commit
    • Ian Hickson's avatar
      Clean up startProgress logic. (#19695) (#20009) · acf4b6c1
      Ian Hickson authored
      Disallow calling stop() or cancel() multiple times. This means that
      when you use startProgress you have to more carefully think about what
      exactly is going on.
      
      Properly cancel startProgress in non-ANSI situations, so that
      back-to-back startProgress calls all render to the console.
      acf4b6c1
  2. 26 Jul, 2018 2 commits
  3. 20 Jul, 2018 2 commits
  4. 19 Jul, 2018 1 commit
    • 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
  5. 16 Jul, 2018 2 commits
  6. 11 Jul, 2018 1 commit
  7. 09 Jul, 2018 1 commit
  8. 28 Jun, 2018 2 commits
    • Danny Tuppeny's avatar
      Remove the 'app' domain from flutter daemon (#18873) · 108da013
      Danny Tuppeny authored
      * Remove the 'app' domain from flutter daemon
      
      By default the daemon won't register the "app" domain, you need to opt-in (which the 'run' command does, as well as the tests for the app functionality).
      
      Fixes #6658.
      
      * Tweak text
      
      * Put restart/callServiceExtension/stop back into daemon mode
      
      * Add a comment about removing discoverApps
      108da013
    • Danny Tuppeny's avatar
      Expose emulator creation to daemon API (#18905) · 7e4038fe
      Danny Tuppeny authored
      * Fix typo
      
      * Add emulator.create to Daemon API
      
      * Swap order of daemon changelog entries
      7e4038fe
  9. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  10. 11 Jun, 2018 1 commit
    • Greg Spencer's avatar
      Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) · 6c56bb24
      Greg Spencer authored
      Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
      
      Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
      
      No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
      6c56bb24
  11. 08 Jun, 2018 3 commits
    • Chris Bracken's avatar
      It's time to #deleteDart1 (again) (#18316) · 3daebd05
      Chris Bracken authored
      * It's time to #deleteDart1 (#18293)
      
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      
      * Fix indentation, remove no longer necessary .toList()
      
      * Only push udpated kernel if >0 invalidated srcs
      3daebd05
    • Chris Bracken's avatar
      Revert "It's time to #deleteDart1 (#18293)" (#18313) · 9495df4b
      Chris Bracken authored
      Several benchmarks started failing during kernel compile:
      1. Timeouts:
         * commands_test
         * hot_mode_dev_cycle__benchmark
         * run_machine_concurrent_hot_reload
         * service_extensions_test
      
      2. Kernel compiler crash:
         * hot_mode_dev_cycle_linux__benchmark
         * routing_test
      
      3. Unexpected termination:
         * hot_mode_dev_cycle_win__benchmark
      
      This reverts commit ed63e708.
      9495df4b
    • Chris Bracken's avatar
      It's time to #deleteDart1 (#18293) · ed63e708
      Chris Bracken authored
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      ed63e708
  12. 05 Jun, 2018 1 commit
  13. 30 May, 2018 2 commits
  14. 28 May, 2018 1 commit
    • Danny Tuppeny's avatar
      Send an event at startup with the protocol version and pid (#17873) · 24e2b238
      Danny Tuppeny authored
      * Send an event at startup with the protocol version and pid
      
      The pid will help with some of the issues of terminate the process when launched through a shell script and the version will allow clients to make decisions about supported features.
      
      I've also bumped the protocol version number for two reasons:
      
      1. This change
      2. We didn't increase it when we added the previous emulator commands
      24e2b238
  15. 22 May, 2018 1 commit
  16. 10 Apr, 2018 1 commit
  17. 28 Mar, 2018 2 commits
  18. 12 Mar, 2018 1 commit
  19. 09 Mar, 2018 1 commit
  20. 06 Mar, 2018 3 commits
  21. 02 Mar, 2018 1 commit
  22. 01 Mar, 2018 1 commit
  23. 28 Feb, 2018 1 commit
    • jcollins-g's avatar
      Android license detector in doctor, take two (#14783) · 614df694
      jcollins-g authored
      * Revert "Revert "Add android license verification to doctor and some refactoring" (#14727)"
      
      This reverts commit d2602947.
      
      * Add tests, fix sdkManagerEnv and use it consistently, and rearrange Status object model
      
      * AnsiSpinner needs to leave the cursor where it found it.
      
      * fix tests
      
      * Const constructor warning only shows up on windows...?
      
      * Avoid crash if we can't find the home directory
      
      * Make pathVarSeparator return a string in the mock
      
      * Implement review comments
      
      * Fix out-of-order problem on stop
      614df694
  24. 16 Feb, 2018 2 commits
  25. 15 Feb, 2018 2 commits
  26. 14 Feb, 2018 1 commit
  27. 13 Feb, 2018 1 commit
  28. 08 Feb, 2018 1 commit