7937 Commits

Author SHA1 Message Date
Hans Muller
90799e4479 Fix selected tab indicator tap animation (#8939) 2017-03-22 10:40:10 -07:00
Jakob Andersen
f12e382575 Add more logging to diagnose test failures. (#8951) 2017-03-22 14:50:17 +01:00
Jakob Andersen
f79b333882 Remove unnecessary Android SDK checks. (#8926)
* Remove unnecessary Android SDK checks.

* Remove unused accessors, skip replay test.
2017-03-22 13:51:28 +01:00
Sarah Zakarias
972da54320 Refactor platform_services sample (#8949)
* Refactor platform_services sample

* removed exception
2017-03-22 13:18:38 +01:00
Sarah Zakarias
9adf1bf1b6 Open storyboard documents in Xcode 7 format (#8946) 2017-03-22 10:38:00 +01:00
Michael Thomsen
15e51a9e3e Revert "Update gradle wrapper and build-tools version for flutter create." (#8940)
* Revert "use color.shadeXxx instead of color[Xxx] (#8932)"

This reverts commit 578ca0a295c83d5be00de28f4ab62968a762df71.

* Revert "add missing const keyword (#8931)"

This reverts commit fac2fac1d67708da14364dc90f40e06130da9d21.

* Revert "Make min/max fling velocity and min fling distance ScrollPhysics properties (#8928)"

This reverts commit dac80aac89959a57194d96ffe06211b3faffc907.

* Revert "Defer to operating system for whichAll (#8921)"

This reverts commit 14933de986b1264015ea69442603520cff969650.

* Revert "Update gradle wrapper and build-tools version for flutter create. (#8914)"

This reverts commit deb71cc6dcf45297ab4fb6e6ccf3d14fb05be9ab.
2017-03-21 17:42:40 -07:00
Alexandre Ardhuin
578ca0a295 use color.shadeXxx instead of color[Xxx] (#8932)
* use color.shadeXxx instead of color[Xxx]

* remove calls to .shade500 on MaterialColor

* remove calls to .shade200 on MaterialAccentColor

* fix test
2017-03-21 23:14:55 +01:00
Alexandre Ardhuin
fac2fac1d6 add missing const keyword (#8931) 2017-03-21 21:07:36 +01:00
Hans Muller
dac80aac89 Make min/max fling velocity and min fling distance ScrollPhysics properties (#8928) 2017-03-21 11:00:04 -07:00
Michael Goderbauer
14933de986 Defer to operating system for whichAll (#8921)
The old `whichAll` implementation was not considering different extensions for executables on Windows. By defering to OS-built-in tools we avoid implementing it.

Fixes #8882.
2017-03-21 10:23:44 -07:00
asaarnak
deb71cc6dc Update gradle wrapper and build-tools version for flutter create. (#8914)
* Update gradle wrapper and build-tools version.

Tested manually by "flutter create" with Idea "flutter run" and from android studio "run" android app.

* Update com.android.tools.build to 2.3.0
2017-03-21 16:47:32 +01:00
Adam Barth
d443d598c2 Align TextEditingValue and InputValue (#8922)
This patch prepares us to remove InputValue in favor of TextEditingValue.
2017-03-20 17:18:35 -07:00
Michael Goderbauer
d35a9db6fe Avoid downloading artifacts twice (#8872)
* Avoid downloading artifacts twice

* Don't update cache before `flutter upgrade` is executed (`flutter upgrade` might bump the engine version)
* Don't update cache twice during `flutter precache`

Fixes #8249.

* add test
2017-03-20 17:09:59 -07:00
Adam Barth
269538df58 Add a constant for padding in a Material ListView (#8918)
Fixes #8235
2017-03-20 16:18:41 -07:00
Adam Barth
31fd74230e Add Design Discussion to State.build docs (#8916)
Fixes #8794
2017-03-20 16:18:32 -07:00
Adam Barth
a111551b24 Document that Material clips (#8915)
Fixes #8519
2017-03-20 16:17:27 -07:00
Adam Barth
97816e1571 Rename Dismissable to Dismissible (#8919)
The latter is the proper spelling.

Fixes #8883
2017-03-20 16:17:08 -07:00
Ian Hickson
11c2032a4e Run both regular and --watch analysis on Travis (#8913)
We keep breaking --watch because we don't test it.
2017-03-20 16:16:34 -07:00
Jason Simmons
8aa4314930 Render Material using a PhysicalModel with optional compositing (#8920) 2017-03-20 16:00:47 -07:00
Jason Simmons
09b6850499 roll engine (#8917) 2017-03-20 15:25:27 -07:00
Adam Barth
1c69fa7eac Reference SizeChangedLayoutNotifier from SizeChangedLayoutNotification (#8887)
Fixes #7520
2017-03-20 14:50:02 -07:00
Sarah Zakarias
d1f73fd0ad Add integration test for the Platform Services app (#8826) 2017-03-20 22:19:03 +01:00
Adam Barth
142922deb4 Add WidgetTester.hasRunningAnimation (#8886)
Fixes #4017
2017-03-20 13:32:00 -07:00
Adam Barth
9c8763368f Fixed extent lists cannot handle infinite extent (#8885)
Previously they tried to compute an integer target end index, but
integers can't represent infinity. Now we use null to represent
infinity.

Also, fix some similar issues with grids.

Fixes #8398
2017-03-20 12:45:52 -07:00
Adam Barth
e836a84e30 Add Image.memory for making images from typed data (#8877)
Fixes #7503
Fixes #8870
2017-03-20 11:14:41 -07:00
Michael Goderbauer
9056ded298 remove work around for https://github.com/dart-lang/sdk/issues/28599 (#8865) 2017-03-20 10:30:30 -07:00
Jakob Andersen
03f053a738 Update complex_layout and microbenchmarks to Gradle build. (#8890) 2017-03-20 16:15:02 +01:00
Jakob Andersen
7b2367ed5f Remove legacy .apk build. (#8793)
* Remove legacy .apk build.

Print out an error message telling the user to upgrade the project if
it's not Gradle-based. Removed all the obvious traces of the legacy
build.

Added support for Dart VM kernel snapshots in Gradle builds.

Fixed Android installs to verify that the app is actually installed, and
not just rely on the presence of the .sha1 file.
2017-03-20 11:05:55 +01:00
Adam Barth
3fc7265ad5 Switch from Size.isInfinite to Size.isFinite (#8868)
Fixes #4301
2017-03-19 16:04:38 -07:00
David Yang
f1c2d78455 Updating Cupertino Button MinSize to comply with iOS guidelines (#8881)
The recommended minimum tappable area is actually 44.0pt according to the [iOS Human Interface Guidline](https://developer.apple.com/ios/human-interface-guidelines/visual-design/layout/).

> Provide ample spacing for interactive elements. Try to maintain a minimum tappable area of 44pt x 44pt for all controls.

I've also added an override to allow for flexibility in situations where designers get naughty and have a desire to make everything super small.
2017-03-19 05:19:40 -07:00
Zachary Anderson
87334eb424 [fuchsia_reload] Add flag to override on-device binary name (#8873) 2017-03-18 21:34:01 -07:00
Adam Barth
c95e73418f Adds support for custom fonts for icons (#8880)
This update adds support for custom fonts in icons. As an example, it
can be used with the icon-set from https://materialdesignicons.com

Thanks to @vlidholt for the original patch.

Fixes #4494
Fixes #3199
2017-03-18 14:09:51 -07:00
Adam Barth
3e37b1ef13 Update engine (#8879) 2017-03-18 13:59:41 -07:00
Michael Goderbauer
80ab0f64b4 Remove addFrameCallback (#8874)
Fixes #7793.
2017-03-17 16:41:34 -07:00
Jason Simmons
808cd092a0 Handle malformed UTF-8 in logcat streams (#8864) 2017-03-17 15:32:59 -07:00
Hans Muller
031e042eee Now each Colors.foo constant is-a Color and a color swatch (#8833) 2017-03-17 15:24:54 -07:00
Adam Barth
5cf04b6141 Rename ImageFit to BoxFit (#8871)
This machinery is useful for arbitrary boxes (e.g., with FittedBox).

Fixes #6463
2017-03-17 15:21:55 -07:00
Hans Muller
d1f4822e07 Verify that stateful hero state persists mid-flight (#8817) 2017-03-17 15:00:58 -07:00
Adam Barth
d52c0a8f18 Add some @required annotations to transitions.dart (#8866)
Fixes #6382
2017-03-17 14:39:34 -07:00
Adam Barth
6e20d62b9e Add dartdocs to scroll_view.dart (#8846) 2017-03-17 13:26:40 -07:00
Phil Quitslund
e58801cc99 Git ignore vscode .history files. (#8854)
The excellent `local-history` plugin for vscode, saves history in `.history` files; this ignores them.

See: https://marketplace.visualstudio.com/items?itemName=xyz.local-history
2017-03-17 12:38:57 -07:00
Michael Goderbauer
9781f1aff0 make hot_mode_dev_cycle benchmark run in verbose mode (#8862) 2017-03-17 12:16:19 -07:00
Phil Quitslund
3af9ce884d Stop ignoring strong_mode_down_cast_composites (#8783) (#8853)
Fixes: #8783
2017-03-17 09:49:43 -07:00
Adam Barth
ef43d00045 Ignore some missing plugins. (#8852)
Fixes #8850
2017-03-17 09:40:58 -07:00
Devon Carew
9f770ec8a3 update IntelliJ metadata (#8844) 2017-03-17 09:39:18 -07:00
Mikkel Nygaard Ravn
dce4bf8599 Remove old platform messaging API (#8837)
Breaking change: removed deprecated methods of PlatformMessages, leaving only binary messaging there. All other use of platform communication now goes through PlatformMessageChannel and PlatformMethodChannels. Retained use of String and JSON codecs for now.

Companion engine PR: flutter/engine#3482
2017-03-17 11:56:50 +01:00
Jakob Andersen
3d3900871a Make sure local.properties file is created before calling gradle. (#8847)
Fixes #8821
2017-03-17 09:13:58 +01:00
Alexandre Ardhuin
a0769f2488 apply the upcoming rule unnecessary_this (#8838) 2017-03-17 08:05:42 +01:00
Alexandre Ardhuin
90aa2957fe replace const Duration() with Duration.ZERO (#8835) 2017-03-17 08:04:48 +01:00
Adam Barth
6cd552fe69 Add a couple dartdocs (#8841) 2017-03-16 22:19:11 -07:00