7928 Commits

Author SHA1 Message Date
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
Chris Bracken
60bb5d43dd Roll engine to 4a5a32466958dab49b9940e4528ee6d523f4a5ac (#8843) 2017-03-16 19:35:01 -07:00
Michael Goderbauer
c9a9c627b6 Remove nasty ANSI workaround for Windows (#8839)
The problem has been fixed upstream in the Dart VM.

This simplifies our setup instructions on Windows (will update the wiki).
Furthermore, this also means that going forward there is no diffrence between PowerShell and Cmd for the Flutter experience on Windows.
2017-03-16 18:04:14 -07:00
Michael Goderbauer
2291a56842 Remove support for function keys. (#8840)
Function keys don't work great on any platform we support:
* Mac doesn't have first-class function keys.
* On Ubuntu: F1 opens the system help and F10 opens the file dialog.
* ... and Windows is a mess as well.
2017-03-16 18:00:21 -07:00
Michael Goderbauer
fac0fe35ba fix build (#8842) 2017-03-16 17:53:48 -07:00
Michael Goderbauer
0550c2f021 Remove workaround for SIGINT (#8834)
It's no longer needed with the latest Dart SDK roll.
2017-03-16 15:10:20 -07:00
Ian Hickson
2bbe82ef30 Increase timeout and verbosity to diagnose devicelab failure (#8832) 2017-03-16 15:02:43 -07:00
Zachary Anderson
9a068c65e4 [fuchsia_reload] Find and attach to the first instance of the named app (#8830) 2017-03-16 14:35:53 -07:00
Phil Quitslund
41d996851b Escalate missing_return hints to warnings (#8825)
Fixes: https://github.com/flutter/flutter-intellij/issues/808
2017-03-16 14:28:18 -07:00
Phil Quitslund
cf08b44ee6 Update to Dart SDK 1.23.0-dev.9.0. (#8829)
Fixes: #8812
2017-03-16 14:26:15 -07:00