1. 28 Mar, 2017 1 commit
  2. 04 Mar, 2017 1 commit
  3. 14 Feb, 2017 1 commit
  4. 13 Feb, 2017 1 commit
  5. 02 Feb, 2017 1 commit
  6. 23 Jan, 2017 1 commit
  7. 22 Jan, 2017 1 commit
  8. 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
  9. 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
  10. 11 Nov, 2016 1 commit
  11. 04 Oct, 2016 1 commit
  12. 23 Sep, 2016 1 commit
  13. 22 Sep, 2016 1 commit
  14. 21 Sep, 2016 1 commit
    • James Robinson's avatar
      Isolate imports of generated Dart code from generated path (#5960) · a95c9fdb
      James Robinson authored
      This rewrites imports of various mojom.dart files from the Flutter
      engine repo to instead import normal-looking dart files from the
      (new) flutter_services package. This package handles exporting the
      correct symbols from generated code wherever that may live.
      
      Includes an engine roll to 3551e7a48e2e336777b15c7637af92fd7605b6c5
      which contains the new flutter_services package.
      a95c9fdb
  15. 16 Sep, 2016 2 commits
    • Phil Quitslund's avatar
      Update tools to use `analyzer` from vended Dart SDK. (#5900) · fffde14f
      Phil Quitslund authored
      * Update tools to use `analyzer` from vended Dart SDK.
      
      * updates `flutter_tools` and `flutter_test` to use the SDK-vended `analyzer` package
      * tweaks dependency tracking logic to only record the SDK-vended `analyzer` so as not to crash on spurious conflicts (due to transitive dependencies)
      
      * Review fixes.
      fffde14f
    • 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
  16. 15 Sep, 2016 1 commit
    • Dan Rubel's avatar
      move all analysis options to repo root (#5882) · cc1755aa
      Dan Rubel authored
      This moves all of the various .analysis_options* files to the flutter repo root so that it's easier to
      * remember to keep them all in sync, and
      * easily refer customers to them
      cc1755aa
  17. 13 Sep, 2016 1 commit
  18. 08 Sep, 2016 1 commit
    • Dan Rubel's avatar
      flutter analyze repo analysis options (#5707) · 3ed3390d
      Dan Rubel authored
      This updates the flutter analyze command to use the .analysis_options_flutter_analyze in the repo root when either the --flutter-repo flag is supplied or the sources being analyzed reside in the flutter repo.
      3ed3390d
  19. 22 Jun, 2016 1 commit
  20. 21 Jun, 2016 1 commit
    • Ian Hickson's avatar
      ImageIcon (#4649) · e502e9c8
      Ian Hickson authored
      Anywhere that accepted IconData now accepts either an Icon or an
      ImageIcon.
      
      Places that used to take an IconData in an `icon` argument, notably
      IconButton and DrawerItem, now take a Widget in that slot. You can wrap
      the value that used to be passed in in an Icon constructor to get the
      same result.
      
      Icon itself now takes the icon as a positional argument, for brevity.
      
      ThemeData now has an iconTheme as well as a primaryIconTheme, the same
      way it has had a textTheme and primaryTextTheme for a while.
      
      IconTheme.of() always returns a value now (though that value itself may
      have nulls in it). It defaults to the ThemeData.iconTheme.
      
      IconThemeData.fallback() is a new method that returns an icon theme data
      structure with all fields filled in.
      
      IconTheme.merge() is a new constructor that takes a context and creates
      a widget that mixes in the new values with the inherited values.
      
      Most places that introduced an IconTheme widget now use IconTheme.merge.
      
      IconThemeData.merge and IconThemeData.copyWith act in a way analogous to
      the similarly-named members of TextStyle.
      
      ImageIcon is introduced. It acts like Icon but takes an ImageProvider
      instead of an IconData.
      
      Also: Fix the analyzer to actually check the stocks app.
      e502e9c8
  21. 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
  22. 13 Jun, 2016 2 commits
  23. 10 Jun, 2016 2 commits
  24. 03 Jun, 2016 2 commits
  25. 26 May, 2016 1 commit
    • Devon Carew's avatar
      Flutter run restart (#4105) · ec751776
      Devon Carew authored
      * working on making a faster flutter run restart
      
      * clean up todos; fire events on isolate changes
      
      * use the Flutter.FrameworkInitialization event
      
      * review comments
      ec751776
  26. 23 May, 2016 1 commit
  27. 20 May, 2016 1 commit
  28. 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
  29. 12 May, 2016 2 commits
  30. 09 May, 2016 1 commit
    • pq's avatar
      Analyze update to use in-memory package map. · 46d32794
      pq authored
      Updates the analyze command to pass a package map to analysis rather than a file path.
      
      This allows us to avoid creating a needless temporary `.packages` file and host directory and saves us a trip to disk to retrieve the contents when building our URI resolvers for analysis.
      46d32794
  31. 05 May, 2016 5 commits
    • pq's avatar
      Review cleanup. · eb215c14
      pq authored
      eb215c14
    • Devon Carew's avatar
      a9993664
    • pq's avatar
      3b882fc4
    • pq's avatar
      Dead code cleanup. · e808125c
      pq authored
      e808125c
    • pq's avatar
      Analysis re-work to use analyzer APIs. · a59a713f
      pq authored
      Introduces a new Dart analysis wrapper that works directly with the analyzer API (in favor of shelling out to a separate process).
      
      Some consequences:
      
        * we no longer need to fear parts (simplifying our dart file gathering)
        * we can filter by error code (when needed), rather than by error strings
        * no more IO scraping
        * no need to generate `main()` or to run with `--package-warnings`
        * we now specify an analyzer (and linter) version in the pubspec (we’ll want to make sure this doesn’t diverge too far from the analyzer shipped with the SDK but it does give us some room to play with experimental builds)
        * no more (re)scanning of error source files (and so no more source cache)
        * should generally be a bit simpler and easier to maintain
        * runs a bit faster :)
      a59a713f