1. 24 Jul, 2015 2 commits
  2. 23 Jul, 2015 26 commits
  3. 22 Jul, 2015 12 commits
    • Hixie's avatar
      Make center part of toolbar optional. · bf33f1fc
      Hixie authored
      bf33f1fc
    • Hans Muller's avatar
    • Viktor Lidholt's avatar
      35b5ecf8
    • Viktor Lidholt's avatar
      Adds scoring and level up in game demo · 34e1268f
      Viktor Lidholt authored
      34e1268f
    • Collin Jackson's avatar
      Fix build · eced8b3c
      Collin Jackson authored
      eced8b3c
    • Collin Jackson's avatar
      Merge remote-tracking branch 'dk/master' into meal · ad569a23
      Collin Jackson authored
      Conflicts:
      	sky/sdk/example/fitness/lib/feed.dart
      ad569a23
    • Hixie's avatar
      Fix the crash when going to settings after showing the popup menu. · a50b0651
      Hixie authored
      If your constraints are tight when you get laid out, you don't get a
      relayout subtree root.
      
      If you don't have a relayout subtree root, and you get marked dirty,
      you go through layoutWithoutResize() rather than layout(), so we don't
      get a parentUsesSize.
      
      If you're not dirty and your constraints didn't change, layout() skips
      your layout.
      
      So then if your initial layout had parentUsesSize:true, and then you
      got marked dirty directly, you would set your size with
      parentCanUseSize=false, and then later if your parent tried to lay you
      out then read your size, it would crash because your size wasn't set
      up to allow you to get your size.
      
      The fix is to actually remember the last setting of parentUsesSize,
      even in the case of the constraints being tight and you later being
      marked as needing layout directly.
      a50b0651
    • Hixie's avatar
      Don't set keys on images, etc, pre-emptively. · 4dacd69b
      Hixie authored
      In theory, before, if you had the same image twice in a scrolling container, you'd get an assertion with no way around it.
      This makes those nodes not bother making keys by default, which is cheaper and more correct.
      4dacd69b
    • Adam Barth's avatar
      3d0b82eb
    • mpcomplete's avatar
      Merge pull request #211 from mpcomplete/rm.builder.3 · 2c84154b
      mpcomplete authored
      Make SnackBar animate itself.
      
      This introduces a bit of a regression - the FloatingActionButton no longer animates. I'm not sure yet how to animated the FAB along with the SnackBar. Maybe some notion of anchoring a node to another.
      
      Also remove last use of AnimationBuilder.
      2c84154b
    • Hixie's avatar
      Introduce an explicit Key type. · 74575775
      Hixie authored
      This fixes some theoretical bugs whereby we were using hashCode to try
      to get unique keys for objects, but really we wanted object identity.
      It also lays the groundwork for a new GlobalKey concept.
      
      I tried to keep the impact on the code minimal, which is why the "Key"
      constructor is actually a factory that returns a StringKey. The code
      has this class hierarchy:
      
      ```
         KeyBase
          |
         Key--------------+---------------+
          |               |               |
         StringKey    ObjectKey       UniqueKey
      ```
      
      ...where the constructors are Key and Key.stringify (StringKey),
      Key.fromObjectIdentity (ObjectKey), and Key.unique (UniqueKey).
      
      We could instead of factory methods use regular constructors with the
      following hierarchy:
      
      ```
         KeyBase
          |
         LocalKey---------+---------------+
          |               |               |
         Key      ObjectIdentityKey   UniqueKey
      ```
      
      ...with constructors Key, Key.stringify, ObjectIdentityKey, and
      UniqueKey, but I felt that that was maybe a more confusing hierarchy.
      I don't have a strong opinion on this.
      74575775
    • Viktor Lidholt's avatar
      Merge pull request #202 from vlidholt/master · bb0c8bb1
      Viktor Lidholt authored
      Fixes issues with invalidating matrix for SpriteBox & adds HUD to demo game
      bb0c8bb1