1. 28 Apr, 2016 1 commit
  2. 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
  3. 14 Mar, 2016 1 commit
  4. 12 Mar, 2016 1 commit
  5. 16 Feb, 2016 1 commit
  6. 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