1. 28 Sep, 2016 2 commits
    • Adam Barth's avatar
      Rename Interval.start to begin (#6115) · c621ec82
      Adam Barth authored
      For consistency with Tween.
      
      Fixes #5169
      c621ec82
    • 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
  2. 26 Sep, 2016 2 commits
  3. 22 Sep, 2016 1 commit
  4. 16 Sep, 2016 1 commit
  5. 15 Sep, 2016 1 commit
  6. 07 Sep, 2016 1 commit
  7. 25 Aug, 2016 1 commit
  8. 04 Aug, 2016 1 commit
  9. 26 Jul, 2016 2 commits
  10. 30 Jun, 2016 1 commit
  11. 23 Jun, 2016 1 commit
  12. 14 Jun, 2016 2 commits
    • pq's avatar
      Added asserts. · f5a4e632
      pq authored
      f5a4e632
    • pq's avatar
      Add missing returns. · 7a955487
      pq authored
      As of `1.18.0-dev-0`, these cases will get flagged.  In the meantime, the
      7a955487
  13. 13 Jun, 2016 1 commit
  14. 09 Jun, 2016 1 commit
    • Adam Barth's avatar
      DropDownMenu should animation away when interrupted (#4485) · 2be1eb48
      Adam Barth authored
      If you tap outside the drop down menu while its animating in, we should
      animate it away smoothly. Previously, we jumped to the reverseCurve,
      which made the menu disappear immediately. Now we hold the animations as
      state, which means we keep their _curveDirection property and don't
      switch curves unless the animation actually finishes.
      
      Also, fix a subtle bug in CurvedAnimation whereby we'd never set the
      _curveDirection if we didn't see a status change in the parent
      animation. Now we initialize _curveDirection based on the current value
      of the parent's status.
      
      Fixes #4379
      2be1eb48
  15. 25 May, 2016 1 commit
  16. 17 May, 2016 1 commit
  17. 12 May, 2016 1 commit
  18. 27 Apr, 2016 1 commit
  19. 20 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Reset _simulation at the end of a fling (#3435) · 112f2cc3
      Ian Hickson authored
      Also a bit of code cleanup.
      
      The key part of this patch is the addition in `_endScroll` to reset
      `_simulation`. It seems like this was the one place where it's possible
      for us to end the animation but not reset our state. Since we assert
      that are state is coherent, we were hitting asserts when a fling
      finished and then you interacted with the widget again.
      112f2cc3
  20. 13 Apr, 2016 1 commit
  21. 06 Apr, 2016 2 commits
  22. 31 Mar, 2016 1 commit
  23. 27 Mar, 2016 2 commits
  24. 23 Mar, 2016 1 commit
    • Adam Barth's avatar
      Scrollable physics should be reasonable when sizes change · f7f1259b
      Adam Barth authored
      Previously, when the content extent changed during a scroll interaction, we'd
      stop the current scroll interaction and reset the scroll offset. Now we try to
      continue the scroll interaction (e.g., drag, fling, or overscroll) even through
      the underlying scroll behavior has changed.
      
      For physics-based scroll interactions, we keep the current position and
      velocity and recompute the operative forces. For drag interactions, we keep the
      current position and continue to let the user drag the scroll offset.
      
      After this patch, we still disrupt non-physical scroll animations that are
      operating outside the new scroll bounds because it's not clear how we can
      sensibly modify them to work with the new scroll bounds.
      f7f1259b
  25. 21 Mar, 2016 1 commit
    • Ian Hickson's avatar
      Provide more documentation for MojoShell · bef6ff3b
      Ian Hickson authored
      As usual, as I was doing this I ran into some stuff that seemed hard
      to document as-is and so I changed it. In this case, in the "http"
      library. The new code is more or less equivalent, I think, but the
      resulting documentation makes it more obvious that it's wrong...
      bef6ff3b
  26. 18 Mar, 2016 1 commit
  27. 14 Mar, 2016 1 commit
  28. 12 Mar, 2016 3 commits
  29. 02 Mar, 2016 1 commit
  30. 01 Mar, 2016 1 commit
    • Adam Barth's avatar
      Minor improvements to AnimationController · 08de980a
      Adam Barth authored
      * Makes repeat default to the lower and upper bounds
      * Makes animateTo handle unbounded ranges better
      * Improve the name of _TweenSimulation
      
      Fixes #2096
      Fixes #2090
      Fixes #2091
      08de980a
  31. 27 Feb, 2016 2 commits
    • Adam Barth's avatar
      Remove AnimationDirection · 3bbeee7b
      Adam Barth authored
      This concept is now private to AnimationController. All the clients actually
      want the AnimationStatus.
      3bbeee7b
    • Adam Barth's avatar
      Elide fewer AnimationStatus callbacks · 25ab5555
      Adam Barth authored
      Previously we would elide forward and reverse callbacks that canceled each
      other out, which broke the expected state machine. Now we synchronously deliver
      status callbacks when start an animation.
      
      Fixes #1913
      25ab5555