1. 13 Jan, 2016 1 commit
  2. 12 Jan, 2016 11 commits
  3. 11 Jan, 2016 15 commits
    • Adam Barth's avatar
      RenderPerformanceOverlay needs alwaysNeedsCompositing · 00359a4f
      Adam Barth authored
      The performance overlay is always drawn using the compositor. We should tell
      the rest of the system that it's going to make a composited layer.
      
      Fixes #1177
      00359a4f
    • Adam Barth's avatar
      Use a named argument for Widget children · 05676641
      Adam Barth authored
      Previously we used a positional argument for widgets that had multiple
      children. Now we use a named argument that defaults to an empty list.
      
      Fixes #241
      05676641
    • Ian Hickson's avatar
      rev engine · 4f20b074
      Ian Hickson authored
      4f20b074
    • Adam Barth's avatar
      Rename ScrollDirection to Axis · b2cef9f2
      Adam Barth authored
      We use the ScrollDirection for more than just scrolling.
      
      Fixes #151
      b2cef9f2
    • Matt Perry's avatar
    • Adam Barth's avatar
      Always using OpacityLayer for blending · 635168d9
      Adam Barth authored
      We don't know how to accuately compute paint bounds in the render tree.
      Instead, we can rely on the compositor to compute the paint bounds for
      us if we use OpacityLayer to do our opacity blends.
      
      Fixes the shadow when closing the menu in the stocks app.
      635168d9
    • Adam Barth's avatar
      Rename RenderObject.hasLayer to isRepaintBoundary · 0b775984
      Adam Barth authored
      Also, introduce alwaysNeedsCompositing to force the "needs compositing"
      bit to true without necessarily introducing a ContainerLayer into the
      layer tree. A future patch will make use of alwaysNeedsCompositing to
      optimize opacity layers.
      0b775984
    • Ian Hickson's avatar
      88c43c3f
    • Adam Barth's avatar
      DoubleTap gesture asserts when rejected · 07a9cc75
      Adam Barth authored
      The pointer router was using an iteration pattern that always delivers
      handleEvent calls even if you remove a route during the iteration.
      That's awkward to program against and causes trouble for the double-tap
      gesture.
      
      This patch switches PointerRouter to using a re-entrant iteration
      pattern that supports removing routes (but not adding routes) during the
      iteration.
      07a9cc75
    • Ian Hickson's avatar
      Add more debugging options to the stocks app. · 48e1350e
      Ian Hickson authored
      - Add an option to enable debugPaintSizeEnabled.
      - Add an option to enable the StatisticsOverlay.
      - Add support for the StatisticsOverlay in MaterialApp.
      - Change the layout behaviour of RenderStatisticsBox:
         - Give it a zero intrinsic width.
         - Give it an accurate intrinsic height that depends on the flags
           set. (Also, move the enum to the rendering/ layer from the
           widgets/ layer to enable this.)
         - Make the box automatically size itself full-width and the correct
           height, so that you can actually embed it (though most of the
           time you'd just put it in a Stack so this doesn't matter as
           much, really).
      - Some style nit fixes in statistics_box.dart.
      48e1350e
    • Adam Barth's avatar
      TabView fails to update tab contents · 432b1793
      Adam Barth authored
      When the TabView widget's children change, we don't change the children
      we give to the PageViewport because we fail to update _items. This patch
      watches didChangeConfig and updates _items appropriately.
      
      Fixes #1134
      Fixes #1168
      432b1793
    • Adam Barth's avatar
      Simplify TabView API · dd08bf79
      Adam Barth authored
      Instead of taking a builder and a generic type, we can just take a
      List<Widget>.
      dd08bf79
    • Ian Hickson's avatar
      Merge Container's width, height, and constraints · 0379744c
      Ian Hickson authored
      Without this, FlatButton ends up using two RenderConstrainedBoxes back
      to back for no good reason.
      0379744c
    • Ian Hickson's avatar
      tightenWidth(), tightenHeight() => tighten(width:, height:) · c21b565f
      Ian Hickson authored
      This makes it more consistent with tightFor(), and also makes it
      easier to tighten both directions at once when you're not sure you
      will always do so (e.g. if you have a height and width that might be
      null, and want to tighten whichever ones aren't null).
      c21b565f
    • Ian Hickson's avatar
      Add a note about the firebase/ directory. · 74c80663
      Ian Hickson authored
      Also, make dev/update_packages.dart skip directories that have no
      pubspec.yaml, since firebase/ doesn't have one.
      74c80663
  4. 10 Jan, 2016 3 commits
  5. 09 Jan, 2016 3 commits
    • Ian Hickson's avatar
      Fix crazy assertion. · f07a0c98
      Ian Hickson authored
      Not sure what I was doing when I wrote this assertion, but I'm pretty
      sure it's wrong. I'm guessing the change here is what I actually meant
      to write.
      f07a0c98
    • Ian Hickson's avatar
      Add more debugPaintSizeEnabled construction lines. · 20a01b42
      Ian Hickson authored
      - padding is shown in blue with a darker blue around the child
      - spacing (empty size boxes or padding) is shown in gray
      - alignment from a RenderPositionedBox is shown with yellow arrows
      20a01b42
    • Adam Barth's avatar
      Drawer edge swipe convers entire screen · 1ef3f82e
      Adam Barth authored
      When I tightened up the layout constraints for the Drawer in the
      Scaffold, I ended up making the edge swipe detector cover the entire
      screen.  This patch fixes that issue by putting the gesture detector for
      the edge swipe just around the container with the proper width. We now
      use a global key to maintain the state across hierarchy changes.
      1ef3f82e
  6. 08 Jan, 2016 7 commits