1. 14 8月, 2015 2 次提交
  2. 01 8月, 2015 2 次提交
    • A
      Support borders with borderRadius · 5f958658
      Adam Barth 提交于
      Currently we support only borders with uniform color and width.
      5f958658
    • A
      Stacked does not repaint when its position changes · 77bc162f
      Adam Barth 提交于
      We were marking the parent *Widget's* render object as needing layout, but
      we actually need to walk up the component tree until we find the parent
      *RenderObjectWrapper* so we can mark actually mark the parent render object as
      needing layout.
      
      Fixes #408
      77bc162f
  3. 29 7月, 2015 1 次提交
    • A
      Move build() off microtasks · f167c43e
      Adam Barth 提交于
      Rather than using a microtask to schedule component build functions, instead
      use the scheduler. We now tread building just like layout and painting as a
      visual update.
      f167c43e
  4. 17 7月, 2015 1 次提交
  5. 09 7月, 2015 1 次提交
  6. 07 7月, 2015 1 次提交
    • E
      Use sky_shell instead of mojo_shell for testing. · 63cefd8b
      Eric Seidel 提交于
      This does way more than a single CL should do, sorry.
      - Fixed a bunch of logging/error reporting during loads.
      - Made it possible for --package-root to be absolute.
      - Fixed (hypothetically) parts of iOS build to be clang-plugin-compliant.
      - Made all tests pass in sky_shell
      - Removed a bunch of layout_tests including windows support.
      
      I'll remove all the mojo test harness stuff in a follow-up patch.
      
      R=abarth@chromium.org, abarth@google.com
      
      Review URL: https://codereview.chromium.org/1215953006.
      63cefd8b
  7. 30 6月, 2015 2 次提交
  8. 27 6月, 2015 1 次提交
    • H
      Split Size into Size and Offset. · fa70eb09
      Hixie 提交于
      Added a OffsetBase class that Size now inherits from, and added a new
      Offset class that also inherits from OffsetBase.
      
      Offset has:
       - dx and dy members
       - zero and infinite static constants
       - a method that returns a new Offset that's the existing one scaled
         by a scalar
       - a unary minus operator
       - operators overloads such that subtracting or adding two Offsets
         gives another Offset
       - a toPoint() method
      
      Added Offset and Size to the dart bindings, so they can be used from C++.
      
      Changed the Canvas API to use Point, Size, and Offset where appropriate:
       - drawLine uses Points now
       - drawCircle uses a Point now
       - drawImage uses a Paint now
       - the constructor uses a Size
      
      Changed Point as follows:
       - added a unary minus
       - Point difference now gives an Offset rather than a Size
       - You can add an Offset to a Point to get a new Point
       - toSize() has been replaced by toOffset()
      
      Changed Rect as follows:
       - renamed upperLeft and lowerRight to topLeft and bottomRight for
         consistency with our other APIs
       - added bottomLeft and topRight for completeness
      
      Changed Size as follows:
       - now inherits from OffsetBase
       - added *, /, ~/, and % operators for scaling sizes
       - subtracting a Size from a Size gives an Offset
       - subtracting an Offset from a Size gives a Size
       - changed the + operator to take an Offset instead of a Size
       - added topLeft, bottomLeft, topRight, bottomRight to match Rect
       - added center for the same reason
       - added shortestSide getter since that was a common pattern
       - removed toPoint()
      
      Changed DrawLooperLayerInfo as follows:
       - setOffset member takes an Offset instead of a Point
      
      Changed BoxConstraints as follows:
       - added biggest getter since it was a common pattern
       - added smallest getter for symmetry
      
      Changed BoxShadow as follows:
       - offset member is an Offset rather than a Size
      
      Changed ViewConstraints as follows:
       - replaced height and width members by a single size member
      
      I did some minor code cleanup in nearby files while I was there,
      including sorting sky/engine/core/core.gni alphabetically, and fixing
      some warnings in the examples.
      
      BUG=
      R=abarth@chromium.org, chinmaygarde@google.com
      
      Review URL: https://codereview.chromium.org/1214833004.
      fa70eb09
  9. 25 6月, 2015 1 次提交
  10. 24 6月, 2015 1 次提交
  11. 19 6月, 2015 1 次提交
  12. 18 6月, 2015 2 次提交
  13. 17 6月, 2015 2 次提交
    • A
      Add some basic tests for the material buttons · 1d905916
      Adam Barth 提交于
      Specifically, RaisedButton, FlatButton, and FloatingActionButton. These just
      test that these classes work in their default configurations.
      
      R=ianh@google.com, jackson@chromium.org
      
      Review URL: https://codereview.chromium.org/1193453005.
      1d905916
    • H
      Create an example app that demonstrates interactive coordination of an fn tree... · b3f47808
      Hixie 提交于
      Create an example app that demonstrates interactive coordination of an fn tree and a raw RenderObject tree.
      
      Sector changes:
      - implement the intrinsic sizing box API on RenderBoxToRenderSectorAdapter
      - remove some debug print statements
      - fix getIntrinsicDimensions() on RenderSolidColor to return true values
      - factor out the default demo
      
      RenderObject changes:
      - BoxConstraints.isInfinite() now returns true only if both dimensions are infinite
      
      fn changes:
      - implement UINodeToRenderBoxAdapter
      - rename RenderObjectToUINodeAdapter to RenderBoxToUINodeAdapter
      
      Tests:
      - add a test for sector layout
      - make TestRenderView support being run without the unit test framework
      
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/1175423007.
      b3f47808
  14. 14 6月, 2015 1 次提交
  15. 12 6月, 2015 1 次提交
  16. 10 6月, 2015 1 次提交
  17. 09 6月, 2015 1 次提交
  18. 05 6月, 2015 1 次提交
  19. 04 6月, 2015 1 次提交
  20. 03 6月, 2015 2 次提交
  21. 29 5月, 2015 1 次提交