5138 Commits

Author SHA1 Message Date
Hixie
ea4be3fbce Debug grid over the navigator stack
This grid makes it significantly easier to track down errors when you're
looking at coordinates in a render tree dump and want to see if they're
what you expect or if they're wildly away from the right location.
2015-10-21 13:31:09 -07:00
Ian Hickson
4facc886ca Merge pull request #1715 from Hixie/stocks-demo
Use a card for the stock symbol viewer page.
2015-10-21 13:06:28 -07:00
Hixie
ab9d70505c Use a card for the stock symbol viewer page. 2015-10-21 12:02:28 -07:00
Ian Hickson
42f9741742 Merge pull request #1711 from Hixie/performance-classes
AlwaysCompletePerformance, ReversePerformance
2015-10-21 11:39:08 -07:00
Hixie
ea14a8d31f AlwaysCompletePerformance, ReversePerformance
These new PerformanceView classes are transforms over PerformanceViews.
The first is a cheap way to tell code that expects a performance to not
animate after all, and the other is a way to replace a view of a
performance going in one direction with a view of a performance going in
the other direction.

See also https://github.com/flutter/engine/issues/1708
2015-10-21 11:38:52 -07:00
Ian Hickson
6f1643ee42 Merge pull request #1712 from Hixie/rotation
RotationTransition
2015-10-21 11:36:16 -07:00
Hixie
bd7f416c37 RotationTransition
A transition that rotates its contents.
2015-10-21 11:35:31 -07:00
Ian Hickson
19eadc5865 Merge pull request #1714 from Hixie/navigator-args
Make Route.build() arguments match RouteBuilder()
2015-10-21 11:34:46 -07:00
Hixie
51dbb68c7c Make Route.build() arguments match RouteBuilder()
Assert at build time that PageRoute route builders do not return null
widget trees.

Also very minor new code comments and code reorg to help make the heroes
patch easier to review.

