1. 11 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Add even more careful checks around BoxConstraints (#3243) · 47f5c6f2
      Ian Hickson authored
      I ran into a case where I was setting minHeight=∞ and then calling
      layout() with that constraint, which is all kinds of bad. To try to
      catch this earlier, this patch now provides a way to catch constraints
      that are requiring infinite values.
      
      We don't _always_ check this because there are valid uses for
      BoxConstraints.biggest, e.g. as an additionalConstraint.
      47f5c6f2
  2. 31 Mar, 2016 2 commits
  3. 29 Mar, 2016 1 commit
  4. 24 Mar, 2016 1 commit
    • Hixie's avatar
      Support hairline borders · 9fc29dbb
      Hixie authored
      Previously, border with '0' was ambiguous. Sometimes we treated it as
      hairline borders, sometimes as "don't show the border", though even in
      the latter case we did some graphics work sometimes. Now we have an
      explicit BorderStyle.none flag to not draw the border efficiently.
      9fc29dbb
  5. 21 Mar, 2016 1 commit
    • Ian Hickson's avatar
      Refactor cassowary so it uses imports rather than parts. · 552896af
      Ian Hickson authored
      Also misc cleanup:
       - reorder members to be more consistent and fit the style guide
       - remove use of _Pair
       - made Variable.applyUpdate and Variable.owner public
       - added docs to Priority, tweaked the code a bit
       - added some docs to Result
       - removed the internal-error Result (replaced with asserts)
       - removed unused Results
       - made Result const
       - merged some files together since they had used privates a lot
      
      I'm sorry this is completely unreviewable. I did the move from `lib/*`
      to `lib/src/*` first, then did the `part`-to-`import` change, and then
      found out how many of the files involved privates, which I wasn't
      expecting. I can redo this as multiple commits if that would make it
      easier to review.
      552896af
  6. 17 Mar, 2016 1 commit
  7. 14 Mar, 2016 2 commits
  8. 13 Mar, 2016 3 commits
  9. 12 Mar, 2016 6 commits
  10. 11 Mar, 2016 1 commit
  11. 10 Mar, 2016 1 commit
  12. 09 Mar, 2016 1 commit
    • Adam Barth's avatar
      Remove //examples/widgets · e4b1eab8
      Adam Barth authored
      Most of the remaining widget examples are actually manual tests. This patch
      moves them into //dev/manual_tests. A couple are examples of using services,
      which I've moved to //examples/layers/services. The remainder are out-dated and
      are removed by this patch.
      e4b1eab8
  13. 08 Mar, 2016 1 commit
  14. 04 Mar, 2016 1 commit
  15. 02 Mar, 2016 2 commits
  16. 24 Feb, 2016 1 commit
    • Adam Barth's avatar
      Improve TextSpan · fb4dbf45
      Adam Barth authored
      Now we just have one TextSpan class that handles both simple strings, trees of
      children, and styling both. This approach simplifies the interface for most
      clients.
      
      This patch also removes StyledText, which was weakly typed and tricky to use
      correctly. The replacement is RichText, which is strongly typed and uses
      TextSpan.
      fb4dbf45
  17. 17 Feb, 2016 1 commit
  18. 16 Feb, 2016 1 commit
  19. 15 Feb, 2016 2 commits
    • Adam Barth's avatar
      Simplify the AutoLayout API · c7d71d8a
      Adam Barth authored
      This patch makes it easier to use the auto layout API:
      
      * We no longer use operator== because that requires an ugly cast by the
        API user.
      * Also, "leftEdge" is now just "left" for less verbosity.
      * AutoLayoutChild not implies its key from the AutoLayoutParam object.
      * We now correctly layout every child of a RenderAutoLayout object even
        if the solver doesn't flush any updates to that child.
      c7d71d8a
    • Adam Barth's avatar
      Add support for autolayout to widgets · 262dd7a6
      Adam Barth authored
      This patch teaches the widget framework how to use Cassowary-based
      autolayout. To integrate autolayout with widgets, I had to refactor how
      RenderAutoLayout worked a bit. Now RenderAutoLayout follows the same
      delegate pattern we use for custom paint and custom layout.
      262dd7a6
  20. 14 Feb, 2016 2 commits
  21. 13 Feb, 2016 1 commit
    • Adam Barth's avatar
      Clean up the standalone examples · 948ae15c
      Adam Barth authored
      Our examples have been growing organically over time. This patch cleans
      them up to illustrate specific aspects of Flutter.
      948ae15c