Jakob Andersen
3676ffe477
Fix bug parsing Gradle version. ( #8326 )
...
* Fix bug parsing Gradle version.
Version from pub_semver requires versions of the format X.Y.Z. Gradle
doesn't follow semantic versioning, though, so version parsing would
fail on versions like '3.2'. Fixed by writing a custom Version class.
Also removed a check for apksigner when building Gradle-based projects.
Fixes #8298
2017-02-22 11:53:32 +01:00
Michael Goderbauer
7db8241a6d
Revert "Revert "Replace jarsigner with apksigner" ( #8164 )" ( #8320 )
...
This reverts commit 70d7fe3a0d
.
The Java version missmatch on the bots has been resolved.
2017-02-21 16:26:30 -08:00
Todd Volkert
0d2c9670fd
Resolve TODOs to migrate from OperatingSystemUtils to Platform ( #8314 )
2017-02-21 15:11:49 -08:00
Alexandre Ardhuin
2888139c6b
prefer const constructor ( #8292 )
2017-02-20 14:07:16 -08:00
Michael Goderbauer
cd8434d931
Refactor how Artifacts are located ( #8234 )
...
Artifacts are now located in a central place.
This will enable us to downlaod artifacts when we need them (instead of
downloading them all upfront).
This also makes replacing sky_snapshot with gen_snapshot easier.
2017-02-16 23:10:11 -08:00
Michael Goderbauer
a55a745c73
Fail tests with an actionable message when FLUTTER_ROOT is not set ( #8236 )
...
Also: Fix some analyzer warnings.
2017-02-16 18:50:28 -08:00
Todd Volkert
b59982eccd
Properly await future when starting app in daemon mode ( #8227 )
...
Fixes #8209
2017-02-16 16:46:38 -08:00
Ryan Macnak
9ec5330f32
Roll engine to ab0953092743319e0dde3a0c8f582d261c232964. ( #8223 )
...
Update stack_trace_test.dart for changes to the naming of async body functions.
2017-02-16 16:13:17 -08:00
Ian Hickson
03ae2cf366
Catch crashes during or before coverage collection. ( #8207 )
...
This assumes a fix to https://github.com/dart-lang/test/issues/542
The timeout added in this patch is a workaround for https://github.com/dart-lang/coverage/issues/165
2017-02-15 18:50:19 -08:00
Dan Rubel
7138541d23
new --kernel option for flutter run to use precompiled kernel code ( #8191 )
2017-02-15 17:37:00 -05:00
Todd Volkert
d6f61b9ece
Add ability to mock VMService's WebSocket connection ( #8145 )
2017-02-15 06:52:28 -08:00
Michael Goderbauer
70d7fe3a0d
Revert "Replace jarsigner with apksigner" ( #8164 )
2017-02-14 18:02:33 -08:00
Michael Goderbauer
b38a6cbbba
Replace jarsigner with apksigner ( #8154 )
2017-02-14 17:11:24 -08:00
Michael Goderbauer
7231fd3ed6
Enable flutter drive
on Windows ( #8146 )
...
... and run some more tests on Windows.
2017-02-14 13:14:52 -08:00
Chris Bracken
43650e93f4
Emit additional Xcode settings in flutter create ( #8125 )
...
On flutter run, we update ios/Flutter/Generated.xcconfig with various
Flutter-specific settings required by xcode_backend.sh during a build
from Xcode. These settings need to be present at the time the project is
loaded since Xcode doesn't pick up live updates to these files.
Without these settings, Xcode fails to locate xcode_backend.sh itself,
causing the build to fail until the Xcode project has been closed and
re-opened. This also prevents Xcode's project updater from 'helpfully'
suggesting to clean up and delete the Generated.xcconfig file.
2017-02-14 09:56:57 -08:00
Michael Goderbauer
5e54fd54d9
Ban package:path from Flutter Tools ( #8119 )
2017-02-13 17:45:50 -08:00
Yegor
d4550fd498
do not build APK twice ( #8105 )
2017-02-13 14:55:35 -08:00
Dan Rubel
ea74e07689
move flutter user analysis options file ( #8091 )
...
* move flutter user analysis options file
* add comments referencing each of the analysis options files
2017-02-13 16:39:35 -05:00
Todd Volkert
3b52c87da6
Bump deps on package:file
and package:process
( #8097 )
2017-02-13 09:55:54 -08:00
Michael Goderbauer
cff7dc5444
Bump package:process version ( #8073 )
2017-02-10 16:54:51 -08:00
Jason Simmons
198d293857
Support some new Dart features in AOT mode ( #8067 )
...
See https://github.com/flutter/flutter/issues/7579
2017-02-10 13:14:57 -08:00
Alexandre Ardhuin
e151a1a438
prefer_contains ( #8040 )
2017-02-09 15:17:55 -08:00
xster
1cc78145fe
Add logger indent option and indent nested xcode command outputs ( #7867 )
...
* Add indent option to logger and indent non-flutter nested output
* Add a missed override
* Formatting
2017-02-08 18:27:47 -08:00
Devon Carew
d89f438699
improve the logger ui a bit for elapsed times ( #7960 )
...
* improve the logger ui a bit for elapsed times
* invert param
* update daemon.dart
2017-02-08 08:25:36 -08:00
xster
0c8e1813b3
Add a user friendly error message when no development team is selected for physical deployment ( #7879 )
2017-02-07 16:59:58 -08:00
Michael Goderbauer
82f887de07
Fix Flutter Tools Tests to run on Windows ( #7878 )
2017-02-05 22:58:49 -08:00
Ian Hickson
dc634e195e
Introduce the concept of asynchronicity to the service extensions. ( #7823 )
...
This allows us, for example, to wait for the slow mode banner to have
been removed from the screen before triggering a screen shot.
2017-02-02 15:48:35 -08:00
Michael Goderbauer
a742a5ddf6
Make flutter analyze
run on Windows ( #7828 )
2017-02-02 15:41:13 -08:00
Ian Hickson
5f38773ed0
Screenshot improvements ( #7800 )
...
Add an "s" command to `flutter run` which takes a screenshot.
Make that comment turn off the slow mode banner.
2017-02-01 22:47:53 -08:00
Michael Goderbauer
40aab7f553
Bump Dart SDK to 1.22.0-dev.10.3 ( #7791 )
2017-02-01 16:33:27 -08:00
Chris Bracken
5d2a460fdd
Correct capitalisation of Xcode ( #7796 )
...
Ref: https://developer.apple.com/xcode/
2017-02-01 16:16:33 -08:00
Jakob Andersen
a0f0c42fe3
Update gradle example to support x86 in debug mode. ( #7606 )
...
* Update gradle example to support x86 in debug mode.
Changed the Flutter Gradle plugin a bit to better fit in with the
Android build.
Fixes #6136
Fixes #6864
Fixes #7539
2017-01-31 14:48:48 -08:00
Ian Hickson
65ca387075
Make the Ahem font available to tests. ( #7725 )
2017-01-28 15:55:47 -08:00
Ian Hickson
96e11e1bf1
Clean up the file names of the hot and cold runners. ( #7697 )
2017-01-28 14:26:49 -08:00
Ian Hickson
21434fcf1a
Refactor 'flutter drive' to get the observatory port from the logs ( #7695 )
...
This remove a very brittle aspect of flutter drive, whereby it would
assume a known port instead of explicitly finding out what it was.
Fixes #7692 and hopefully fixes the devicelab tests.
2017-01-27 01:37:28 -08:00
Ian Hickson
f888bbed48
Refactor hot/cold/drive runners a little ( #7694 )
...
Move the drive/run common stuff to RunCommandBase, rather than the
superclass which applies to everything.
Implement --no-resident (fixes
https://github.com/flutter/flutter/issues/5448 ). This is particularly
useful when running flutter from scripts.
Rename RunAndStayResident to ColdRunner.
2017-01-27 01:03:04 -08:00
Ian Hickson
a67c79a1c7
converge flutter run and flutter drive onto one behavior ( #7688 )
...
...for the port arguments
2017-01-26 21:47:14 -08:00
Michael Goderbauer
9f28b4ff71
Windows Fixes for Flutter Tools ( #7678 )
2017-01-26 17:04:53 -08:00
Ian Hickson
576b4e1179
Change --debug-port to --observatory-port ( #7675 )
...
...and add --diagnostic-port.
...and document port 0.
2017-01-26 16:42:48 -08:00
Todd Volkert
417c2f25fc
Migrate flutter_tools to use package:platform ( #7642 )
2017-01-25 16:06:41 -08:00
Ian Hickson
1bdf351818
Merge pubspec.yaml and flutter.yaml. ( #7605 )
2017-01-24 11:19:31 -08:00
Todd Volkert
9ba607862e
Update to package:process v1.0.1 ( #7607 )
2017-01-24 10:09:29 -08:00
Yegor
4bec9cd940
update build benchmark to match #7589 ( #7600 )
2017-01-23 17:49:01 -08:00
Devon Carew
a6777b2a60
remove flutter setup ( #7596 )
2017-01-23 15:22:16 -08:00
Ryan Macnak
76460967e6
Adapt to refactoring of snapshot APIs in the Dart VM. ( #7589 )
2017-01-23 13:28:35 -08:00
Ian Hickson
94cac1a69c
flutter test --start-paused ( #7584 )
...
Make debugging tests in a debugger easier.
Fixes https://github.com/flutter/flutter/issues/163
2017-01-23 11:31:59 -08:00
Ian Hickson
63aa1397a3
Increase the strictness of our requiring explicit types ( #7585 )
...
...now that we have generic methods, their types need to be specified too.
2017-01-23 01:04:31 -08:00
Ian Hickson
cbda208b4b
Reduce the amount of spam from analyze watch. ( #7582 )
...
See https://github.com/dart-lang/sdk/issues/28463 , which I think is a
regression.
This also fixes the regression introduced by
https://codereview.chromium.org/2559773002 whereby we were no longer
checking any of the lints.
2017-01-22 16:43:24 -08:00
Ian Hickson
15a7eb3b6c
Move to real generic method syntax ( #7235 )
2017-01-21 20:58:44 -08:00
Devon Carew
34b9ce859a
proxy service extension calls through the daemon protocol ( #7554 )
...
* proxy service extension calls through the daemon protocol
* add test for app.callServiceExtension
2017-01-20 08:51:57 -08:00