1. 12 Jan, 2016 1 commit
  2. 11 Jan, 2016 1 commit
  3. 18 Nov, 2015 1 commit
    • Hans Muller's avatar
      Update shadow rendering · d9153a13
      Hans Muller authored
      Shadows now render as three seprate MaskFilter.blur components per the most recent Material spec.
      
      The shadows Map was replaced by a similar Map called elevationToShadow with entries that match the 10 elevations specifed by http://www.google.com/design/spec/what-is-material/elevation-shadows.html.
      
      The "level" property (many classes) is now called "elevation", to match the Material spec.
      
      BoxShadow now includes a spreadRadius parameter - as in CSS box-shadow. Renamed the BoxShadow blur property to blurRadius to further align BoxShadow with CSS box-shadow.
      d9153a13
  4. 16 Nov, 2015 1 commit
    • Hixie's avatar
      Fix some examples. · 5e221334
      Hixie authored
      - drag and drop was using the wrong draggables (long press vs short
        press).
      
      - navigation.dart wasn't using material correctly and so was ending up
        with some red text.
      
      - piano wasn't followig our style guide even a little.
      
      - date picker was not scrollable.
      5e221334
  5. 29 Oct, 2015 1 commit
    • Adam Barth's avatar
      Rationalize embedder.dart and shell.dart · fab160cf
      Adam Barth authored
      This patch combines embedder.dart and shell.dart into one thing. We should now
      handle a bunch of error cases better.
      
        * embedder.connectToApplication has moved to shell.connectToApplication,
          matching the rest of the mojo universe.
        * embedder.connecttoService has moved to shell.connnectToService (and merged
          with shell.requestService).
        * shell.requestService is now shell.connectToService, matching the rest of
          the mojo universe.
        * serviceRegistry has moved from embedder.serviceRegistry to a top-level
          getter.
      
      Fixes #1803
      fab160cf
  6. 24 Oct, 2015 1 commit
    • Hixie's avatar
      Strong modeify the examples · a6c473ea
      Hixie authored
      This makes skyanalyzer also check the examples, and fixes everything it
      found there.
      a6c473ea
  7. 22 Oct, 2015 1 commit
  8. 10 Oct, 2015 1 commit
  9. 09 Oct, 2015 1 commit
  10. 01 Oct, 2015 1 commit
  11. 24 Sep, 2015 1 commit
  12. 21 Sep, 2015 1 commit
    • Adam Barth's avatar
      Remove EventDisposition · 051354ae
      Adam Barth authored
      All the use cases for EventDisposition are now addressed by the gesture
      detection system.
      051354ae
  13. 18 Sep, 2015 1 commit
    • Adam Barth's avatar
      Move theme into material.dart · 4467a268
      Adam Barth authored
      Also, introduce Colors and Typography to hold the material colors and the
      typography declarations. Previously we expected clients of these libraries to
      import them into a namespace, but that doesn't play nice with re-exporting them
      from material.dart.
      4467a268
  14. 17 Sep, 2015 1 commit
  15. 26 Aug, 2015 1 commit
    • Hixie's avatar
      Replace Flex to Row and Column in tests and examples. · ce28a717
      Hixie authored
      This still leaves Flex and FlexDirection available. At some point once
      people have transitioned to Row/Column we should rename Flex to _Flex
      and stop reexporting FlexDirection from basic.dart.
      ce28a717
  16. 19 Aug, 2015 2 commits
    • Adam Barth's avatar
      Add package:sky/rendering.dart · dea3a092
      Adam Barth authored
      Similar to widgets.dart, rendering.dart exports the entire rendering layer.
      Also, update the examples to use rendering.dart and widgets.dart. Also clean up
      some exports so that the examples have more sensible imports.
      dea3a092
    • Adam Barth's avatar
      Split box.dart into many files · 50bfdedb
      Adam Barth authored
      Sadly, box.dart has grown much longer than 1000 lines. This patch splits it up
      into several files based on the class hierarchy. Fortunately, many of these
      classes are loosely coupled to each other.
      50bfdedb
  17. 08 Aug, 2015 1 commit
  18. 04 Aug, 2015 1 commit
    • James Robinson's avatar
      Teach event system about disposition and make 'consumed' disposition terminal · 53163f8b
      James Robinson authored
      This introduces the notion of event disposition and allows event
      targets (widgets and render objects) to consume events that should not
      be processed further. This is needed by the Switch component in the
      Drawer in the stocks example. The Switch is embedded in a DrawerItem.
      The Switch handles the gesture tap event to toggle its state and should
      handle pointer events to allow swiping and draw its own radial
      reaction. The DrawerItem also handles gesture taps to allow toggling
      the switch value when tapping anywhere on the drawer and to draw its
      own ink splash. When tapping on the switch, both the switch's render
      object and the DrawerItem's listener are in the event dispatch path.
      The Switch needs to signal in some fashion that it consumed the event
      so the DrawerItem does not also try to toggle the switch's state.
      53163f8b
  19. 30 Jul, 2015 2 commits
  20. 28 Jul, 2015 2 commits
  21. 23 Jul, 2015 1 commit
    • Hixie's avatar
      Remove the scheduleBuild() API. · 4e289380
      Hixie authored
      I've noticed an anti-pattern emerge where people call scheduleBuild()
      when they think they've changed enough state that they should rebuild,
      instead of just wrapping their changes in setState(). This leads to
      them missing state changes, having extraneous scheduleBuild() calls,
      and other similar bugs.
      
      By removing scheduleBuild(), the only way to actually schedule a build
      now is to call setState(), and hopefully that'll make it much clearer
      that you're only supposed to do this when you change state.
      4e289380
  22. 16 Jul, 2015 1 commit