1. 20 Dec, 2015 2 commits
  2. 15 Dec, 2015 1 commit
  3. 14 Dec, 2015 1 commit
  4. 10 Dec, 2015 2 commits
  5. 09 Dec, 2015 2 commits
  6. 07 Dec, 2015 2 commits
  7. 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
  8. 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
  9. 02 Dec, 2015 2 commits
    • 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
    • Florian Loitsch's avatar
      Merge the two schedulers. · 10c80f2e
      Florian Loitsch authored
      10c80f2e
  10. 01 Dec, 2015 1 commit
  11. 18 Nov, 2015 2 commits
  12. 16 Nov, 2015 1 commit
    • Hixie's avatar
      Move Material page animations to Material layer. · 309d25d4
      Hixie authored
      PageRoute is now MaterialPageRoute.
      
      This also changes the following:
      
      - Now the HeroController is a Navigator observer, rather than a feature
        of HeroPageRoutes, which are gone. This means heroes can work between
        any kind of ModalRoute now.
      
      - ModalPageRoute is moved from modal_barrier.dart to routes.dart.
      
      - It allows routes to opt-out of their modal barrier being a shortcut to
        popping the route.
      
      - Features of PageRoute that aren't Material-specific get promoted to
        ModalRoute features: storage, the subtree key, offstageness...
      
      The AnimatedModalBarrier is still a ModalRoute feature.
      309d25d4
  13. 29 Oct, 2015 1 commit
  14. 28 Oct, 2015 1 commit
  15. 27 Oct, 2015 1 commit
  16. 21 Oct, 2015 1 commit
  17. 20 Oct, 2015 2 commits
  18. 19 Oct, 2015 2 commits
    • Hixie's avatar
      requestPostFrameCallback() · ed195cfa
      Hixie authored
      Provide a way to schedule a callback for immediately after the current
      frame has been sent to the GPU thread. This is useful for times where
      you want to immediately schedule yourself for another build or layout
      because, for instance, you just displayed frame zero of an animation and
      you want to use the metrics from that layout to set up the actual
      animation to begin immediately, such that the very next frame is frame 1.
      ed195cfa
    • Hixie's avatar
      Stop AnimatedContainer from animating every build · 552f26d7
      Hixie authored
      It turns out that an AnimatedContainer with a BoxDecoration would
      start animating every single time it was built, whether or not the
      container's decoration had changed.
      552f26d7
  19. 16 Oct, 2015 1 commit
    • Hixie's avatar
      Sundry debugging aids and fixes · d0d84e16
      Hixie authored
      (These are all the debugging-related fixes and trivial typo fixes that I
      extracted out of my heroes branch.)
      
      Fix rendering.dart import order.
      
      Introduce a debugLabel for Performances so that when you create a
      performance, you can tag it so that if later you print it out, you can
      figure out which performance it is.
      
      Allow the progress of a PerformanceView to be determined (but not set).
      
      Allow subclasses of PerformanceView that are constants to be created by
      defining a constant constructor for PerformanceView.
      
      Introduce a debugPrint() method that throttles its output. This is a
      test to see if it resolves the problems people have been having with
      debugDumpRenderTree() et al having their output corrupted on Android. It
      turns out (according to some things I read On The Internets) that
      Android only has a 64KB kernel buffer for its logs and and if you output
      to it too fast, it'll drop data on the floor. If this does in fact
      reliably resolve this problem, we should probably move the fix over to
      C++ land (where "print" is implemented) so that any use of print is
      handled (avoiding the interleaving problem we have now if you use both
      debugPrint() and print()).
      
      Fix a bug with the debugging code for "size". In the specific case of a
      RenderBox having a parent that doesn't set parentUsesSize, then later
      the parent setting parentUsesSize but the child having its layout
      short-circuited (e.g. because the constraints didn't change), we didn't
      update the _DebugSize object to know that now it's ok that the size be
      used by the parent, and we'd assert.
      
      Also, allow a _DebugSize to be used to set the size of yourself.
      Previously you could only set your size from a regular Size or from your
      child's _DebugSize.
      
      Add more debugging information to various Widgets where it might be
      helpful.
      
      Make GlobalKey's toString() include the runtimeType so that when
      subclassing it the new class doesn't claim to be a GlobalKey instance.
      
      Include the Widget's key in the Element's description since we don't
      include it in the detailed description normally (it's in the name part).
      
      Fix a test that was returning null from a route.
      d0d84e16
  20. 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
  21. 10 Oct, 2015 2 commits
  22. 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
  23. 07 Oct, 2015 1 commit
  24. 05 Oct, 2015 4 commits
    • Adam Barth's avatar
      Give Interval a Curve to apply between start and end · 3a31f5f7
      Adam Barth authored
      This patch simplifies AnimationTiming and all the AnimatedValue base classes.
      Also, make PopupMenu a stateless component because it has no state.
      
      Fixes #1168
      3a31f5f7
    • Adam Barth's avatar
      Improves names of animation classes · 3f82552d
      Adam Barth authored
      Fixes #1170
      3f82552d
    • Adam Barth's avatar
      Convert Drawer to using navigator · 49c47876
      Adam Barth authored
      This patch converts drawer to using the "openDialog" pattern for managing its
      state. Currently, the drawer entrance and exit animation aren't integrated with
      the navigator's animation system because the drawer's animations can be stopped
      and reversed, which the navigator can't yet understand. That means dismissing
      the drawer via the system back button causes the drawer to be removed
      instanteously.
      
      Fixes #715
      Fixes #1187
      49c47876
    • Adam Barth's avatar
      Remove AnimatedSimulation · 5cb00100
      Adam Barth authored
      This patch folds the functionality from AnimatedSimulation into Timeline.
      5cb00100
  25. 03 Oct, 2015 2 commits
    • Adam Barth's avatar
      Simplify Scrollable animations · 49aba0cc
      Adam Barth authored
      Rather than having two objects driving scrolling animations, we now have one
      object, a Timeline, drive both scrollTo and fling animations. Using Timeline
      instead of AnimatedSimulation paves the way to removing AnimatedSimulation
      (which is now used only inside the animation library).
      
      Finally, this patch also simplifies (and makes private) _TweenSimulation by
      using AnimatedValue to do the math.
      49aba0cc
    • Adam Barth's avatar
      Make Ticker start ticking at zero Duration · 203e6fd7
      Adam Barth authored
      The only client wants a zero-based duration.
      203e6fd7