Commit Graph

3845 Commits

Author SHA1 Message Date
Jonah Williams
181cdec079
[flutter_tools] remove automatic multiroot scheme (#50284) 2020-02-06 17:05:41 -08:00
Zachary Anderson
6bfff984de
[flutter_tools] Handle AndroidStudio validator crash (#50282) 2020-02-06 16:03:02 -08:00
Levi Lesches
149e06232b
Add option to clear the terminal by pressing "c" (#50034) 2020-02-06 15:53:04 -08:00
Jenn Magder
a9b8d360cf
Remove ideviceinfo, idevice_id artifacts (#50248) 2020-02-06 15:50:26 -08:00
Jenn Magder
2512163ebe
Allow Android to be missing from multi-platform manifest (#50304) 2020-02-06 15:50:03 -08:00
Christopher Fujino
e6e14b0dd2
Have android validator suggest ANDROID_SDK_ROOT instead of deprecated ANDROID_HOME (#49846) 2020-02-06 14:03:03 -08:00
Jonah Williams
db901ce5dd
[flutter_tools] remove dependencies checks that are no longer relevant in assemble-land (#50225) 2020-02-06 13:59:18 -08:00
Jonah Williams
69ecca554d
[flutter_tools] iOS fallback discovery protocol (#49735) 2020-02-06 13:58:03 -08:00
Gityuan
b8dd6bdd19
support endless recorder for timeline (#47419) 2020-02-06 12:33:01 -08:00
Jenn Magder
a0665aba49
Reland Replace ideviceinfo and idevice_id with xcdevice (#50252) 2020-02-06 11:38:47 -08:00
Nate Bosch
8159178238
Remove usages of StackTraceMapper (#50153)
* Remove usages of StackTraceMapper

This class will be replaced with a function type in `test_api`, clean up
usages ahead of time.

In `build_script.dart` the only reference to `StackTraceMapper` is in
the `browser_test.dart` file, but since nothing would call
`setStackTraceMapper` from that import it should be safe to remove the
definition. After reading a serialized mapper from the
`test.browser.mapper` channel, it was ignored.

In `flutter_web_platform.dart` we only were reading from `_mappers`,
never putting values in, so we can remove it entirely. The `load()`
function was never called with a `mapper` argument.
2020-02-06 10:34:50 -08:00
Lau Ching Jun
81525fa1a6
Support downloading font-subset for all platforms (#50240) 2020-02-06 10:33:02 -08:00
Jenn Magder
ce6fbf6668
Revert "Replace ideviceinfo and idevice_id with xcdevice (#49854)" (#50243)
This reverts commit 3aa7a80053.
2020-02-05 18:00:31 -08:00
Emmanuel Garcia
eb4b6dc91b
Retry Gradle command when failing to download a resource (#50223) 2020-02-05 17:48:04 -08:00
Jonah Williams
da4b5d68c4
[flutter_tools] support --split-debug-info option in android builds (#49650) 2020-02-05 17:45:24 -08:00
Jonah Williams
de7908f9e9
[flutter_tools] Reland flutter assemble for iOS (#50229) 2020-02-05 17:44:06 -08:00
Jonah Williams
91c342e213
[flutter_tools] force page refresh when hot restarting in profile/release mode (#50215) 2020-02-05 17:43:05 -08:00
Jenn Magder
3aa7a80053
Replace ideviceinfo and idevice_id with xcdevice (#49854) 2020-02-05 17:37:25 -08:00
Jonah Williams
4d2ce7be2c
Revert "[flutter_tools] Reland migrate xcode_backend.sh to flutter assemble (#50200)" (#50228)
This reverts commit 868b0e6d97.
2020-02-05 15:57:49 -08:00
Jonah Williams
868b0e6d97
[flutter_tools] Reland migrate xcode_backend.sh to flutter assemble (#50200) 2020-02-05 13:04:22 -08:00
Alexandre Ardhuin
94c7e823be
remove unnecessary string escapes (#50096) 2020-02-05 08:00:32 +01:00
Dan Field
4b8efad99b
Font subset in the tool (#49737) 2020-02-04 20:34:24 -08:00
Mehmet Oguz Derin
a4093edbcf
Fix Path Separator in Service Workers (#50154) 2020-02-04 20:18:01 -08:00
Jenn Magder
4485a65e60
Add -destination generic/platform=iOS to "build ios-framework" xcodebuild (#50140) 2020-02-04 18:08:03 -08:00
Zachary Anderson
103b12fc11
[flutter_tools] Isolate userHomePath, other cleanups (#50125) 2020-02-04 18:03:03 -08:00
Jonah Williams
52d5744ea2
Revert "[flutter_tools] Migrate xcode_backend.sh to flutter assemble (#49842)" (#50151)
This reverts commit c2353b2911.
2020-02-04 15:02:55 -08:00
Jonah Williams
64b82f50ad
[flutter_tools][web] serve dummy service_worker and manifest file in run mode (#50115) 2020-02-04 14:19:26 -08:00
Jonah Williams
c2353b2911
[flutter_tools] Migrate xcode_backend.sh to flutter assemble (#49842) 2020-02-04 14:19:08 -08:00
Jenn Magder
d00a39cbdd
Remove dead code IMobileDevice.isWorking (#50084) 2020-02-04 14:18:20 -08:00
Jenn Magder
6e605f3fdc
Run "build ios-framework" processes async (#49657) 2020-02-04 14:17:53 -08:00
Mehmet Fidanboylu
0c5ae7d656
Use the FlutterVersion defined in context (#50040) 2020-02-03 20:43:02 -08:00
Jonah Williams
50eeda2495
[flutter_tools] fix frontend server generated entrypoint (#50036) 2020-02-03 20:38:03 -08:00
Zachary Anderson
ef62d53222
[flutter_tools] Fix crash on null Android apiVersion (#50029) 2020-02-03 14:48:02 -08:00
Jonah Williams
b24bca1383
[flutter_tools] add missing period to end of filter (#50038) 2020-02-03 14:33:08 -08:00
Zachary Anderson
390ed1cd81
[flutter_tools] Move homeDirPath to FileSystemUtils (#49909) 2020-02-03 14:33:03 -08:00
Zachary Anderson
2c51efef29
[flutter_tools] Make Config context-free (#49834) 2020-01-31 12:51:20 -08:00
Prerak Mann
688948b778
switching channel prompts to run flutter upgrade (#49511) 2020-01-31 09:33:29 -08:00
Alexandre Ardhuin
b5f328e37e
remove unnecessary string interpolations (#49622) 2020-01-31 18:30:21 +01:00
Greg Spencer
6ee8b6546b
Revert "Always use new plugin schema for plugin template (#48258)" (#49827)
This reverts commit 9d4a35b because it appears to break

the gradle_non_android_plugin_test.
2020-01-30 12:46:12 -08:00
stuartmorgan
9d4a35ba8b
Always use new plugin schema for plugin template (#48258)
Now that the new schema is supported on the stable channel, and the old
schema is considered legacy, the template should always create plugins
using the new schema.
2020-01-30 11:30:31 -08:00
Zachary Anderson
92f7e16312
[flutter_tools] Make OperatingSystemUtils context-free (#49740) 2020-01-29 17:51:31 -08:00
Jenn Magder
02dc0ab37f
Remove unnecessary BuildableIOSApp from "build ios-framework" (#49659) 2020-01-29 14:27:43 -08:00
Jenn Magder
d85ea51384
Move iMobileDevice to globals (#49724) 2020-01-29 13:51:16 -08:00
Jonah Williams
cb3b7ab487
[flutter_tools] simplify symbol logic for iOS (#49628) 2020-01-29 13:43:23 -08:00
Terry Lucas
1b4d321b34
Fix Flutter tool to use correct adb parameter and collect Realtime value. (#49701)
* Fix parameter to adb to be _package.id instead of package._launchActivity.
2020-01-29 10:01:17 -08:00
Jonah Williams
22fc215260
[flutter_tools] hide assembly gen_snapshot warning (#49662) 2020-01-29 09:06:33 -08:00
Emmanuel Garcia
466681cad8
Improve error message when a plugin sets an invalid android package (#48104) 2020-01-28 17:48:26 -08:00
Emmanuel Garcia
1c6cc23903
Sanitize host before calling pm (#49644) 2020-01-28 16:44:58 -08:00
Mouad Debbar
8366b2721a
[web] Serve dart files correctly when running "flutter test" in Chrome (#49325) 2020-01-28 15:08:02 -08:00
Jonah Williams
dd98046fe5
Revert "[flutter_tools] remove alternative build aot code path (#49577)" (#49641)
This reverts commit d1e25bf233.
2020-01-28 13:21:56 -08:00
Jonah Williams
d1e25bf233
[flutter_tools] remove alternative build aot code path (#49577) 2020-01-28 13:08:04 -08:00
Jonah Williams
33e61d1cd6 [flutter_tools] open chrome with unresolve hostname (#49625) 2020-01-28 12:53:03 -08:00
Jonah Williams
3bd4c69fd8
Revert "Sanitize host before calling pm (#49591)" (#49623)
This reverts commit c592b54678.
2020-01-28 10:14:08 -08:00
Emmanuel Garcia
c592b54678
Sanitize host before calling pm (#49591) 2020-01-28 08:17:11 -08:00
Zachary Anderson
68ed5c2baf [flutter_tool] Hide unsafe std{out,err} operations (#49561) 2020-01-28 07:58:02 -08:00
Dan Field
fabeb2a16f
Revert string interp (#49602) 2020-01-28 07:56:51 -08:00
Jonah Williams
c341d4b78f [flutter_tools] Discover pubspec.yaml in parent directories (#48548) 2020-01-27 21:48:01 -08:00
Jonah Williams
3233252cb1
[flutter_tools] only apply --strip to iOS gen_snapshot in release mode (#49596) 2020-01-27 19:36:12 -08:00
Jonah Williams
afa24b1a18
[flutter_tools] only strip when bitcode is enabled (#49595) 2020-01-27 19:10:27 -08:00
Jenn Magder
fdb0225f8c
Revert "[flutter_tools] move dsym generation logic into dart build process (#49491)" (#49592)
This reverts commit 2a91a7501c.
2020-01-27 18:37:21 -08:00
Zachary Anderson
74c1be6ff1 [flutter_tool] Make base/net.dart context free (#49575) 2020-01-27 17:53:02 -08:00
Jonah Williams
2a91a7501c
[flutter_tools] move dsym generation logic into dart build process (#49491) 2020-01-27 17:48:33 -08:00
chunhtai
123de155a6 add more devices into whitelist (#49569) 2020-01-27 17:48:03 -08:00
Jonah Williams
11621cc798
[flutter_tools] remove dwarf stripping now that linked issue is fixed (#49563) 2020-01-27 17:41:55 -08:00
Jonah Williams
ace2c2297f
[flutter_tools] Generate correct entrypoint module name for experimental web compiler (#49486) 2020-01-27 17:41:29 -08:00
Jenn Magder
7f715628b0 Replace FlutterVersion.instance with FlutterVersion context fetch in global.dart (#49462) 2020-01-27 17:38:01 -08:00
Dan Field
8b2993337a
revert #48985 (#49572) 2020-01-27 14:36:02 -08:00
Jonah Williams
31cd3c7b80 [flutter_tools] fast start off by default (#49554) 2020-01-27 13:13:02 -08:00
Jonah Williams
dc084b9097 [flutter_tools] handle plugins for entrypoints outside of main (#49459) 2020-01-27 13:08:02 -08:00
Jonah Williams
347823234f [flutter_tools] Apply --no-causal-async-stacks and --lazy-async-stacks to profile/release builds (#49377) 2020-01-27 10:43:03 -08:00
Jenn Magder
7feb7dddf1
Inject platform into build ios-framework command (#49463) 2020-01-27 10:32:50 -08:00
Jenn Magder
91f7902aad Move Xcode context fetch to global.dart (#49458) 2020-01-25 11:18:02 -08:00
Prerak Mann
a66e9569b5 sort channels by stability upon running flutter channel (#48427) 2020-01-25 11:03:03 -08:00
Zachary Anderson
93a5b7d419 [flutter_tool] Don't crash on a failure to write to std{out,err} (#49380) 2020-01-25 01:23:01 -08:00
Jonah Williams
2f59919496 [flutter_tools] Reland fast start by default for Android (#49315) 2020-01-24 19:18:01 -08:00
Jenn Magder
acdaffc493
Suppress upgrade message with --machine (#49408) 2020-01-24 10:50:54 -08:00
Alexandre Ardhuin
92cbaa3efe remove unnecessary string interpolations (#49352) 2020-01-23 20:43:01 -08:00
Jason Simmons
3f97315720 [flutter_tools] Do not use the logcat -T flag on Android versions before Lollipop (#49327) 2020-01-23 20:18:01 -08:00
Zachary Anderson
d9f071fd0a [flutter_tool] Don't crash when writing to pub stdin fails (#49323) 2020-01-23 20:13:01 -08:00
Jonah Williams
7faf2d73c7 [flutter_tools] implement build aot in terms of assemble for iOS (#49224) 2020-01-23 20:03:01 -08:00
Jacob MacDonald
adc8680645 update incremental web compiler bootstrapping to use the new module names (#49073) 2020-01-23 18:33:01 -08:00
Christopher Fujino
0c2f51fca7 Fix concurrent modification error (#48916) 2020-01-23 18:23:03 -08:00
Jenn Magder
9d2910847e
Remove App.framework copy during build ios-framework (#49321) 2020-01-23 18:21:25 -08:00
Jonah Williams
ef15eac821 [flutter_tools] Remove context from Xcode and most of Xcodeproj (#48661) 2020-01-23 15:03:03 -08:00
Mouad Debbar
a1fa1a3d26 [web] Wire the "--start-paused" flag correctly for web (#49310) 2020-01-22 14:58:46 -08:00
Jonah Williams
d68278e3ea
[flutter_tools] rollback to dwds 0.8.5, fix versioning (#49301) 2020-01-22 11:05:07 -08:00
Emmanuel Garcia
2b8c75d55c
Copy the local engine repo in the output directory (#49276) 2020-01-22 10:57:14 -08:00
Jenn Magder
8a3c98633a
Disallow empty platforms and specific platforms when parsing manifest for plugins (#49262) 2020-01-22 10:52:23 -08:00
Emmanuel Garcia
320c19e4b9 Fix build aar instructions (#49265) 2020-01-21 20:03:02 -08:00
Dan Field
525855d595 download font-subset (#49234) 2020-01-21 16:53:02 -08:00
Angjie Li
f0a175f41d Use flutter_tools to start WebDriver browser. (#49228) 2020-01-21 16:48:02 -08:00
Jenn Magder
d8092d999a
Fix YamlMap cast error (#49253) 2020-01-21 16:43:16 -08:00
Alexandre Ardhuin
3800bb7b10 fix missing spaces in adjacent strings (#49159) 2020-01-21 16:43:03 -08:00
Jenn Magder
2a7d57791d Generate bitcode for plugin frameworks for flutter build ios-framework (#49102) 2020-01-21 16:38:03 -08:00
Jonah Williams
2ebe9da454
Revert "[flutter_tools] Reland enable fast-start by default for Android (#48851)" (#49227) 2020-01-21 09:51:08 -08:00
Jonah Williams
1ac01b30ca
[flutter_tools] Reland enable fast-start by default for Android (#48851) 2020-01-21 08:59:26 -08:00
Jonah Williams
e340c19905 [flutter_tools] resolve host address in the flutter tool for web server (#48992) 2020-01-21 08:58:01 -08:00
Jenn Magder
ac7b307803 Don't pre-cache Android artifacts with --no-android flag (#49009) 2020-01-20 23:23:02 -08:00
Zachary Anderson
dc94e479d1 [flutter_tool] Don't crash on failed stamp file update (#49080) 2020-01-17 15:18:01 -08:00
Anthony
b67d5ec6e9 [a11y] Make sure RenderFractionalTranslation updates its semantics after the translation field is set (#48985) 2020-01-17 15:13:01 -08:00