1. 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
  2. 01 Dec, 2016 1 commit
  3. 28 Nov, 2016 2 commits
  4. 14 Nov, 2016 1 commit
    • 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
  5. 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
  6. 25 Aug, 2016 1 commit
    • Chris Bracken's avatar
      Support a configurable build directory (#5601) · b5f763b4
      Chris Bracken authored
      This change adds a top-level getBuildDirectory func and funcs for
      android, aot, asset, ios build products.
      
      Developers may now add a "build-dir" mapping to their
      ~/.flutter_settings (JSON format) config file. Output directory is
      relative to the main flutter application directory.
      
      This change also changes the default build directory for iOS builds to a
      subdirectory of the configured build directory, 'build/ios' by default.
      b5f763b4
  7. 24 Aug, 2016 1 commit
  8. 17 Aug, 2016 1 commit
  9. 11 Aug, 2016 1 commit
  10. 09 Aug, 2016 1 commit
  11. 14 Jun, 2016 1 commit
    • Ian Hickson's avatar
      Lock flutter tool while updating artifacts (#4476) · f92f71fe
      Ian Hickson authored
      This prevents multiple simultaneous runs of the analyzer from stomping
      over each other (e.g. multiple runs of 'update-packages'). Certain
      long-lived commands (like analyze, run, logs) are exempted once they've
      done enough work to be safe from most stomping action.
      
      This still doesn't make us entirely safe from craziness, e.g. if you're
      half way through an 'update-packages' run and you call 'git pull', who
      knows what state you'll end up in. But there's only so much one can do.
      
      Fixes https://github.com/flutter/flutter/issues/2762
      f92f71fe
  12. 07 Jun, 2016 1 commit
    • Devon Carew's avatar
      add a restart command to the daemon protocol (#4385) · 3ba17136
      Devon Carew authored
      * refactor the --resident run option into a separate file
      
      * update daemon to run --resident apps
      
      * re-plumbing daemon start
      
      * send app logs
      
      * update tests
      
      * review changes
      
      * fix test runner
      
      * remove PackageMap.createGlobalInstance; rely on the ctor
      
      * review comments
      3ba17136
  13. 19 May, 2016 1 commit
  14. 13 May, 2016 1 commit
    • Devon Carew's avatar
      Consolidate observatory code (#3892) · 40c0d6ea
      Devon Carew authored
      * rename service_protocol.dart to protocol_discovery.dart
      
      * add a wrapper around the obs. protocol
      
      * use json-rpc in run
      
      * consolidate obs. code; implement flutter run --benchmark
      
      * review comments
      40c0d6ea
  15. 10 May, 2016 1 commit
  16. 28 Apr, 2016 1 commit
  17. 27 Apr, 2016 1 commit
    • Devon Carew's avatar
      Flutter run (#3553) · b0dca796
      Devon Carew authored
      * rework flutter run
      
      * fix npe with --debug-port
      
      * connect to obs and exit when that conneciton closes
      
      * update todos
      b0dca796
  18. 19 Apr, 2016 1 commit
  19. 04 Apr, 2016 1 commit
  20. 21 Mar, 2016 1 commit
  21. 14 Mar, 2016 2 commits
  22. 11 Mar, 2016 1 commit
  23. 26 Feb, 2016 1 commit
  24. 24 Feb, 2016 1 commit
  25. 21 Feb, 2016 1 commit
  26. 17 Feb, 2016 1 commit
  27. 13 Feb, 2016 1 commit
  28. 10 Feb, 2016 1 commit
  29. 29 Jan, 2016 1 commit
  30. 28 Jan, 2016 2 commits
  31. 27 Jan, 2016 1 commit
    • Jason Simmons's avatar
      Allow collection of trace files when adbd is not running as root · 58ba5129
      Jason Simmons authored
      Also fix a bug where the trace command may capture the wrong file
      if multiple trace file paths are in the Android log buffer.
      
      Previously we found a lower bound timestamp for the trace path log
      by running the date command on the device and parsing the result on
      the host.  This could yield an inaccurate result if the device and
      host are using different time zones.
      
      The command will now obtain the most recent timestamp in the device's
      time format by running logcat.
      58ba5129
  32. 22 Jan, 2016 1 commit
  33. 03 Dec, 2015 1 commit
  34. 29 Nov, 2015 1 commit
    • Adam Barth's avatar
      Clean up code organization in flutter_tools · 9662d49e
      Adam Barth authored
      1) Moved basic utility code into base/ directory to make it clear which code
         doesn't depend on Flutter-specific knowldge.
      2) Move the CommandRunner subclasses into a runner/ directory because these
         aren't commands themselves.
      9662d49e
  35. 10 Nov, 2015 1 commit
  36. 29 Oct, 2015 1 commit
  37. 17 Oct, 2015 1 commit