- 14 Sep, 2015 9 commits
-
-
Collin Jackson authored
This reverts commit 7592213df29066cd357eaa4fffe4a19ed3bae189.
-
Ian Hickson authored
Minor cleanups (spelling mistakes, unneeded casts)
-
Adam Barth authored
Address more comments from #1153
-
Ian Hickson authored
Various and sundry code cleanup
-
Adam Barth authored
-
Hixie authored
- Add documentation for AnimationTiming. - typo: defaules -> defaults. - added type information to isWatching() signature. - made Widget.toStringName() include more useful information. - cleaned up StatefulComponent._sync(): more specific signature, change redundant if to else, remove redundant cast. - change order of TransitionBase arguments for consistency. - prevent TransitionBase from affecting the performance in its constructor when it didn't create it (but see #1103). - remove TODO() from @mpcomplete... no, there is not currently a better way to inherit a constructor, unfortunately.
-
Adam Barth authored
Almost done adding dartdoc to the rendering layer.
-
Hixie authored
Rename Outter to Outer. Change _sync() in StatefulComponent to assert the argument type in the signature rather than in the code.
-
Adam Barth authored
We now expose idiomatic setters for these properties. Eventually we'll remove the setter functions.
-
- 12 Sep, 2015 1 commit
-
-
Ian Hickson authored
-
- 11 Sep, 2015 18 commits
-
-
Adam Barth authored
We didn't mean to flag null ancestors for this debugging check. Fixes #1140
-
Adam Barth authored
Add some more docs to the rendering library
-
Adam Barth authored
-
Collin Jackson authored
-
Hixie authored
If the build stack got long before, it would get cropped.
-
Adam Barth authored
Disentangle FontSize from Settings
-
Adam Barth authored
Instead, just store the default font sizes in statics. These statics are constants for now, but we'll probably make them configurable at some point.
-
Andrew Wilson authored
Shrink wrap when constraints are infinite.
-
Andrew Wilson authored
-
Adam Barth authored
Remove init.dart
-
Adam Barth authored
Rename scroll.dart to drag.dart
-
Adam Barth authored
ParagraphBuilder should be able to build a paragraph
-
Adam Barth authored
The gesture is now called "drag". The library name should match.
-
Hans Muller authored
-
Hixie authored
If it's a StatefulComponent, then it's ok to reuse it so long as it hasn't been initialised. If it's a regular Component or a TagNode, then it's always ok to reuse. If it's a RenderObjectWrapper, then it's ok to reuse so long as it doesn't have a renderObject. To put it another way, this changes how we prevent the following nonsensical situations from arising: - Sync two stateful StatefulComponents together - Sync two RenderObjectWrappers with RenderObjects together When either of those cases happen, we just drop the old one on the ground and use the new one unchanged.
-
Adam Barth authored
This patch start down the road of implementing text layout and painting without the DOM. We can construct a basic paragraph consisting of a single run of text and we can get through layout without crashing.
-
Hans Muller authored
Dismissable now only depends on GestureDetector. Added a unit test that verifies that issue #1068 has been fixed. It's commented out for now. Cleaned up VelocityTracker.cc et al a little.
-
Adam Barth authored
We haven't used init.dart in several releases. We can safely remove this no-op script now.
-
- 10 Sep, 2015 11 commits
-
-
Adam Barth authored
That way the fling engages in the same direction as the scroll. For example, if you have a horizontal scroll nested inside a vertical scroll, the fling will take place in the same direction as the scroll.
-
Adam Barth authored
Don't register gesture detectors when Scrollable can't scroll
-
Adam Barth authored
Previously, if you used a number of nested Blocks, they'd each try to register drag gesture detectors even though they can't actually scroll. This CL teaches Scrollable to watch for drag gestures only when it can actually scroll.
-
Matt Perry authored
The version and update URL are stored in the app's manifest (sky.yaml).
-
Scott Graham authored
Look in $ANDROID_HOME/platform-tools/adb too
-
Scott Graham authored
-
Adam Barth authored
These are now declared in dart:sky as part of ParagraphBuilder.
-
Adam Barth authored
-
Adam Barth authored
Remove "disqualified" concept
-
Adam Barth authored
Allows a non-initialised stateful component to be used as a source of settings more than once. Instead of asserting that it was only being used once, we assert that once you are stateful you don't get used as a bag of settings, which is the real thing we were trying to avoid. A lot of code ends up using StatefulComponents as a source multiple times in a row, and before this would fail. Patch by Ian Hickson
-
Adam Barth authored
mine_digger: Fix not being able to de-flag on Android
-
- 09 Sep, 2015 1 commit
-
-
Hans Muller authored
Added FlingGestureRecognizer and exposed it in the GestureDetector class. FlingGestureRecognizer is based on the Android/Chromium VelocityTracker class which computes a velocity vector for for a list of X,Y,Time tuples. The Scrollable classes now use the FlingGestureRecognizer. Dismissable and Drawer still need to be updated
-