- 28 Apr, 2015 4 commits
-
-
Eric Seidel authored
so that pub get will create a packages/ directory for each and users of packages/sky/sky_tool can run these examples from sky_sdk as the instructions say to. TBR=ianh@google.com https://github.com/domokit/mojo/issues/128 Review URL: https://codereview.chromium.org/1110283002
-
Eric Seidel authored
TBR=ianh@google.com Review URL: https://codereview.chromium.org/1114553004
-
Eric Seidel authored
Also fixed missing entry in CHANGELOG.md TBR=ianh@google.com Review URL: https://codereview.chromium.org/1108393003
-
Eric Seidel authored
TBR=ianh@google.com Review URL: https://codereview.chromium.org/1104093004
-
- 27 Apr, 2015 2 commits
-
-
Eric Seidel authored
This is just copy-pasted from shelldb but should work. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1112433003
-
Eric Seidel authored
This is a fork of sky/tools/download_material_design_assets which does not depend on depot_tools and assumes that its right next to the assets directory instead of finding it relative to the mojo root. R=ianh@google.com Review URL: https://codereview.chromium.org/1106373002
-
- 21 Apr, 2015 3 commits
-
-
Hixie authored
TBR=eseidel Review URL: https://codereview.chromium.org/1065653009
-
Hixie authored
remove members that are never read remove imports that are never used R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1099203002
-
Hixie authored
- make the ScrollBehavior instance long-lived, rather than recreating it each time we update the list contents. - have OverscrollBehavior track the total height of the contents and the height of the scrollable region, so that it can determine when to stop scrolling down. - teach OverscrollBehavior about how to determine when to stop scrolling down, and how to bounce when it's too far down. - replace the 'energy' concept in Particles with a method that sets the energy and direction at the same time, instead of assuming that the direction is always positive when setting energy. - make FixedHeightScrollable lists track the number of items in the list and have them update their ScrollBehavior regarding this information as it changes. - track how many items are currently showing in the list stock list. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1097373002
-
- 20 Apr, 2015 1 commit
-
-
Hixie authored
[Effen] Only skip rows we're showing, when skipping past the rows that we've scrolled beyond in the stock list. Currently, if you then scroll down N items with a filter set, we select which stock to show by taking the entire list of stocks, skipping the first N, then filtering the list, then selecting as many stocks as needed to fill the list. So suppose the list is A, B, Cx, Dx, Ex, F, and the filter is "x", and you've scrolled down 1 item. Currently we'd show Cx, Dx, Ex. Scroll down 1 again. We still show Cx, Dx, Ex. What we _should_ show is Dx, Ex if you've scrolled down 1, and just Ex if you've scrolled two. This patch fixes this. We now skip rows _after_ filtering. This fixes the bug whereby if you set a filter then fling the list, we show the same item over and over as if in a loop. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1057603006
-
- 15 Apr, 2015 1 commit
-
-
Eric Seidel authored
This will require me to roll the sky pub package, sigh. R=ianh@google.com Review URL: https://codereview.chromium.org/1090713002
-
- 14 Apr, 2015 3 commits
-
-
Eric Seidel authored
TBR=hansmuller@chromium.org Review URL: https://codereview.chromium.org/1082413002
-
Eric Seidel authored
R=ianh@google.com, ojan@chromium.org Review URL: https://codereview.chromium.org/1085933002
-
Eric Seidel authored
Also fixed display of text in touch-demo.sky R=ianh@google.com Review URL: https://codereview.chromium.org/1059743004
-
- 10 Apr, 2015 1 commit
-
-
Eric Seidel authored
TBR=hansmuller@chromium.org Review URL: https://codereview.chromium.org/1073243002
-
- 09 Apr, 2015 2 commits
-
-
Eric Seidel authored
TBR=hansmuller@chromium.org Review URL: https://codereview.chromium.org/1074933003
-
Ojan Vafai authored
Text can only only inside paragraphs and inlines. This patch makes it so we stop putting such text nodes in the render tree at all if their parent is not a paragraph or an inline. This is the final step in making it so that we don't create anonymous renderers, which fixes a crash in the new custom layout code. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1077473002
-
- 07 Apr, 2015 2 commits
-
-
Eric Seidel authored
Just silly fixes needed for our 4 copies of our python run script. R=ianh@google.com Review URL: https://codereview.chromium.org/1064983003
-
Eric Seidel authored
Also fix button.dart to include ink_well.dart. R=ojan@chromium.org Review URL: https://codereview.chromium.org/1058013003
-
- 06 Apr, 2015 1 commit
-
-
Ojan Vafai authored
-Make display:flex, flex-direction: column, flex-shrink: 1 the default. -Simplify StyleAdjuster::adjustStyleForAlignment to remove special cases we won't need as we make flex the default and remove absolute positioning. -Fix a bug this exposed in column flexboxes where we'd apply the wrong edge of border/padding/margin. -For now leave the default of align-items:stretch. The main change here is that iframe/img will do width:auto the same as blocks (i.e. the width of the parent). I think this is a good change, but we'll have to see how it feels in practice. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1061163002
-
- 01 Apr, 2015 1 commit
-
-
Hixie authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1043283003
-
- 27 Mar, 2015 1 commit
-
-
Adam Barth authored
TBR=ojan@chromium.org Review URL: https://codereview.chromium.org/1037163002
-
- 26 Mar, 2015 5 commits
-
-
Adam Barth authored
We're trying to clean up the //sky/examples directory to focus on mobile use cases for the fn framework. Terminal is both focused on desktop and uses the older custom-element framework. R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/1038813005
-
Adam Barth authored
1) Merge input example into widgets example 2) Move single-file, non-fn examples into a "raw" directory 3) Rename stocks-fn and widgets-fn to stocks and widgets R=ojan@chromium.org Review URL: https://codereview.chromium.org/1005393006
-
Adam Barth authored
It's not really an example of how to use Sky. It's a resource for benchmarking. TBR=raf@chromium.org Review URL: https://codereview.chromium.org/1030423002
-
Adam Barth authored
Flights is not longer a good example of something you can build wity Sky. Restore the flights-app-pixel test and move the assets needed for the test into the tests directory. R=ojan@chromium.org Review URL: https://codereview.chromium.org/1034953003
-
Adam Barth authored
TBR=ojan@chromium.org Review URL: https://codereview.chromium.org/1038873005
-
- 25 Mar, 2015 4 commits
-
-
Adam Barth authored
When the StocksApp menu is showing, the user shouldn't be able to interact with the rest of the app. Instead, taps outside the menu should dismiss the menu. This CL makes that happen by adding a ModalOverlay on top of the app. We might want to do something fancier in the future using event delegation, but this works for now. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/1031093002
-
Adam Barth authored
There's no reason for InkWell to take a |style| parameter anymore. Clients can simply use StyleNode instead. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/1019443003
-
Adam Barth authored
This CL teaches PopupMenu how to animate out as well as in. Also, I've changed the PopupMenuItem animations to be driven from the PopupMenu itself, which makes it easier to run the animation in reverse when closing the menu. TBR=rafaelw@chromium.org Review URL: https://codereview.chromium.org/1033913002
-
Adam Barth authored
This CL cleans up stock_app.dart to better separate concerns now that we have StyleNode. Also, this CL introduces IconButton, which will grow to include an ink effect in the future, and makes the background of the search bar white. R=ojan@chromium.org Review URL: https://codereview.chromium.org/1007893005
-
- 24 Mar, 2015 3 commits
-
-
Adam Barth authored
Previously we would spend a lot of time during startup processing all 3k stocks in the data set. This CL breaks the data up into 100 stock chunks and loads them incrementally off the network. A future CL will switch to loading them on demand. R=ojan@chromium.org Review URL: https://codereview.chromium.org/1038533002
-
Viet-Trung Luu authored
It's especially crappy since it doesn't actually do much/any error handling. Use: $ sky/tools/skydb start out/Debug \ 'sky/examples/terminal/index.sky?url=mojo:netcat?host=localhost%26port=80' (Note: We don't have a resolver yet, so the host either has to be "localhost" or an IPv4 address in the form N1.N2.N3.N4.) R=erg@chromium.org Review URL: https://codereview.chromium.org/1032743002
-
Viet-Trung Luu authored
TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/1031933002
-
- 23 Mar, 2015 4 commits
-
-
Adam Barth authored
This will let us form a wholistic picture of work done in the framework and in the engine. R=ojan@chromium.org, rafaelw@chromium.org Review URL: https://codereview.chromium.org/1028243003
-
Adam Barth authored
Build fix after recent Dart bindings refactoring. Now that these libraries are not included in the snapshot, we need to load them from the mojo package. R=zra@google.com TBR=zra@chromium.org Review URL: https://codereview.chromium.org/1029683002
-
Adam Barth authored
We were missing the ability to initialize one of the fields. TBR=rafaelw@chromium.org Review URL: https://codereview.chromium.org/1027293003
-
Adam Barth authored
Instead of hard-coding the stock data in the Dart file, this CL moves the data to a JSON file and loads that file over the network. This change improves load time for the Stocks app from 3 seconds to 2 seconds. Also, this CL removes shake-to-reload from the Stocks app because that also slows down load time (due to the two module systems fighting each other). R=rafaelw@chromium.org, ojan@chromium.org Review URL: https://codereview.chromium.org/1021723005
-
- 20 Mar, 2015 2 commits
-
-
Eric Seidel authored
Also bumped package:sky's version in prep for publishing. R=abarth@chromium.org BUG= Review URL: https://codereview.chromium.org/1024243002
-
Eric Seidel authored
I'm not sure this is the final long-term solution, but works for now. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1022193002
-