(These are changes that are unrelated to Heroes but that were part of
the Heroes patch.)
2015-10-21 11:33:44 -07:00
Adam Barth
cd220bcd01 Rev pub packages 2015-10-21 11:13:12 -07:00
Ian Hickson
97251bcbb5 Merge pull request #1710 from Hixie/unique-key
UniqueKey
2015-10-21 11:08:44 -07:00
Adam Barth
7980151329 Rev pub packages 2015-10-21 11:07:06 -07:00
Adam Barth
0d883e3aab Rev pub packages 2015-10-21 11:05:59 -07:00
Hixie
e69611d266 UniqueKey
Sometimes you need a Key (not a GlobalKey) that is only equal to itself
but can be used multiple times in the tree. Enter UniqueKey!
2015-10-21 10:03:11 -07:00
Adam Barth
77622e13b6 Tighten flutter's dependency on mojo
The 0.2.1 release of the mojo package isn't actually compatible with Flutter
despite claiming to be a minor release. The real fix is to make Flutter
compatible with that release, but there are several yak shaves involved.
2015-10-20 18:10:56 -07:00
Viktor Lidholt
c5e37e9e5e Merge pull request #1697 from vlidholt/master
First pass on sprite physics node hierarchy integration
2015-10-20 16:35:08 -07:00
Adam Barth
199c0bd933 Rev pub packages 2015-10-20 16:23:43 -07:00
Adam Barth
a951c30309 Rev pubspec.yaml 2015-10-20 16:18:35 -07:00
Adam Barth
82e0516a5d Merge pull request #1703 from abarth/improve_comment
Improve comments describing FractionalOffset
2015-10-20 16:16:31 -07:00
Adam Barth
f0e846730d Improve comments describing FractionalOffset
Fixes #1702
2015-10-20 16:10:22 -07:00
Adam Barth
e2be08b17a Merge pull request #1690 from abarth/transition_container
Adds EnterExitTransition widget
2015-10-20 15:41:34 -07:00
Adam Barth
41ae9d2b09 Adds EnterExitTransition widget
This widget smoothly resizes as its child changes and lets you provide entrance
and exit transitions for its children.
2015-10-20 15:37:55 -07:00
Collin Jackson
374e272dd7 Update CONTRIBUTING.md 2015-10-20 10:56:53 -07:00
Viktor Lidholt
7a056a2f53 Adds support for scaling sprite physics groups 2015-10-20 10:47:58 -07:00
Jim Beveridge
9826b5b87d Merge pull request #1693 from jimbeveridge/close
Close the UrlLoaderProxy on error.
2015-10-20 10:43:18 -07:00
Viktor Lidholt
91b1cf9d14 Adds sprite physics groups 2015-10-20 10:35:40 -07:00
Ian Hickson
bbfc3e8e81 Merge pull request #1695 from Hixie/offstage-tests
RenderOffStage test
2015-10-20 10:28:31 -07:00
Ian Hickson
a52409df03 Merge pull request #1694 from Hixie/overflow-tests
RenderOverflowBox baseline logic
2015-10-20 10:28:23 -07:00
Hixie
58c1593889 RenderOffStage test
Also, give RenderViewport a default offset.
2015-10-20 10:17:05 -07:00
Jim Beveridge
924b9a7b62 Close the UrlLoaderProxy on error.
Fixes #1680.
2015-10-20 09:58:46 -07:00
Hixie
2ffd0ffb95 RenderOverflowBox baseline logic
I accidentally lost this when extracting RenderOverflowBox from
RenderProxyBox.
2015-10-20 09:52:48 -07:00
Ian Hickson
1d55f9ff20 Merge pull request #1692 from Hixie/overflow-and-offstage
OffStage
2015-10-20 09:07:39 -07:00
Hixie
58444d1dd7 OffStage
Introduces a new Widget that lays its child out, but does not render it.
Also, moves RenderOverflowBox to its own file since it has nothing to do
with proxy box really.
2015-10-20 09:00:48 -07:00
Adam Barth
61c9681ce5 Merge pull request #1691 from abarth/naming
Normalize some function names in proxy_box.dart
2015-10-20 08:52:35 -07:00
Adam Barth
7a10ecb54b Update CONTRIBUTING.md 2015-10-20 08:45:19 -07:00
Ian Hickson
1b2e48c2fe Update CONTRIBUTING.md 2015-10-20 08:25:28 -07:00
Ian Hickson
222d19b1e5 Update CONTRIBUTING.md 2015-10-20 08:24:30 -07:00
Ian Hickson
e425dc9ca7 Update CONTRIBUTING.md 2015-10-20 08:23:31 -07:00
Ian Hickson
f62eb2f43a Revamp of CONTRIBUTING.md to reflect everything I learnt installing it at home. 2015-10-20 08:22:52 -07:00
Adam Barth
8e164a33e9 Normalize some function names in proxy_box.dart
We call this function _getInnerConstraints in other classes. Also, this change
makes it private for RenderOverflowBox.
2015-10-20 08:14:58 -07:00
Ian Hickson
1955861a27 Update CONTRIBUTING.md 2015-10-20 07:52:10 -07:00
Ian Hickson
4dc575ad51 Update CONTRIBUTING.md 2015-10-19 20:53:50 -07:00
Ian Hickson
a4aa5f1af7 Update CONTRIBUTING.md 2015-10-19 20:52:35 -07:00
Ian Hickson
478c547ea8 Update CONTRIBUTING.md 2015-10-19 20:52:06 -07:00
Ian Hickson
df4c0a0c59 Update CONTRIBUTING.md 2015-10-19 20:50:52 -07:00
Adam Barth
9ea87c0903 Merge pull request #1688 from abarth/curves
Move animation curves into a Curves namespace
2015-10-19 18:47:49 -07:00
Adam Barth
1d6191cb71 Move animation curves into a Curves namespace 2015-10-19 18:08:52 -07:00
Adam Barth
9688d8aac6 Merge pull request #1686 from abarth/callback_names
Give the CustomPaint and SizeObserver callbacks better names
2015-10-19 17:32:02 -07:00
Adam Barth
75fe9414e7 Give the CustomPaint and SizeObserver callbacks better names
The style we use for callbacks in widgets is "onFoo". These classes were using
an order naming convention and just called their callbacks "callback".
2015-10-19 17:27:40 -07:00
Adam Barth
750e1e682f Merge pull request #1685 from abarth/animated_size_value
Add AnimatedSizeValue
2015-10-19 17:22:33 -07:00