1. 15 Jun, 2018 2 commits
  2. 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
  3. 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
  4. 05 Jun, 2018 1 commit
  5. 30 May, 2018 2 commits
  6. 21 May, 2018 1 commit
  7. 29 Mar, 2018 1 commit
  8. 28 Mar, 2018 2 commits
  9. 07 Mar, 2018 1 commit
  10. 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
  11. 21 Feb, 2018 1 commit
  12. 16 Feb, 2018 1 commit
  13. 15 Feb, 2018 2 commits
  14. 01 Feb, 2018 1 commit
  15. 07 Dec, 2017 1 commit
  16. 29 Nov, 2017 1 commit
    • Todd Volkert's avatar
      Add support for IOS_SIMULATOR_HOME environment variable in IOSSimulat… (#13236) · 137f0751
      Todd Volkert authored
      Add support for IOS_SIMULATOR_HOME environment variable in IOSSimulator.logFilePath
      
      flutter_tools can be run on environments where the user's HOME directory
      is not the root of the iOS simulators' configs. This change adds support
      for such environments by allowing the caller to set the simulator root
      directory via an environment variable.
      137f0751
  17. 21 Nov, 2017 1 commit
    • Martin Kustermann's avatar
      Add support for NDK discovery and add --prefer-shared-library option (#12788) · 545ec9ef
      Martin Kustermann authored
      * Add support for NDK discovery and add --prefer-shared-library option
      
      We would like to be able to use native tools (e.g. simpleperf, gdb) with
      precompiled flutter apps.  The native tools work much better with *.so
      files instead of the custom formats the Dart VM uses by default.
      
      The reason for using blobs / instruction snapshots is that we do not
      want to force flutter users to install the Android NDK.
      
      This CL adds a `--prefer-shared-library` flag to e.g. `flutter build
      apk` which will use the NDK compiler (if available) to turn the
      precompiled app assembly file to an `*.so` file.  If the NDK compiler is
      not available it will default to the default behavior.
      
      * Rebase, add test for NDK detection, augment flutter.gradle with @Input for flag
      
      * Use InMemoryFileSystem for test
      
      * Remove unused import
      
      * Address some analyzer warnings
      545ec9ef
  18. 29 Sep, 2017 1 commit
  19. 06 Sep, 2017 1 commit
  20. 10 Jul, 2017 1 commit
    • Seth Ladd's avatar
      Run target analytics (#10902) · 834fbcb8
      Seth Ladd authored
      * report run target and if it is an emulator
      
      * don't print debug
      
      * rename parameter, remove unused variable
      
      * fix test
      
      * fix comment
      
      * tweak from review, and fix analyzer error
      
      * send custom parameters for the event, not the session
      
      * fix mock
      
      * use the +1 for usage
      834fbcb8
  21. 25 May, 2017 1 commit
  22. 27 Apr, 2017 2 commits
  23. 26 Apr, 2017 1 commit
    • Todd Volkert's avatar
      Switch many `Device` methods to be async (#9587) · 60c5ffc1
      Todd Volkert authored
      `adb` can sometimes hang, which will in turn hang the Dart isolate if
      we're using `Process.runSync()`. This changes many of the `Device` methods
      to return `Future<T>` in order to allow them to use the async process
      methods. A future change will add timeouts to the associated calls so
      that we can properly alert the user to the hung `adb` process.
      
      This is work towards #7102, #9567
      60c5ffc1
  24. 20 Apr, 2017 1 commit
  25. 04 Apr, 2017 1 commit
  26. 02 Apr, 2017 1 commit
  27. 28 Mar, 2017 1 commit
  28. 14 Mar, 2017 1 commit
    • Todd Volkert's avatar
      Make tests more hermetic. (#8765) · 1b4f817b
      Todd Volkert authored
      1. Add `PortScanner` abstraction so that we don't do actual port scanning
         in tests.
      2. Don't change the real `cwd` of the isolate during tests, as it affects
         all tests, not just the current running test.
      
      Fixes #8761
      1b4f817b
  29. 13 Mar, 2017 1 commit
  30. 10 Mar, 2017 2 commits
  31. 09 Mar, 2017 1 commit
  32. 07 Mar, 2017 1 commit
  33. 06 Mar, 2017 1 commit
    • Todd Volkert's avatar
      Update flutter_tools test utils to prepare for record/replay tests (#8591) · 96ccad53
      Todd Volkert authored
      1. Add matchers for the `ProcessExit` exception class
      2. Add ability to control the setup of the `AppContext` we use in
         `testUsingContext()`
      3. Clean up the code that figures out the location of `Cache.flutterRoot`
         such that it works with `pub run test`. It previously only worked
         when the tests were invoked with standalone `dart`
      
      `#3` above will also help unblock #7941
      96ccad53
  34. 04 Mar, 2017 1 commit