1. 07 Dec, 2017 2 commits
  2. 06 Dec, 2017 1 commit
  3. 02 Dec, 2017 1 commit
  4. 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
  5. 17 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Fix spelling errors in all the dartdocs. (#13061) · 0259be90
      Greg Spencer authored
      I got tired of drive-by spelling fixes, so I figured I'd just take care of them all at once.
      
      This only corrects errors in the dartdocs, not regular comments, and I skipped any sample code in the dartdocs. It doesn't touch any identifiers in the dartdocs either. No code changes, just comments.
      0259be90
  6. 22 Oct, 2017 1 commit
  7. 03 Oct, 2017 1 commit
    • Alexander Markov's avatar
      Add hidden options --extra-front-end-options and --extra-gen-snapshot-options... · 7153dea2
      Alexander Markov authored
      Add hidden options --extra-front-end-options and --extra-gen-snapshot-options to flutter tool (#12219)
      
      This CL introduces 2 hidden options to 'flutter build aot' and 'flutter run' for passing arbitrary arguments to front-end server and to gen_snapshot tool when building and running flutter app in --profile or --release modes.
      
      The ability to pass arbitrary options simplifies various experiments, as it removes the need to change defaults and rebuild flutter engine for every tested configuration.
      7153dea2
  8. 26 Sep, 2017 2 commits
  9. 31 Aug, 2017 1 commit
  10. 25 Aug, 2017 1 commit
  11. 23 Aug, 2017 1 commit
  12. 22 Aug, 2017 2 commits
  13. 19 Jul, 2017 1 commit
  14. 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
  15. 09 Jun, 2017 1 commit
  16. 08 May, 2017 1 commit
  17. 27 Apr, 2017 2 commits
  18. 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
  19. 02 Apr, 2017 1 commit
  20. 21 Mar, 2017 1 commit
    • Michael Goderbauer's avatar
      Avoid downloading artifacts twice (#8872) · d35a9db6
      Michael Goderbauer authored
      * Avoid downloading artifacts twice
      
      * Don't update cache before `flutter upgrade` is executed (`flutter upgrade` might bump the engine version)
      * Don't update cache twice during `flutter precache`
      
      Fixes #8249.
      
      * add test
      d35a9db6
  21. 10 Mar, 2017 2 commits
  22. 04 Mar, 2017 1 commit
  23. 27 Jan, 2017 3 commits
  24. 24 Jan, 2017 1 commit
  25. 07 Jan, 2017 1 commit
    • Todd Volkert's avatar
      Update flutter_tools to use package:file throughout (#7385) · 8bb27034
      Todd Volkert authored
      This removes direct file access from within flutter_tools
      in favor of using `package:file` via a `FileSystem` that's
      accessed via the `ApplicationContext`.
      
      This lays the groundwork for us to be able to easily swap
      out the underlying file system when running Flutter tools,
      which will be used to provide a record/replay file system,
      analogous to what we have for process invocations.
      8bb27034
  26. 29 Nov, 2016 1 commit
  27. 14 Nov, 2016 2 commits
    • Dan Rubel's avatar
      Refactor flutter command exit code - part 3 of 3 (#6838) · 34e466f1
      Dan Rubel authored
      * Remove the workaround that pinned args to v0.13.6
      This reverts most of the changes in commit 6331b6c8
      * throw exception if exit code is not an integer
      * rework command infrastructure to throw ToolExit when non-zero exitCode
      * convert commands to return Future<Null>
      * cleanup remaining commands to use throwToolExit for non-zero exit code
      * remove isUnusual exception message
      * add type annotations for updated args package
      34e466f1
    • Dan Rubel's avatar
      Refactor flutter command exit code - part 2 (#6817) · e384c0d9
      Dan Rubel authored
      * convert pubGet to throw ToolExit on non-zero exit code
      * convert commandValidator to throw ToolExit for non-zero exit code
      * convert flutter commands to throw ToolExit for non-zero exit code
      * use convenience method throwToolExit
      * only show "if this problem persists" for unusual exceptions
      e384c0d9
  28. 01 Nov, 2016 1 commit
  29. 28 Sep, 2016 1 commit
    • John McCutchan's avatar
      Fix flutter run --use-application-binary (#6106) · ca8070f9
      John McCutchan authored
      When using --use-application-binary:
      
      - [x] Stop flutter run from checking for a pubspec.yaml in current directory
      - [x] Stop flutter run from invoking pub get
      - [x] Set 'shouldBuild' based on --use-application-binary
      - [x] Stop requiring 'lib/main.dart' to be present before running.
      - [x] Stop building an FLX when launching on Android
      ca8070f9
  30. 16 Sep, 2016 1 commit
    • Dan Rubel's avatar
      Refactor flutter command execution (#5892) · 18212382
      Dan Rubel authored
      * refactor _run to runCmd
      
      * replace requiresProjectRoot getter with call to commandValidator
      
      * replace requiresDevice getter with call to findTargetDevice
      
      * trace command requires a debug connection, not a device
      
      * inline androidOnly getter
      
      * rename command methods to verifyTheRunCmd and runCmd
      
      * move common verification into BuildSubCommand
      
      * rename deviceForCommand to device
      
      * rename methods to verifyThenRunCommand and runCommand
      18212382
  31. 08 Sep, 2016 1 commit
  32. 01 Sep, 2016 1 commit