1. 14 Feb, 2016 2 commits
  2. 11 Feb, 2016 1 commit
    • 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
  3. 10 Feb, 2016 1 commit
    • Hixie's avatar
      Tapping through drag targets. · 4d5e4067
      Hixie authored
      Factor out the HitTestBehavior logic so that RenderMetaData can use it.
      
      Use that in DragTarget.
      4d5e4067
  4. 09 Feb, 2016 2 commits
  5. 06 Feb, 2016 1 commit
  6. 02 Feb, 2016 2 commits
  7. 01 Feb, 2016 3 commits
  8. 31 Jan, 2016 1 commit
    • Adam Barth's avatar
      Adds the ability to move the caret by tapping · 36099383
      Adam Barth authored
      Now the text input control knows how to move the caret when you tap
      inside the string. There's still some rough edges to polish up, but this
      patch is the first step.
      
      Fixes #108
      36099383
  9. 29 Jan, 2016 2 commits
  10. 27 Jan, 2016 1 commit
  11. 22 Jan, 2016 1 commit
  12. 15 Jan, 2016 1 commit
  13. 12 Jan, 2016 1 commit
    • Ian Hickson's avatar
      Provide a safe time to update a WidgetToRenderBoxAdapter · 867bbcc9
      Ian Hickson authored
      If you change the RenderObject tree between frames, you'll assert if
      you subsequently hit test. So e.g. if you get two button presses back
      to back, and you mutate the tree synchronously in response to the
      first one, the second will assert.
      
      This adds an onBuild callback to WidgetToRenderBoxAdapter to make it
      easier to do the updates at the right time, i.e., during widget build.
      It'll be called whenever you rebuild the WidgetToRenderBoxAdapter
      itself, so all you have to do to use it is call setState() on whoever
      is building the WidgetToRenderBoxAdapter.
      867bbcc9
  14. 11 Jan, 2016 4 commits
  15. 10 Jan, 2016 1 commit
  16. 07 Jan, 2016 2 commits
  17. 04 Jan, 2016 1 commit
    • Adam Barth's avatar
      Add support for scrollable grids · 6106fa9d
      Adam Barth authored
      We now support (vertically) scrollable grids with viewporting. If the
      scroll doesn't reveal any new rows, we execute the scroll with a repaint
      (i.e., no layout). If the scroll reveals a new row, we trigger a layout
      to change the set of materialized children in the viewport.
      6106fa9d
  18. 02 Jan, 2016 1 commit
    • Adam Barth's avatar
      Generalize grid layout · 46a178dc
      Adam Barth authored
      This patch make grid layout much more flexible. The behavior is factored
      out into a GridDelegate that's modeled after the custom layout
      delegates. The patch includes a MaxTileWidthGridDelegate that implements
      the old behavior and a FixedColumnCountGridDelegate that implements a
      grid layout with a fixed number of columns.
      
      Fixes #1048
      46a178dc
  19. 31 Dec, 2015 1 commit
  20. 24 Dec, 2015 1 commit
    • Ian Hickson's avatar
      RenderFractionalTranslation · 9bad312a
      Ian Hickson authored
      - Add RenderFractionalTranslation, a render box that does a
        translation based on a FractionalOffset.
      
      - Make FractionalOffset more like Offset
        - dx/dy instead of x/y
        - add /, ~/, %
        - add .zero
      
      - Add alongOffset and alongSize to FractionalOffset so that you can
        easily apply FractionalOffset to Offsets and Sizes. (Better name
        suggestions welcome.)
      
      - Add transformHitTests boolean to RenderTransform (also on
        RenderFractionalTranslation), and to classes based on it.
      
      - Remove the fade from Dismissable. We can add it back using the
        builder-with-child pattern like Draggable if we need it. See #1003
        for tha feature request.
      
      - Rename a bunch of variables in dismissable.dart.
      
      - Change the test for dismissable to not handle leftwards dismisses
        one pixel different from rightwards dismisses, and cleaned up the
        resulting effect on the test (mostly making sure we had the right
        number of pumps, with comments explaining what each one was).
      
      Fixes #174.
      9bad312a
  21. 16 Dec, 2015 1 commit
  22. 15 Dec, 2015 1 commit
    • Hans Muller's avatar
      CustomMultiChildLayout and CustomOneChildLayout now use their delegate's... · 0d983cd8
      Hans Muller authored
      CustomMultiChildLayout and CustomOneChildLayout now use their delegate's shouldRelayout() method instead of a "token" to decide if layout is needed.
      
      MultiChildLayoutDelegate and OnChildLayoutDelegate are now expected to be stateless, i.e. they'll typically be built each time their custom layout widget is built. If the identical layout delegate is provided to a new custom layout, layout will not happen.
      
      Revised the bottom sheet implementation per the new custom layout classes. Removed a SizeObserver.
      
      Fixes #899
      0d983cd8
  23. 14 Dec, 2015 1 commit
  24. 11 Dec, 2015 1 commit
    • Adam Barth's avatar
      Add dartdoc for image classes · 40dda1ed
      Adam Barth authored
       - Adds dartdoc for all the `of` functions.
       - Renames Image to RawImage. This widget is rarely used and shouldn't take up
         such a nice global name.
      
      Fixes #361
      40dda1ed
  25. 10 Dec, 2015 2 commits
  26. 09 Dec, 2015 3 commits
  27. 08 Dec, 2015 1 commit