1. 09 Feb, 2016 5 commits
  2. 08 Feb, 2016 1 commit
  3. 06 Feb, 2016 2 commits
    • Adam Barth's avatar
      Add more dartdoc to widgets.dart · 9251504a
      Adam Barth authored
      This patch includes documentation for transitions.dart and for
      scrollable.dart.
      9251504a
    • 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
  4. 05 Feb, 2016 1 commit
    • Hixie's avatar
      Improve exceptions and asserts for rendering lib. · 1a0484cc
      Hixie authored
      * Use actual exceptions rather than assertions containing code
        containing strings when trying to give messages to authors.
      * Introduce RenderingError which is an AssertionError that takes a
        string argument, to support the above.
      * Provide a BoxDimensions.hasBoundedWidth/hasBoundedHeight API.
      * Document BoxDimensions.isNormalized.
      * Provide more useful information when we assert isNormalized and find
        that it is false.
      * When finding the size is infinite, crawl the tree to figure out which
        render box is likely responsible for the infinite constraints.
      * Provide more information when size doesn't match the constraints.
      * Provide more information when intrinsic dimension methods violate the
        constraints.
      * Only spam a huge amount of information for the first exception from
        the rendering library. I've noticed a lot of people looking at the
        last exception printed rather than the first and that's very
        misleading -- after the rendering library hits an exception, all bets
        are off regarding what'll happen in the future. All kinds of asserts
        might fire.
      * Improve docs around the debug methods and flags for the above.
      * Make Block default to have no children. Previously, giving no children
        crashed with a confusing message about a null deref in an assert.
      1a0484cc
  5. 04 Feb, 2016 1 commit
  6. 03 Feb, 2016 2 commits
  7. 02 Feb, 2016 3 commits
  8. 01 Feb, 2016 5 commits
  9. 31 Jan, 2016 2 commits
  10. 30 Jan, 2016 1 commit
  11. 29 Jan, 2016 2 commits
  12. 27 Jan, 2016 2 commits
    • Hixie's avatar
      Semantics · 28a17883
      Hixie authored
      28a17883
    • Adam Barth's avatar
      updateChildren() needs to walk the list forward · 05839e51
      Adam Barth authored
      This patch changes the framework to walk the child list forwards so that build
      functions with global side effects do sensible things. Specifically, if you
      have a number of autofocusable children, the first one the list will acquire
      the focus because it gets built first now.
      
      Fixes #182
      05839e51
  13. 23 Jan, 2016 1 commit
    • Adam Barth's avatar
      Improve the factoring between Input and RawEditableLine · 61f82ee1
      Adam Barth authored
      RawEditableLine is now responsible for the scrolling behavior, which
      removes the need for callbacks between RawEditableLine and Input. It
      also fixes a bug whereby the whole Input widget (including its icon)
      would scroll when the text got long.
      61f82ee1
  14. 22 Jan, 2016 2 commits
  15. 20 Jan, 2016 1 commit
  16. 19 Jan, 2016 1 commit
  17. 18 Jan, 2016 2 commits
    • Ian Hickson's avatar
      Fix some intrinsic constraints contract violations. · 60d9ab7e
      Ian Hickson authored
      RenderBlock wasn't constraining the results.
      RenderPadding wasn't constraining the results (which matters
      especially when the constraints can't fit the padding in the first
      place).
      RenderViewport wasn't constraining the results.
      
      Add a test for the block case.
      
      To catch this kind of thing in the future, add some asserts to
      debugDoesMeetConstraints() that all four intrinsic functions return
      values that are within the constraints.
      
      RenderBlockViewport doesn't support returning intrinsics, so turn off
      the "no intrinsic support" asserts (and return zero) when we're doing
      this new assert.
      
      This new assert screwed up the custom layout classes' tests, so adjust
      those tests to ignore the callbacks invoked from these asserts.
      
      Add to the _debugReportException() method a short summary of the
      descendants of this node. It's important to have this information when
      debugging errors like these intrinsic constraints contract violations
      because often nodes just pass the values through to their child so you
      have to go several steps down to find the actual problem.
      
      Fixes https://github.com/flutter/flutter/issues/1210
      60d9ab7e
    • Ian Hickson's avatar
      More elaborate RenderBox example · 51566aef
      Ian Hickson authored
      Also, some trivial fixes for things that I found while playing with
      the rendering library directly.
      51566aef
  18. 16 Jan, 2016 1 commit
  19. 15 Jan, 2016 1 commit
  20. 14 Jan, 2016 1 commit
    • Hixie's avatar
      Tooltips · 24cab899
      Hixie authored
      Introduces a new Tooltip class.
      Adds support for tooltips to IconButton and Scaffold.
      Adds some tooltips to various demos.
      
      Also some tweaks to stack.dart that I made before I decided not to go
      down a "CustomPositioned" route.
      24cab899
  21. 13 Jan, 2016 1 commit
    • Adam Barth's avatar
      Handle degenerate transforms better · 192c6e24
      Adam Barth authored
      No you can't hit things inside degenerate transforms. Tranforming from global
      coordaintes to degenerate local coordinates gives you Point.origin. Also,
      upgrade vector_math to get a better invert constructor.
      
      Fixes #1161
      Fixes #1224
      192c6e24
  22. 12 Jan, 2016 2 commits
    • Adam Barth's avatar
      Update engine · d444ae7d
      Adam Barth authored
      Also, update callers of deprecated methods.
      d444ae7d
    • Adam Barth's avatar
      Fix time picker · 84957e5b
      Adam Barth authored
      We were painting the contents of the RRect clip at the wrong offset. This patch
      makes RRect match Rect and Path clips.
      
      Fixes #1194
      84957e5b