KyleWong
d7b0aab634
Add tests for pr:27687 ( #27944 )
2019-02-25 18:34:03 -08:00
Dan Field
15f2119f2c
Reland "Allow for gradle downloading missing SDK assets" ( #28097 ) ( #28355 )
...
* Allow for gradle downloading missing SDK assets if SDK licenses are present.
* Improvements for windows testing
2019-02-23 09:56:57 -08:00
Dan Field
74a9086037
Revert "Allow for gradle downloading missing SDK assets ( #28097 )" ( #28295 )
...
This reverts commit 6f5e88a59f
.
2019-02-21 16:53:45 -08:00
Dan Field
6f5e88a59f
Allow for gradle downloading missing SDK assets ( #28097 )
...
* Allow for gradle downloading missing SDK assets if SDK licenses are present.
* Fix license path for missing sdkmanager
* Cirrus re-run...
* Fix condition check
* rename props, add docs, rename method
* fix tests after param changes
* Fix weird path for flutter run and add tests
* remove print, fix tests
2019-02-21 15:57:20 -08:00
Alexandre Ardhuin
5169ab5974
format parameter list ( #27261 )
2019-02-21 09:27:07 +01:00
Stanislav Baranov
20d9de58d0
Revert "Add support for binary compression of dynamic patches by the flutter tool. ( #27754 )" ( #28031 )
...
This reverts commit b47da6c2b7
.
2019-02-15 18:43:36 -08:00
Dan Field
c90c3a18a2
Reland automatic discovery of observatory port for iOS ( #27908 )
...
* Discover port over mDNS
* Update BUILD.gn for tools
2019-02-15 17:44:55 -08:00
KyleWong
f9a6090082
Refactor local engine logic ( #27765 )
...
* Refactor for iOS.
* For android_xxx_unopt_arm64&ios_xxx_unopt_arm, remove the _arm64/_arm suffix.
dart generated in host_xxx_unopt/host_xxx has an arch of x86_64 which supports arm64/arm.
* Remove suffixes for various archs.
2019-02-15 15:56:49 -08:00
Jonah Williams
67cf21577f
Add basic codegen app to be used for integration testing and benchmarks ( #27257 )
2019-02-14 23:17:16 -08:00
Jonah Williams
9bc5656637
Wire dart2js through flutter tool, add compilation test ( #27668 )
2019-02-14 22:42:30 -08:00
Jonah Williams
537b592ed5
fix multiroot scheme ( #27914 )
2019-02-13 23:17:28 -05:00
Alexander Aprelev
8de5a07c3f
Revert "Disable usage of bare instructions in AOT ( #27410 )" ( #27789 )
...
This reverts commit 965dc52e2e
as performance gains seems to outweigh compressed apk size increase.
2019-02-13 15:29:50 -08:00
Jonah Williams
a5af29e83c
Revert "Lazily download artifacts (Part II) ( #27735 )" ( #27895 )
...
This reverts commit 76061c4fa9
.
2019-02-13 11:59:51 -08:00
Jonah Williams
76061c4fa9
Lazily download artifacts (Part II) ( #27735 )
2019-02-13 11:04:28 -08:00
KyleWong
4b4a9400b7
Refactor build-number/build-name logic. ( #27743 )
...
This PR aims at several things:
1. Use pub_semver to check a version in pubspec.yaml meets the requirements specified in https://semver.org/ .
2. Don't limit build-number/build-name as a fixed format. Instead, validate it according to the target(ios/android).
3. Make sure that build-number/build-name are always validated no matter it's specified by the `flutter command` or version in pubspec.yaml.
Fixes #27589
2019-02-13 07:48:03 -08:00
KyleWong
199ebaa677
Refactor ios bundleid/android application process logic. ( #27471 )
...
When creating a flutter project,
Make sure: applicationid for android conforms to: https://developer.android.com/studio/build/application-id
Make sure: bundleid for ios conforms to:
https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_conc/understand_utis_conc.html
(Not only the name,but also the organization, as it's a check for whole bundleid.)
2019-02-12 19:40:53 -08:00
Ian Hickson
58939b70ef
Prevent tests from importing other tests. ( #27800 )
...
This pattern is problematic when Flutter is ported to build systems
that require each executable end-point to be self-contained (e.g.
Bazel).
2019-02-12 12:29:36 -08:00
Dan Field
fdcb861b05
Deflake AnsiSpinner tests ( #27825 )
2019-02-12 12:28:45 -08:00
KyleWong
52687c7910
Optimize flutter run logic for iOS by "ONLY_ACTIVE_ARCH=YES" if possible ( #27817 )
2019-02-12 12:24:57 +08:00
Stanislav Baranov
b47da6c2b7
Add support for binary compression of dynamic patches by the flutter tool. ( #27754 )
...
This reduces the typical dynamic patch size by more than 10x.
Also see https://github.com/flutter/engine/pull/7777 for decompression support in the runtime.
2019-02-11 16:57:26 -08:00
Danny Tuppeny
ad3da3b4a3
Update temp folder name to me more consistent with others ( #26702 )
...
This change was dropped out of #26227 because it seems to inexplicably result in timeouts talking to the VM service on Windows Cirrus. After 1 month of periodically debugging it, it just started passing 🤷♂️ .
2019-02-11 16:20:45 +00:00
Jonah Williams
7cdb30fba2
Revert "Lazily download artifacts ( #27374 )" ( #27705 )
...
This reverts commit 98971f3c64
.
2019-02-08 15:50:18 -08:00
Jonah Williams
98971f3c64
Lazily download artifacts ( #27374 )
2019-02-08 15:24:09 -08:00
Michael Klimushyn
4a9e5bc11b
Warn when gradle builds fail because of AndroidX ( #27566 )
...
Try to detect Gradle error messages that hint at AndroidX problems, and
warn in the logs about the potential problem and point to documentation
on how to fix the issue.
Unfortunately the Gradle errors based on this root issue are varied and
project dependent. It's probably better to still leave the message
intact in case the problem is unrelated.
Also filters out the plugin warning message pending in
flutter/plugins#1138. It's still valuable to add that for people on
previous versions of Flutter, but this link should override that message
for anyone on an up to date version of Flutter.
#27106
2019-02-07 17:23:35 -08:00
KyleWong
99497dc2d9
Refactor android launchable activity extractor logic ( #26819 )
2019-02-07 13:24:03 -08:00
Jonah Williams
5b943257d7
fix list devices throwing on junk input ( #27615 )
2019-02-06 15:41:22 -08:00
Jonah Williams
c920cb7c57
Remove build runner from injection ( #27607 )
2019-02-06 14:38:50 -08:00
Jonah Williams
b06a709305
Use flutter_tools to generate build_script ( #27277 )
2019-02-05 18:35:20 -08:00
Dan Field
704814c67a
Use CP_REPOS_DIR if it's set ( #27553 )
...
* Allow CP_REPOS_DIR
2019-02-05 16:03:37 -08:00
xster
36c5e321a5
Print 50000$ monopoly money ( #27531 )
2019-02-05 15:00:51 -08:00
Ryan Macnak
965dc52e2e
Disable usage of bare instructions in AOT ( #27410 )
...
Issue #27250
2019-02-05 13:52:59 -08:00
木士羽
9f7ab4c4a0
Support using flutter with specific version ( #26840 )
...
* Support using flutter with specific version
* Set min supported version to 1.2.1
2019-02-04 11:26:06 -08:00
Jonah Williams
8e2ea26301
Make the deviceDiscovery API overridable ( #27378 )
2019-01-31 18:42:30 -08:00
Alexander Aprelev
030dc3fade
Don't send accept/reject if compilation never started. ( #27319 )
...
* Don't send accept/reject if compilation never started.
Ensure that we wait for reject's response since that is async operation.
Fixes https://github.com/flutter/flutter/issues/27120 .
* Fix analysis errors
* Rename flag. Ensure we raise it on first compilation too.
2019-01-31 17:43:32 -08:00
Zachary Anderson
7634a0ecbe
[flutter_tool,doctor] Fix and test gen_snapshot failure message ( #27253 )
2019-01-30 13:01:19 -08:00
Michael Goderbauer
6d20ff2446
Remove all obsolete "// ignore:" ( #27271 )
2019-01-30 08:56:12 -08:00
Jonah Williams
c219e6f3b1
Inject KernelCompiler via KernelCompilerFactory ( #27211 )
2019-01-30 08:34:01 -08:00
Todd Volkert
c8c935cd83
Allow bundle identifier to be surrounded with quotes. ( #26300 )
...
Picked up from #22498 , originally by @jugyo
2019-01-30 07:32:05 -08:00
Jonah Williams
763a8d6d9b
add support to multiroot scheme to PackageUriMapper ( #27207 )
2019-01-30 07:31:16 -08:00
KyleWong
60aa49e064
Let injectPlugins integrate custom pods ( #26970 )
2019-01-29 20:33:16 -08:00
Alexandre Ardhuin
ef276ffea5
format initializer list of constructors ( #27111 )
2019-01-29 21:47:16 +01:00
Konstantin Scheglov
4fe41abfcc
Add default values for optional parameters. ( #27197 )
2019-01-29 11:49:57 -08:00
Dan Field
c082f8d8a3
Revert f9e6242db
( #26944 ) ( #27191 )
...
* Revert f9e6242db
* fix pubspec
* finish pubspec upgrade
2019-01-28 15:35:59 -08:00
Jonah Williams
91fd89e8b3
Wrap dart:convert to track utf8 decode failures ( #26650 )
2019-01-25 16:16:26 -08:00
Dan Field
f9e6242db9
Use mDNS to discover the device port ( #26944 )
...
* Discover port over mDNS
* opt in, only for iOS for now
2019-01-25 12:12:17 -08:00
Gary Qian
06b979c4d5
Revert "Warn when building on master channel ( #25007 )" ( #27096 )
...
This reverts commit dd65a54628
.
2019-01-25 14:27:35 -05:00
Jonah Williams
fa5f3da6f2
Update flutter clean to remove .dart_tool directory ( #27054 )
2019-01-25 09:30:11 -08:00
Jonah Williams
6cf554b0c4
Make UriMapper and StdoutHandler public and add test cases ( #26932 )
2019-01-24 16:17:04 -08:00
Gary Qian
dd65a54628
Warn when building on master channel ( #25007 )
2019-01-24 19:01:07 -05:00
Jonah Williams
1237ee8f63
Add experimentalBuildEnabled flag and initial shim for build_runner ( #26989 )
2019-01-24 15:59:55 -08:00