1. 24 Jul, 2018 1 commit
  2. 23 Jul, 2018 1 commit
  3. 20 Jul, 2018 4 commits
  4. 16 Jul, 2018 4 commits
  5. 09 Jul, 2018 1 commit
  6. 28 Jun, 2018 3 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
    • Danny Tuppeny's avatar
      Add --create option to `flutter emulators` command (#18235) · cdb01187
      Danny Tuppeny authored
      * Add --create option to flutter emulators
      
      * Tweaks to error message
      
      * Simplify emulator search logic
      
      * Make name optional
      
      * Add a note about this option being used with --create
      
      * Tweaks to help information
      
      * Switch to processManager for easier testing
      
      * Don't crash on missing files or missing properties in Android Emulator
      
      * Move name suffixing into emulator manager
      
      This allows it to be tested in the EmulatorManager tests and also used by daemon later if desired.
      
      * Pass the context's android SDK through so it can be mocked by tests
      
      * Misc fixes
      
      * Add tests around emulator creation
      
      Process calls are mocked to avoid needing a real SDK (and to be fast). Full integration tests may be useful, but may require ensuring all build environments etc. are set up correctly.
      
      * Simplify avdManagerPath
      
      Previous changes were to emulatorPath!
      
      * Fix lint errors
      
      * Fix incorrect file exgtension for Windows
      
      * Fix an issue where no system images would crash
      
      reduce throws on an empty collection.
      
      * Fix "null" appearing in error messages
      
      The name we attempted to use will now always be returned, even in the case of failure.
      
      * Add additional info to missing-system-image failure message
      
      On Windows after installing Andriod Studio I didn't have any of these and got this message. Installing with sdkmanager fixed the issue.
      
      * Fix thrown errors
      
      runResult had a toString() but we moved to ProcessResult when switching to ProcessManager to this ended up throwing "Instance of ProcessResult".
      
      * Fix package import
      
      * Fix more package imports
      
      * Move mock implementation into Mock class
      
      There seemed to be issues using Lists in args with Mockito that I couldn't figure out (docs say to use typed() but I couldn't make this compile with these lists still)..
      
      * Rename method that's ambigious now we have create
      
      * Handle where there's no avd path
      
      * Add another toList() :(
      
      * Remove comment that was rewritten
      
      * Fix forbidden import
      
      * Make optional arg more obviously optional
      
      * Reformat doc
      
      * Note that we create a pixel device in help text
      
      * Make this a named arg
      cdb01187
  7. 27 Jun, 2018 1 commit
  8. 22 Jun, 2018 1 commit
  9. 15 Jun, 2018 4 commits
  10. 14 Jun, 2018 1 commit
  11. 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
  12. 12 Jun, 2018 1 commit
  13. 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
  14. 06 Jun, 2018 1 commit
  15. 05 Jun, 2018 2 commits
  16. 04 Jun, 2018 1 commit
  17. 31 May, 2018 1 commit
  18. 30 May, 2018 1 commit
    • Ralph Bergmann's avatar
      add version to pubspec.yaml (#16857) · c65e9d19
      Ralph Bergmann authored
      Uses the `version` property from the `pubspec.yaml` file to set the corresponding fields in the `local.properties` file respectively in the `Generated.xcconfig` file.
      
      The `--build-name` and `--build-number` options have changed. Now they trump the `version` property from the `pubspec.yaml` file.
      
      If the `version` property is not set and the  `--build-name` and `--build-number` options are not provided, the build command will not change the `local.properties` / `Generated.xcconfig` file.
      c65e9d19
  19. 22 May, 2018 1 commit
  20. 18 May, 2018 2 commits
  21. 15 May, 2018 1 commit
  22. 14 May, 2018 1 commit
  23. 09 May, 2018 3 commits