1. 14 Dec, 2015 1 commit
  2. 12 Dec, 2015 1 commit
  3. 11 Dec, 2015 1 commit
    • Adam Barth's avatar
      Add dartdoc for image classes · 40dda1ed
      Adam Barth authored
       - Adds dartdoc for all the `of` functions.
       - Renames Image to RawImage. This widget is rarely used and shouldn't take up
         such a nice global name.
      
      Fixes #361
      40dda1ed
  4. 10 Dec, 2015 2 commits
  5. 09 Dec, 2015 1 commit
  6. 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
  7. 05 Dec, 2015 2 commits
  8. 04 Dec, 2015 1 commit
  9. 26 Nov, 2015 1 commit
  10. 22 Nov, 2015 1 commit
  11. 20 Nov, 2015 2 commits
  12. 19 Nov, 2015 2 commits
  13. 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
  14. 11 Nov, 2015 1 commit
  15. 04 Nov, 2015 1 commit
  16. 03 Nov, 2015 1 commit
  17. 27 Oct, 2015 1 commit
  18. 26 Oct, 2015 2 commits
    • Adam Barth's avatar
      Right-aligned text paints offscreen sometimes · 69a0689a
      Adam Barth authored
      We were assuming that the text extended from 0.0 to its max content width.
      That's not correct for right-aligned text. Instead, we need to layout the text
      again at the width we want it to occupy.
      69a0689a
    • Adam Barth's avatar
      Be explicit about whether text styles inherit · 7a811e5a
      Adam Barth authored
      Now TextStyle has a boolean "inherit" value, which controls whether null values
      should use should inherit from the current default text style or whether they
      should use their initial values.
      7a811e5a
  19. 23 Oct, 2015 3 commits
    • Adam Barth's avatar
      Delete OldTextPainter · aa418844
      Adam Barth authored
      Also, delete all references to DOM APIs.
      aa418844
    • Adam Barth's avatar
      Enable the new TextPainter · 228469bb
      Adam Barth authored
      228469bb
    • Adam Barth's avatar
      Make NewTextPainter actually work · 5ba7a1c7
      Adam Barth authored
      The NewTextPainter is still disabled by default. A future patch will flip the
      flag to enable it.
      
      This patch uses a new approach to writing bindings by encoding data into array
      buffers. This approach is more efficient than the existing IDL based approach.
      If this works out well, we should convert our other performance-sensitive
      interfaces to this approach in future patches.
      5ba7a1c7
  20. 19 Oct, 2015 3 commits
  21. 16 Oct, 2015 1 commit
  22. 15 Oct, 2015 3 commits
    • Hans Muller's avatar
      Revised LinearGradient ctor checking. · adba8643
      Hans Muller authored
      It's OK to just specify the colors list.
      adba8643
    • Hixie's avatar
      Improve debugging output · 1f40d96f
      Hixie authored
      Teach dumpRenderTree() to draw actual trees.
      Make the TextStyle output terser so it doesn't overflow the output.
      Make debugDumpApp() say what mode we're in (checked vs release).
      Hide lifecycle state from release mode dumps (since it's checked-only state).
      1f40d96f
    • Adam Barth's avatar
      Fix TextDecoration.lineThrough · 0442b642
      Adam Barth authored
      We had a typo in our CSS translation.
      0442b642
  23. 13 Oct, 2015 1 commit
  24. 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
  25. 10 Oct, 2015 3 commits
  26. 09 Oct, 2015 2 commits