- 02 Jun, 2015 2 commits
-
-
Matt Perry authored
The previous patch broke the sky tests. I have updated the framework to use the new Color class. R=jackson@google.com Review URL: https://codereview.chromium.org/1159663003
-
Collin Jackson authored
R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1165753004
-
- 01 Jun, 2015 3 commits
-
-
Collin Jackson authored
Refactor image handling in Sky to expose the loader and image as separate classes to Dart code. This makes it possible to avoid unnecessary paints, by only painting once when the image has loaded. Now that we've separated the loader and image classes, we can implement an image cache in Dart. R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1156003007
-
Matt Perry authored
This reverts commit a413c8319fe9a46dc131f6efe275d014c9cb7eb9. Reason: seems to have broken Sky tests: Regressions: Unexpected crashes (2) raw/render_box.dart [ Crash ] raw/render_flex.dart [ Crash ] TBR=jackson@google.com Review URL: https://codereview.chromium.org/1143133007
-
Matt Perry authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1161273004
-
- 29 May, 2015 2 commits
-
-
Collin Jackson authored
R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1151753009
-
Adam Barth authored
We'll eventually turn this into a full fn2 component, but for now it's just an example. To make this work, I created a schedule.dart as a start to implementing scheduler.md. For now, I've kept the API similar to the web platform so that the old world can continue use it backed by sky.window.requestAnimationFrame. R=eseidel@chromium.org BUG= Review URL: https://codereview.chromium.org/1145973009
-
- 28 May, 2015 12 commits
-
-
Adam Barth authored
Previously layout2.dart was a thousand lines long. R=ianh@google.com Review URL: https://codereview.chromium.org/1161003002
-
Hixie authored
R=abarth@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/1165463002
-
Adam Barth authored
R=ianh@google.com Review URL: https://codereview.chromium.org/1150253005
-
Adam Barth authored
R=ianh@google.com Review URL: https://codereview.chromium.org/1146123003
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1158693005
-
Eric Seidel authored
R=ianh@google.com Review URL: https://codereview.chromium.org/1160843005
-
Adam Barth authored
Also makes Point, Size, and Rect immutable. R=ianh@google.com Review URL: https://codereview.chromium.org/1162033002
-
Adam Barth authored
R=ianh@google.com Review URL: https://codereview.chromium.org/1156303004
-
Eric Seidel authored
TBR=ianh@google.com Review URL: https://codereview.chromium.org/1155103003
-
Eric Seidel authored
I'm sure we'll want something more sophisticated in the near future. Next step is to actually animate this updating layout. R=ianh@google.com Review URL: https://codereview.chromium.org/1150183005
-
Hixie authored
This dramatically simplifies the layout model. I haven't gone through and simplified the existing functions, we should probably go through and figure out if they can be cleaned up a bit. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1161983004
-
Hixie authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1143153011
-
- 27 May, 2015 9 commits
-
-
Hixie authored
This gets things off the ground barely enough to show some pixels. These are not pixels that are actually part of the stock app, but it's a start. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1157033006
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1144193006
-
Hixie authored
TBR=abarth Review URL: https://codereview.chromium.org/1153273002
-
Matt Perry authored
Also, fix the style in Rect.cpp/.h. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1158843002
-
Eric Seidel authored
I had to add back document.createText() since new Text() does not work in the new world yet. LayoutRoot is a new Dart-exposed class which holds the Frame and all associated machinery, sufficient to trigger a restyle and layout of the subtree. This is all kinda hacky and I'm sure likely to cause many crashes if folks call random methods on these disconnected trees. But this makes it at least possible to paint text for now and we can improve this in the coming days. This really should have Adam's review. It's hugely hacky but I'd like to negotiate out with him the timeline on which we should fix some of these hacks. R=ianh@google.com TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/1148253003
-
Hixie authored
This was supposed to be in https://codereview.chromium.org/1153223003 TBR=abarth Review URL: https://codereview.chromium.org/1160763003
-
Hixie authored
This was supposed to be in https://codereview.chromium.org/1153893006/ TBR=abarth Review URL: https://codereview.chromium.org/1151383003
-
Hixie authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1153893006
-
Hixie authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1153223003
-
- 26 May, 2015 5 commits
-
-
Hixie authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1156543004
-
Hixie authored
- makes the event logic not involve a boolean return value (since we ignored it anyway) - splits the event handling logic into two steps, hit testing and event dispatch - introduces an App class on the Dart side to factor out the interaction with the C++ side - ports sector-layout and simple_render_tree to the new App infrastructure - port simple_render_tree to the new event handling logic - implement hit testing for the sector-layout demo R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1143343004
-
Collin Jackson authored
R=sethladd@google.com, sethladd Review URL: https://codereview.chromium.org/1159763003
-
Hixie authored
- the circle now fills the screen - you can set dimensions on the solid color node - debugging printfs and rects are gone - the protocol is changed so that for sectors, you position before you size (since your size and your childrens' positions all depend on your own position) TBR=abarth Review URL: https://codereview.chromium.org/1154213003
-
Hixie authored
Could be useful for watch faces. :-) Includes some minor fixes to layout2.dart. Includes adding a very basic path API. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1152383002
-
- 23 May, 2015 1 commit
-
-
Collin Jackson authored
This only handles really basic cases and doesn't understand justification, wrapping, and so on. Submitting for code review so I can get some early feedback before I invest more time into making it correct. R=ianh@google.com, abarth Review URL: https://codereview.chromium.org/1151293002
-
- 21 May, 2015 5 commits
-
-
Adam Barth authored
R=ianh@google.com Review URL: https://codereview.chromium.org/1152603002
-
Adam Barth authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1151613005
-
Adam Barth authored
This demo shows how to create a spinning square using the lowest-level APIs. We should probably create more spinning square demos at the other layers of the system. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1147393002
-
Adam Barth authored
This CL makes simple_render_tree.dart interactive by making the hit testing system work. I've also added a mechanism for requesting an animation frame. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1153543002
-
Adam Barth authored
This CL teaches simple_render_tree how to do a block layout using layout2.dart. R=eseidel@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1144423002
-
- 20 May, 2015 1 commit
-
-
Adam Barth authored
This example shows how to draw a circle using subclasses of RenderNode. R=ianh@google.com Review URL: https://codereview.chromium.org/1144193004
-