1. 14 Feb, 2016 2 commits
  2. 13 Feb, 2016 2 commits
  3. 12 Feb, 2016 4 commits
  4. 11 Feb, 2016 4 commits
    • Hixie's avatar
      Provide a Draggable that starts on drag · 8e279f32
      Hixie authored
      This lets it cooperate with other gestures like tap.
      
      The way I implemented this was to refactor the entire Draggable gesture
      logic to use a new kind of gesture detector called
      MultiDragGestureRecognizer. It works a bit like
      MultiTapGestureRecognizer but for drags.
      
      Also some tweaks to the velocity estimator.
      8e279f32
    • Jason Simmons's avatar
    • Ian Hickson's avatar
      Clean up imports and exports. · a94999ba
      Ian Hickson authored
      Each layer is supposed to reexport the parts of the previous layer
      that are part of its API.
      
      - In painting.dart, export from dart:ui all the Canvas-related APIs
        that make sense to be used at higher levels, e.g. PaintingStyle.
      
      - Delete painting/shadows.dart. It was dead code.
      
      - In rendering/object.dart, export all of painting.dart.
      
      - In widgets/basic.dart, export all of painting.dart and
        animation.dart. Some classes in animation/ are renamed to make this
        less disruptive and confusing to the namespace.
      
      - Split out Stocks back into an import model rather than a part model,
        so that it's easier to manage its dependencies on a per-file basis.
      
      - Move Ticker to scheduler library.
      
      - Remove as many redundant imports as possible now.
      
      - Some minor nit picking cleanup in various files.
      a94999ba
    • Adam Barth's avatar
      Cleanup MixedViewport · fc23277d
      Adam Barth authored
      This patch fixes a couple minor bugs and cleans up MixedViewport a bit.
      fc23277d
  5. 10 Feb, 2016 5 commits
  6. 09 Feb, 2016 4 commits
    • Adam Barth's avatar
      Add scroll anchor for Block · f0276d09
      Adam Barth authored
      This patch teaches block how to anchor its scrolling to the end rather than the
      start.
      
      Fixes #136
      f0276d09
    • Adam Barth's avatar
      Rationalize RenderViewport and RenderVirtualViewport · 3c8cbef9
      Adam Barth authored
      These classes now share more code and have feature parity.
      3c8cbef9
    • Hixie's avatar
      Fix drawer in accessibility mode · 9cea6c50
      Hixie authored
      The "leaf merge" feature was getting confused when we reset the
      SemanticsNode. We now separately track whether the node itself is marked
      as being merged vs whether we inherited that state, and we don't reset
      the inherited state until you're reattached or reserialised. In the
      latter case, we do a "just in time" clearing of the flag just like we
      previously did a "just in time" setting of the flag, except now the flag
      we're setting or clearing is the inherited flag not the actual flag.
      9cea6c50
    • Adam Barth's avatar
      Improve unit conversions in Scrollable · 70d96ecb
      Adam Barth authored
      70d96ecb
  7. 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
  8. 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
  9. 04 Feb, 2016 2 commits
  10. 03 Feb, 2016 2 commits
  11. 02 Feb, 2016 2 commits
  12. 01 Feb, 2016 2 commits
  13. 31 Jan, 2016 1 commit
  14. 29 Jan, 2016 1 commit
  15. 28 Jan, 2016 1 commit
  16. 27 Jan, 2016 3 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
    • Adam Barth's avatar
      Keyboard doesn't dismiss when the drawer comes up · a5351643
      Adam Barth authored
      When introducing Focus widgets for the Drawer (and ModalRoutes), we weren't
      actually giving them the focus. Now we move the focus scope when pushing modal
      routes.
      
      Fixes #184
      a5351643
  17. 24 Jan, 2016 1 commit
  18. 23 Jan, 2016 2 commits