1. 12 Mar, 2016 5 commits
  2. 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
  3. 05 Feb, 2016 1 commit
  4. 20 Jan, 2016 2 commits
    • 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 most of widgets to AnimationController · 24872f69
      Adam Barth authored
      I've left transitions and enter_exit_transition out of this patch, but I've
      converted the rest.
      24872f69
  5. 18 Jan, 2016 1 commit
    • Ian Hickson's avatar
      Reimplement the theme transition animation by actually animating the Theme. · 73c9ebab
      Ian Hickson authored
      As part of this:
       - A lot of classes got new lerp functions, including e.g. TextStyle.
       - Theme's constructor story got overhauled. You can now configure
         everything if you really want to, and we're better about defaults.
       - Material no longer automatically animates its background color.
         (It still does for its shadow.)
       - Tabs try to get the indicator color from the theme.
       - The fields in ThemeData got reordered for sanity.
       - Theme.== and Theme.hashCode got fixed.
       - Typography got a bit of a spring cleaning.
      
      Fixes #613.
      73c9ebab
  6. 14 Jan, 2016 1 commit
  7. 10 Jan, 2016 3 commits
  8. 09 Jan, 2016 1 commit
    • Ian Hickson's avatar
      Fix crazy assertion. · f07a0c98
      Ian Hickson authored
      Not sure what I was doing when I wrote this assertion, but I'm pretty
      sure it's wrong. I'm guessing the change here is what I actually meant
      to write.
      f07a0c98
  9. 07 Jan, 2016 1 commit
  10. 09 Dec, 2015 2 commits
  11. 08 Dec, 2015 1 commit
    • Ian Hickson's avatar
      Make BoxDecoration replaceable. · 2afa87df
      Ian Hickson authored
      Factor out a reusable interface called Decoration from BoxDecoration.
      
      Make all the consumers of BoxDecoration and the erstwhile BoxPainter
      into consumers of Decoration.
      
      Make a BoxPainter be something you get from a Decoration, rather than
      something to which you pass a BoxDecoration.
      
      Rename Shape to BoxShape now that it's documented specifically as
      applying to boxes.
      
      Move EdgeDims to its own file.
      
      Move FractionalOffset up so that it's with the other helper classes in
      its file rather than alone at the end.
      
      Minor change to RenderClipOval's hit testing to avoid taking an
      unnecessary square root.
      
      Rename BoxDecorationPosition to DecorationPosition since
      RenderDecoratedBox now takes any Decoration.
      
      Implement hit testing for rounded rects.
      
      Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make
      it support lerping across any Decoration (by deferring to the objects
      involved).
      2afa87df
  12. 05 Dec, 2015 1 commit
  13. 02 Dec, 2015 1 commit
    • Adam Barth's avatar
      Add liftToOverlay to Mimicable · f538d3b7
      Adam Barth authored
      This patch integrates Mimicable with Overlay such that you can tell a Mimicable
      to lift up into the overlay and animate towards another widget identified by a
      global key.
      f538d3b7
  14. 20 Oct, 2015 1 commit
  15. 19 Oct, 2015 1 commit
  16. 18 Oct, 2015 1 commit
    • 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
  17. 10 Oct, 2015 1 commit
  18. 09 Oct, 2015 1 commit
  19. 06 Oct, 2015 1 commit
  20. 05 Oct, 2015 2 commits
  21. 02 Oct, 2015 1 commit
    • Adam Barth's avatar
      Add AnimatedContainer · c88ca5db
      Adam Barth authored
      This widget is used in Material and Drawer. We don't currently support
      animating towards null, but we can add that in a future patch.
      c88ca5db
  22. 01 Oct, 2015 1 commit
  23. 16 Sep, 2015 1 commit
  24. 08 Sep, 2015 2 commits
  25. 03 Sep, 2015 1 commit
  26. 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
  27. 31 Aug, 2015 1 commit
  28. 28 Aug, 2015 1 commit
  29. 22 Aug, 2015 1 commit
  30. 04 Aug, 2015 1 commit