Ryan Macnak
fce76bcfd6
Revert "Update --local-engine to account for changed host architecture of 32-bit Android debug builds. ( #11251 )" ( #11259 )
...
This reverts commit 3f514fcfdf573c86378ae30c38bbfd21ec15b9f1.
2017-07-17 13:47:03 -07:00
Carlo Bernaschina
16ae29b56d
Revert "Register tools as a reloadSources service ( #11229 )" ( #11256 )
...
This reverts commit 35c4989795b3b12d07d3f0be1f27878a5895ac5d.
2017-07-17 13:05:16 -07:00
Carlo Bernaschina
35c4989795
Register tools as a reloadSources service ( #11229 )
...
* Register tools as a reloadSources service
* Fix code style and comments
* Fix nits and Add documentation
* Format error message
2017-07-17 12:31:43 -07:00
Ryan Macnak
3f514fcfdf
Update --local-engine to account for changed host architecture of 32-bit Android debug builds. ( #11251 )
...
Roll engine to 7480e32854606e554ae37f8bd241c050bdc565c4.
2017-07-17 12:20:14 -07:00
Todd Volkert
b7ababe68c
Remove unused DevFsProgressReporter ( #11249 )
...
Discovered dead code during review of #10791
2017-07-17 09:30:56 -07:00
Siva Chandra
28d09d1614
Fix style issues introduced by dba29aa0fce684b201c6b03efc73ba607c7b507b ( #11203 )
2017-07-14 13:51:16 -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
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
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
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
6a05f0407e
Fix build by bumping package:file ( #11160 )
2017-07-11 16:35:01 -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
xster
1a01de9ab3
test missed a mock ( #11098 )
2017-07-07 14:01:28 -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
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
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
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
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
xster
c1e3b75cc2
Verbose cocoapods output if error or flutter is verbose ( #11048 )
...
* Output verbose cocoapods output when pod install has an error or if flutter build/run is in -v
* remove repeated stdout
2017-06-30 11:17:48 -07:00
Brian Slesinsky
6841ab22be
Add --name and --plain-name to 'flutter test' ( #11020 )
...
This adds a way to run only a subset of the tests.
(The new flags do the same thing as 'pub run test'.)
2017-06-29 17:26:19 -07:00
Devon Carew
94e14f0c5a
increase the timeout for service discovery ( #10965 )
...
* increase the timeout for service discovery
* remove the timeout for discovering service ports
2017-06-29 14:35:20 -07:00
xster
be228eae78
Add a dev mode doctor check ( #11023 )
2017-06-29 11:54:18 -07:00
Michael Thomsen
0f726490e1
Update MainActivity.kt.tmpl ( #11033 )
...
Remove terminating semicolons; they are causing an "code inspection warning" in Android Studio:
```
This inspection reports redundant semicolon (';') token which is not required in Kotlin and may be removed.
```
2017-06-29 16:38:25 +02:00
Mikkel Nygaard Ravn
021a9ee2a2
Fix bug in prev commit ( #11030 )
2017-06-29 12:19:45 +02:00
Mikkel Nygaard Ravn
030abfd49a
Provide user feedback on slow Gradle operations ( #11015 )
2017-06-29 11:54:03 +02:00
Mikkel Nygaard Ravn
a106f504c7
Make flutter drive await app reinstall ( #11029 )
2017-06-29 11:23:27 +02:00
Mikkel Nygaard Ravn
1731a16d81
Make consistent use of gradle wrapper ( #10993 )
2017-06-29 09:48:01 +02:00
xster
57746f38c0
Guess sign iOS with the first certificate when running in machine mode ( #10870 )
...
* Guess sign with the first certificate when multiple are available in machine mode
* review
2017-06-28 13:33:14 -07:00
Chris Bracken
a41e354a55
Emit CocoaPods output if pod install fails ( #11018 )
...
In the case where the CocoaPods 'pod install' step fails, emit its
stdout to provide any potentially-useful error messages to the user.
2017-06-28 11:58:06 -07:00
Chris Bracken
bb732b4655
Add tests for xcodeVersionSatisfactory ( #10981 )
...
And fix a typo in a test description.
2017-06-26 14:34:44 -07:00
Chris Bracken
e04907a48b
Ensure Xcode major, minor version always return non-null ( #10980 )
...
Previously, xcodeMajorVersion and xcodeMinorVersion returned null unless
xcodeVersionSatisfactory had been called first. We now compute them on
demand, and cache the resultant values.
2017-06-26 13:37:59 -07:00
Chris Bracken
5141c1e8e9
Add test for unknown Xcode version string ( #10979 )
...
Also, correct an existing test description.
2017-06-26 13:11:49 -07:00
Mikkel Nygaard Ravn
c5999c74c0
Add gradle wrapper to project template ( #10928 )
2017-06-26 12:47:43 +02:00
Devon Carew
f946171817
update our build bot exclusions ( #10964 )
2017-06-25 21:17:39 -07:00
Chris Bracken
2ebb9e5dc6
Use ProcessManager for Xcode tool invocations ( #10955 )
...
1. Run all Xcode tool invocations through ProcessManager, which allows
us to mock out failures, etc. for tests.
2. Add said tests.
2017-06-23 18:50:27 -07:00