4904 Commits

Author SHA1 Message Date
Adam Barth
f7f1259b7b Scrollable physics should be reasonable when sizes change
Previously, when the content extent changed during a scroll interaction, we'd
stop the current scroll interaction and reset the scroll offset. Now we try to
continue the scroll interaction (e.g., drag, fling, or overscroll) even through
the underlying scroll behavior has changed.

For physics-based scroll interactions, we keep the current position and
velocity and recompute the operative forces. For drag interactions, we keep the
current position and continue to let the user drag the scroll offset.

After this patch, we still disrupt non-physical scroll animations that are
operating outside the new scroll bounds because it's not clear how we can
sensibly modify them to work with the new scroll bounds.
2016-03-23 16:14:07 -07:00
Hans Muller
1db09ffe03 Merge pull request #2857 from HansMuller/two_level_list_fixo
Fixed a typo
2016-03-23 16:09:18 -07:00
Hans Muller
8107d25175 fixed a typo 2016-03-23 15:54:55 -07:00
Jason Simmons
de8262f497 Merge pull request #2852 from jason-simmons/gradle_engine_src
Expose the engine-src-path flag in the Gradle plugin
2016-03-23 13:53:26 -07:00
Jason Simmons
d5b30f68ce Expose the engine-src-path flag in the Gradle plugin 2016-03-23 13:33:51 -07:00
Jason Simmons
9cce0833ea Merge pull request #2851 from jason-simmons/gradle_update_0323
Update SkyApplication to SkyMain in the hello_android example
2016-03-23 13:16:33 -07:00
Jason Simmons
502fbeec0a Update SkyApplication to SkyMain in the hello_android example 2016-03-23 13:07:51 -07:00
Hans Muller
14440b145c Merge pull request #2846 from HansMuller/two_level_list
TwoLevelList fails to restore sublist expanded state
2016-03-23 12:56:27 -07:00
Hans Muller
67a18fa532 TwoLevelList fails to restore sublist expanded state 2016-03-23 12:27:25 -07:00
Adam Barth
a8c108dea5 Merge pull request #2824 from abarth/update_mojo
Update ChildView after Mojo roll
2016-03-23 11:59:32 -07:00
Jason Simmons
e6a827e87c Merge pull request #2847 from jason-simmons/flutter_absolute_path
Set FLUTTER_ROOT to an absolute path
2016-03-23 11:18:03 -07:00
Adam Barth
9f5febc8cd Update ChildView after Mojo roll
The Mozart API has changed.
2016-03-23 11:05:31 -07:00
Jason Simmons
e10b74cd24 Set FLUTTER_ROOT to an absolute path
This implementation was taken from the Dart SDK shell scripts.

