1. 02 Feb, 2017 1 commit
  2. 09 Jan, 2017 1 commit
  3. 19 Nov, 2016 1 commit
  4. 16 Nov, 2016 1 commit
    • Ian Hickson's avatar
      Clean up some RenderObject layer stuff (#6883) · 15fb5c4c
      Ian Hickson authored
      More idiomatic use of constraints in performResize.
      
      Trivial fixes to comments.
      
      Make ProxyBox not use BoxParentData since it ignores the field.
      
      Make applyPaintTransform more helpful if you use a different ParentData
      subclass than RenderBox expects.
      
      Make debugAssertIsValid actually fulfill its contract in RenderObject as
      documented.
      
      Add a childBefore for symmetry (we already had childAfter).
      
      Fix the way we dump the child list when there's no children in a
      multichild render object.
      
      More asserts in the rendering test library.
      15fb5c4c
  5. 28 Sep, 2016 1 commit
    • Ian Hickson's avatar
      Fix globalToLocal and update spinning_mixed (#6035) · e01592a0
      Ian Hickson authored
      * globalToLocal was just broken when there was a rotation and a
        translation at the same time. This fixes that and adds a test.
      
      * update graphic used by spinning_mixed since the old one went 404.
      
      * simplify some of the code in the demo.
      
      * fix MatrixUtils.transformPoint to be consistent with how we transform
        points elsewhere.
      
      * stop transforming points elsewhere, just use
        MatrixUtils.transformPoint.
      
      * make the Widget binding handle not having a root element.
      
      * make the spinning_mixed demo update its widget tree.
      e01592a0
  6. 01 Jul, 2016 1 commit
  7. 08 Jun, 2016 1 commit
  8. 03 Jun, 2016 1 commit
  9. 31 May, 2016 1 commit
  10. 16 May, 2016 1 commit
    • Ian Hickson's avatar
      Make it possible to run tests live on a device (#3936) · 32527017
      Ian Hickson authored
      This makes it possible to substitute 'flutter run' for 'flutter test'
      and actually watch a test run on a device.
      
      For any test that depends on flutter_test:
      
      1. Remove any import of 'package:test/test.dart'.
      
      2. Replace `testWidgets('...', (WidgetTester tester) {`
            with `testWidgets('...', (WidgetTester tester) async {`
      
      3. Add an "await" in front of calls to any of the following:
          * tap()
          * tapAt()
          * fling()
          * flingFrom()
          * scroll()
          * scrollAt()
          * pump()
          * pumpWidget()
      
      4. Replace any calls to `tester.flushMicrotasks()` with calls to
         `await tester.idle()`.
      
      There's a guarding API that you can use, if you have particularly
      complicated tests, to get better error messages. Search for
      TestAsyncUtils.
      32527017
  11. 29 Apr, 2016 1 commit
  12. 22 Apr, 2016 1 commit
  13. 06 Apr, 2016 1 commit
  14. 24 Mar, 2016 1 commit
  15. 14 Mar, 2016 1 commit
  16. 04 Mar, 2016 1 commit
  17. 01 Feb, 2016 1 commit
  18. 16 Jan, 2016 1 commit
  19. 17 Dec, 2015 1 commit
    • Hixie's avatar
      Less tree walking for compositing bits updates. · ab01c7bf
      Hixie authored
      Use the same technique for updating compositing bits as layout and
      painting. This avoids walking the entire rendering tree when all you
      need to update is a small subtree.
      ab01c7bf
  20. 16 Dec, 2015 1 commit
  21. 14 Dec, 2015 2 commits
  22. 20 Nov, 2015 1 commit
    • Adam Barth's avatar
      Callback identity is too fragile for CustomPaint · 72329cf4
      Adam Barth authored
      Many of the widgets that use CustomPaint were spamming repaints because
      CustomPaint repaints when the identity of the onPaint callback changes, which
      it does every build for StatelessComponents.
      
      This patch changes CustomPaint to use a CustomPainter, similar to the new
      custom layout widgets. The CustomPainter has a `shouldRepaint` function along
      with its `paint` function. This function gives clients explicit control over
      when the custom paint object repaints.
      72329cf4
  23. 10 Oct, 2015 1 commit
  24. 16 Sep, 2015 1 commit
    • Hixie's avatar
      Refactor rendering_tester · cd6c4da3
      Hixie authored
      RenderView has to be a singleton for sanity during tests, otherwise they
      all end up in the dirty lists and we end up pumping all of them each frame.
      cd6c4da3
  25. 26 Aug, 2015 2 commits
  26. 21 Aug, 2015 1 commit