3045 Commits

Author SHA1 Message Date
Hixie
aabae3af82 Ignore hover events. 2015-12-07 10:15:11 -08:00
Adam Barth
1d8bea0ab2 Merge pull request #783 from abarth/mimic_mark_needs_build
Expose markNeedsBuild on MimicOverlayEntry
2015-12-07 10:01:46 -08:00
Adam Barth
23776e7e7c Expose markNeedsBuild on MimicOverlayEntry
We expose this function on OverlayEntry to let you drive animations in the
overlay. The same use case applies to MimicOverlayEntry.
2015-12-07 09:50:50 -08:00
Ian Hickson
ef76140313 Merge pull request #782 from Hixie/yak2-pointer-events
Export the new pointer event classes.
2015-12-07 09:50:17 -08:00
Hixie
f3a65d0626 Export the new pointer event classes. 2015-12-07 09:12:28 -08:00
Adam Barth
36beda0c16 Merge pull request #778 from abarth/parent_data_fixes
Parent data fixes
2015-12-06 22:57:07 -08:00
Adam Barth
2f3baf14b3 Parent data fixes
Add some missing functionality to ParentData subclasses.

Fixes #474
2015-12-06 21:34:41 -08:00
Adam Barth
83ba426363 Fix typo 2015-12-05 14:41:50 -08:00
Adam Barth
d0a5536abb Merge pull request #768 from abarth/continuous_docs
Update Flutter API docs continuously
2015-12-05 14:27:50 -08:00
Adam Barth
6ca057e508 Update Flutter API docs continuously
The patch teaches Travis how to update our API docs continuously as we land
patches in master.
2015-12-05 14:23:18 -08:00
Adam Barth
5bb598ad00 Merge pull request #767 from abarth/clip_image_repeat
Repeated background images should be clipped to the container
2015-12-05 11:16:43 -08:00
Adam Barth
e46f480733 Repeated background images should be clipped to the container
Fixes #766
2015-12-05 10:50:23 -08:00
Adam Barth
3419b3e493 Merge pull request #764 from abarth/material_page_completer
Add a completer to MaterialPageRoute
2015-12-05 10:17:53 -08:00
Adam Barth
ac96f74de4 Merge pull request #765 from abarth/layout_id_key
LayoutId should default to using its id as its key
2015-12-05 10:17:38 -08:00
Adam Barth
616c6d7918 LayoutId should default to using its id as its key
This default seems likely to be benefitial because typically the LayoutIds
coorespond to semantic slots in a bespoke layout.
2015-12-05 09:06:36 -08:00
Adam Barth
c014fd3702 Merge pull request #763 from abarth/popup_splash
Popup menu splash doesn't go to edge
2015-12-05 01:46:15 -08:00
Adam Barth
5ea4990c51 Add a completer to MaterialPageRoute
Fixes #608
2015-12-05 01:43:05 -08:00
Adam Barth
e7c05e5781 Popup menu splash doesn't go to edge
Now the splash goes to the edge. Also, fold popup_menu_item.dart into
popup_menu.dart for simplicity.

Fixes #266
2015-12-05 01:21:07 -08:00
Adam Barth
503218cd40 Merge pull request #762 from abarth/image_repeat
Implement ImageRepeat
2015-12-05 01:12:43 -08:00
Ian Hickson
7eb387b1bc Merge pull request #760 from Hixie/move-pointer-fixes
Cleanup for the Pointer changes.
2015-12-05 00:42:19 -08:00
Adam Barth
9c00bc5378 Implement ImageRepeat
Fixes #158
2015-12-05 00:42:15 -08:00
Ian Hickson
2965dcb61f Cleanup for the Pointer changes. 2015-12-05 00:31:27 -08:00
Ian Hickson
e0107b0536 Merge pull request #756 from Hixie/PointerInputEvent.kind
PointerInput refactor
2015-12-04 22:58:32 -08:00
Ian Hickson
f162555648 PointerInput refactor
Instead of PointerInputEvent having a "type" field, we now have a
different class for each pointer type.

This has ripple effects throughout the system.

