1. 18 Oct, 2015 3 commits
    • Ian Hickson's avatar
      Merge pull request #1657 from Hixie/debugging · 780ee181
      Ian Hickson authored
      Reduce latency of low-volume debugPrint output
      780ee181
    • Hixie's avatar
      Enable Positioned to be animated. · fb8fe97a
      Hixie authored
      Add a AnimatedRelativeRectValue class for animating RelativeRects.
      
      Add a PositionedTransition class for animating Positioned using
      AnimatedRelativeRectValues.
      
      Add a test for PositionedTransition.
      
      Fix a math bug a RelativeRect found by the test.
      
      Fix a logic bug in the two ParentDataWidget classes found by the test.
      Specifically, they were marking the child dirty, rather than the parent.
      The parentData is for the parent's layout, not the child's, so they have
      to mark the parent dirty. (I didn't hoist this up to the superclass
      because ParentData could be used for painting, hit testing,
      accessibility, or any number of other things, and I didn't want to bake
      in the assumption that it needed markNeedsLayout.)
      fb8fe97a
    • Hixie's avatar
      toString()ify more stuff · 7c0c1c96
      Hixie authored
      - truncate pixel values to 1dp since there's really no point being told
        the Size is 302.98732587287 by 648.28498579187.
      
      - describe more Widgets so that debugDumpApp() is more useful.
      
      - remove bufferValue from ProgressIndicator (cc @hansmuller) since it's
        not yet implemented.
      
      - half-hearted toString() for ThemeData. There's no point making a
        complete one, since it would cause line-wrap even on big monitors in
        debugDumpApp dumps, and you can easily get the actual values from a
        debugging if that's the issue.
      
      - flesh out BoxConstraints.toString() so that fully unconstrained and
        fully infinite constraints are called out explicitly. I experimented
        with adding even more special cases, e.g. calling out unconstrained
        widths with fixed heights, etc, but it made the output less readable.
      
      - remove a redundant _updateVariable() in AnimatedContainer (cc
        @abarth).
      
      - add more information to RenderView.toString().
      7c0c1c96
  2. 17 Oct, 2015 3 commits
    • Hixie's avatar
      Reduce latency of low-volume debugPrint output · aed45ba9
      Hixie authored
      If we haven't printed anything for a second, then reset the count of how
      much we've printed.
      
      I also reduced the amount of data to ~16kb until we pause because I saw
      some corruption even pausing 1 second every ~32kb. (Numbers are
      approximate because we're counting UTF-16 characters and some of the
      characters in the output are multiple bytes in UTF-8.)
      aed45ba9
    • Ian Hickson's avatar
      Merge pull request #1653 from Hixie/debugging · ed189ba9
      Ian Hickson authored
      Sundry debugging aids and fixes
      ed189ba9
    • Hixie's avatar
      RelativeRect · c701ad6a
      Hixie authored
      Introduce a class that can describe the metrics used in a Positioned
      widget, to enable easier manipulation and storage of the values, e.g.
      for animation purposes.
      c701ad6a
  3. 16 Oct, 2015 16 commits
  4. 15 Oct, 2015 17 commits
  5. 14 Oct, 2015 1 commit