- 23 Mar, 2016 1 commit
-
-
Ian Hickson authored
-
- 22 Mar, 2016 2 commits
-
-
Hixie authored
New RenderAligningShiftedBox abstract class for render boxes with "alignment", which as of now is: - RenderPositionedBox - RenderConstrainedOverflowBox (ex RenderOverflowBox) - RenderSizedOverflowBox - RenderFractionallySizedOverflowBox (ex RenderFractionallySizedBox) (The respective widgets are Align, OverflowBox, SizedOverflowBox, and FractionallySizedBox. They haven't been renamed.) Also I added some toString details.
-
Hixie authored
Fixes https://github.com/flutter/flutter/issues/2735
-
- 16 Mar, 2016 1 commit
-
-
Adam Barth authored
These were using Offsets, but they're really FractionalOffsets. Fixes #2318
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 13 Mar, 2016 1 commit
-
-
Adam Barth authored
* justifyContent -> mainAxisAlignment * alignItems -> crossAxisAlignment * FlexJustifyContent -> MainAxisAlignment * FlexAlignItems -> CrossAxisAlignment Fixes #231
-
- 12 Mar, 2016 5 commits
-
-
Adam Barth authored
Fixes #1382
-
Adam Barth authored
Fixes #774
-
Hixie authored
And fix the zillion issues that uncovered.
-
Ian Hickson authored
This reverts commit f41b3411, reversing changes made to e33d8d96. This was a bad check-in due to my mangling uploading a new version of the branch from a different machine. This reverts https://github.com/flutter/flutter/pull/2639 and will be replaced by https://github.com/flutter/flutter/pull/2640
-
Hixie authored
And fix the zillion issues that uncovered.
-
- 09 Mar, 2016 1 commit
-
-
Hixie authored
It has performance implications in release mode. We'll enable the lint once https://github.com/dart-lang/linter/issues/195 is fixed.
-
- 04 Mar, 2016 1 commit
-
-
Adam Barth authored
Putting this code in a separate library let's services that depend only on the shell be clearer about their dependencies.
-
- 02 Mar, 2016 1 commit
-
-
Hixie authored
Makes it easier to use without a SizeObserver
-
- 25 Feb, 2016 1 commit
-
-
Hixie authored
Otherwise, changing the order of your children (e.g. shuffling a list of children) will have no visible effect.
-
- 24 Feb, 2016 2 commits
-
-
Eric Seidel authored
One bug was masking the other, hence they both needed to be fixed and tested separately. @Hixie
-
Adam Barth authored
Now we just have one TextSpan class that handles both simple strings, trees of children, and styling both. This approach simplifies the interface for most clients. This patch also removes StyledText, which was weakly typed and tricky to use correctly. The replacement is RichText, which is strongly typed and uses TextSpan.
-
- 11 Feb, 2016 1 commit
-
-
Ian Hickson authored
Each layer is supposed to reexport the parts of the previous layer that are part of its API. - In painting.dart, export from dart:ui all the Canvas-related APIs that make sense to be used at higher levels, e.g. PaintingStyle. - Delete painting/shadows.dart. It was dead code. - In rendering/object.dart, export all of painting.dart. - In widgets/basic.dart, export all of painting.dart and animation.dart. Some classes in animation/ are renamed to make this less disruptive and confusing to the namespace. - Split out Stocks back into an import model rather than a part model, so that it's easier to manage its dependencies on a per-file basis. - Move Ticker to scheduler library. - Remove as many redundant imports as possible now. - Some minor nit picking cleanup in various files.
-
- 09 Feb, 2016 1 commit
-
-
Adam Barth authored
These classes now share more code and have feature parity.
-
- 01 Feb, 2016 1 commit
-
-
Hixie authored
Port the tests to use the new interface.
-
- 29 Jan, 2016 1 commit
-
-
Adam Barth authored
This patch changes the default alignment of OverflowBox to center rather than having a bias towards the upper-left corner. Fixes #1236
-
- 18 Jan, 2016 1 commit
-
-
Ian Hickson authored
RenderBlock wasn't constraining the results. RenderPadding wasn't constraining the results (which matters especially when the constraints can't fit the padding in the first place). RenderViewport wasn't constraining the results. Add a test for the block case. To catch this kind of thing in the future, add some asserts to debugDoesMeetConstraints() that all four intrinsic functions return values that are within the constraints. RenderBlockViewport doesn't support returning intrinsics, so turn off the "no intrinsic support" asserts (and return zero) when we're doing this new assert. This new assert screwed up the custom layout classes' tests, so adjust those tests to ignore the callbacks invoked from these asserts. Add to the _debugReportException() method a short summary of the descendants of this node. It's important to have this information when debugging errors like these intrinsic constraints contract violations because often nodes just pass the values through to their child so you have to go several steps down to find the actual problem. Fixes https://github.com/flutter/flutter/issues/1210
-
- 16 Jan, 2016 1 commit
-
-
Ian Hickson authored
And rootConstraints to configuration. This type and its variable have nothing to do with Constraints. Fixes https://github.com/flutter/flutter/issues/829
-
- 11 Jan, 2016 1 commit
-
-
Ian Hickson authored
This makes it more consistent with tightFor(), and also makes it easier to tighten both directions at once when you're not sure you will always do so (e.g. if you have a height and width that might be null, and want to tighten whichever ones aren't null).
-
- 02 Jan, 2016 3 commits
-
-
Adam Barth authored
This patch make grid layout much more flexible. The behavior is factored out into a GridDelegate that's modeled after the custom layout delegates. The patch includes a MaxTileWidthGridDelegate that implements the old behavior and a FixedColumnCountGridDelegate that implements a grid layout with a fixed number of columns. Fixes #1048
-
Adam Barth authored
Previously we used Position, which makes it harder to accumulate offsets when walking the render tree.
-
Adam Barth authored
When assigning a new overlayPainter, we were detaching the old overlay painter even if the render object itself wasn't attached. Now we only twiddle the attach/detach state of the overlay painter when we're attached ourselves. Fixes #1047
-
- 17 Dec, 2015 1 commit
-
-
Hixie authored
Use the same technique for updating compositing bits as layout and painting. This avoids walking the entire rendering tree when all you need to update is a small subtree.
-
- 16 Dec, 2015 1 commit
-
-
Ian Hickson authored
-