2002 Commits

Author SHA1 Message Date
Hixie
bc6d17db3b Use a card for the stock symbol viewer page. 2015-10-21 12:02:28 -07:00
Hixie
545db87ace 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
Hixie
86087cbb08 RotationTransition
A transition that rotates its contents.
2015-10-21 11:35:31 -07:00
Hixie
babba2f0ec 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
789031b5bd Rev pub packages 2015-10-21 11:13:12 -07:00
Ian Hickson
9e3ba1114c Merge pull request #1710 from Hixie/unique-key
UniqueKey
2015-10-21 11:08:44 -07:00
Adam Barth
7acc24e486 Rev pub packages 2015-10-21 11:05:59 -07:00
Hixie
188aade214 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
44f6cfff9f 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
0382158550 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
af7a54fbba Rev pub packages 2015-10-20 16:23:43 -07:00
Adam Barth
845c50be9e Improve comments describing FractionalOffset
Fixes #1702
2015-10-20 16:10:22 -07:00
Kris Giesing
18e154d40b Improve tap; add double tap; add tests 2015-10-20 15:50:07 -07:00
Adam Barth
95803ebbf8 Merge pull request #1690 from abarth/transition_container
Adds EnterExitTransition widget
2015-10-20 15:41:34 -07:00
Adam Barth
d54d35d3d1 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
Viktor Lidholt
ca724ae151 Adds support for scaling sprite physics groups 2015-10-20 10:47:58 -07:00
Jim Beveridge
a6c1018521 Merge pull request #1693 from jimbeveridge/close
Close the UrlLoaderProxy on error.
2015-10-20 10:43:18 -07:00
Viktor Lidholt
4187bcf90c Adds sprite physics groups 2015-10-20 10:35:40 -07:00
Ian Hickson
37b4800734 Merge pull request #1695 from Hixie/offstage-tests
RenderOffStage test
2015-10-20 10:28:31 -07:00
Hixie
ff76ceb40e RenderOffStage test
Also, give RenderViewport a default offset.
2015-10-20 10:17:05 -07:00
Jim Beveridge
2cb9a00f46 Close the UrlLoaderProxy on error.
Fixes #1680.
2015-10-20 09:58:46 -07:00
Hixie
1e9e4e159d RenderOverflowBox baseline logic
I accidentally lost this when extracting RenderOverflowBox from
RenderProxyBox.
2015-10-20 09:52:48 -07:00
Hixie
5214893043 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
1d5f25333a 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
Adam Barth
f79fdff2d0 Move animation curves into a Curves namespace 2015-10-19 18:08:52 -07:00
Adam Barth
529fa95f87 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
2edc6dbb3d Add AnimatedSizeValue 2015-10-19 17:16:05 -07:00
Hixie
4f96083e66 Fix warning in test. Arguments must be typed. 2015-10-19 16:07:01 -07:00
Hixie
ed195cfa19 requestPostFrameCallback()
Provide a way to schedule a callback for immediately after the current
frame has been sent to the GPU thread. This is useful for times where
you want to immediately schedule yourself for another build or layout
because, for instance, you just displayed frame zero of an animation and
you want to use the metrics from that layout to set up the actual
animation to begin immediately, such that the very next frame is frame 1.
2015-10-19 16:05:01 -07:00
Adam Barth
6fe9446f01 Merge pull request #1679 from abarth/fix_analyzer
Fix analyzer warnings in examples
2015-10-19 15:31:59 -07:00
Matt Perry
f9e43f12fe Merge pull request #1612 from mpcomplete/signer.cipher
Add support for verifying .flx signatures when updating
2015-10-19 17:18:17 -04:00
Adam Barth
8382ca2c0a Fix analyzer warnings in examples 2015-10-19 13:46:52 -07:00
Matt Perry
dff3fa7e46 Support verifying .flx signatures when updating.
Adds a step to the updater to verify that the new .flx package is signed and
untampered.

Each .flx contains a signed manifest file. The manifest contains a SHA-256 hash
of the .flx contents. See bundle.dart for a description of the new .flx format.
2015-10-19 16:39:02 -04:00
Adam Barth
734240db6d Merge pull request #1678 from abarth/show_color_filter
Show ColorFilter
2015-10-19 13:37:55 -07:00
Adam Barth
4094223378 Show ColorFilter
Instead of requiring clients to use ui.ColorFilter, we show show the
ColorFilter class, similar to what we do for Color.
2015-10-19 13:33:39 -07:00
Viktor Lidholt
623b3ba06d Merge pull request #1677 from vlidholt/master
Renames PhysicsNode to PhysicsWorld
2015-10-19 13:33:19 -07:00
Viktor Lidholt
6bd4fb8515 Renames PhysicsNode to PhysicsWorld 2015-10-19 13:27:32 -07:00
Adam Barth
8402b54858 Merge pull request #1676 from abarth/align_uses_fractional_offset
Convert Align to use FractionalOffset instead of two doubles
2015-10-19 13:10:34 -07:00
Hixie
552f26d713 Stop AnimatedContainer from animating every build
It turns out that an AnimatedContainer with a BoxDecoration would
start animating every single time it was built, whether or not the
container's decoration had changed.
2015-10-19 13:06:59 -07:00
Adam Barth
715b304ea2 Convert Align to use FractionalOffset instead of two doubles
It was confusing as to whether these were fractions or pixels.

Fixes #1622
2015-10-19 12:56:38 -07:00
Adam Barth
6b2d121f2d Merge pull request #1674 from abarth/rm_color_filter
Remove ColorFilter widget
2015-10-19 12:55:12 -07:00
Adam Barth
9baf8eb372 Remove ColorFilter widget
This widget is slow and not commonly used. The original reason we added it was
to colorize images, but now that feature is built into the image and background
image widgets.

Fixes #1646
2015-10-19 12:39:22 -07:00
Viktor Lidholt
0ef9da85e1 Merge pull request #1672 from vlidholt/master
Makes sprite physics bodies scalable
2015-10-19 12:30:02 -07:00
Adam Barth
47c854b8fc Merge pull request #1673 from abarth/rm_old_paint_setters
Remove old setFoo functions on Paint
2015-10-19 12:28:09 -07:00
Adam Barth
2aa79d5694 Remove old setFoo functions on Paint
We now just use Dart properties, which is more idiomatic.
2015-10-19 12:21:34 -07:00
Viktor Lidholt
6f9fe7b1fe Updates physics test 2015-10-19 12:13:20 -07:00
Viktor Lidholt
1e228618eb Makes sprite physics bodies scalable 2015-10-19 12:13:00 -07:00
Adam Barth
27b5fc14a3 Scaffold should wrap its body in a Material
Fixes #1669
2015-10-19 12:11:10 -07:00
Adam Barth
88bcfa2d79 Rev pub packages 2015-10-19 11:26:31 -07:00
Adam Barth
ccc98c8f41 The dx and dy properties of PointerInputEvents shouldn't be null
They should be 0.0 when there's no offset.

Fixes #1661
2015-10-19 09:37:51 -07:00