1. 02 Aug, 2018 1 commit
    • asiva's avatar
      Fix issues found running tests · 35d50a0e
      asiva authored
      //mobile/flutter/tests/app:basic_runner_test_*
      during a google3 roll.
      
      The following exception was being thrown
      
      _TypeError: type 'String' is not a subtype of type 'File'
      
      ```
      8)
      <asynchronous suspension>
      utter_command.dart:347:18)
      <asynchronous suspension>
      /flutter_command.dart:282:33)
      <asynchronous suspension>
      xt.dart:142:29)
      <asynchronous suspension>
      35d50a0e
  2. 20 Jul, 2018 1 commit
  3. 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
  4. 16 Jul, 2018 2 commits
  5. 27 Jun, 2018 1 commit
  6. 15 Jun, 2018 3 commits
  7. 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
  8. 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
  9. 05 Jun, 2018 1 commit
  10. 21 May, 2018 1 commit
  11. 10 May, 2018 1 commit
  12. 09 May, 2018 1 commit
  13. 21 Apr, 2018 1 commit
  14. 17 Mar, 2018 3 commits
  15. 16 Mar, 2018 3 commits
  16. 09 Mar, 2018 1 commit
  17. 08 Mar, 2018 1 commit
  18. 06 Mar, 2018 3 commits
  19. 02 Mar, 2018 1 commit
  20. 01 Mar, 2018 1 commit
  21. 21 Feb, 2018 1 commit
  22. 16 Feb, 2018 2 commits
  23. 12 Feb, 2018 1 commit
  24. 08 Feb, 2018 2 commits
  25. 29 Jan, 2018 1 commit
    • Todd Volkert's avatar
      Extensibility improvements to flutter_tools (#14299) · 1859e82a
      Todd Volkert authored
      * Make the current command injected into the AppContext, allowing
        other classes to inject the current command.
      * Introduce `AssetBundleFactory`, an injected factory class for
        spawning instances of `AssetBundle`. This allows other run contexts
        to use custom asset bundling logic.
      * Clean up RunCommand by removing a 'packages' argument that duplicated
        a global argument by the same name (and for the same purpose).
        Duplicate arguments are confusing and error-prone.
      1859e82a
  26. 20 Jan, 2018 1 commit
  27. 04 Jan, 2018 1 commit
    • Siva's avatar
      support for --strong option (#13859) · 426d6b06
      Siva authored
      * Plumb a --strong option through to the front end server and the engine
      so that we can run flutter apps in preview-dart-2 and strong mode
      
      * - Address analyzer lint issues
      *- correctly set up strong mode option in the case of AOT builds
      426d6b06