BUG=https://github.com/flutter/flutter/issues/2795
2016-03-23 10:51:23 -07:00
Ian Hickson
da88f1d01f Merge pull request #2828 from Hixie/lru
Replace use of LruMap with a pure LinkedHashMap
2016-03-22 23:24:40 -07:00
Ian Hickson
924480fcda Merge pull request #2843 from Hixie/nan-constraints
Handle NaNs in constraints, just in case.
2016-03-22 23:24:25 -07:00
Ian Hickson
ea04c910e7 Replace use of LruMap with a pure LinkedHashMap
...so that we can shed the quiver dependency in flutter's framework.
2016-03-22 23:01:31 -07:00
Ian Hickson
9eb4d15c7a Merge pull request #2826 from Hixie/overflow
CustomPaint documentation
2016-03-22 22:59:13 -07:00
Ian Hickson
9356c19dce Handle NaNs in constraints, just in case. 2016-03-22 22:53:40 -07:00
Ian Hickson
e6cffd2897 Merge pull request #2842 from Hixie/icondata-tostring
prettier IconData toString
2016-03-22 22:42:29 -07:00
Ian Hickson
5b090383a7 Merge pull request #2840 from Hixie/crypto92
Port to crypto 0.9.2
2016-03-22 22:14:21 -07:00
Ian Hickson
cde947eaf1 prettier IconData toString 2016-03-22 22:13:32 -07:00
Ian Hickson
87eb34240b Port to crypto 0.9.2 2016-03-22 21:54:34 -07:00
Ian Hickson
942840748a CustomPaint documentation
...followed all the way back to ImageCache, ImageInfo, ImageProvider,
and friends.
2016-03-22 21:36:44 -07:00
Ian Hickson
cae847dc98 Merge pull request #2835 from Hixie/RenderFractionallySizedBox-constraints
Rationalise the overflow render boxes
2016-03-22 17:36:13 -07:00
Hans Muller
e074af8099 Merge pull request #2837 from HansMuller/overscroll
Fixed VirtualViewport child key assignment
2016-03-22 14:57:55 -07:00
Hans Muller
ff424196fc Fixed VirtualViewport child key assignment 2016-03-22 14:46:50 -07:00
Hixie
34cc0c4728 Rationalise the overflow render boxes
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.
2016-03-22 14:06:49 -07:00
Devon Carew
839334a599 Merge pull request #2820 from devoncarew/setup_xcodeproj
change how we calculate the temp dir
2016-03-22 12:34:52 -07:00
Devon Carew
1d20a90cad change how we calculate the temp dir 2016-03-22 12:22:30 -07:00
Ian Hickson
30c4c4f784 Merge pull request #2833 from Hixie/RenderFractionallySizedBox-constraints
Fix RenderFractionallySizedBox's constraints logic
2016-03-22 11:03:50 -07:00
Hixie
71976b306b Fix RenderFractionallySizedBox's constraints logic
Fixes https://github.com/flutter/flutter/issues/2735
2016-03-22 10:29:43 -07:00
Jason Simmons
b00cf22e0d Merge pull request #2788 from jason-simmons/messaging_to_host
Provide APIs for exchanging messages with the host application
2016-03-22 10:15:31 -07:00
Jason Simmons
00bebf81e7 Merge pull request #2831 from jason-simmons/engine_rev_0322
Update the engine
2016-03-22 09:56:12 -07:00
Hans Muller
bcf08d2309 Merge pull request #2829 from HansMuller/super_fling_fast
Fix Fast Fling Failure
2016-03-22 09:53:36 -07:00
Jason Simmons
d349043ed0 Update the engine 2016-03-22 09:44:54 -07:00
Hans Muller
1af58aee4a Fix Fast Fling Failure 2016-03-22 08:43:22 -07:00
Chinmay Garde
fb427a1e5f Merge pull request #2823 from chinmaygarde/master
Use the artifacts store for iOS assets
2016-03-21 17:42:07 -07:00
Jason Simmons
074564eec3 Provide APIs for exchanging messages with the host application 2016-03-21 16:39:55 -07:00
Jason Simmons
79a098e9a7 Merge pull request #2822 from jason-simmons/engine_rev_0321
Update engine.version to get the ApplicationMessages interface
2016-03-21 16:39:37 -07:00
Chinmay Garde
68a3aa70bf Use the artifacts store for iOS assets 2016-03-21 16:25:58 -07:00
Jason Simmons
38368e8f14 Update engine.version to get the ApplicationMessages interface 2016-03-21 16:14:41 -07:00
Chinmay Garde
931d4be5ba Merge pull request #2821 from chinmaygarde/master
Dont differentiate between ios_arm and ios_x64 in flutter_tools
2016-03-21 15:02:59 -07:00
Chinmay Garde
c8377d7428 Dont differentiate between ios_arm and ios_x64 in flutter_tools
All artifacts for iOS are universal.
2016-03-21 14:41:26 -07:00
Devon Carew
e31395fba1 Merge pull request #2811 from devoncarew/drive_start
don't wait for the observatory if the app didn't start
2016-03-21 13:45:21 -07:00
Chinmay Garde
adf48bef7e Merge pull request #2819 from chinmaygarde/master
Bump engine revision and ensure the Xcode project setup expects assets at the archive root.
2016-03-21 13:42:22 -07:00
Phil Quitslund
eacbe53506 Merge pull request #2816 from pq/remove_tear_off_regexp
Remove `analyze` tear-off regexp.
2016-03-21 13:27:45 -07:00
Chinmay Garde
3a9956fb4e Bump engine revision and ensure the Xcode project setup expects assets at the archive root. 2016-03-21 13:24:53 -07:00
Adam Barth
2fc4f2079d Merge pull request #2818 from abarth/scroll_tolerance
Scrollable sometimes pushes frames forever
2016-03-21 12:39:21 -07:00
Andrew Wilson
33d7d6dc98 Merge pull request #2817 from flutter/apwilson-patch-1
Update engine.version
2016-03-21 12:36:58 -07:00
Hans Muller
a8b4e93841 Merge pull request #2796 from HansMuller/ali_demo
Fix _LazyWidgetProvider indexing, move Ali Connors
2016-03-21 12:33:24 -07:00