- 27 6月, 2015 2 次提交
-
-
由 Adam Barth 提交于
We're trying to follow the pattern described in https://www.dartlang.org/tools/pub/package-layout.html TBR=iansf@google.com Review URL: https://codereview.chromium.org/1210173004.
-
由 Ian Fischer 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1218593002.
-
- 18 6月, 2015 3 次提交
-
-
由 Hixie 提交于
Some files are moved by this: Copy framework/node.dart into types/ - preparing for framework/'s decomissioning. Move app/scheduler.dart into sky/scheduler.dart - "app" doesn't really make sense. As part of the SkyBinding cleanup, I made the hit-testing less RenderBox-specific, by having the HitTestEntry.target member be a HitTestTarget, which is an interface with the handleEvent() function, which is then implemented by RenderBox. In theory, someone could now extend hit testing from the RenderBox world into their own tree of nodes, and take part in all the same dispatch logic automatically. This involved moving all the hit testing type definitions into a new sky/hittest.dart file. Renamed SkyBinding._app to SkyBinding._instance for clarity. Moved code around in SkyBinding so that related things are together. Made WidgetSkyBinding use the existing SkyBinding.instance singleton logic rather than having its own copy. I also added some stub README.md files that describe dependencies. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1187393002.
-
由 Hixie 提交于
Move app/view.dart to rendering/sky_binding.dart since it's part of the RenderObject API, really (it knows about RenderView intimately). The tests pass. I didn't check every last example. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1183913006.
-
由 Hixie 提交于
TBR=abarth Review URL: https://codereview.chromium.org/1194473004.
-
- 17 6月, 2015 2 次提交
-
-
由 Hixie 提交于
Also, move a widget example from examples/raw/ to examples/widgets/ R=abarth@chromium.org Review URL: https://codereview.chromium.org/1190793002.
-
由 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.
-
- 16 6月, 2015 2 次提交
-
-
由 Adam Barth 提交于
We need the key to be a String even though we claimed we could support any Object. Also, clean up some style nits including shortening the |root| getters on OneChildRenderNodeWrappers. Fixes https://github.com/domokit/sky_sdk/issues/26. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1173293005.
-
由 Adam Barth 提交于
FlexExpandingChild -> Flexible StackPositionedChild -> Positioned Also, name the child argument |child| for consistency. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1179763009.
-
- 14 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
This CL moves the bulk of the SkyView code out of the |framework| directory because the |framework| directory was redundant in Dart package import declarations. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1177383006.
-
- 13 6月, 2015 4 次提交
-
-
由 Adam Barth 提交于
Although the basic widgets are wrappers, that's an implementation detail and shouldn't be encoded in the name of the library. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1182983002.
-
由 Hixie 提交于
Verify that callers correctly set parentUsesSize if they use the child's size (and fix a few cases that didn't). This introduces a bunch of code that should only run in debug builds, but we don't have #ifdefs yet. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1182933003.
-
由 Hixie 提交于
Make it easier to debug examples/widgets/container.dart, since it is currently showing a crazy clipping/transform bug. TBR=abarth Review URL: https://codereview.chromium.org/1186653003.
-
由 Hixie 提交于
Make Material actually create material, with opinions about what that means. Make FloatingActionButton use this. Make Scrollable use this. Make BoxDecoration support drawing a circle instead of a rectangle, so that floating action button doesn't need a custom painter. Implement RaisedButton (and remove button.dart, since there's no "button" in Material Design). Make InkWell have a "child" argument instead of "children", and not have it introduce a Flex into the hierarchy. Update container.dart example. Clean up some imports. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1179713004.
-
- 12 6月, 2015 1 次提交
-
-
由 Hixie 提交于
Also: - Make RenderProxyBox non-abstract - Upgrade the old container.dart example - Minor fixes to ui_mode.dart to make this work R=abarth@chromium.org Review URL: https://codereview.chromium.org/1183503003.
-