- 31 Aug, 2015 16 commits
-
-
Hixie authored
Adds a HomogeneousViewport class that works like MixedViewport but handles only children that have all the same height. Converts ScrollableWidgetList to use that, so that we don't waste a frame looking at the size of the contents each time we change size. This allows a number of seemingly pointless double-pumps in the tests to be removed. Other changes that were necessary to support the above: - RenderBlock now supports minExtent (think 'min-height' in CSS) - RenderBlock now supports itemExtent (forces the height of each child to be the same, so that the itemExtent passed to the fixed- height scrollables are all authoritative instead of a source of bugs when they don't match) - RenderBlockViewport now supports horizontal scrolling - improved the style of the isInfinite assert in box.dart - fixed the position of a comment in mixed_viewport.dart - added a test - made the logic for how many items to show be more precise
-
Adam Barth authored
These constants aren't useful outside these files and are cause noise in the dartdoc.
-
Ian Fischer authored
Extract install from StartSky
-
Ian Fischer authored
-
Hans Muller authored
Update mixed_viewport example to new Key API
-
Adam Barth authored
Also fixes #937.
-
Adam Barth authored
Add an origin parameter to transforms
-
Adam Barth authored
This parameter makes it easier to do math when you don't want to center your tranform at (0, 0).
-
Hans Muller authored
-
Ian Fischer authored
Avoid crashing when an iOS device isn't connected
-
Ian Fischer authored
-
Ian Hickson authored
Provide a fast path for MultiChildRenderObjectWrapper.syncRenderObject() when the children lists are identical.
-
Adam Barth authored
Add dartdoc for the painting code
-
Adam Barth authored
-
Adam Barth authored
We were setting the main axis extent to zero because we had a sign error. Fixes #918
-
Adam Barth authored
-
- 30 Aug, 2015 6 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
Adam Barth authored
-
Adam Barth authored
-
Adam Barth authored
BoxDecoration's borderRadius should be able to handle a value of double.INFINITY
-
Adam Barth authored
If there are no other gestures in the arena, we should kick off the scroll gesture right away. This change pulled a refactoring of how we dispatch events to Widgets. Now we dispatch events to Widgets interleaved with their associated RenderObjects. (Previously we dispatched to all of the RenderObjects first.)
-
- 29 Aug, 2015 9 commits
-
-
Adam Barth authored
We need the new version because of the TextPainter rename.
-
Adam Barth authored
Also, add asserts that the text has layout before being painted.
-
Adam Barth authored
We just need to enforce some finite clamp and Skia will do the rest. Fixes #939
-
Adam Barth authored
-
Adam Barth authored
Disambiguate horizontal and vertical scrolling
-
Adam Barth authored
We now have separate gestures for horizontal, vertical, and pan scrolling.
-
Ian Fischer authored
Don't crash when no Android device is attached
-
Misha Dynin authored
-
Ian Fischer authored
Refactors a bunch of Android-related things into an AndroidDevice singleton class.
-
- 28 Aug, 2015 9 commits
-
-
Ian Hickson authored
Fix crash when a MixedViewport is initially offset at a non-zero position
-
Hixie authored
add/remove/add smoketest basic vertical behaviour basic horizontal behaviour
-
Hixie authored
We need to always remove the widget when you sync a non-visible widget, even if we already have it, because otherwise we'll try to sync it with null again later, which causes a crash. Test in #938.
-
Viktor Lidholt authored
Improvements to demo game
-
Adam Barth authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Hixie authored
...and not when we mount and dismount. Turns out that when we dismount, it's too late -- we've already set renderObject to null. We also mark the mixed viewport as dirty when it is removed from its parent. Without this, we try to reuse the child nodes in subsequent syncs, which is a disaster.
-
Adam Barth authored
Instead, we pump a onScrollUpdate with the offset if there is an offset.
-