- 21 Aug, 2015 14 commits
-
-
Collin Jackson authored
Don’t flash a message while fitness data is loading
-
Adam Barth authored
Block -> BlockBody ScrollableBlock -> Block FixedHeightScrollable -> ScrollableWidgetList VariableHeightScrollable -> ScrollableMixedWidgetList BlockViewport -> MixedViewport
-
Adam Barth authored
-
Adam Barth authored
Fixes #743
-
Collin Jackson authored
-
Adam Barth authored
We now support uniform borders on circular box decorations. Fixes #741
-
Adam Barth authored
-
Adam Barth authored
Migrate sky/tests/layout to sky/unit/test
-
Adam Barth authored
Also, I've organized the tests by the render object they're testing.
-
Ian Fischer authored
Add listen command to sky_tool, and related changes.
-
Ian Fischer authored
Make sky_tool install to ios devices and simulators if available, and add a ‘listen’ command that will listen to filesystem changes in the current directory and update running versions of the app. Also refactors ios_sim.py to be part of sky_tool. The current skyx file that ‘listen’ generates does not contain material design icons, so icons will be missing.
-
Adam Barth authored
-
Adam Barth authored
This patch adds a new test harness and a first, trivial test to run with the harness. The new test harness is built on package:test and should run on Travis. Over time, we'll migrate our existing tests into this harness.
-
Collin Jackson authored
-
- 20 Aug, 2015 24 commits
-
-
Hixie authored
-
Hixie authored
-
Hixie authored
This also changes the way we insert nodes into a MultiChildRenderObjectWrapper's renderObject, which fixes issue #626. Now, instead of the slot being a renderObject, it's the Widget that currently uses that renderObject. That way when the Widget changes which renderObject to use, the siblings of that Widget in the same child list don't have to be notified of the change. I tested performance of the new algorithm vs the old algorithm using the stocks demo at idle and the stocks demo scrolling steadily. The data suggests the algorithms are roughly equivalent in performance.
-
Adam Barth authored
Rationalizes this name with walkChildren.
-
Adam Barth authored
This function just calls remove(). Also, have Widget do the recursive remove walk by calling walkChildren.
-
Collin Jackson authored
Add goal weight indicator line to fitness chart
-
Hans Muller authored
Workaround for Drawer.initState() fails This is a hack to avoid #715 In theory, the navigator's state should be updated in the event handler that triggers opening the drawer. It's not obvious how to do this, since we only build the Drawer when it's supposed to be visible (and once we're building it's too late).
-
Collin Jackson authored
-
Collin Jackson authored
Support for saving goal weight
-
Hans Muller authored
-
Adam Barth authored
Stack squishes positioned elements near the edge
-
Adam Barth authored
Remove RenderView.paintFrame
-
Adam Barth authored
We now use the repaint system to do all the painting. During initialization, we set up a root layer that applies the device pixel ratio. Fixes #706
-
Adam Barth authored
When laying out positioned children inside a stack, we should give them unbounded constraints because if they draw outside of the stack, we'll just clip them.
-
Collin Jackson authored
-
Collin Jackson authored
Add support for saving settings in fitness app
-
Collin Jackson authored
-
Adam Barth authored
The compositor backends we're planning to use can't handle a general-purpose paint layer and instead need lower-level operations. Fixes #707
-
Adam Barth authored
Key should be const
-
Adam Barth authored
For great constness. Fixes #693
-
Adam Barth authored
We now use the term `renderObject`. Fixes #708
-
Hixie authored
- Introduce some new Layer classes. - Introduce paintChildWith* methods. - Convert paint() methods to use paintChildWith* where appropriate. - Fix paintBounds logic in Layer world. - Introduce Layer.replaceWith(), so that it's clearer what's going on. - Make RenderObjects have a ContainerLayer, not a PictureLayer. - Introduce a PaintingContext.replacingLayer() constructor to highlight where we are creating a layer just to replace an older one. - Rename some layer-related methods and fields for clarity: requiresCompositing -> hasLayer hasCompositedDescendant -> needsCompositing updateCompositing -> updateCompositingBits _needsCompositingUpdate -> _needsCompositingBitsUpdate markNeedsCompositingUpdate -> markNeedsCompositingBitsUpdate - After updating compositing bits, if we find that the bit changed, we now call markNeedsPaint(). - Reorder markNeedsPaint() logic for clarity. - Make flushPaint() start at the deepest node. - Make _compositeChild() avoid repainting children with hasLayer that aren't dirty, instead it just reuses their existing layer. - Made RenderView reuse the RenderObject layer instead of having its own. - Made RenderView have hasLayer set to true. - Add various asserts and comments.
-
Hans Muller authored
Changed the pageable_list.dart example: tapping on the toolbar changes the scroll direction. This exposed some problems: - Scrollable.syncFields() didn't update scrollDirection - Viewport updated its RenderObject fields in the wrong order - FixedHeightScrollable scrollDirection changes didn't update the scrollBehavior There may be similar problems with VariableHeightList and ScrollableViewport. I will fix those in a separate CL.
-
Adam Barth authored
Rather than using a Padding widget to provide padding along the scrolling axis, we now just figure the padding into where we draw the items. This patch fixes an issue where we would remove the first topmost item in a scrollable list too early because we thought it was already off screen. Fixes #697
-
- 19 Aug, 2015 2 commits
-
-
Hixie authored
- Clarify comment about RenderObjectWrapper. - Assert that we never sync a RenderObjectWrapper with an instance of a different type. - Assert that MultiChildRenderObjectWrapper subclasses always have multi-child RenderObjects. - Assert that renderObject doesn't change identity when syncing. - Make searchForOldNode() return void since the return value is ignored. - Remove code that handled renderObject changing during sync.
-
Hixie authored
-