- 13 Jun, 2015 2 commits
-
-
Adam Barth authored
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 authored
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.
-
- 12 Jun, 2015 5 commits
-
-
Adam Barth authored
R=ianh@google.com, eseidel@chromium.org Review URL: https://codereview.chromium.org/1178293004.
-
Hixie authored
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.
-
Adam Barth authored
We can use these intents to move the demo launcher to the new world. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1187583002.
-
Eric Seidel authored
This is a completion of Hans's WIP patch: https://codereview.chromium.org/1176133002/ Makes it possible for us to style text in fn2 apps. The title style in the toolbar doesn't look quite right but as far as I can tell its the same color as the old typography code produced. Will need further investigation. Fixes #213 R=abarth@chromium.org, jackson@google.com Review URL: https://codereview.chromium.org/1178913003.
-
Hixie authored
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.
-
- 11 Jun, 2015 13 commits
-
-
Hixie authored
Make it possible to test that the stock app doesn't crash on startup and paints the basic scaffold more or less correctly. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1177043008.
-
Eric Seidel authored
I also removed the leading /, so it is now possible to use shelldb start sky/sky_home to test. Also fixed touch_demo.dart and sector layout to work and not crash. R=ianh@google.com Review URL: https://codereview.chromium.org/1177343002.
-
Adam Barth authored
The back button now triggers an event of type |back|. R=eseidel@chromium.org, jackson@chromium.org Review URL: https://codereview.chromium.org/1176373004.
-
Hixie authored
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.
-
Matt Perry authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1184523002.
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1182563002.
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1175403002.
-
Hixie authored
This moves input.dart to editing2/, since that way we can define the layering as strictly unidirectional. It also reorders a bunch of imports to fit the style guide. I removed the old remnants of the widgets example, and put the fn2 examples into the examples/widgets/ directory, to parallel the framework directory names. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1177243002.
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1179913002.
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1180873003.
-
Adam Barth authored
This CL wires up the opacity of the popup menu items and teaches the popup menu how to draw its background at the right size. R=ianh@google.com Review URL: https://codereview.chromium.org/1175353002.
-
Viktor Lidholt authored
Sprite nodes use Point instead of Vector2 Updates sprite test app Refactors accounting for pivot points in sprites Adds abstract NodeWithSize class in Sprites. Refactors SpriteNode to Sprite Refactors TransformNode to Node (may need to find another name as it conflicts with Sky's Node). Sprite system now uses and caches transformation matrices. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1180703002.
-
Hixie authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1178783002.
-
- 10 Jun, 2015 12 commits
-
-
Hixie authored
Separate out the raw (directly manipulating sky.view) examples from the rendering (using RenderObject et al) examples. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1173233002
-
Hixie authored
R=eseidel@chromium.org, eseidel Review URL: https://codereview.chromium.org/1180623003
-
Hixie authored
This lays the groundwork for using fn widgets in static environments. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1178703002
-
Adam Barth authored
These are now called Block, Stack, and Flex, respectively. Less verbose. R=jackson@google.com, ianh@google.com Review URL: https://codereview.chromium.org/1181533002.
-
Hixie authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1181453003
-
Adam Barth authored
R=ianh@google.com Review URL: https://codereview.chromium.org/1174153002.
-
Adam Barth authored
Previously, they always started at the center of the RenderInkWell. Now we remember the local coordinates we computed during the hit test and provide that information when handling the event. R=ianh@google.com Review URL: https://codereview.chromium.org/1180553002.
-
Hixie authored
This also removes one bit of magic to make it more obvious what on is going on during a sync, which should hopefully help. Components have to decide if they support being stateful or not. If they do, then they must implement syncFields() and have mutable fields; if they don't, then they must have final fields. This isn't particularly enforced, though. This also renames _willSync() to _retainStatefulNodeIfPossible(), for clarity, and fixes some minor style issues and one typo that was breaking the drawer. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1174023003
-
Collin Jackson authored
Renders interactive_flex and stocks demos fine. Could use more testing, so I'm going to work on that after I land this. R=abarth@chromium.org, abarth Review URL: https://codereview.chromium.org/1173493003
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1175763002.
-
Viktor Lidholt authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1177563004.
-
Adam Barth authored
This CL replaces the (non-working) components2 InkWell with some code based on the ink_well example. There are at least two issues with the implementation: 1) The ink splash always starts at the center of the well because we don't have a facility for converting from global to local coordinates, which means we can't tell where the tap occurred in the local coordinates we need to use for painting. 2) When used inside a MenuItem, the in splash disappears shortly after starting, presumably because the button starts highlighting, which causes a component rebuild and somehow we lose the RenderInkWell instance. I plan to address these issues in subsequent CLs. R=ianh@google.com Review URL: https://codereview.chromium.org/1172033003.
-
- 09 Jun, 2015 8 commits
-
-
Hans Muller authored
StockRows are now a relatively simple application of flex layout. The up/down arrows are now rendered within a circle, like the original version. The arrows are a little bigger, because. R=ianh@google.com Review URL: https://codereview.chromium.org/1165223005.
-
Hixie authored
This would cause them to forget what the most recent child they'd been given was, with disastrous effects later. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1173683003
-
Matt Perry authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1166223004.
-
Eric Seidel authored
We already know how to talk to the network_service from Dart via fetch.dart. Might as well use that for Image loading as well insetad of having ImageLoader do it. As part of this I've renamed *ImageLoader to *ImageDecoder and moved all the image loading logic into Dart. This required me to teach the idl system about mojo handles so that I could pass the resulting MojoHandle from fetch.dart up through to ImageDecoder. R=abarth@chromium.org, jackson@google.com, hansmuller@google.com Review URL: https://codereview.chromium.org/1173703002.
-
Matt Perry authored
more ColorFilter types. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1163373007.
-
Hans Muller authored
The FlexExpandingChild flex parameter is now a keyword as well, which adds a small readability benefit. R=ianh@google.com Review URL: https://codereview.chromium.org/1172503004.
-
Adam Barth authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1172723002.
-
Matt Perry authored
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1169863002.
-