8722 Commits

Author SHA1 Message Date
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
Michael Goderbauer
177cf91260 Roll dart to 1.25.0-dev.4.0 (#11089) 2017-07-05 16:26:11 -07:00
Ian Hickson
58718e8bc7 Revert checked-mode patch. (#11086) 2017-07-05 15:34:02 -07:00
Chris Bracken
b5e522e200 Skip AOT snapshot build if inputs are unchanged (#11084)
Previously, the snapshot file was recomputed on every build. We now
record checksums for all snapshot inputs (which are catalogued in the
snapshot dependencies file output alongside the snapshot) and only
rebuild if the checksum for any input file (or the previous output file) has
changed.
2017-07-05 12:49:29 -07:00
Michael Goderbauer
678c31f14c Fail doctor check "Flutter" if sub-check fails (#11087)
See https://github.com/flutter/flutter/issues/11051
2017-07-05 12:11:02 -07:00
Collin Jackson
1b20dbc6dd Improve ExpansionTile docs (#11034) 2017-07-04 18:37:14 -07:00
Ian Hickson
5f20f83415 Always run the flutter tool in checked mode. (#11069)
(Needs https://github.com/dart-lang/sdk/issues/28519)
2017-07-02 09:34:31 -07:00
Ian Hickson
7ba1879bfc Automatic silver keep alive (#11067)
* AutomaticKeepAlive

A Widget that listens for notifications from widgets that don't want to die.

* Automatically wrap SliverList and SliverGrid children in AutomaticKeepAlive widgets

* Fixes for review comments
2017-07-01 14:16:36 -07:00
Chris Bracken
1438ae85a3 Skip snapshot build if inputs are unchanged (#11047)
Previously, the snapshot file was recomputed on every build. We now
record checksums for all snapshot inputs (which are catalogued in the
snapshot dependencies file output alongside the snapshot) and only
rebuild if the checksum for any input file has changed.
2017-06-30 16:09:48 -07:00
Jason Simmons
eb668c3f64 Keep text selection ranges within the length of the text (#11055)
Fixes https://github.com/flutter/flutter/issues/11041
2017-06-30 14:50:11 -07:00
Ian Hickson
2c4ec1c9c2 Avoid self-referential imports. (#11045)
And add a test to verify we don't do this again.
2017-06-30 14:42:22 -07:00
Todd Volkert
f02e9acc33 Add known physical device that would otherwise look like an emulator (#11056)
https://github.com/flutter/flutter/issues/10203
2017-06-30 13:48:24 -07:00
Chris Bracken
c1c1522591 Make _createSnapshot private, depfilePath required (#11054)
* Only one call to createSnapshot exists, and it's in the same library.

* Eliminate conditional logic around the presence of depfilePath, the
  only existing call always passes a non-null depfilePath.
2017-06-30 12:48:12 -07:00