1. 27 Feb, 2016 2 commits
  2. 26 Feb, 2016 1 commit
  3. 25 Feb, 2016 5 commits
    • Hixie's avatar
      Remove size observers from scrollables. · f8080557
      Hixie authored
      Also:
       - add operator==/hashCode/toString to ViewportDimensions
       - add toString to BindingBase
       - add toString and debugFillDescription to ScrollBehavior
       - fix a bug in the RawGestureDetectorState's replaceGestureRecognizers
       - rename MixedViewport's onExtentsUpdate to onExtentChanged
       - replace ExtentsUpdateCallback with ValueChanged<double>
       - remove a microtask for dispatching scroll start, since it
         did not appear to have any purpose
       - added dartdocs to Instrumentation until I understood it
       - made all event dispatch in Instrumentation drain microtasks
      f8080557
    • Adam Barth's avatar
      Remove PointerRouter and GestureArena arguments · 4b1a9ff1
      Adam Barth authored
      There's no reason to make clients supply a PointerRounter and a
      GestureArena when constructing gesture recognizers. These objects are
      statics and the gesture recognizers can just grab them directly.
      
      Also, remove the callback constructor arguments. Almost no code used
      them. Instead, people seem to prefer using the `..` operator to set
      callbacks on the recognizers. Removing the arguments removes a bunch of
      boilerplate.
      4b1a9ff1
    • Hixie's avatar
      Fix move() to call markNeedsLayout(). · 512b2e19
      Hixie authored
      Otherwise, changing the order of your children (e.g. shuffling a list of
      children) will have no visible effect.
      512b2e19
    • Adam Barth's avatar
      Add the ability to recognize gestures on text spans · 8e326d72
      Adam Barth authored
      Currently the interface for recognizing gestures on text spans is pretty ugly,
      but hopefully we can improve it with time.
      
      Fixes #156
      8e326d72
    • Adam Barth's avatar
      Fix TextSpan's operator== · 25219277
      Adam Barth authored
      We forgot to compare the lengths of the lists.
      25219277
  4. 24 Feb, 2016 3 commits
    • Eric Seidel's avatar
      Fix two bugs in Flex exposed by the Game in landscape mode · 4e7a9de5
      Eric Seidel authored
      One bug was masking the other, hence they both needed to be fixed
      and tested separately.
      
      @Hixie
      4e7a9de5
    • 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
    • Hans Muller's avatar
      Added bottom_sheet_rebuild_test · ba93987c
      Hans Muller authored
      ba93987c
  5. 21 Feb, 2016 2 commits
  6. 14 Feb, 2016 2 commits
  7. 13 Feb, 2016 2 commits
  8. 12 Feb, 2016 4 commits
  9. 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
  10. 10 Feb, 2016 5 commits
  11. 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
  12. 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
  13. 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
  14. 04 Feb, 2016 2 commits
  15. 03 Feb, 2016 2 commits