1. 06 Jan, 2017 1 commit
    • Ian Hickson's avatar
      Make LayoutCallback generic and other minor changes (#7367) · b0e8520a
      Ian Hickson authored
      LayoutCallback passes constraints to the callback, but the constraints
      object has a different type for different subclasses. This lets you
      call invokeLayoutCallback() with a specific type to verify that
      everything is working as expected.
      
      Other changes:
      
      Slightly improve the error reporting in RenderObject.
      
      Allow toStringShallow on RenderObject to have its separator configured.
      b0e8520a
  2. 07 Jul, 2016 1 commit
    • Adam Barth's avatar
      Cleanup axis-aligned padding (#4845) · 9e111d18
      Adam Barth authored
      We now have an EdgeInsets.along function that projects the padding onto the
      given Axis rather than repeating this function in several places.
      9e111d18
  3. 16 Jun, 2016 2 commits
    • pq's avatar
      Dead code and switch cleanup (continued). · 3e9067a4
      pq authored
      Prep to get us ready to pull in a new dev SDK and bump our analyzer DEP.
      
      * updates `crypto` (required by fresh analyzer)
      * fixes newly flagged dead code warnings
      * fixes switches that fall through and don't return
      3e9067a4
    • pq's avatar
      Dead code and switch cleanup (continued). · e8d1df07
      pq authored
      Prep to get us ready to pull in a new dev SDK and bump our analyzer DEP.
      
      * updates `crypto` (required by fresh analyzer)
      * fixes newly flagged dead code warnings
      * fixes switches that fall through and don't return
      e8d1df07
  4. 14 Jun, 2016 2 commits
    • pq's avatar
      Added asserts. · f5a4e632
      pq authored
      f5a4e632
    • pq's avatar
      Add missing returns. · 7a955487
      pq authored
      As of `1.18.0-dev-0`, these cases will get flagged.  In the meantime, the
      7a955487
  5. 08 Jun, 2016 1 commit
  6. 31 May, 2016 1 commit
  7. 29 May, 2016 1 commit
    • Adam Barth's avatar
      Remove OverlayPainter mechanism (#4264) · 76772608
      Adam Barth authored
      We used to use this mechanism to paint scrollbars, but it's awkward. The
      new approach to scrollbars is much cleaner. This mechanism has no other
      clients, so we should remove it.
      76772608
  8. 27 May, 2016 1 commit
  9. 12 May, 2016 1 commit
  10. 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
  11. 14 Mar, 2016 1 commit
  12. 12 Mar, 2016 4 commits
  13. 12 Feb, 2016 1 commit
  14. 10 Feb, 2016 2 commits
    • Hixie's avatar
      More BoxConstraints asserts · 29654016
      Hixie authored
      The asserting will continue until morale improves!
      
      * Convert all assert(*.isNormalized) checks to use the new
        debugAssertIsNormalized technology.
      * Convert CustomMultiChildLayout to use the new RenderingError
        technology to greatly improve the detail in errors you get when
        writing CustomMultiChildLayout delegates.
      * Add BoxConstraints.copyWith().
      * Indent the descendants in the rendering exception data dump so that
        when you have multiple children it's clearer what's going on.
      29654016
    • Adam Barth's avatar
      Teach ScrollableList about scroll anchors · d6ae53fe
      Adam Barth authored
      d6ae53fe
  15. 09 Feb, 2016 1 commit
  16. 06 Feb, 2016 1 commit
    • Adam Barth's avatar
      Remove HomogeneousViewport · 5b896694
      Adam Barth authored
      The virtual viewport machinery now handles all of these use cases.
      Previous clients of ScrollableWidgetList can use ScrollableLazyList
      instead.
      5b896694
  17. 03 Feb, 2016 1 commit
  18. 11 Jan, 2016 1 commit
  19. 06 Jan, 2016 2 commits
    • Adam Barth's avatar
      Switch PageableList over to using RenderList · e64d93a5
      Adam Barth authored
      This patch moves PageableList off HomogeneousViewport and onto RenderList and
      friends, making it match the new ScrollableList.
      e64d93a5
    • Adam Barth's avatar
      Switch clients of ScrollableList to ScrollableList2 · b1f9138f
      Adam Barth authored
      This patch also changed ScrollableList2 to use an Iterable instead of an
      List for its children. This change lets clients map their underlying
      data lazily. If the clients actually have a concrete list, we skip the
      extra copy and grab the child list directly.
      b1f9138f
  20. 05 Jan, 2016 2 commits
    • Adam Barth's avatar
      Complete features of ScrollableList2 · 37106ea6
      Adam Barth authored
      This patch implements the remaining missing features of ScrollableList2.
      It should now be nearly a drop-in replacement for ScrollableList. The
      next patch will switch callers over to the new machinery.
      37106ea6
    • Adam Barth's avatar
      Introduce ScrollableList2 · 99bca282
      Adam Barth authored
      ScrollableList2 uses the same pattern as ScrollableGrid, which requires the
      client to allocate widgets for every list item but doesn't inflate them unless
      they're actually needed for the view. It improves on the original
      ScrollableList by not requiring a rebuild of the whole visible portion of the
      list when scrolling. In fact, small scrolls can often be handled entirely by
      repainting.
      99bca282