1. 11 Oct, 2016 1 commit
  2. 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
  3. 21 Sep, 2016 1 commit
    • James Robinson's avatar
      Isolate imports of generated Dart code from generated path (#5960) · a95c9fdb
      James Robinson authored
      This rewrites imports of various mojom.dart files from the Flutter
      engine repo to instead import normal-looking dart files from the
      (new) flutter_services package. This package handles exporting the
      correct symbols from generated code wherever that may live.
      
      Includes an engine roll to 3551e7a48e2e336777b15c7637af92fd7605b6c5
      which contains the new flutter_services package.
      a95c9fdb
  4. 20 Sep, 2016 1 commit
  5. 19 Sep, 2016 1 commit
    • Adam Barth's avatar
      Change the definition of MainAxisSize (#5931) · e04135e9
      Adam Barth authored
      This property now applies only to the free space in the flex layout (i.e.,
      minimize or maximize the amount of free space). Previously, the flexible
      children were always allocated a size of zero when MainAxisSize was min. Now
      they're allocated the same size that would be if the MainAxisSize was max.
      e04135e9
  6. 16 Sep, 2016 1 commit
    • Adam Barth's avatar
      Add FlexFit.loose (#5908) · 3ed4960b
      Adam Barth authored
      Previously, flexible children were always required to fill their allocated
      space. After this change, they can fit loosely into that space and not fill it.
      When that happens, the remaining free space is allocated according to the
      maixAxisAlignment.
      
      Fixes #5858
      3ed4960b
  7. 15 Sep, 2016 1 commit
  8. 29 Aug, 2016 1 commit
  9. 18 Aug, 2016 1 commit
  10. 02 Jul, 2016 1 commit
  11. 01 Jul, 2016 1 commit
  12. 28 Jun, 2016 1 commit
  13. 08 Jun, 2016 1 commit
  14. 03 Jun, 2016 2 commits
  15. 31 May, 2016 1 commit
  16. 29 May, 2016 1 commit
    • Adam Barth's avatar
      Remove OverlayPainter mechanism (#4264) · 76772608
      Adam Barth authored
      We used to use this mechanism to paint scrollbars, but it's awkward. The
      new approach to scrollbars is much cleaner. This mechanism has no other
      clients, so we should remove it.
      76772608
  17. 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
  18. 02 May, 2016 1 commit
  19. 29 Apr, 2016 1 commit
  20. 26 Apr, 2016 1 commit
  21. 22 Apr, 2016 2 commits
  22. 20 Apr, 2016 1 commit
  23. 15 Apr, 2016 2 commits
    • Ian Hickson's avatar
      Material Data Tables (#3337) · a91bc0ba
      Ian Hickson authored
      + Add new demo to gallery to show data tables. (This currently doesn't
      use a Card; I'll create a Card version in a subsequent patch.)
      
      + Fix checkbox alignment. It now centers in its box regardless.
      
      + Add Colors.black54.
      
      + Some minor fixes to dartdocs.
      
      + DataTable, DataColumn, DataRow, DataCell
      
      + RowInkWell
      
      + Augment dartdocs of materia/debug.dart.
      
      + DropDownButtonHideUnderline to hide the underline in a drop-down when
        used in a DataTable.
      
      + Add new capabilities to InkResponse to support RowInkWell.
      
      + Augment dartdocs of materia/material.dart.
      
      + Add an assert to catch nested Blocks.
      
      + Fix a crash in RenderBox when you remove an object and an ancestor
        used its baseline. (https://github.com/flutter/flutter/issues/2874)
      
      + Fix (and redocument) RenderBaseline/Baseline.
      
      + Add flex support to IntrinsicColumnWidth.
      
      + Document more stuff on the RenderTable side.
      
      + Fix a bug with parentData handling on RenderTable children.
      
      + Completely rewrite the column width computations. The old logic made
        no sense at all.
      
      + Add dartdocs to widgets/debug.dart.
      
      + Add a toString for TableRow.
      a91bc0ba
    • Ian Hickson's avatar
      Use the same logic in flushPaint as flushLayout (#3353) · d348f28d
      Ian Hickson authored
      If two repaint boundaries mark themselves dirty, but the second one is a
      child of the first, then the second one will get repainted by the first
      and then when we come to paint it directly, we get confused because it
      isn't dirty any more.
      
      We ran into this in layout before. Apply the same fix. Also, apply the
      same fix to composition while we're at it.
      d348f28d
  24. 13 Apr, 2016 1 commit
  25. 12 Apr, 2016 1 commit
  26. 11 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Add even more careful checks around BoxConstraints (#3243) · 47f5c6f2
      Ian Hickson authored
      I ran into a case where I was setting minHeight=∞ and then calling
      layout() with that constraint, which is all kinds of bad. To try to
      catch this earlier, this patch now provides a way to catch constraints
      that are requiring infinite values.
      
      We don't _always_ check this because there are valid uses for
      BoxConstraints.biggest, e.g. as an additionalConstraint.
      47f5c6f2
  27. 09 Apr, 2016 1 commit
  28. 07 Apr, 2016 1 commit
    • Adam Barth's avatar
      Remove RenderBlockViewport · 1e207c01
      Adam Barth authored
      Previously this was used by MixedViewport, but now we don't need it because
      
      LazyBlockViewport has replaced MixedViewport.
      
      
      
      I've also taken this opportunity to modernize RenderBlock.
      1e207c01
  29. 06 Apr, 2016 1 commit
  30. 29 Mar, 2016 3 commits
    • Hixie's avatar
      More table fixes · bdfeaaa4
      Hixie authored
      bdfeaaa4
    • Hixie's avatar
      Table widget · baf06515
      Hixie authored
      - Add x and y to the parent data, in case it's useful. In point of fact,
        I ended up not needing it.
      
      - Make columnWidths settable rather than having a setter so that the
        code in the widgets layer is more idiomatic.
      
      - Teach setFlatChildren about avoiding unnecessary drop/adopt loops.
      
      - Assert that the child list length is correct more aggressively so that
        we catch the dumb bug I had more quickly next time.
      
      - Improve the toString() to handle empty tables better.
      
      - Resort the imports in framework.dart.
      
      - Introduce a LocalKey for cases where you don't want to allow use of
        GlobalKey.
      
      - Make inflateWidget and deactivateChild public for subclass use.
      
      - Table widget.
      
      - Cell widget.
      
      - TableRow fake widget.
      baf06515
    • Adam Barth's avatar
      Add constants for FractionalOffsets · 1ba539a6
      Adam Barth authored
      Adds some names for common FractionalOffset values.
      1ba539a6
  31. 26 Mar, 2016 1 commit
  32. 24 Mar, 2016 1 commit
  33. 23 Mar, 2016 1 commit
  34. 22 Mar, 2016 2 commits