1. 22 Jun, 2016 1 commit
  2. 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
  3. 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
  4. 13 Jun, 2016 2 commits
  5. 10 Jun, 2016 2 commits
  6. 03 Jun, 2016 2 commits
  7. 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
  8. 23 May, 2016 1 commit
  9. 20 May, 2016 1 commit
  10. 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
  11. 12 May, 2016 2 commits
  12. 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
  13. 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
  14. 04 May, 2016 1 commit
  15. 28 Apr, 2016 1 commit
  16. 26 Apr, 2016 1 commit
  17. 25 Apr, 2016 2 commits
  18. 20 Apr, 2016 1 commit
  19. 18 Apr, 2016 3 commits
  20. 16 Apr, 2016 1 commit
  21. 14 Apr, 2016 2 commits
    • pq's avatar
      Adding `@optionalTypeArgs`. · de25ea22
      pq authored
      With the new dev build we've got the updated linter and so can use the `@optionalTypeArgs` annotation (in `meta 0.12.0`).
      
      Bonus: this lets us clean up one more Regexp in the `analyze` command! :)
      de25ea22
    • Devon Carew's avatar
      run pub for analyze and test (#3310) · b172dd5a
      Devon Carew authored
      * run pub for analyze and test
      
      * don't run pub when doing repo analysis
      
      * move logic for when to run pub into the commands
      
      * re-write ternary expression
      b172dd5a
  22. 11 Apr, 2016 3 commits
  23. 04 Apr, 2016 1 commit
  24. 01 Apr, 2016 1 commit
  25. 30 Mar, 2016 1 commit
  26. 28 Mar, 2016 1 commit