24470 Commits

Author SHA1 Message Date
Adam Barth
4982c553b8 Material gallery crashes when you press the drop-down button
Now use use the route's getPosition function to position the drop-down menu.
Also, fix a number of other related bugs that blocked the dropdown button from
working correctly. The dropdown menu still has the following issues:

1) In the exit animation, the background of the menu disappears too quickly
   because of incorrect paint bounds computations in the layer tree.
2) The drop down menu isn't positioned correctly after the device rotates.
   We'll need to address this issue in a separate patch.

Fixes #630
2015-12-07 16:11:28 -08:00
Ian Hickson
aaef5045dc Merge pull request #802 from Hixie/yak1-routes-didChangeNext
didChangeNext()
2015-12-07 15:46:51 -08:00
Hixie
18d5c5e7ae didChangeNext()
Replace didPushNext() and didReplaceNext() with didChangeNext(), and
call it in more cases, so that a route can easily track the next route.

Use this to make TransitionRoute properly track its next route so that
you can do next-route-driven animations that work even with removes,
replaces, and other crazy manipulations of the navigator stack.
2015-12-07 15:39:56 -08:00
Ian Hickson
1e1761d181 Merge pull request #800 from Hixie/pointer-bugs
Fix pointer up/move/cancel listeners
2015-12-07 15:27:55 -08:00
Hixie
18beb4b45b Fix pointer up/move/cancel listeners
Fallout from the pointer refactor.
2015-12-07 15:20:21 -08:00
Ian Hickson
5f5245dd5e Merge pull request #798 from Hixie/popUntil
Navigator.popUntil
2015-12-07 15:02:36 -08:00
Ian Hickson
2305d019ac Merge pull request #795 from Hixie/overlayDebuggingFix
Make debugIsVisible work.
2015-12-07 14:58:25 -08:00
Hixie
cf3077ea98 Navigator.popUntil
This was already supported in the underlying classes but somehow not
exposed by Navigator itself.
2015-12-07 14:54:03 -08:00
Ian Hickson
6a7f50c493 Merge pull request #794 from Hixie/AlwaysDismissedPerformance
AlwaysDismissedPerformance
2015-12-07 14:50:53 -08:00
Ian Hickson
86fbdd7d3b Merge pull request #793 from Hixie/performance-debugging
Debugging aids for overlays, performances
2015-12-07 14:49:23 -08:00
Hixie
8b9ffca8d1 Make debugIsVisible work.
Turns out it was always returning true (visible).
2015-12-07 14:46:18 -08:00
Hixie
e92d393467 AlwaysDismissedPerformance
The same as AlwaysCompletePerformance but the exact opposite.
2015-12-07 14:44:53 -08:00
Hixie
7138a37293 Debugging aids for overlays, performances 2015-12-07 14:42:42 -08:00
Eric Seidel
f0ce2de9b5 Merge pull request #789 from eseidelGoogle/no_checked
Don't do performance testing in checked mode
2015-12-07 13:50:47 -08:00
Adam Barth
e80756d669 Merge pull request #748 from abarth/inital_performance
The intial route shouldn't run its entrance animation
2015-12-07 13:24:37 -08:00
Adam Barth
0f4ef5a79a Versioning 2015-12-07 13:23:47 -08:00
Eric Seidel
20deda1def Don't do performance testing in checked mode
This makes startup 1500ms instead of 1700ms.

@chinmaygarde @hixie
2015-12-07 12:54:21 -08:00
Adam Barth
ba936c0f0b The intial route shouldn't run its entrance animation
Instead, it should enter the world fully formed.
2015-12-07 11:11:03 -08:00
Adam Barth
73e62d386b Merge pull request #779 from abarth/basic_docs
Add some dartdoc to basic widgets
v0.0.20-alpha
2015-12-07 10:57:00 -08:00
Ian Hickson
429e17c58f Merge pull request #786 from Hixie/pointers
Got the check the wrong way in the last patch.
2015-12-07 10:45:08 -08:00
Hixie
7243c5629c Got the check the wrong way in the last patch.
TBR @abarth
2015-12-07 10:44:19 -08:00
Ian Hickson
d6f61e44c3 Merge pull request #784 from Hixie/pointer-move-hack
Ignore hover events.
2015-12-07 10:29:42 -08:00
Adam Barth
069fc6dd8b Add some dartdoc to basic widgets
These docs are largely duplicated from the cooresponding rendering classes. I'm
not sure how we can avoid repeating ourselves.
2015-12-07 10:27:53 -08:00
Viktor Lidholt
1e683b2f61 Merge pull request #704 from vlidholt/master
Fixes issue with physics debug drawing in sprites
2015-12-07 10:22:25 -08:00
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