- 01 7月, 2015 4 次提交
-
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1217573003.
-
由 Adam Barth 提交于
This CL teaches the build system how to create the stocks.skyx application bundle. This bundle contains the stocks snapshot as well as the material design assets needed by the stocks app to run offline. R=eseidel@chromium.org, eseidel@google.com Review URL: https://codereview.chromium.org/1216273002.
-
由 Adam Barth 提交于
We need the material design icons at build time in order to build Sky application bundles that include the icons. Therefore, we need can't wait until runtime to download the icons. Also, rather than copying all the icons into each out directory, we just symlink to the copy in the source tree. R=eseidel@chromium.org, eseidel@google.com Review URL: https://codereview.chromium.org/1217283002.
-
由 Adam Barth 提交于
This script consumes a sky.yaml file and produces a bundle that contains the listed material design assets as well as the snapshot binary. This script isn't wired into the build system yet because we don't yet download the material design icons using DEPS. R=chinmaygarde@google.com, eseidel@google.com Review URL: https://codereview.chromium.org/1220893002.
-
- 30 6月, 2015 22 次提交
-
-
由 Viktor Lidholt 提交于
Adds color sequence class Refactors drawing of textures R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1216573009.
-
由 Collin Jackson 提交于
R=chinmaygarde@google.com, abarth Review URL: https://codereview.chromium.org/1209413006.
-
由 Ian Fischer 提交于
R=abarth@chromium.org, abarth@google.com, ianh@google.com Review URL: https://codereview.chromium.org/1221583003.
-
由 Hans Muller 提交于
The Input component conforms a little more closely to the Material spec: http://www.google.com/design/spec/components/text-fields.html#text-fields-single-line-text-field Added a TextStyle attribute to EditableText and "themed" the text style for Input. Restored the blinking EditableText input cursor. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1216133002.
-
由 Hixie 提交于
R=abarth@chromium.org, jackson@google.com Review URL: https://codereview.chromium.org/1214113006.
-
由 Hixie 提交于
R=abarth@chromium.org, jackson@google.com Review URL: https://codereview.chromium.org/1217473007.
-
由 Adam Barth 提交于
When navigating from one app to another, we create a new Android window and destroy the old one. Previously, when we destroyed the old window after creating the new window, we would destroy the Ganesh context after making the GL context for the new window current, causing us to corrupt the GL state in the new window. After this CL, we call MakeCurrent before destroying the Ganesh context so that it interacts with the proper GL context. R=jackson@google.com Review URL: https://codereview.chromium.org/1214263002.
-
由 Collin Jackson 提交于
R=ianh@google.com, abarth, hixie Review URL: https://codereview.chromium.org/1217623002.
-
由 Hixie 提交于
TBR=abarth Review URL: https://codereview.chromium.org/1217113002.
-
由 Hixie 提交于
Turn off the code that is forcing stocksapp to build 50 times a second, and change the code that tracks frame times to be a bit cleverer. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1216973005.
-
由 Ian Fischer 提交于
R=abarth@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1215023003.
-
由 Ian Fischer 提交于
Rename RenderCanvas to PaintingCanvas to avoid confusion with other classes that inherit from RenderObject. R=ianh@google.com, abarth@google.com Review URL: https://codereview.chromium.org/1217933002.
-
由 Adam Barth 提交于
We shouldn't try to drain a data pipe when we have an invalid handle. Instead, we should just call the callback with |null|, like we do for decoding failures. R=jackson@google.com, jackson@chromium.org Review URL: https://codereview.chromium.org/1213313002.
-
https://codereview.chromium.org/1216013003由 Hixie 提交于
Actually the tests broke in https://github.com/domokit/mojo/commit/136e0d4da5c8cfb802c7b77fb811a5b5d1293003 ...but I had reset the results because I had changed all the coordinates, and didn't realise some of the changes were bad. TBR=abarth Review URL: https://codereview.chromium.org/1212803003.
-
由 Hixie 提交于
Fix theme changing: turns out we were not reparenting stateful surviving nodes when their parents changed identity This also makes the optimistic/pessimistic mode switch change the active theme, because why not. While I was at it I also provided a debug boolean argument to runApp() to make it possible to profile more easily. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1215023002.
-
由 Ian Fischer 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1215893002.
-
由 Hixie 提交于
Turns out I had misimplemented Rect.center. While I was here, I also implemented Rect.width and Rect.height (to help avoid making that mistake again), and copied shortestSide from Side to Rect so that we can avoid having to allocate a Size to get the shortest side from a Rect. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1216013003.
-
由 Adam Barth 提交于
This CL makes it possible to run sky/tests/raw/bogus_import.dart in sky_shell on Linux. We'd eventually like to scale this up to running all the tests. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1218633003.
-
由 Eric Seidel 提交于
TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/1219683005.
-
由 Adam Barth 提交于
By profiling mine_digger in a continuous rebuild loop, we observe Widget#syncChild as being very hot. This CL optimizes this function by making sure to read each input value exactly once. Also, the hash operations for _mountedChanged were showing up on the profile, so this CL makes _mountedChanged into a List, which should work fine. Together, these changes reduce the amount of time we spend in Navtive code inside the VM from 29% to 20%. R=ianh@google.com Review URL: https://codereview.chromium.org/1217473004.
-
由 Hans Muller 提交于
A simple container for a TabBar. It is defined by a list of TabNavigatorViews, each of which is just a TabLabel and the tab's content. The content of each tab is represented by a function that produces a Widget called "content". I couldn't bring myself to call it buildTabContentCallback or something else more specific. R=abarth@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1212993003.
-
由 Hixie 提交于
This should be a perf win, but I haven't tested it. Also adds an operator overloading such that Offset + Size -> Rect. Also adds Rect.fromLTWH(). R=abarth@chromium.org Review URL: https://codereview.chromium.org/1209413004.
-
- 27 6月, 2015 13 次提交
-
-
由 Adam Barth 提交于
Instead of having a one-off //sky/apk/stocks, we now use the |sky_app| GN template to create Stocks.apk directly from //sky/sdk/example/stocks. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1211883004.
-
由 Adam Barth 提交于
This library is logically part of //sky/viewer and shouldn't clutter up the top-level //sky directory. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1213683004.
-
由 Adam Barth 提交于
These benchmarks are very out-dated. In fact, they're still written in JavaScript and mostly test the performance of the DOM. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1216823002.
-
由 Adam Barth 提交于
* Remove all the DOM-based examples except for the old stocks app * Rename stocks2 to stocks * Promote hello_widgets.dart to a top-level hello_world example TBR=ianh@google.com Review URL: https://codereview.chromium.org/1219493003.
-
由 Adam Barth 提交于
This CL builds an APK for MineDigger that works offline. We use |sky_packager| to snapshot the Dart code, which we then extract from the APK during startup. If we succeed in extracting a snapshot, we load it by default. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1211253004.
-
由 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.
-
由 Hans Muller 提交于
When both icons and text are specified, the icon goes on top, 10 pixels of margin goes in between, and the TabBar's height grows to 72. R=ianh@google.com Review URL: https://codereview.chromium.org/1213043002.
-
由 Hixie 提交于
Added a OffsetBase class that Size now inherits from, and added a new Offset class that also inherits from OffsetBase. Offset has: - dx and dy members - zero and infinite static constants - a method that returns a new Offset that's the existing one scaled by a scalar - a unary minus operator - operators overloads such that subtracting or adding two Offsets gives another Offset - a toPoint() method Added Offset and Size to the dart bindings, so they can be used from C++. Changed the Canvas API to use Point, Size, and Offset where appropriate: - drawLine uses Points now - drawCircle uses a Point now - drawImage uses a Paint now - the constructor uses a Size Changed Point as follows: - added a unary minus - Point difference now gives an Offset rather than a Size - You can add an Offset to a Point to get a new Point - toSize() has been replaced by toOffset() Changed Rect as follows: - renamed upperLeft and lowerRight to topLeft and bottomRight for consistency with our other APIs - added bottomLeft and topRight for completeness Changed Size as follows: - now inherits from OffsetBase - added *, /, ~/, and % operators for scaling sizes - subtracting a Size from a Size gives an Offset - subtracting an Offset from a Size gives a Size - changed the + operator to take an Offset instead of a Size - added topLeft, bottomLeft, topRight, bottomRight to match Rect - added center for the same reason - added shortestSide getter since that was a common pattern - removed toPoint() Changed DrawLooperLayerInfo as follows: - setOffset member takes an Offset instead of a Point Changed BoxConstraints as follows: - added biggest getter since it was a common pattern - added smallest getter for symmetry Changed BoxShadow as follows: - offset member is an Offset rather than a Size Changed ViewConstraints as follows: - replaced height and width members by a single size member I did some minor code cleanup in nearby files while I was there, including sorting sky/engine/core/core.gni alphabetically, and fixing some warnings in the examples. BUG= R=abarth@chromium.org, chinmaygarde@google.com Review URL: https://codereview.chromium.org/1214833004.
-
由 Ian Fischer 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1218593002.
-
由 Hans Muller 提交于
It's a typo I introduced in https://codereview.chromium.org/1217533002 TBR=ianh Review URL: https://codereview.chromium.org/1221473002.
-
由 Hans Muller 提交于
R=ianh@google.com Review URL: https://codereview.chromium.org/1217533002.
-
由 Hans Muller 提交于
Also added a smoke test for examples/widgets/tabs.dart. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1213873002.
-
由 Hixie 提交于
- Rename animate() to watch(). - Fix Toggleable to actually be animated (previously, it was essentially luck that let it be animated -- it was piggy-backing on the splash, I think). R=abarth@chromium.org Review URL: https://codereview.chromium.org/1216533003.
-
- 26 6月, 2015 1 次提交
-
-
由 Hixie 提交于
TBR=abarth Review URL: https://codereview.chromium.org/1208293002.
-