1. 25 Feb, 2016 2 commits
  2. 24 Feb, 2016 1 commit
  3. 22 Feb, 2016 1 commit
  4. 21 Feb, 2016 1 commit
  5. 12 Feb, 2016 3 commits
  6. 11 Feb, 2016 1 commit
    • Ian Hickson's avatar
      Clean up imports and exports. · a94999ba
      Ian Hickson authored
      Each layer is supposed to reexport the parts of the previous layer
      that are part of its API.
      
      - In painting.dart, export from dart:ui all the Canvas-related APIs
        that make sense to be used at higher levels, e.g. PaintingStyle.
      
      - Delete painting/shadows.dart. It was dead code.
      
      - In rendering/object.dart, export all of painting.dart.
      
      - In widgets/basic.dart, export all of painting.dart and
        animation.dart. Some classes in animation/ are renamed to make this
        less disruptive and confusing to the namespace.
      
      - Split out Stocks back into an import model rather than a part model,
        so that it's easier to manage its dependencies on a per-file basis.
      
      - Move Ticker to scheduler library.
      
      - Remove as many redundant imports as possible now.
      
      - Some minor nit picking cleanup in various files.
      a94999ba
  7. 05 Feb, 2016 1 commit
  8. 22 Jan, 2016 1 commit
  9. 21 Jan, 2016 5 commits
  10. 20 Jan, 2016 7 commits
    • Adam Barth's avatar
      Move ClampedSimulation into newton · 87ab798d
      Adam Barth authored
      ClampedSimulation makes more sense at the newton layer because it's dealing
      entirely with newton concepts.
      87ab798d
    • Adam Barth's avatar
      Remove Performance and AnimatedValue · b988a875
      Adam Barth authored
      This patch removes Performance and AnimationValue now that we've ported the
      framework over to AnimationController and Tween. This patch also cleans up the
      names of the AnimationController classes now that they don't have to avoid
      conflicts with the old animation API. Specifically, I've made the following
      renames:
      
       * Animated -> Animation
       * Evaluatable -> Animatable
       * PerformanceStatus -> AnimationStatus
      
      This patch is just renames and moving code around. There aren't any changes in
      behavior.
      b988a875
    • Adam Barth's avatar
      Port the remainder of the framework to AnimationController · e459e712
      Adam Barth authored
      There should be no more uses of Performance or AnimatedValue in the framework
      or the examples.
      e459e712
    • Adam Barth's avatar
      Finish porting material.dart to AnimationController · 08b27fd7
      Adam Barth authored
      After this patch, there aren't any direct uses of Performance in material.dart.
      08b27fd7
    • Adam Barth's avatar
      Switch Navigator over to using AnimationController · 6cea5dc8
      Adam Barth authored
      This patch moves Navigator and related code over to using
      AnimationController.
      6cea5dc8
    • Adam Barth's avatar
      Move Scaffold over to using AnimationController · 0b098ee2
      Adam Barth authored
      Also, clean up the class hierarchy for AnimationController now that
      we've renamed progress to value. That means everything in the hierarchy
      now has a value, include Watchable. This patch renames Watchable to
      Animated<T>, which lets us use that type almost everywhere.
      
      I've added some ducktape to modal bottom sheets to avoid having to
      refactor all of Navigator to use AnimationController. I'll remove the
      ducktape in the next patch.
      0b098ee2
    • Adam Barth's avatar
      Port examples to the new animation API · fc978c1a
      Adam Barth authored
      These now use Animation and AnimationController instead of PerformanceView and
      Performance.
      fc978c1a
  11. 19 Jan, 2016 2 commits
    • Adam Barth's avatar
      Localize curve direction concern · 1e70dc9b
      Adam Barth authored
      The curve direction is now a concern of ACurve alone.
      1e70dc9b
    • Adam Barth's avatar
      Introduce Tween and the new animation API · bc20871c
      Adam Barth authored
      This patch removes state from the animation system, which was causing problems
      as we were scaling the use of animated values.
      
      Now the "tween" objects are stateless and can watch animations, which creates a
      new object that holds both the tween and the animation instead of mutating the
      tween every tick of the animation.
      
      This patch ports one client as a proof-of-concept.
      
      Fixes #215
      bc20871c
  12. 20 Dec, 2015 2 commits
  13. 15 Dec, 2015 1 commit
  14. 14 Dec, 2015 1 commit
  15. 10 Dec, 2015 2 commits
  16. 09 Dec, 2015 2 commits
  17. 07 Dec, 2015 2 commits
  18. 05 Dec, 2015 3 commits
    • Hixie's avatar
      Replace AnimationTiming with CurvedPerformance · 379b6a50
      Hixie authored
      Also, replace places that use the term "create performance" with
      "create performance controller".
      379b6a50
    • Hixie's avatar
      MeanPerformance · 21ec20e9
      Hixie authored
      21ec20e9
    • Hixie's avatar
      Refactor PerformanceView listeners. · 4ba074f6
      Hixie authored
      Primarily, this rearranges how listeners are handled internally by the
      various PerformanceView classes so that there's not so much redundancy.
      
      It also fixes ReversePerformance and ProxyPerformance to not leak.
      Previously, they never unhooked their listeners, so they'd leak until
      the entire chain of performances was killed. Now, they unhook as soon as
      they themselves have no listeners left, which is more idiomatic.
      4ba074f6
  19. 03 Dec, 2015 1 commit
    • Hixie's avatar
      buildForwardTransition() · bc5307f5
      Hixie authored
      For those times when you want to do something as you move away from a
      route into the next one, as well as when you move into it from the
      previous one.
      bc5307f5
  20. 02 Dec, 2015 1 commit
    • Florian Loitsch's avatar
      Rename some of the functions from the scheduler. · 72821152
      Florian Loitsch authored
      The names are probably less familiar, but more consistent:
      - FrameCallback: a callback that is relative to the frame and wants the
        frame offset (a duration) as argument.
      - addXFrameCallback: adds the given callback to the internal lists/maps.
      - scheduleXFrameCallback (currently only X = ""): add the callback, but
        also trigger a new frame.
      - handleX: the method that is invoked when the event-loop or the frame
        calls into the scheduler.
      - ensureXYZ: ensure that the callback happens.
        Unfortunately there is the ambiguity between a "callback": it can be a
        closure, or the action of doing a callback, so we end up with:
        ensureBeginFrameCallback, and ensureEventLoopCallback, where
        "callback" means the action of being called back.
      72821152