4661 Commits

Author SHA1 Message Date
Dragoș Tiselice
691c25faca Renamed Step curve to Threshold. (#5755)
In the interest of using the name in the case of Material steppers,
this commit renames Step curve to Threshold.
2016-09-07 13:58:04 -07:00
Matt Perry
e47a421e42 Use slide-from-right transition only when doing back gesture
This eliminates all the issues around the horizontal page transition. I also improved the back gesture animation, and added fling support.

BUG=https://github.com/flutter/flutter/issues/5678
BUG=https://github.com/flutter/flutter/issues/5622
2016-09-07 13:34:50 -04:00
Chris Bracken
a69c11f349 Replace hardcoded iOS build dir with config-driven lookup (#5732)
Related: b5f763b45e454863eb5baa10132e5e2df59d6987
2016-09-02 17:01:11 -07:00
Dragoș Tiselice
dcda3d5ed8 Fixed a bug related to AnimtedCrossFade. (#5730)
Fixed a bug where the size of the AnimatedCrossFade would always
start from the size of the first child, irrespective of the
initial crossFadeState argument.
2016-09-02 16:41:09 -07:00
Hans Muller
afc0550a67 Fix circle antialiasing in the animation demo (#5729) 2016-09-02 16:13:09 -07:00
Dragoș Tiselice
8a20b261d0 Changed Material ease animations to fastOutSlowIn. (#5643)
Fixes #5393.
2016-09-02 09:03:51 -07:00
Dan Rubel
c57635f1a8 adjust channel_test to be less specific (#5721)
* adjust channel_test to be less specific
fixes https://github.com/flutter/flutter/issues/5716
2016-09-01 22:05:03 -04:00
Dan Rubel
023b7de11f show device list in flutter doctor output (#5697)
* show device list in flutter doctor output
fixes https://github.com/flutter/flutter/issues/5625
2016-09-01 17:55:16 -04:00
Ian Hickson
6a323f6f19 Try to help people using intrinsic dimension methods more. (#5712) 2016-09-01 14:20:49 -07:00
Ian Hickson
1152fd60f6 Adds tester.pumpUntilNoTransientCallbacks (#5696)
Fixes https://github.com/flutter/flutter/issues/5234
2016-09-01 12:42:38 -07:00
Ian Hickson
ae56554705 Add example to RichText (#5708) 2016-09-01 11:59:23 -07:00
Ian Hickson
663596bc54 Handle GlobalKey reparenting inside LayoutBuilder (#5673) 2016-09-01 11:54:42 -07:00
Matt Perry
3732d754ca Re-enable iOS back gesture. (#5680)
The iOS transition is the more buggy part of this feature, and it wasn't
disabled. Let's just leave them enabled while I work on improvements.
2016-09-01 13:22:22 -04:00
Dan Rubel
ef79e7a1c0 improve device matching error message (#5693)
* improve device matching error message
fixes https://github.com/flutter/flutter/issues/5675
2016-09-01 12:37:58 -04:00
Matt Perry
6007f6af36 Use fastOutSlowIn curve for transitions on iOS when not controlled by user gesture. (#5666)
BUG=https://github.com/flutter/flutter/issues/5599
2016-08-31 13:50:38 -04:00
Dan Rubel
e20ec2becb implement flutter format (#5606)
Implement flutter format, fixes https://github.com/flutter/flutter/issues/5338
2016-08-31 09:40:17 -04:00
Dragoș Tiselice
0fbe3ce92c Added AnimatedCrossFade. (#5650)
Added a widget that cross fades two children while animating the
size of the parent based on the children's interpolated sizes.
2016-08-30 15:02:36 -07:00
Jason Simmons
4aba536aa9 Support x86/x64 targets in the build apk command (#5660)
Fixes https://github.com/flutter/flutter/issues/5592
2016-08-30 14:13:47 -07:00
Matt Perry
1a87d4b82c Disable back gesture behind a flag until it's ready. (#5646)
Also added a regression test for the back gesture on iOS and android.
2016-08-30 16:17:31 -04:00
Dan Rubel
83bf5d10c0 fix getDeviceById to match exact name (#5657)
* fix getDeviceById to match exact name
fixes https://github.com/flutter/flutter/issues/5508
2016-08-30 14:11:54 -04:00
Hans Muller
f6353b686d Image should handle InheritedWidget ancestor changes (#5656) 2016-08-30 08:51:28 -07:00
Hans Muller
119758b822 Make the suspended gallery task bar gray (#5651) 2016-08-29 14:59:10 -07:00
Hans Muller
c76decb842 Update Scrollable scrollBehavior when ScrollConfiguration changes (#5647) 2016-08-29 14:36:53 -07:00
Ian Hickson
ea6bf4706a Fix the losing of state when pushing opaque routes (#5624)
Fixes https://github.com/flutter/flutter/issues/5283

Other changes in this patch:

Rename OffStage to Offstage.
Fixes https://github.com/flutter/flutter/issues/5378

Add a lot of docs.

Some minor punctuation and whitespace fixes.
2016-08-29 11:28:37 -07:00
Ian Hickson
43d0eeb8e1 Update the docs for hitTest() (#5520) 2016-08-29 11:25:39 -07:00
Ian Hickson
dd2251ecf5 Fix some hero observer bugs (#5633)
1: If a route is already dismissed when it's popped, there's no point
trying to animate heroes, because it's going to be gone before the
heroes code can look at it.

2: If a hero animation finishes just as a new one is starting, we
previously blew away the state for the starting one. Now we correctly
segregate the "starting up quest" variables from the "actively ongoing
quest" variables.
2016-08-29 10:35:18 -07:00
Ian Hickson
4db096ab4e Some cleanup in the heroes realm. (#5559) 2016-08-26 17:47:12 -07:00
Hans Muller
d0e72d616b Prevent looking up inherited widget values from initState() (#5609) 2016-08-26 15:19:46 -07:00
Ryan Macnak
fa8dc5f88b Do not truncate commands, this inhibits reproduction. (#5607) 2016-08-26 14:48:21 -07:00
Dragoș Tiselice
b8980aeb35 Added expansion panels. (#5523)
Added ExpansionPanel and ExpansionPanelList. The implementation
is based on the Material design spec, without enforcing every
facet of it, leaving the developer using this the liberty to
enforced it lower down the widget tree. This decision was made
based on the argument that implementing more of the spec would
reduce flexibility to a point where some design would not be
implementable with this widget anymore.
2016-08-26 14:27:18 -07:00
Ian Hickson
c4c8019135 GlobalObjectKey should be generic (#5619)
Somehow we missed this before.

Fixes https://github.com/flutter/flutter/issues/5615
2016-08-26 13:32:23 -07:00
Ian Hickson
934189d02d don't clear the dirty bit of an inactive node (#5614)
Fixes https://github.com/flutter/flutter/issues/5588
2016-08-26 13:32:17 -07:00
Alexandre Ardhuin
886f588df6 Update gradle.dart (#5610) 2016-08-26 07:51:37 -07:00
Dan Rubel
194a9ef3c9 implement flutter packages get/upgrade command (#5603)
* implement flutter packages get/upgrade command
* alias flutter pub
* refactor findProjectRoot for use by multiple commands

fixes https://github.com/flutter/flutter/issues/4994
2016-08-25 22:37:48 -04:00
Chris Bracken
b5f763b45e Support a configurable build directory (#5601)
This change adds a top-level getBuildDirectory func and funcs for
android, aot, asset, ios build products.

Developers may now add a "build-dir" mapping to their
~/.flutter_settings (JSON format) config file. Output directory is
relative to the main flutter application directory.

This change also changes the default build directory for iOS builds to a
subdirectory of the configured build directory, 'build/ios' by default.
2016-08-25 16:38:19 -07:00
John McCutchan
852a00a17b Detect when isolate reload is barred and inform the user (#5602) 2016-08-25 14:23:13 -07:00
Dan Rubel
e47e937682 add flutter channel command (#5561)
* add flutter channel command
fixes https://github.com/flutter/flutter/issues/2513

* fix test

* address comments

* remove unused imports

* fix lints
2016-08-25 15:16:21 -04:00
Dan Rubel
1ea2f4030e enhance flutter upgrade to find project root (#5552)
* enhance flutter upgrade to find project root
fixes https://github.com/flutter/flutter/issues/2990

* address comments

* restore original formatting

* fix lints
2016-08-25 14:59:12 -04:00
Dan Rubel
5f7af56f3e modify runCommandAndStreamOutput to wait until stdout (#5596)
has been fully processed before completing the returned future.
This helps prevent tests that rely on stdout from being flaky.
2016-08-25 14:55:54 -04:00
Matt Perry
f1d5fd8c0d Simple version of the iOS back gesture. (#5512)
Doesn't do any of the fancy effects. Just lets the user control the
back transition by sliding from the left, like a drawer. Hero
transitions are disabled during the gesture.

BUG=https://github.com/flutter/flutter/issues/4817
2016-08-25 14:30:50 -04:00
Yegor
4805d9276a create build directory for startup trace if missing (#5589) 2016-08-24 16:56:26 -07:00
Yegor
0e63e470e4 Revert "Detect when isolate reload is barred and inform the user (#5582)" (#5590)
This reverts commit 09e68c33ccdb355fedd75a8716de0551c772f2de.

AOT snapshotter is broken at this engine rev.

https://flutter-dashboard.appspot.com/api/get-log?ownerKey=ahNzfmZsdXR0ZXItZGFzaGJvYXJkclgLEglDaGVja2xpc3QiOGZsdXR0ZXIvZmx1dHRlci8wOWU2OGMzM2NjZGIzNTVmZWRkNzVhODcxNmRlMDU1MWM3NzJmMmRlDAsSBFRhc2sYgICAgICAwAgM
2016-08-24 16:56:10 -07:00
John McCutchan
09e68c33cc Detect when isolate reload is barred and inform the user (#5582) 2016-08-24 15:36:17 -07:00
Chinmay Garde
1852fdcca8 Fix escaping of spaces when passing launch arguments to the iOS device. (#5574)
`Process.start` seems to be escaping as needed.
2016-08-24 12:57:29 -07:00
Dan Rubel
f6c53d58cd Test create proj content (#5546)
* test flutter create project dart file is properly formatted

* restore driver-test

* cleanup lint warnings

* address comment
2016-08-24 14:47:29 -04:00
Ian Hickson
3d91de84a4 Clarify setState docs (#5558) 2016-08-23 16:03:44 -07:00
Hans Muller
310a981912 Handle dragging a bottom sheet past the bottom (#5541) 2016-08-23 15:56:49 -07:00
Chris Bracken
81d672688d Emit iOS build products under $SYMROOT (#5560)
Previously, `flutter build` products were emitted to build/ and only
xcode build products were emitted to $SYMROOT.
2016-08-23 14:08:59 -07:00
Todd Volkert
5f44b2d4e5 Make flutter build ios --simulator default to debug builds (#5540) 2016-08-22 17:14:30 -07:00
Chris Bracken
bfbbef108d Prevent hangs due to bad import/export directives (#5538)
If the input test script contains a bad import, sky_shell will fail to
execute main(), in which case a connection to /runner is never
established and the _ServerInfo.socket never completes.

This change works around this by issuing a request on /shutdown when
sky_shell exits.
2016-08-22 15:30:10 -07:00