- 06 7月, 2015 3 次提交
-
-
由 Adam Barth 提交于
This CL removes RenderImage and all the other remaining uses of ImageResource from sky/engine/core/rendering. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1228463002.
-
由 Adam Barth 提交于
This CL is part of a series to remove the network dependency from Sky Engine. This CL removes the clients of ImageResource in sky/engine/core/css. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1214633005.
-
由 Adam Barth 提交于
This code is unused. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1223783002.
-
- 05 7月, 2015 1 次提交
-
-
由 Tony Gentilcore 提交于
BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/1210923003.
-
- 04 7月, 2015 1 次提交
-
-
由 Adam Barth 提交于
There were two problems: 1) We didn't update the demo's use of RenderImage when we switched RenderImage to take a sky.Image rather than a URL. 2) Scheduling a layout no longer ensured a visual update, which meant we'd never actually flushLayout unless something else ensured a visual update. TBR=jackson@google.com Review URL: https://codereview.chromium.org/1221273002.
-
- 03 7月, 2015 10 次提交
-
-
由 Adam Barth 提交于
This CL factors the skyx build logic out of sky/apk/rules.gni so that we can build skyx bundles without building entire APKs. This change makes it possible to build skyx bundles for all the examples (except game). TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1222673003.
-
由 Adam Barth 提交于
This CL teaches SkyDemo how to load Sky applications from local bundles. It also teaches home.dart how to request a load from a bundle. TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/1213203008.
-
由 Adam Barth 提交于
This CL adds a build-time flag for building skyx packages, which make our example Sky applications work offline. We can't enable this flag by default yet because our build bots lack a few Dart packages, but landing this flag will let folks experiment with this feature locally. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1221203002.
-
由 Adam Barth 提交于
This CL switches SkyDemo over to using explicit intents for deciding which Sky apps to run. This change lets us get rid of the hacky "sky" URI scheme. Instead, we use normal URLs but we require the sender of the intent to be explicit in directing the VIEW intent to us. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1221123003.
-
由 Adam Barth 提交于
This CL adds the concept of a root asset bundle to Sky. If the Sky app was launched from a bundle, the root bundle is that bundle. This CL teaches icon.dart to default to loading icons out of the root bundle, if a root bundle exists. The next result is that Stocks has icons when run offline because the icons are present in stock's skyx bundle. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1208273003.
-
由 Adam Barth 提交于
This CL teaches Stocks.apk how to start from a skyx bundle name |app.skyx| in the APK's asset collection. Stocks.apk still actually starts from |snapshot_blob.bin| because we can't yet produce skyx files as part of the build process. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1221033006.
-
由 Adam Barth 提交于
These functions used to support testing, but they're no longer used by any tests now that we've deleted the DOM-based world. Really we should merge dart:sky.internals into dart:sky, but that's a CL for another day. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1221163002.
-
由 Adam Barth 提交于
This CL prepares us to have more interesting resources than base's ResourceExtractor understands. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1221153002.
-
由 Adam Barth 提交于
The term ViewportObserver doesn't mean anything. This interface has evolved to control the engine. This new name reflects that. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1222663003.
-
由 Adam Barth 提交于
Rather than require Sky developers to have a Python environment, we should write our tooling for Sky in Dart. This CL converts skyx.py into skyx.dart and makes skyx.py into a wrapper for skyx.dart. We still need the Python wrapper because gn requires that build actions are written in Python. This code isn't wired into the main build yet. We'll need to add some more pub packages to our buildbot environment first. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1213213003.
-
- 02 7月, 2015 14 次提交
-
-
由 Adam Barth 提交于
TBR=ianh@google.com,mpcomplete@google.com Review URL: https://codereview.chromium.org/1213573006.
-
由 Adam Barth 提交于
R=ianh@google.com Review URL: https://codereview.chromium.org/1212013004.
-
由 Adam Barth 提交于
TBR=ianh@google.com Review URL: https://codereview.chromium.org/1221023002.
-
由 Matt Perry 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1216923008.
-
由 Viktor Lidholt 提交于
Refactors clamp function R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1215413002.
-
由 Adam Barth 提交于
Currently this asset bundle is based on the network, but soon we'll be able to use a local asset bundle. R=jackson@google.com Review URL: https://codereview.chromium.org/1217593004.
-
由 Adam Barth 提交于
Previously, RenderImage knew about image_cache and expected to work in terms of URLs. Now RenderImage works directly with sky.Image and it's the job of the widgets system to interact with the network cache. At the widgets layer, I've factored this work into three parts: 1) A wrapper for RenderImage that works in terms of sky.Image. 2) A component that can deal with any sort of Future<sky.Image>. 3) A NetworkImage component that translates relative URLs into Future<sky.Image> using the image_cache. A future CL will add a peer to NetworkImage that gets Future<sky.Image>s from an asset bundle. R=ianh@google.com, jackson@google.com Review URL: https://codereview.chromium.org/1218023013.
-
由 Matt Perry 提交于
This introduces an AnimationPerformance class, which is intended to manage an animation (or its reverse), with the ability to manually control the timeline or to apply a force to advance the animation with a diminishing speed. I'm having trouble fitting the odeon model to Sky. Odeon has a lot of nice properties, but fundamentally operates on UINodes, which contain all the properties to be animated. Sky, on the other hand, has no such universal properties. Instead, each Widget assembles itself how it sees fit. So my current plan is to let AnimationPerformance own a generic set of AnimatedVariables. You pass it a bag of things, say position and opacity, as AnimatedVariables. It updates them based on the animation, and they each have a way to build a widget based on their current state. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1211603003.
-
由 Eric Seidel 提交于
I didn't exactly follow the android API, but pretty close. Also started a java/common implementation for things like DataPipeUtils. I only needed the ability to copy from a data pipe to a file, so that's the only function we have so far. Fixes https://github.com/domokit/mojo/issues/270 R=abarth@chromium.org, abarth@google.com Review URL: https://codereview.chromium.org/1211913005.
-
由 Hixie 提交于
This entails: - Making the baseline logic cache results. - Making the baseline logic track who used its information. - Making the baseline logic mark all ancestors up to whoever used its information wheneven its node gets markNeedsLayout. - Making RenderShrinkWrapWidth make its child respect the step width and step height, rather than just sizing the child then snapping. This is required to make the ink splashes render right on menus that are snapped. - Adding debugDescribeSettings() to RenderShrinkWrapWidth. - Introducing a RenderBaseline class that offsets its child to a certain baseline. - Factoring out some common code from RenderBaseline and RenderPositionedBox to RenderShiftedBox. - Redoing all the menu layout logic. BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/1219113003.
-
由 Adam Barth 提交于
Future<sky.Image> is easier to work with than a callback that provides an image. It will also let us use other images sources that vend futures to images. R=jackson@google.com Review URL: https://codereview.chromium.org/1216303005.
-
由 Adam Barth 提交于
Also, remove the non-SkyView client of DartController to simplify the code further. R=chinmaygarde@google.com Review URL: https://codereview.chromium.org/1210253005.
-
由 Adam Barth 提交于
R=eseidel@chromium.org, eseidel@google.com Review URL: https://codereview.chromium.org/1217083009.
-
由 Adam Barth 提交于
This code existed to service WebView, which no longer exists. R=eseidel@chromium.org, eseidel@google.com Review URL: https://codereview.chromium.org/1209033016.
-
- 01 7月, 2015 11 次提交
-
-
由 Adam Barth 提交于
These dependencies will trigger a "gn check" violation in a future version of gn. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1218173003.
-
由 Adam Barth 提交于
This CL also removes the HTML parser and the HTML import system. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1215103007.
-
由 Adam Barth 提交于
This layer is no longer needed now that the new world is gone. TBR=eseidel@google.com Review URL: https://codereview.chromium.org/1210153009.
-
由 Hans Muller 提交于
Changed FixedHeightScrollable so that if the list shrinks past the current scrollOffset, the scrollOffset is adjusted so that the last/only page of the list remains visible. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1216323002.
-
由 Adam Barth 提交于
Previously we defaulted to main.dart, which was confusing. Now we default to the current working directory, which is more understandable. As part of this change, I've also changed the default location of main.dart to lib/main.dart, which makes our current examples. Fixes #274 R=eseidel@chromium.org, eseidel@google.com Review URL: https://codereview.chromium.org/1215103006.
-
由 Adam Barth 提交于
Fixes #275 R=eseidel@chromium.org, eseidel@google.com Review URL: https://codereview.chromium.org/1216283003.
-
由 Chinmay Garde 提交于
dartanalyzer R=abarth@chromium.org Review URL: https://codereview.chromium.org/1215883006.
-
由 Viktor Lidholt 提交于
BUG= R=abarth@chromium.org, chinmaygarde@google.com, ianh@google.com Review URL: https://codereview.chromium.org/1219953002.
-
由 Adam Barth 提交于
Please use ".dart" files instead. R=ianh@google.com Review URL: https://codereview.chromium.org/1222483002.
-
由 Viktor Lidholt 提交于
BUG= R=abarth@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1221893002.
-
由 Hixie 提交于
Note that this wildly breaks the vertical alignment of menu items, I'll fix that in a subsequent CL. (It wasn't really working before either, but looked ok by pure luck.) R=abarth@chromium.org Review URL: https://codereview.chromium.org/1215613005.
-