- 24 6月, 2015 8 次提交
-
-
由 Eric Seidel 提交于
We now have to run mojom/lib/generate.dart before we can launch a sky app. :( Fixes https://github.com/domokit/mojo/issues/262 R=johnmccutchan@google.com Review URL: https://codereview.chromium.org/1205623002.
-
由 Carlos Pizano 提交于
A very basic minesweeper clone. Currently only tested in linux. BUG=none R=abarth@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/1196213012.
-
由 Hixie 提交于
TBR=abarth Review URL: https://codereview.chromium.org/1198293005.
-
由 Collin Jackson 提交于
R=eseidel@chromium.org, eseidel Review URL: https://codereview.chromium.org/1192773004.
-
由 Hixie 提交于
Fix the indenting of the toString() output of the RenderTree, which was broken around RenderParagraph. TBR=eseidel Review URL: https://codereview.chromium.org/1199913009.
-
由 Eric Seidel 提交于
Also updated the version range on stocks2. https://github.com/domokit/mojo/issues/262 R=ianh@google.com Review URL: https://codereview.chromium.org/1195933004.
-
由 Hixie 提交于
Make the checkbox in settings control the radio buttons in the drawer, to demonstrate how to link state in different places in an app. R=jackson@google.com Review URL: https://codereview.chromium.org/1197333002.
-
由 Adam Barth 提交于
R=ianh@google.com Review URL: https://codereview.chromium.org/1199243003.
-
- 23 6月, 2015 20 次提交
-
-
由 Adam Barth 提交于
These warnings were added in the previous CL because we started added a URL mapping for dart:mojo.internal. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1207453003.
-
由 Adam Barth 提交于
This file doesn't belong in the SDK because it is an implementation detail of the Sky engine. Instead, this CL moves the code for dart:sky.internals into the snapshot. This CL is a step towards merging dart:sky.internals with dart:sky, which also resides in the snapshot. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1200953007.
-
由 Adam Barth 提交于
We ended up using "dart:" instead. This change shouldn't have any observable effects. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1192743011.
-
由 Adam Barth 提交于
This CL removes all C++11 library features from sky/tools/packager because we can't use C++11 library features on Mac. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1198313004.
-
由 Adam Barth 提交于
The plan is to use this service for game assets and offline assets. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1193763004.
-
由 Hixie 提交于
This returns us to a more stocks1-like arrow style. Also it uses math rather than transforms to rotate the arrow, since transforms are expensive. It also removes the save/restore calls, which are _really_ expensive. Also some minor style fixes. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1203443007.
-
由 Collin Jackson 提交于
R=ianh@google.com, hixie Review URL: https://codereview.chromium.org/1204523002.
-
由 Eric Seidel 提交于
R=ianh@google.com Review URL: https://codereview.chromium.org/1197203004.
-
由 Hixie 提交于
Short-circuit the relayoutSubtreeRoot when the child couldn't change dimensions anyway because the parent constrained it. The relayout subtree root concept is intended to handle the case where a node, when it lays itself out for a second time, changes its opinion about what dimensions it should be. In such a situation, the parent, if it based its own opinion about what size _it_ should be on the child's dimensions, would also need to lay itself out again. Thus, when this scenario is possible, the child remembers the parent, and when it would be told to relayout, we actually start the layout with the parent. In practice, this chains, and we end up with nodes that point to ancestors ten or more steps up the tree such that when the inner most child re-lays-out, the whole app ends up relaying out. This patch tries to short-circuit this for the case where the constraints being applied to the child are such that actually, the child has no choice about its dimensions. In that case, the parent can't change dimensions when the child re-lays-out. This makes a huge difference on the stocks demo app. Without this, on the third rendered frame, there are 72 relayoutSubtreeRoot links, the deepest chain is 8 deep, and 9 of the chains are only 1 level deep. With it, there are 63 relayoutSubtreeRoot links, the deepest chain is only 4 deep, and 38 of the chains are only 1 level deep. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1196553004.
-
由 Eric Seidel 提交于
The widgets flavor is slightly fancier. R=ianh@google.com, jackson@google.com Review URL: https://codereview.chromium.org/1196353002.
-
由 Hixie 提交于
Previously, the wavy underline code only knew how to draw a complete period. This change adds the ability to draw a partial period of the wave. Previously, the code tried, but failed, for reasons I cannot determine, to fit the width of the inline by extending the period to be an integral factor of the width. This is bad because as you type text, the underline wave of earlier characters would jiggle. This fixes that by not changing the period of the wave when the length changes. It's interesting to compare this to the previous code. Here's a test that shows this in Safari/Chrome: http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3543 Notice how as you type "i"s, the underline changes how far it extends (obviously a bug) but also what the period of the wave is (which looks especially ugly when typing). Firefox, on the other hand, renders something that isn't actually a wave; it's a saw-tooth pattern with straight lines between each direction change. This works for small font sizes at low densities, but is not great on modern screens. This CL addresses this issue by computing the bezier curve control points for the curve that consists of just the remaining fraction of the period. To do this, however, it allocates an object and solves a bezier for x (which includes a numerical integration), which is certainly a performance concern. Apps that try to wavy-underline an entire UI are going to maybe suffer. Since this is typically going to be used for spelling checkers, it means people who spell better will have better performance. (I haven't tested this to see what the perf impact actually is. If it's actually bad, we can probably cache the results of the integration pretty trivially.) R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1189403005.
-
由 Hixie 提交于
TBR=eseidel Review URL: https://codereview.chromium.org/1196223004.
-
由 Hixie 提交于
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1199063002.
-
由 Hixie 提交于
Update sky_server: - update its help string to admit that it wants the package path as well. - be quiet by default, since it makes the build chatty. - have a -v for verbose mode, for people who like it chatty. - have a default port of 8000, since that's what everyone used. - have a -p option to set the port, for people who don't use the default. - remove its mapping for gen/, since a TODO told me to. - remove the dependency on the build configuration, since it's no longer used. - teach it about .dart files. - rename sky_server/README to README.md, for consistency with other READMEs. Update shelldb to speak the new sky_server protocol. Update tests/services/iframe-embed-vmc.sky since the sky_server change broke the hack it was using. Update skyserver.py to speak the new sky_server protocol. Make webkitpy use SkyServer instead of spawning sky_server itself, since a TODO told me to. Teach webkitpy about dart files. Teach test_perf about dart files. (untested) Teach sky_tool about main.dart, main.sky is deprecated. (untested) R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1200993002.
-
由 Hixie 提交于
TBR=eseidel Review URL: https://codereview.chromium.org/1198323003.
-
由 John McCutchan 提交于
Fix HTTP requests R=rmacnak@google.com Review URL: https://codereview.chromium.org/1191253005.
-
由 Eric Seidel 提交于
TBR=ianh@google.com Review URL: https://codereview.chromium.org/1204483002.
-
由 Collin Jackson 提交于
R=abarth@chromium.org, abarth, hixie Review URL: https://codereview.chromium.org/1194743003.
-
由 Eric Seidel 提交于
TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/1197113003.
-
由 Viktor Lidholt 提交于
R=ianh@google.com Review URL: https://codereview.chromium.org/1201983004.
-
- 22 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
Previously this README discussed fn.dart. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1199753002.
-
- 20 6月, 2015 10 次提交
-
-
由 Adam Barth 提交于
They're in the Material design color palette. This also adds a file-level dart doc comment. BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/1190413003.
-
由 Hans Muller 提交于
Also restored the blue line that appears below focused Input text. R=ianh@google.com Review URL: https://codereview.chromium.org/1194113002.
-
由 Hixie 提交于
Turn on wavy underlines. The waves aren't very pretty yet (they are too short somehow), I'll fix that in a subsequent CL. I abstracted out the wavy underline code so that it doesn't duplicate the code for horizontal and vertical lines. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1201503003.
-
由 Adam Barth 提交于
We're now 25% faster as scrolling the infinite list than stocks1. This CL makes cleans up some code to avoid calling layout on all the rows in the stocks list. Instead, we only layout a row when it first enters the list. R=ianh@google.com Review URL: https://codereview.chromium.org/1195113002.
-
由 John McCutchan 提交于
BUG= R=zra@google.com Review URL: https://codereview.chromium.org/1199483004.
-
由 Viktor Lidholt 提交于
Renames hitTest to isPointInside Refactor sorting of children in nodes Fixes zPosition in sprites and hides internal methods Adds scaleX / scaleY properties R=abarth@chromium.org Review URL: https://codereview.chromium.org/1190393004.
-
由 Adam Barth 提交于
This Dart library exposes a more idiomatic interface to the asset_bundle service and provides integration with dart:sky. R=viktorl@google.com Review URL: https://codereview.chromium.org/1200463002.
-
由 Hans Muller 提交于
Currently only the decoration property is actually translated to a CSS style. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1174213005.
-
由 Adam Barth 提交于
Previously we sent gesture events only to the WebView. R=tonyg@chromium.org Review URL: https://codereview.chromium.org/1198493003.
-
由 Viktor Lidholt 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1197493002.
-
- 19 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
Also, give some more visual structure to the dependency declarations. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1189343002.
-