1. 12 Mar, 2016 3 commits
  2. 24 Feb, 2016 1 commit
  3. 14 Feb, 2016 1 commit
  4. 10 Feb, 2016 1 commit
    • Hixie's avatar
      More BoxConstraints asserts · 29654016
      Hixie authored
      The asserting will continue until morale improves!
      
      * Convert all assert(*.isNormalized) checks to use the new
        debugAssertIsNormalized technology.
      * Convert CustomMultiChildLayout to use the new RenderingError
        technology to greatly improve the detail in errors you get when
        writing CustomMultiChildLayout delegates.
      * Add BoxConstraints.copyWith().
      * Indent the descendants in the rendering exception data dump so that
        when you have multiple children it's clearer what's going on.
      29654016
  5. 09 Feb, 2016 1 commit
  6. 27 Jan, 2016 1 commit
  7. 15 Jan, 2016 1 commit
  8. 02 Jan, 2016 1 commit
  9. 09 Dec, 2015 1 commit
    • Ian Hickson's avatar
      Catch un-normalized BoxConstraints · 1a049c14
      Ian Hickson authored
      Add BoxConstraints.isNormalized feature.
      
      Use this feature in asserts in all the intrinsic dimension methods, in
      various relevant BoxConstraints methods, and in layout().
      
      Wrap the _DebugSize logic in BoxConstraints.constrain() in an assert
      block to avoid a branch in release mode.
      
      Remove the logic in BoxConstraints.isSatisfiedBy() that dealt with
      non-normalized values.
      
      Add BoxConstraints.normalize().
      
      Make RenderCustomOneChildLayoutBox.performLayout() only set
      parentUsesSize on the child if the constraints aren't tight.
      1a049c14
  10. 03 Dec, 2015 1 commit
    • Adam Barth's avatar
      RenderFlex shouldn't assert when its out of space · 7e474f6d
      Adam Barth authored
      Previously, we would assert with FlexJustifyContent.collapse if we ran out of
      space. Now we do the same thing we do for the other types of justification,
      which is to let the children's layout overflow.
      7e474f6d
  11. 19 Nov, 2015 1 commit
  12. 05 Nov, 2015 1 commit
    • Adam Barth's avatar
      Improve hit testing · 9bc64540
      Adam Barth authored
      Now a RenderBox is considered hit if one of its children are hit or it itself
      decides that it's hit. In particular, empty space inside a flex won't be hit
      because none of the children are located there and a RenderFlex doesn't
      consider itself hittable.
      
      Fixes #53
      Fixes #1221
      9bc64540
  13. 04 Nov, 2015 1 commit
    • Hixie's avatar
      Get more debug info into the rendering layer · 6d389722
      Hixie authored
      - change how we expose settings at the RenderObject layer so that it's
        easier to maintain.
      - expose the Widget owner chain in the RenderObject layer debug output
      - add debug info to RenderOpacity, RenderIgnorePointer, RenderListener
      - make the output for text nodes prettier
      6d389722
  14. 03 Nov, 2015 1 commit
  15. 12 Oct, 2015 1 commit
    • Hixie's avatar
      Lots of trivial warning fixes · f2cc43a4
      Hixie authored
      Add type annotations in many places.
      Fix some identifiers to have more lint-satisfying names.
      Make all operator==s consistent in style.
      Reorder some functions for consistency.
      Make ParentData no longer dynamic, and fix all the code around that.
      f2cc43a4
  16. 09 Oct, 2015 1 commit
    • Hixie's avatar
      Relative paths in internal flutter libraries · 37bda251
      Hixie authored
      Now that you import a top-level file for each layer of the Flutter
      framework, within the framework we can use relative paths without being
      worried about the copy/pasta problem we used to have.
      37bda251
  17. 21 Sep, 2015 1 commit
    • Adam Barth's avatar
      Remove EventDisposition · 051354ae
      Adam Barth authored
      All the use cases for EventDisposition are now addressed by the gesture
      detection system.
      051354ae
  18. 17 Sep, 2015 1 commit
    • Hixie's avatar
      Improve debugging aids for widgets, rendering. · 970c8ce8
      Hixie authored
      We need a short name more often than a tree dump, so toString() should
      be the short name.
      
      Make debugDumpRenderTree() a global like debugDumpApp(), for
      consistency. It's hard to remember the
      SkyBinding.instance.dumpRenderTree() incantation.
      
      Fixes #1179.
      970c8ce8
  19. 16 Sep, 2015 1 commit
  20. 14 Sep, 2015 1 commit
  21. 11 Sep, 2015 1 commit
  22. 09 Sep, 2015 2 commits
  23. 04 Sep, 2015 1 commit
    • Adam Barth's avatar
      Update links to READMEs · 5ce23e5a
      Adam Barth authored
      These needed to be updated because we moved the widgets directory into the src
      directory to hide it from dartdoc.
      5ce23e5a
  24. 03 Sep, 2015 1 commit
  25. 02 Sep, 2015 1 commit
    • Adam Barth's avatar
      Move widgets and rendering inside src · 693ddcd8
      Adam Barth authored
      Code outside of package:sky should import this code using
      
      package:sky/rendering.dart
      package:sky/widgets.dart
      
      Moving this code into the "src" directory is a convention that signifies that
      and it cleans up the generated dartdoc because the libraries in the src
      directory aren't included in the generated documentation. Instead, the classes
      are documented in the widgets.dart and rendering.dart libraries.
      693ddcd8
  26. 31 Aug, 2015 2 commits
    • Adam Barth's avatar
      Positioned 'remembers' things it shouldn't · 64a78414
      Adam Barth authored
      This patch makes ParentDataNode less general purpose and instead teaches Flex
      and Stack how to program the parent data for their children. We used to have
      this general system because parent data used to carry CSS styling, but we don't
      need it anymore.
      
      Fixes #957
      64a78414
    • Adam Barth's avatar
      onPressed not called when in a Positioned Flex · 528ff0f1
      Adam Barth authored
      We were setting the main axis extent to zero because we had a sign error.
      
      Fixes #918
      528ff0f1
  27. 26 Aug, 2015 2 commits
  28. 25 Aug, 2015 2 commits
  29. 24 Aug, 2015 1 commit
    • Hixie's avatar
      Better exception handling for rendering library. · d99641dd
      Hixie authored
      - Catch exceptions closer to the source.
      - Factor out exception printing code.
      - Have widget library hand the rendering library some context when syncing RenderObjectWrappers to aid with debugging.
      - Fix a bug in flex.dart whereby _overflow was compared when null.
      d99641dd
  30. 21 Aug, 2015 1 commit
  31. 19 Aug, 2015 1 commit
  32. 13 Aug, 2015 1 commit
  33. 04 Aug, 2015 1 commit
    • James Robinson's avatar
      Teach event system about disposition and make 'consumed' disposition terminal · 53163f8b
      James Robinson authored
      This introduces the notion of event disposition and allows event
      targets (widgets and render objects) to consume events that should not
      be processed further. This is needed by the Switch component in the
      Drawer in the stocks example. The Switch is embedded in a DrawerItem.
      The Switch handles the gesture tap event to toggle its state and should
      handle pointer events to allow swiping and draw its own radial
      reaction. The DrawerItem also handles gesture taps to allow toggling
      the switch value when tapping anywhere on the drawer and to draw its
      own ink splash. When tapping on the switch, both the switch's render
      object and the DrawerItem's listener are in the event dispatch path.
      The Switch needs to signal in some fashion that it consumed the event
      so the DrawerItem does not also try to toggle the switch's state.
      53163f8b
  34. 28 Jul, 2015 1 commit