Jonah Williams
c1112d3f7e
[flutter_tools] Reland: Allow providing dart-defines to Android, iOS, macOS builds ( #52044 )
2020-03-06 14:53:36 -08:00
Christopher Fujino
2e18cd347e
Fix simctl process exceptions not being caught ( #51916 )
2020-03-06 13:16:01 -08:00
Jonah Williams
e7d70fbf75
Revert "Fix version command for certain git workflows ( #52062 )" ( #52128 )
...
This reverts commit 20bf43b9eb
.
2020-03-06 12:58:00 -08:00
Jenn Magder
a14ac4e3c8
Bump recommended CocoaPods version to 1.8 ( #52071 )
2020-03-06 12:14:42 -08:00
Jenn Magder
f6a55125d2
Add usage event for failed iOS project migration ( #51879 )
2020-03-06 12:14:29 -08:00
Zachary Anderson
6c408a0567
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #52021 )
...
* Reland: [flutter_tool] Where possible, catch only subtypes of Exception
* Add armv7f to getIOSArchForName
2020-03-06 10:22:12 -08:00
Dan Field
20bf43b9eb
Fix version command for certain git workflows ( #52062 )
2020-03-05 23:51:02 -08:00
Dan Field
4d05ed5deb
Local engine build mode ( #52043 )
2020-03-05 23:46:02 -08:00
Jonah Williams
d2f889b4f0
[flutter_tools] Reduce context usage in analyze command and tests ( #49589 )
2020-03-05 17:20:54 -08:00
Jonah Williams
bafa03e5b5
[flutter_tools] Remove mocking and simplify Dart target tests ( #50688 )
2020-03-05 17:19:15 -08:00
Jonah Williams
8872d1d8c4
[flutter_tools] Reland: supports tree-shake-icons for web builds ( #52054 )
2020-03-05 17:18:44 -08:00
Jenn Magder
b8472f25ab
Update Maven URL to https ( #52042 )
2020-03-05 16:00:34 -08:00
Jonah Williams
ad16823e4c
[flutter_tools] support new SDK structure for sdkmanager ( #51980 )
2020-03-05 13:59:20 -08:00
Jonah Williams
c411f588c6
Revert "[flutter_tools] supports tree-shake-icons for web builds ( #51808 )" ( #52045 )
...
This reverts commit aed961993d
.
2020-03-05 13:02:22 -08:00
Jonah Williams
ee476a7bd1
Revert "[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )" ( #52041 )
...
This reverts commit ee60eeea3e
.
2020-03-05 12:51:42 -08:00
Jonah Williams
ee60eeea3e
[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )
2020-03-05 12:38:40 -08:00
Jonah Williams
aed961993d
[flutter_tools] supports tree-shake-icons for web builds ( #51808 )
...
* [flutter_tools] supports tree-shake-icons for web builds
* Update compile.dart
* fix icon_tree_shaker
2020-03-05 12:35:04 -08:00
Jonah Williams
1bf6f0232e
[flutter_tools] support coverage and machine together ( #51988 )
2020-03-05 12:34:37 -08:00
Jonah Williams
bbf913bc4c
[flutter_tools] resolve requests to web directory in debug mode ( #51995 )
2020-03-05 12:34:03 -08:00
Jonah Williams
374f85c976
[flutter_tools] pin exact build_runner version ( #52033 )
2020-03-05 11:09:41 -08:00
Alexandre Ardhuin
c2ae654ddf
enable avoid_single_cascade_in_expression_statements ( #51944 )
2020-03-05 08:03:26 +01:00
Jenn Magder
db94472aeb
Skip iOS project migration when script is already embedding frameworks ( #51963 )
2020-03-04 16:12:13 -08:00
Jenn Magder
dc33334675
Update iOS project migration help URL ( #51973 )
2020-03-04 16:12:02 -08:00
Jenn Magder
cbbb7ec5a7
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )" ( #51960 )
...
This reverts commit 57c6721cd5
.
2020-03-04 12:40:15 -08:00
Flutter GitHub Bot
57c6721cd5
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )
2020-03-04 11:41:02 -08:00
Ben Konyi
3edd3eb4a2
Updated package:test, package:test_core, package:coverage, package:package_config ( #51946 )
...
This is required to roll forward package:vm_service to 3.0.0 and is
blocking a DevTools release.
2020-03-04 11:40:52 -08:00
Zachary Anderson
a5bd678585
Revert "Write FLUTTER_BUILD_MODE when using a local engine ( #51687 )" ( #51943 )
...
This reverts commit 9b4b7d7ee0
.
2020-03-04 08:56:53 -08:00
Dan Field
9b4b7d7ee0
Write FLUTTER_BUILD_MODE when using a local engine ( #51687 )
2020-03-04 07:36:55 -08:00
Christopher Fujino
2c846af1a0
Fix _checkPodCondition
not handling CocoaPodsStatus.brokenInstall
( #51676 )
2020-03-03 17:55:02 -08:00
Konstantin Scheglov
fb953b719f
Cast to List<dynamic> and cast(). ( #51591 )
2020-03-03 14:49:02 -08:00
stuartmorgan
f9c118b6b2
Exit for missing Windows plugin projects ( #51838 )
...
Exit, rather than crash, if a Windows plugin is missing its project.
Fixes #51743
2020-03-03 22:43:42 +01:00
stuartmorgan
8d8439f8e3
Add pre-stable support for create on Linux ( #51832 )
...
Adds initial support for `flutter create` of apps and plugins. This is derived from the current FDE example app and sample plugin, with a few changes:
- Added template values where it makes sense.
- Moved some likely-to-change values into separate files for now, to simplify the delete/recreate cycle that will be necessary until it's stable.
- Added some minor Makefile flag handling improvements
Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the `create` output about the fact that it won't be stable.
2020-03-03 22:42:52 +01:00
Jenn Magder
e491544588
Move embedding and linking Flutter frameworks into the tool ( #51453 )
...
* Move embedding and linking Flutter frameworks into the tool
* Unused import
* Migrate
* Rename run, add comments, remove typedef
* Add status log to tell the user what we did
* Remove Podfile migration, create IOSMigration superclass
* word-smiting
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* for space
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-03-03 12:11:28 -08:00
Shi-Hao Hong
d2c734a36f
Simple repeating word fixes ( #51871 )
2020-03-03 11:13:07 -08:00
Greg Spencer
1ba4f1f509
Add Linux and Windows target platforms ( #51519 )
...
This PR adds the linux and windows target platform enum values, along with automatically setting the defaultTargetPlatform to the appropriate value on those platforms.
Fixes #31366
2020-03-03 04:38:04 -08:00
zsunkun
fdbd1b14ff
fix pom file not found when run app with local engine ( #51468 )
2020-03-02 19:09:01 -08:00
Jonah Williams
3489da9328
[flutter_tools] no more MockLogger in tests ( #51684 )
2020-03-02 16:23:56 -08:00
Zachary Anderson
914bd76979
[flutter_tools] Handle errors on the std{out,err}.done future ( #51660 )
2020-02-28 22:31:01 -08:00
Jonah Williams
9b4159c5ee
[flutter_tools] support run -d chrome test scripts ( #51658 )
2020-02-28 14:21:02 -08:00
Jonah Williams
515027a91c
[flutter_tools] allow configuring libraries spec path for the web compilation ( #51590 )
2020-02-28 11:26:02 -08:00
Jonah Williams
42ae15f44e
[flutter_tools] remove LinuxWorkflow from injection and clean up tests ( #51597 )
2020-02-28 10:27:27 -08:00
Zachary Anderson
b32ee2f15c
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )" ( #51616 )
...
This reverts commit 9de7787f25
.
2020-02-27 22:57:13 -08:00
stuartmorgan
33bb1faf5b
Reland: Always use new plugin schema for plugin template ( #49832 )
...
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-02-27 22:48:25 -08:00
Zachary Anderson
9de7787f25
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )
2020-02-27 22:46:23 -08:00
Jonah Williams
e00d424de5
[flutter_tools] clean-ups to linux doctor test ( #51593 )
2020-02-27 15:15:35 -08:00
Jenn Magder
4fb9ce8414
Clean App.framework, Generated.xcconfig, flutter_export_environment.sh ( #51532 )
2020-02-27 12:18:06 -08:00
Jonah Williams
080dfb5eb3
[flutter_tools] swap mustache dependency for mustache_template ( #51578 )
2020-02-27 11:23:41 -08:00
stuartmorgan
dd2756c36a
Generate a makefile for Linux plugins ( #51520 )
...
When generating the plugin registrant for Linux, also generate a
makefile that can be included in the app-level Makefile to manage all of
the plugin targets and flags, exporting them in a few known variables
for use in the outer makefile.
Part of #32720
2020-02-27 09:45:22 -08:00
Jonah Williams
3b5668c996
[flutter_tools] hide usage of package:mustache behind interface ( #51500 )
2020-02-27 09:17:42 -08:00
Jonah Williams
08d079f6c2
[flutter_tools] wire up complete support for Dart obfuscation ( #50509 )
2020-02-27 08:58:33 -08:00
Zachary Anderson
483f49962c
Revert "[flutter_tool] Where possible, catch only subtypes of Exception ( #51440 )" ( #51539 )
...
This reverts commit f1cd47ef5c
.
2020-02-26 23:42:19 -08:00
Zachary Anderson
f1cd47ef5c
[flutter_tool] Where possible, catch only subtypes of Exception ( #51440 )
2020-02-26 21:45:02 -08:00
Jonah Williams
80619f100f
[flutter_tools] remove globals from plist parser and update tests ( #51444 )
2020-02-26 18:31:42 -08:00
Jenn Magder
e31521eab5
Validate empty pubspec plugin section ( #51503 )
2020-02-26 15:44:35 -08:00
Lynn
2243c42ebc
Fix flutter doctor (pluginsPath) check for Mac ( #50324 )
2020-02-26 13:41:03 -08:00
Jonah Williams
65a7941228
[flutter_tools] reduce globals in web validator and chrome launcher ( #51443 )
2020-02-26 10:37:52 -08:00
Jonah Williams
55072246d0
[flutter_tools] remove build script from tool package ( #50690 )
2020-02-26 08:25:04 -08:00
Jonah Williams
53457c2241
[flutter_tools] Reland initialize frontend_sever with build ( #51477 )
2020-02-26 08:06:03 -08:00
Jonah Williams
421056ee54
Revert "[flutter_tools] initialize frontend server with build ( #49405 )" ( #51476 )
...
This reverts commit 59cc3cdf01
.
2020-02-26 07:24:18 -08:00
Alexandre Ardhuin
a4054938ce
unnecessary multiline strings ( #50806 )
2020-02-25 18:12:17 -08:00
Zachary Anderson
bc4bd7bd55
[flutter_tools] Don't try to run pub before the version command ( #51436 )
2020-02-25 17:19:47 -05:00
stuartmorgan
22c807773a
Automatically add plugin projects to Windows .sln ( #51246 )
...
Adds utility code for managing list of plugin projects within a solution file, updating them as the plugins change.
This is a prototype of an approach to solution-level portion of Windows plugin tooling; it may not be what the final plugin handling on Windows uses, but it makes things much better in the short term, and gives us a baseline to evaluate other possible solution management systems against.
Part of #32719
2020-02-25 14:16:27 -08:00
Nate Bosch
9228b87eb3
Don't use a default test randomize ordering seed ( #51018 )
...
Fixes #51010
The test package differentiates between passing and not passing this
argument. A previous version had a bug that treated passing `0`
identically to not passing the argument, and the flutter test runner
relied on this bug by always passing a value and using a default of `0`.
- Remove the argument defaults throughout to make it clear that `null`
is a valid value and the default.
- Remove the argument defaulting on the argument parser.
- Update the wording of the usage for this argument, this will also be
updated on the `package:test` side.
2020-02-25 13:01:40 -08:00
Zachary Anderson
d73dd6b356
[flutter_tools] Rework iOS vmservice handshake failure usage event ( #51419 )
2020-02-25 15:22:17 -05:00
Christopher Fujino
704fb4cbc7
Remove usage of ideviceinstaller in favor of ios-deploy ( #50772 )
2020-02-25 09:09:40 -08:00
Jonah Williams
59cc3cdf01
[flutter_tools] initialize frontend server with build ( #49405 )
2020-02-24 14:21:33 -08:00
Jonah Williams
3411129cc5
[flutter_tools] don't fix chrome window size, add more logs ( #51346 )
2020-02-24 12:26:05 -08:00
Jonah Williams
7572ec47bd
[flutter_tools] add more search paths for source maps ( #51307 )
2020-02-24 10:40:08 -08:00
Dan Field
4df8fdb7df
update cache for flutter test/fast command ( #51235 )
2020-02-22 18:24:03 -08:00
Angjie Li
5ee4147283
Allow developers to run flutter driver web test directly ( #51084 )
2020-02-22 16:49:03 -08:00
Jonah Williams
bb74a328b5
[flutter_tools] adds etag/cache control header to debug asset server ( #51143 )
2020-02-21 14:15:54 -08:00
Jonah Williams
25a813110d
[flutter_tools] reload dart_sdk when sources update ( #51067 )
2020-02-20 12:26:47 -08:00
Alexandre Ardhuin
7d7ac7c32b
start multiline strings with newline ( #50825 )
2020-02-20 10:16:28 +01:00
Jacob MacDonald
dda7a618ec
add support for the builders configuration for web ( #50988 )
2020-02-19 19:01:04 -08:00
Jonah Williams
6d0b1ef868
[flutter_tools] include LICENSE files as build dependencies ( #50945 )
2020-02-19 18:56:04 -08:00
Jenn Magder
85b54d4c0c
Change DeviceManager.getAllConnectedDevices() return value from Stream to List ( #51015 )
2020-02-19 17:40:24 -08:00
Francisco Magdaleno
6815e72086
Revert "[flutter_tools] move engine unpack to the flutter tool ( #50707 )" ( #51076 )
...
This reverts commit 0a623e879c
.
2020-02-19 13:55:48 -08:00
Jonah Williams
0a623e879c
[flutter_tools] move engine unpack to the flutter tool ( #50707 )
2020-02-19 13:36:04 -08:00
Angjie Li
11549e45a3
Use Async WebDriver for WebFlutterDriver. ( #50835 )
2020-02-19 13:31:10 -08:00
Martin Kustermann
d2947571bd
Ensure to close connection to VM after collecting coverage ( #50943 )
2020-02-18 12:39:37 -08:00
Jacob MacDonald
11589ca20d
serve the generated main.dart file so source_maps work for it ( #50976 )
2020-02-18 12:36:03 -08:00
Jonah Williams
67362ce5e0
[flutter_tools] fix debug stack traces ( #50872 )
2020-02-18 11:28:02 -08:00
Jonah Williams
57acc68740
[flutter_tools] ensure zoned errors are caught in new web runner ( #50895 )
2020-02-18 11:27:14 -08:00
Jonah Williams
3bb4ba61bd
[flutter_tools] use uri resolution for asset requests ( #50844 )
2020-02-14 21:46:03 -08:00
Jonah Williams
238dac141b
Revert "[flutter_tools] More Linux version detail ( #50739 )" ( #50840 )
...
This reverts commit c725f107a1
.
2020-02-14 16:10:47 -08:00
Jonah Williams
ea4d969ecc
[flutter_tools] move dwds imports to not require g3 visibility ( #50823 )
2020-02-14 14:56:03 -08:00
Zachary Anderson
bf32974189
[flutter_tools] Handle asynchronous errors writing to stdio ( #50779 )
2020-02-14 10:38:02 -08:00
Zachary Anderson
c268b6c3d4
[flutter_tools] Collect more information in ios-handshake failure event ( #50804 )
2020-02-14 09:40:52 -08:00
Yegor
b34046903b
Fix stack trace parsing on non-debug builds; add e2e tests ( #50652 )
...
* Fix stack trace parsing on non-debug builds; add e2e tests
2020-02-13 18:34:08 -08:00
Zachary Anderson
c725f107a1
[flutter_tools] More Linux version detail ( #50739 )
2020-02-13 14:49:11 -08:00
Jonah Williams
9431229e4c
[flutter_tools] remove globals from depfile usage ( #50710 )
2020-02-13 13:59:40 -08:00
stuartmorgan
f4177a6dde
Generate a Property Sheet for Windows plugins ( #50740 )
...
Generates a Property Sheet for Windows builds containing link and include path
information for any included plugins. This allows automating part of the process
of integrating plugins into the build that is currently manual.
To support this change, refactored msbuild_utils into a PropertySheet class so that
it can be used to make different property sheets.
2020-02-13 12:53:28 -08:00
Jonah Williams
e2554a9202
Add "flutter downgrade" command ( #50506 )
2020-02-13 11:56:45 -08:00
Jonah Williams
550c82d5d4
[flutter_tools] initialize web stack trace formatter ( #50680 )
2020-02-13 10:03:02 -08:00
Jonah Williams
d3a41816d1
[flutter_tools] ensure all source maps load correctly for release and profile ( #50702 )
2020-02-13 10:01:04 -08:00
Zachary Anderson
450fc25c1e
[flutter_tool] Disable analytics on more bots ( #50669 )
2020-02-13 09:58:03 -08:00
stuartmorgan
7bdd4757ec
Create plugin symlinks for Windows and Linux ( #50599 )
...
This makes ephemeral symlinks to each plugin, for use by build systems.
This is similar to the logic implemented in the Podfile on iOS and
macOS, but managed internally to the Flutter tool.
Exploration for addressing #32719 and #32720
Related to #41146
2020-02-12 16:23:27 -08:00
Dan Field
24f8f799da
add an --enable-vmservice flag ( #50663 )
2020-02-12 14:52:09 -08:00
Zachary Anderson
b9ecebf101
Reland: [flutter_tools] Disable analytics for more bots ( #50641 )
2020-02-12 10:58:02 -08:00
sjindel-google
3aa72cc2f2
Use ELF for AOT snapshots on Fuchsia. ( #50468 )
2020-02-12 10:53:04 -08:00
Zachary Anderson
1903ce012e
Revert "[flutter_tools] Disable analytics for more bots ( #50579 )" ( #50622 )
...
This reverts commit 0a38f29c0d
.
2020-02-11 22:47:41 -08:00
Jenn Magder
7c24ebc79b
Map arm64e devices to arm64 devices ( #50612 )
2020-02-11 19:43:43 -08:00
Jonah Williams
5406258fc6
[flutter_tools] fix crash when IsolateRef returns sentinel ( #50611 )
2020-02-11 16:03:45 -08:00
Jenn Magder
bfbb347682
Use BUILD_LIBRARY_FOR_DISTRIBUTION build setting for generating add-to-app frameworks ( #50536 )
2020-02-11 15:53:02 -08:00
Zachary Anderson
0a38f29c0d
[flutter_tools] Disable analytics for more bots ( #50579 )
2020-02-11 15:48:02 -08:00
Jonah Williams
18f38cd45b
Switch flutter_tools to use frontend_server for web compilation ( #50365 )
2020-02-11 15:43:46 -08:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01:00
Jenn Magder
e002698c35
Turn back on macOS shard Cirrus caching ( #50496 )
2020-02-11 10:37:53 -08:00
Jonah Williams
fa44a1cf37
[flutter_tools] fix path escaping on in depfile generation ( #50538 )
2020-02-11 09:31:58 -08:00
Jonah Williams
568172793c
Add "flutter symbolize" command ( #49465 )
2020-02-10 14:18:03 -08:00
Zachary Anderson
c23d9cd4ce
[flutter_tools] Print emojis in Windows Terminal ( #50446 )
2020-02-10 10:23:35 -08:00
Jenn Magder
082ae838bd
Fall back to global cache and platform if null when injected into constructor ( #50370 )
2020-02-07 15:28:45 -08:00
Jenn Magder
4411d8e64e
Update minimum version to Xcode 11.0 ( #50371 )
2020-02-07 14:35:01 -08:00
Jenn Magder
48a9bd56b1
Revert "Update minimum version to Xcode 11.0 ( #50315 )" ( #50369 )
...
This reverts commit 2b7582ef61
.
2020-02-07 13:59:21 -08:00
Jenn Magder
2b7582ef61
Update minimum version to Xcode 11.0 ( #50315 )
2020-02-07 13:57:24 -08:00
Alexandre Ardhuin
b953c3e5a8
use raw strings to avoid escaping ( #50322 )
2020-02-07 16:35:55 +01:00
Alexandre Ardhuin
5c28e3eeea
unnecessary escapes fixes ( #50178 )
...
* unnecessary escapes fixes
* replace some strings with raw strings
* update regexp
* address review comments
2020-02-07 06:35:50 +01:00
David Iglesias
b8199abd15
[flutter_tools] Prevent web ServiceWorker from modifying fetch requests. ( #50312 )
2020-02-06 18:43:03 -08:00
Jonah Williams
82410a5ae7
[flutter_tools] support iOS and macOS with split-debug-info and tree-shake-icons ( #50296 )
2020-02-06 18:39:34 -08:00
Harry Terkelsen
0fc1c6f6d7
[flutter_tool] Make the registrant import relative to the entrypoint ( #50302 )
2020-02-06 17:08:02 -08:00
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
Francisco Magdaleno
fcf341e4f3
Reland "[flutter_tools] Removes the need of a no-op plugin implementations #48614 " ( #49085 )
2020-01-17 14:43:34 -08:00
Zachary Anderson
e8222aaf9a
[flutter_tool] Don't crash on Android emulator startup failure ( #48995 )
2020-01-17 09:28:01 -08:00
Jenn Magder
b225cb8d53
Revert "[flutter_tools] Removes the need of a no-op plugin implementations ( #48614 )" ( #49005 )
...
This reverts commit 5eb394e084
.
2020-01-16 16:19:54 -08:00
Jonah Williams
ea43f24e68
[flutter_tools] let experimental compiler support plugins ( #48979 )
2020-01-16 13:32:49 -08:00
Francisco Magdaleno
5eb394e084
[flutter_tools] Removes the need of a no-op plugin implementations ( #48614 )
2020-01-16 12:42:05 -08:00
Jason Simmons
63016c8900
[flutter_tools] Handle special characters during conversion of asset manifest paths into URIs ( #48829 )
2020-01-15 16:43:02 -08:00
stuartmorgan
1be332eb8b
Require Visual Studio 2019 for Windows ( #48844 )
2020-01-15 08:43:03 -08:00
Jonah Williams
63c65e5cdb
[flutter_tools] Clean up build_aot code post assemble migration ( #48771 )
2020-01-14 19:07:15 -08:00
Jonah Williams
ad9476dc9e
[flutter_tools] Remove context from Artifacts class ( #48776 )
2020-01-14 16:47:34 -08:00
Jonah Williams
bc6f270c58
Revert "[flutter_tools] Enable fast start by default for Android ( #48746 )" ( #48836 )
...
This reverts commit d5b0b3c8d1
.
2020-01-14 13:23:03 -08:00
Jonah Williams
d5b0b3c8d1
[flutter_tools] Enable fast start by default for Android ( #48746 )
2020-01-14 12:38:53 -08:00
Emmanuel Garcia
b9733522dd
Implement takeScreenshot and add driver test for Fuchsia ( #48611 )
2020-01-14 12:29:09 -08:00
Andrew Davies
52e0d980cb
[tools] Rename dev_finder to device-finder. ( #48610 )
...
dev_finder name is deprecated. device-finder is preferred.
Functionality remains identical, this is an aesthetic change.
This change was generated via:
$ find . -not -path '*/\.*' -type f -exec sed -i 's/(^import.*)!dev_finder/device-finder/g' {} \;
2020-01-14 09:41:16 -08:00
Zachary Anderson
29490887e0
Reland: [flutter_tools] File system utilities ( #48757 )
...
* Reland: [flutter_tools] File system utilities
* Remove unused imports
2020-01-14 09:40:39 -08:00
xster
9eb9ea0ffa
Let the tool warn about all old API plugins ( #48282 )
2020-01-13 21:30:42 -08:00
Jonah Williams
79c286705c
[flutter_tools] Refactor Environment and FileStore to be context-free ( #48759 )
2020-01-13 19:25:35 -08:00
Jonah Williams
9f145f6ced
[flutter_tools][web] Add basic service worker generation support to web applications ( #48344 )
2020-01-13 17:13:02 -08:00
Zachary Anderson
ef62092b9b
Revert "[flutter_tools] File system utilities ( #48738 )" ( #48755 )
...
This reverts commit 0349660622
.
2020-01-13 14:30:37 -08:00
Jacob MacDonald
03a59bff03
Serve packages uris in flutter_tools dev web server ( #48743 )
...
* support mapping /packages/<package>/<path> requests to package:<package>/<path> uris in the web device file server
2020-01-13 13:21:57 -08:00
Zachary Anderson
0349660622
[flutter_tools] File system utilities ( #48738 )
2020-01-13 13:17:45 -08:00
Zachary Anderson
23a3d1014f
[flutter_tool] Make BotDetector context free ( #48605 )
2020-01-13 10:12:06 -08:00
Ian Hickson
e2b169ebd3
Apply void_checks lint. ( #48267 )
2020-01-13 10:03:01 -08:00
Zachary Anderson
4d096c434f
[flutter_tool] Make CommandHelp context free ( #48584 )
2020-01-10 16:53:01 -08:00
Emmanuel Garcia
fca5917519
Test hot reload targeting a Fuchsia device ( #48472 )
2020-01-10 14:38:01 -08:00
Zachary Anderson
8b139a8c41
[flutter_tool] Use the delegate's toString in the ErrorHandlingFileSystem ( #48597 )
2020-01-10 14:35:49 -08:00
Zachary Anderson
67a68e9fa6
[flutter_tools] Fix analytics opt out event ( #48585 )
2020-01-10 14:35:19 -08:00
Tim Sneath
5280dda15b
Improve toolchain text ( #48102 )
2020-01-10 14:28:03 -08:00
Emmanuel Garcia
ec2d58335a
Make subcommands return success instead of null ( #48100 )
2020-01-10 11:28:01 -08:00
Jonah Williams
5d30c0970a
[flutter_tools][web] Add support for web app manifests and arbitrary resource files (from web/) ( #48316 )
2020-01-10 09:37:20 -08:00
Jonah Williams
749589d896
[flutter_tools] Remove context usage from status and clean up test cases ( #48446 )
2020-01-10 09:36:49 -08:00