I also did code cleanup in affected files while I was there.
2015-12-04 22:42:38 -08:00
Adam Barth
bc1b47e917 Merge pull request #755 from abarth/rm_painting_canvas
Remove PaintingCanvas
2015-12-04 21:23:49 -08:00
Adam Barth
5a17c2bc8f Merge pull request #754 from abarth/radial_reaction
Remove outdated radial_reaction.dart
2015-12-04 21:23:34 -08:00
Adam Barth
abf0359569 Remove PaintingCanvas
We can just use Canvas now.  The two are the same thing.
2015-12-04 20:26:08 -08:00
Adam Barth
40bc9e65da Remove outdated radial_reaction.dart
We now draw radial reactions using Material.
2015-12-04 20:20:29 -08:00
Ian Hickson
b6cf053e89 Merge pull request #752 from Hixie/yak3-remove-timing
Replace AnimationTiming with CurvedPerformance
2015-12-04 18:09:58 -08:00
Ian Hickson
88fbf76ed1 Merge pull request #751 from Hixie/yak2-mean-performance
MeanPerformance
2015-12-04 17:46:02 -08:00
Hixie
379b6a50f2 Replace AnimationTiming with CurvedPerformance
Also, replace places that use the term "create performance" with
"create performance controller".
2015-12-04 17:42:09 -08:00
Hixie
21ec20e947 MeanPerformance 2015-12-04 16:57:29 -08:00
Ian Hickson
d46aff8a46 Merge pull request #750 from Hixie/yak3-performance-view-listener-refactor
Refactor PerformanceView listeners.
2015-12-04 16:10:45 -08:00
Hixie
4ba074f690 Refactor PerformanceView listeners.
Primarily, this rearranges how listeners are handled internally by the
various PerformanceView classes so that there's not so much redundancy.

It also fixes ReversePerformance and ProxyPerformance to not leak.
Previously, they never unhooked their listeners, so they'd leak until
the entire chain of performances was killed. Now, they unhook as soon as
they themselves have no listeners left, which is more idiomatic.
2015-12-04 16:10:11 -08:00
Adam Barth
0d6a564aec Merge pull request #747 from abarth/null_assert
Improve the asset for build functions that return null
2015-12-04 15:03:48 -08:00
Ian Hickson
f1b01f9a46 Merge pull request #746 from Hixie/homogeneous-fixes
Add more asserts to help catch the blackness bug
2015-12-04 14:51:24 -08:00
Adam Barth
59c3ecdcc6 Improve the asset for build functions that return null
Fixes #689
2015-12-04 14:47:51 -08:00
Collin Jackson
7dc7f16abb Merge pull request #741 from collinjackson/hero_wip
Support for hero transitions underneath the target page
2015-12-04 14:41:58 -08:00
Hixie
d4f3d0a072 Add more asserts to help catch the blackness bug 2015-12-04 14:32:56 -08:00
Collin Jackson
c253ca627b Support for hero transitions underneath a PageRoute 2015-12-04 14:26:31 -08:00
Collin Jackson
fa31a4ad37 Move HeroController into heroes.dart and PageRoute into pages.dart 2015-12-04 13:33:18 -08:00
Ian Hickson
519b190c0f Merge pull request #745 from Hixie/yak2-better-transitions-api
Refactor forward transition building
2015-12-04 13:12:28 -08:00
Hixie
a83eadccc0 Refactor forward transition building
Instead of separate functions for the 0->1 and 1->2 transitions, just
have one function.
2015-12-04 13:07:24 -08:00
Adam Barth
42eafce04a Merge pull request #740 from abarth/custom_layout_assert
MultiChildLayoutDelegate should assert that all children have had layoutChild called exactly once
2015-12-04 12:50:14 -08:00
Eric Seidel
8b3df8487d Merge pull request #742 from eseidelGoogle/profile_instructions
Make profile_startup.dart print instructions.
2015-12-04 12:35:56 -08:00
Ian Hickson
c0884943cb Merge pull request #739 from Hixie/builder-no-variables
BuilderTransition no longer requires variables
2015-12-04 12:34:25 -08:00
Adam Barth
b83187d8f3 MultiChildLayoutDelegate should assert that all children have had layoutChild called exactly once
Fixes #692
Fixes #690
2015-12-04 12:31:58 -08:00
Eric Seidel
047c53ee3e Make profile_startup.dart print instructions.
@chinmaygarde
2015-12-04 12:26:19 -08:00
Hixie
4789ee36c3 BuilderTransition no longer requires variables
Sometimes you want to just make a transition driven straight from the
performance's progress, rather than with an explicit variable.
2015-12-04 12:10:41 -08:00
Adam Barth
eaab8fa18f Merge pull request #735 from abarth/custom_clip
Add custom clipping to ClipRect and ClipOval
2015-12-04 11:31:47 -08:00