8734 Commits

Author SHA1 Message Date
Jason Simmons
e967b4b3c5 Improve the year selector UI in the date picker (#11214)
Fixes https://github.com/flutter/flutter/issues/10917
2017-07-14 15:08:10 -07:00
Michael Goderbauer
6ac0f61234 Gallery: remove unused code and a11y fix (#11209) 2017-07-14 14:44:11 -07:00
Siva Chandra
28d09d1614 Fix style issues introduced by dba29aa0fce684b201c6b03efc73ba607c7b507b (#11203) 2017-07-14 13:51:16 -07:00
Todd Volkert
535a364c2a Add more docs to OrientationBuilder (#11233) 2017-07-14 11:54:20 -07:00
Phil Quitslund
05562d5734 Quiet debug test runner output when in machine mode. (#11228)
* Quiet debug test runner output when in machine mode.

See: https://github.com/flutter/flutter-intellij/issues/1176

* json => machine
2017-07-14 11:20:50 -07:00
Todd Volkert
547708b327 Roll engine to f56da86f9807a7d4c924cdb5a28d77baad0537b1 (#11219) 2017-07-13 18:08:14 -07:00
Jason Simmons
38606a7db6 Update the docs for the flutter_tools tests (#11218) 2017-07-13 17:38:11 -07:00
Chris Bracken
862b33ec7a Declare missing dependencies in pubspec (#11217)
flutter_tools depends on cli_util, plugin, and stream_channel but hadn't
explicitly declared them as dependencies.
2017-07-13 17:29:52 -07:00
Todd Volkert
4196582708 Bump file,process,platform to newest versions (#11211) 2017-07-13 16:59:18 -07:00
Chris Bracken
cf96c7db4a Clean up orphaned Instruments processes (#11189)
In some cases, we've seen interactions between Instruments and the iOS
simulator that cause hung instruments and DTServiceHub processes. If
enough instances pile up, the host machine eventually becomes
unresponsive.

Until the underlying issue is resolved, manually kill any orphaned
instances (where the parent process has died and PPID is 1) before
launching another instruments run.
2017-07-13 16:19:11 -07:00
Devon Carew
bde8a5f5a6 move away froma deprecated method (#11215) 2017-07-13 16:18:40 -07:00
Jason Simmons
14648e9bae Suppress an analyzer warning about cli_util.getSdkDir deprecation (#11213) 2017-07-13 15:48:11 -07:00
Jason Simmons
803cc7bc6a Pin package versions used by devicelab to match other Flutter components (#11212) 2017-07-13 15:28:34 -07:00
Ian Hickson
be9dd4b28e Remove mention of directly landing on master (#11190)
It's probably too much of a foot gun.

Also, emphasize what you have to do in case people didn't read the design principles document.
2017-07-13 10:23:29 -07:00
Michael Goderbauer
cb35a1c728 Tiny a11y fix for Gallery (#11187) 2017-07-13 09:50:37 -07:00
Alexandre Ardhuin
f2809423cd fix examples/layers/widgets/gestures.dart (#11138)
* fix examples/layers/widgets/gestures.dart

* use a list of colors to avoid error prone in elseif

* address review comments

* add tests

* keep index to lower complexity

* address review comments
2017-07-13 09:16:03 +02:00
xster
92750833d5 Stop sending cocoapods stats (#11120)
* Disable cocoapods stats

* Add a comment for code readers

* fix new test
2017-07-12 19:15:54 -07:00
xster
6a49419be4 Create Podfile dynamically part 1 (#11101)
* start

* with create

* refactor cocoapod code, add tests

* fix tests

* throw when cocoapod missing

* obj-c projects don’t use use_framework!
2017-07-12 18:35:08 -07:00
Chris Bracken
0adb39ae9b Avoid concurrent device polling in daemon; add timeout (#11184)
Apply a 30 second timeout to Android/iOS device polling.

If there's a device poll already in progress, skip polling for new
devices; wait for the first request to return/timeout.
2017-07-12 17:57:15 -07:00
Michael Goderbauer
ae90581124 Fix build (#11186)
Was broken by dba29aa0fc, which apprently has been pushed directly to master without running through Travis?
2017-07-12 17:24:38 -07:00
Siva Chandra
dba29aa0fc Select the correct conditional import when building dart dependencies.
Fixes #9413.

For more info on conditional imports, see
https://github.com/munificent/dep-interface-libraries/blob/master/Proposal.md.
2017-07-12 16:30:14 -07:00
Yegor
832c0f1f03 unlock device and pass JAVA_HOME to instrumentation test (#11174) 2017-07-12 12:37:22 -07:00
Todd Volkert
be9f99a8b7 Minor clarifications in docs (#11171) 2017-07-12 11:48:27 -07:00
Filip Hracek
39d2deb4a7 Fix missing animated gif in README (#11173)
Github makes own copies of images referenced in README, and that fails for large image sizes. The gif has 6MB and so is over the threshold.

Instead of using an off-GitHub image, use the same image uploaded to user-images.githubusercontent.com. This makes GitHub show the image even when it's very large.

This reverses https://github.com/flutter/flutter/pull/11170 and finalizes https://github.com/flutter/flutter/pull/11158.
2017-07-12 10:58:12 -07:00
Filip Hracek
78c196061a Remove broken image in README (#11170)
Github makes copies of images referenced in README, and it fails for large image sizes. The gif has 6MB and so is over the threshold.

This removes the image until I can figure out how to reinsert it so that it shows.
2017-07-12 10:21:37 -07:00
Filip Hracek
53e2353f16 Expand and prettify README.md (#11158)
Reuses flutter.io homepage content to give README.md an upgrade, since this file will be the shop window of Flutter to a large part of newcomers. 

The downside is that we now have duplicate content that should be updated in unison with the main site but which cannot be easily copy-pasted, due to constraints of github's Markdown renderer.
2017-07-12 10:12:25 -07:00
Todd Volkert
77da737847 Bump intl to 0.15.1 (#11162)
* requires bumping `process` to a version that has
  relaxed version restrictions on `intl`

https://github.com/flutter/flutter/issues/10650
2017-07-11 21:11:26 -07:00
Michael Goderbauer
b3815fafc3 Don't pollute Travis log with Google Cloud SDK installation (#11159)
* Don't pollute Travis log with Google Cloud SDK installation

* review comments
2017-07-11 20:47:58 -07:00
Michael Goderbauer
6a05f0407e Fix build by bumping package:file (#11160) 2017-07-11 16:35:01 -07:00
Ryan Macnak
e4bcc7e762 Roll engine to 431a2511513186b06c4ef32d8abbb3d9b937e5d6. (#11157) 2017-07-11 15:37:59 -07:00
Michael Goderbauer
7b90bdc908 Make DropDown accessible (#11149) 2017-07-11 15:23:21 -07:00
Michael Goderbauer
792c98751f a11y fix for list_demo.dart (#11142)
* a11y fix for list_demo.dart

* fix semantics of persistant bottom sheet
2017-07-10 17:37:21 -07:00
Yegor
18d9b20ffb add Android instrumentation test (#11063)
* add Android instrumentation test

* add devicelab test

* add to manifest.yaml

* rename _smoke_test.dart to _smoketest.dart to prevent flutter test from picking it up

* volatile fields; style fixes

* use ConditionVariable; fix sh script
2017-07-10 17:20:49 -07:00
Todd Volkert
7f0c98ab0b Don't run coverage or docs in OS-X Travis instance (#11144) 2017-07-10 16:20:14 -07:00
Todd Volkert
4d706ef1a3 Enable OS-X testing on Travis (#11141)
Fixes #7894
2017-07-10 15:30:37 -07:00
Todd Volkert
d82ca0f6d0 Make analysis of sample code work in OS-X (#11139)
The output of the analyzer gives the full path to the Dart file, so
we had to adjust the string matching to account for that.

https://github.com/flutter/flutter/issues/7894
2017-07-10 14:42:45 -07:00
Yegor
a796438086 fix routing_test by making it less sensitive to whitespace (#11137) 2017-07-10 13:03:03 -07:00
Michael Goderbauer
561e7773c2 Fix path to flutter_tester when using local enginde on Mac OS (#11134) 2017-07-10 12:34:04 -07:00
Todd Volkert
926a096efd Minor fixes in tools: (#11009)
* Include the process' `stdout` and `stderr` when it returns a
  non-zero exit code in `runCheckedAsync()`
* Defensively catch errors in `AndroidDevice.isAppInstalled()`
  and return false
2017-07-10 10:02:11 -07:00
Devon Carew
0ac2232eda normalize the reload result messages (#11131) 2017-07-10 09:53:14 -07:00
Seth Ladd
834fbcb867 Run target analytics (#10902)
* report run target and if it is an emulator

* don't print debug

* rename parameter, remove unused variable

* fix test

* fix comment

* tweak from review, and fix analyzer error

* send custom parameters for the event, not the session

* fix mock

* use the +1 for usage
2017-07-10 06:45:41 -10:00
Devon Carew
4891506931 add a --machine mode to flutter config (#11112)
* add a --machine mode to flutter config

* review feedback
2017-07-07 16:00:45 -07:00
Devon Carew
40a65e1fe5 minor tweaks to the output for flutter_tools (#11115)
* minor tweaks to the output for flutter_tools

* update test expectations
2017-07-07 16:00:27 -07:00
Todd Volkert
63d250061d Re-enable doc uploading on Travis (#11118)
https://github.com/flutter/flutter/issues/10940
2017-07-07 15:36:36 -07:00
Michael Goderbauer
d96614760b Revert "Roll engine to 9117705b3653565a240314481c63eb93090f7232" (#11117)
* Revert "test missed a mock (#11098)"

This reverts commit 1a01de9ab36ebfeb627c505ab582dd37329bbbb5.

* Revert "Roll engine to 9117705b3653565a240314481c63eb93090f7232 (#11114)"

This reverts commit 12b395280b43e363f4d6ca2e9da3a6314677b634.
2017-07-07 15:12:59 -07:00
xster
1a01de9ab3 test missed a mock (#11098) 2017-07-07 14:01:28 -07:00
Michael Goderbauer
12b395280b Roll engine to 9117705b3653565a240314481c63eb93090f7232 (#11114) 2017-07-07 13:26:35 -07:00
Michael Goderbauer
ee632c3919 Exclude modal barrier from semantics on Android (#11024)
* Exclude modal barrier from semantics on Android

* Add tests
2017-07-06 10:15:03 -07:00
xster
47c4d64f01 Match non-linear overscroll spring to iOS (#11065)
* Make the drag resistance non-linear

* Let the easing of overscroll have a spring effect too

* Add tests and prevent possible drift by having a slightly smaller resistance when easing the overscroll

* lint
2017-07-05 18:39:22 -07:00
Chris Bracken
e6bafd0bdb Support space- and backslash-escaped dependencies (#11090)
Snapshot dependency files now backslash-escape dependency paths
containing spaces and backslashes.

See: https://codereview.chromium.org/2966903003/
2017-07-05 16:36:12 -07:00