- 23 Feb, 2015 1 commit
-
-
Adam Barth authored
This CL updates sky-box, sky-button, sky-checkbox, sky-input, and sky-radio to work in Dart. We don't have a data binding system yet, so there's a bit more plumbing in the code. This CL adds support for sky-element@attributes, which lets you specify which attributes your element supports. We use this information to synthesize getters and setters for those attributes and to dispatch to mumbleChanged methods when the attributes change. I've also wrapped the widgets demo itself in a sky-scrollable so the whole thing scrolls. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/946813005
-
- 21 Feb, 2015 2 commits
-
-
Adam Barth authored
This CL ports sky-scrollable to the new sky-element. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/950603002
-
Adam Barth authored
After this CL, you can use <sky-element> to describe custom elements. The current iteration is very basic and is hardcoded to "example", but its a start. This CL renames the |init| function to |_init| to prevent importers from calling it directly. Also, we now pass the <script> element to |_init| to give some context. R=ojan@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/950493003
-
- 20 Feb, 2015 3 commits
-
-
Eric Seidel authored
TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/950503002
-
Eric Seidel authored
TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/942923002
-
Adam Barth authored
These now appear on internals as takeServicesProvidedToEmbedder and takeServicesProvidedByEmbedder. When you call these functions, you get back the raw int that represents the handle. We'll need to wrap them up inside the Dart VM with the appropriate types. We can create a nice wrapper for that in a future CL. R=hansmuller@google.com, hansmuller@chromium.org Review URL: https://codereview.chromium.org/944733002
-
- 19 Feb, 2015 2 commits
-
-
Hans Muller authored
I haven't removed the JS color picker code yet. R=abarth@chromium.org Review URL: https://codereview.chromium.org/940233002
-
Adam Barth authored
We still don't quite handle multitouch correctly, but single touches work now. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/932283002
-
- 13 Feb, 2015 1 commit
-
-
Adam Barth authored
This CL adds the ability to initialize the Dart Application class with a shell proxy (rather than with a MojoHandle). This change lets Sky use the Dart bindings for Mojo. This CL was reviewed on the SkyDart branch in https://codereview.chromium.org/919883002/ R=zra@google.com, zra@chromium.org Review URL: https://codereview.chromium.org/922083002
-
- 12 Feb, 2015 1 commit
-
-
Adam Barth authored
This CL flips the switch to make Sky use Dart. TBR=eseidel@chromium.org BUG=454613 Review URL: https://codereview.chromium.org/922893002
-
- 04 Feb, 2015 1 commit
-
-
Hans Muller authored
Displays the last six selected colors. BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/897683002
-
- 02 Feb, 2015 1 commit
-
-
Hans Muller authored
two components: color-wheel, and color-picker which adds a div that displays the selected color. Data binding is used to connect the color-wheel's "color" property to the sample div's background-color. BUG= R=abarth@chromium.org Review URL: https://codereview.chromium.org/872993006
-
- 29 Jan, 2015 3 commits
-
-
Adam Barth authored
R=eseidel@chromium.org, esprehn@chromium.org Review URL: https://codereview.chromium.org/886723002
-
Ojan Vafai authored
This is just to get basic paint coverage of selections and outlines on positioned elements. TBR=esprehn@chromium.org Review URL: https://codereview.chromium.org/886683002
-
Rafael Weinstein authored
Note that this patch only includes support for the wheel event. I'll follow-up with a patch for scrolling/fling when I have a setup on which I can verify that working. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/875473004
-
- 28 Jan, 2015 1 commit
-
-
Eric Seidel authored
We could do something much more sophisticated for deploy in the future. Also add #!mojo:sky_viewer to .sky file demos R=abarth@chromium.org Review URL: https://codereview.chromium.org/885653006
-
- 27 Jan, 2015 6 commits
-
-
Adam Barth authored
None of this code does anything anymore. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/878303002
-
Adam Barth authored
This CL plumbs wheel events through Sky again and uses them in sky-scrollable. R=ojan@chromium.org Review URL: https://codereview.chromium.org/876853005
-
Colin Blundell authored
This reverts commit ffcbc3b2f5417b09328eae4aeb8de2e5eab6324d. This test broke sky_tests: Regressions: Unexpected text-only failures (6) framework/flights-app.sky [ Failure ] Example: http://build.chromium.org/p/client.mojo/builders/Mojo%20Linux%20ASan%20%28dbg%29/builds/173/steps/Sky%20tests/logs/stdio TBR=ojan Review URL: https://codereview.chromium.org/880863002
-
Ojan Vafai authored
This is to get a case of having an outline on an absolutely positioned, overflow:hidden, i.e. a self-painting layer. TBR=esprehn@chromium.org Review URL: https://codereview.chromium.org/878873002
-
Ojan Vafai authored
Commit efc3afd428bd85fd3d12e0dc941b5eb7248ca30b broke it because we'd computed an empty foreground layer. Now that background painting is part of the foreground phase, we need to use the background rect for clipping. As best I can tell, the background rect is always >= the size of the foreground rect, so it should be safe to use. R=abarth@chromium.org Review URL: https://codereview.chromium.org/876243002
-
Ojan Vafai authored
This is so we have minimal coverage of outline painting. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/878803002
-
- 26 Jan, 2015 4 commits
-
-
Adam Barth authored
We still need to polish sky-scrollable, but it basically works. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/875953004
-
Elliott Sprehn authored
Per the spec in modules.md the exports property should default to an empty object. We lazy allocate it so that modules that just replace it don't create the empty object and then throw it away. R=abarth@chromium.org Review URL: https://codereview.chromium.org/872043003
-
Adam Barth authored
This way other scrolling demos can share the data. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/876763002
-
Adam Barth authored
Instead of having a separate directory for every Sky element, we should just put them in the general framework directory. Once the framework is more complicated, we'll probably want to organize it a bit better, but for now there aren't enough files to justify having so many directories. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/874303003
-
- 24 Jan, 2015 1 commit
-
-
Elliott Sprehn authored
We now only preserve the whitespace inside a <t> element inside the parser. This removes the known n^2 from reattaching whitespace which should make parsing and appending nodes faster. I also removed the dead WhitespaceMode code from the parser, and made the dom-seralizer.sky auto indent the markup so the test output would be readable. R=abarth@chromium.org Review URL: https://codereview.chromium.org/867963006
-
- 23 Jan, 2015 2 commits
-
-
Adam Barth authored
We use pointer events instead. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/868133003
-
Elliott Sprehn authored
We were cloning elements with all the attributes that contained expressions like attrName="{{ foo }}" which meant we'd go through the reflection process converting that value and also call the attrNameChanged() callback and the attributeChanged() with the braced string which the element didn't really want to know about. After this patch we create a "clone source node" which is a copy of the original element without the attributes that have the expressions and use that when cloning, then we assign the properties using data binding later. R=abarth@chromium.org, ojan@chromium.org Review URL: https://codereview.chromium.org/868973002
-
- 22 Jan, 2015 1 commit
-
-
Adam Barth authored
Previously, if you had a generated background image and a translucent (or rounded) border, we would draw the image nine times because we would inflate the fill rect to draw behind the border. With no-repeat, we only draw the image once. This saves 4.5% of record time on flights-app. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/844193009
-
- 16 Jan, 2015 2 commits
-
-
Elliott Sprehn authored
Instead of storing primitive values which makes the data binding system throw away DOM each time we update each slot lets just use objects and shift + pop. This means very little data binding churn. R=abarth@chromium.org Review URL: https://codereview.chromium.org/802153004
-
Elliott Sprehn authored
adamk@ says these are pretty stable. R=abarth@chromium.org Review URL: https://codereview.chromium.org/845403009
-
- 15 Jan, 2015 2 commits
-
-
Elliott Sprehn authored
All reflected attributes two way bind on SkyElement, so now doing <sky-element name="sky-input" attributes="value:string"> is enough to get two way binding on the value attribute so users doing <sky-input value="{{ inputValue }}"> will get the inputValue property updated as the user types. R=abarth@chromium.org, ojan@chromium.org Review URL: https://codereview.chromium.org/850383002
-
Adam Barth authored
TBR=ojan@chromium.org Review URL: https://codereview.chromium.org/813133010
-
- 14 Jan, 2015 2 commits
-
-
Adam Barth authored
This CL makes some Sky demos more interesting and adds an fps-widget to see how fast they run. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/803283006
-
Adam Barth authored
We don't need this hack anymore. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/853593002
-
- 13 Jan, 2015 1 commit
-
-
Hixie authored
Specs: introduce layoutDescendants() to avoid work when a layout manager is unaffected by its childrens' intrinsic dimensions Examples: update for layoutDescendants() change Specs: add "lifetime" to resolver settings so that a transition can avoid having to dirty every consumer of the property every frame when it only needs to update the objects that are changing that frame Specs: expose the parents on AbstractStyleDeclarationList subclasses Specs: fix documentation around autoreap Specs: fix definition of setProperty() Specs: clean up the dimension-related logic of layout managers Review URL: https://codereview.chromium.org/850593003
-
- 12 Jan, 2015 1 commit
-
-
Adam Barth authored
This CL adds conversion routines for touch events to sky_viewer so that Mojo touch events actually show up in the platform. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/847873003
-
- 09 Jan, 2015 2 commits
-
-
Hixie authored
Review URL: https://codereview.chromium.org/845053002
-
Elliott Sprehn authored
Log an error whenever an element has an unknown attribute in a template. This means you can't use generic attributes like Polymer, but we probably want to discourage that anyway since attribute selectors should be avoided for most things. R=ojan@chromium.org Review URL: https://codereview.chromium.org/845523004
-