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
Alexandre Ardhuin
82262d8896
format operator== according to flutter style guide ( #48449 )
2020-01-09 08:23:02 -08:00
Zachary Anderson
23ce192a8f
Reland: Reword flutter run help screen. ( #48423 )
2020-01-09 08:18:03 -08:00
Zachary Anderson
07161e8267
[flutter_tool] Don't use context in ProcessUtils ( #48444 )
2020-01-08 15:20:32 -08:00
stuartmorgan
58d6c425e4
Check for desktop project files before building ( #48350 )
...
Moves the checks that projects have been configured for desktop to a lower level, where they will cover more codepaths (e.g., 'run'), and improves them to check for native build projects, rather than just directories, to catch cases where the directory exists (e.g., due to accidental creation of generated files).
Also adds links to the error messages pointing to instructions on adding desktop support to a project.
Fixes #47145
2020-01-08 12:39:49 -08:00
Jonah Williams
f7b8d62cbc
[flutter_tool] Refactor Logger and Terminal to (mostly) no longer depend directly on context ( #47269 )
2020-01-08 12:35:12 -08:00
Tim Sneath
6b66412136
Update first-run information URLs ( #48154 )
2020-01-08 12:33:03 -08:00
Zachary Anderson
a1bf03f87a
Revert "Esarbanis flutter run help ( #48314 )" ( #48351 )
...
This reverts commit 866fa64dce
.
2020-01-07 15:06:40 -08:00
Jonah Williams
bf6c4c4a41
[flutter_tools]web]Add support for --csp mode to build web ( #48319 )
2020-01-07 12:20:03 -08:00
Zachary Anderson
866fa64dce
Esarbanis flutter run help ( #48314 )
...
* Reword flutter run help screen.
* As per Hixie request, added Efthymios Sarmpanis to the AUTHORS file
* fix test
Co-authored-by: Efthymis Sarmpanis <e.sarbanis@gmail.com>
2020-01-07 12:10:08 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Jonah Williams
2221a9f514
[flutter_tool] Cache the path context in the flutter tool ( #48250 )
...
recomputing the path context in the getter violates flutter repo style guide and adds a small but measurable overhead to all path operations
2020-01-06 13:57:13 -08:00
Jonah Williams
ee7a37f1d3
[flutter_tools] Ensure that global variables are easily identifiable ( #47398 )
2020-01-06 11:04:20 -08:00
Jenn Magder
0aed0b61a1
Add newlines between plugin names in GitHub template ( #46937 )
2020-01-03 17:53:54 -08:00
Devon Carew
c924f499f5
ignore a (potentially) unused import in generated code ( #47593 )
2020-01-03 11:04:03 -08:00
Angjie Li
9df1790f24
Flutter Web Driver Support ( #47890 )
2020-01-02 19:48:01 -08:00
Jenn Magder
dc99d61e5d
Remove simulator arch in Profile and Release, App.xcframework ( #48002 )
2020-01-02 13:03:01 -08:00
Jenn Magder
a6c3ffe10c
Allow Xcode project Info.plist to be moved ( #47993 )
2020-01-02 12:03:02 -08:00
Dan Field
24f39d40a4
Revert "Revert "Add many more global analyses. ( #47875 )" ( #48080 )" ( #48081 )
...
This reverts commit 04ea3183ce
.
2020-01-02 11:47:28 -08:00
Francisco Magdaleno
04ea3183ce
Revert "Add many more global analyses. ( #47875 )" ( #48080 )
...
This reverts commit e768c92fbc
.
2020-01-02 09:25:59 -08:00
Ian Hickson
e768c92fbc
Add many more global analyses. ( #47875 )
...
* Update packages.
* Add many more global analyses.
* Catch trailing spaces and trailing newlines in all text files.
Before we were only checking newly added files, but that means we
missed some.
* Port the trailing spaces logic to work on Windows too.
* Correct all the files with trailing spaces and newlines.
* Refactor some of the dev/bots logic into a utils.dart library.
Notably, the "exit" and "print" shims for testing are now usable
from test.dart, analyze.dart, and run_command.dart.
* Add an "exitWithError" function that prints the red lines and
then exits. This is the preferred way to exit from test.dart,
analyze.dart, and run_command.dart.
* More consistency in the output of analyze.dart.
* Refactor analyze.dart to use the _allFiles file enumerating logic
more widely.
* Add some double-checking logic to the _allFiles logic to catch
cases where changes to that logic end up catching fewer files
than expected (helps prevent future false positives).
* Add a check to prevent new binary files from being added to
the repository. Grandfather in the binaries that we've already
added.
* Update all the dependencies (needed because we now import crypto in
dev/bots/analyze.dart).
2019-12-30 17:12:19 -08:00
Francisco Magdaleno
f2f9d0e4fd
Revert "Flutter Web Driver Support ( #47470 )" ( #47698 )
...
This reverts commit cc1c9649c4
.
2019-12-23 15:20:11 -08:00
Jenn Magder
9861a1c045
flutter build ios-framework generate Flutter.podspec ( #47556 )
2019-12-23 13:12:36 -08:00
Alexandre Ardhuin
4adad2c652
update list of lints ( #47661 )
2019-12-23 18:40:56 +01:00
Jenn Magder
85e9be36bf
Revert "Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #47266 )" ( #47568 )
...
This reverts commit 648a5d8a1e
.
2019-12-20 17:45:16 -08:00
Angjie Li
cc1c9649c4
Flutter Web Driver Support ( #47470 )
2019-12-19 19:53:01 -08:00
Jenn Magder
648a5d8a1e
Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #47266 )
2019-12-19 14:18:10 -08:00
Dan Field
41a911099b
comments ( #47473 )
2019-12-19 13:48:02 -08:00
Jonah Williams
3fe6668849
[flutter_tool] ensure extraGenSnapshotArguments are forwarded to gen_snapshot from Android builds ( #47059 )
2019-12-19 13:44:21 -08:00
Dan Field
0a9ff388bf
Revert "Use platform appropriate filepaths" ( #47395 )
2019-12-18 18:08:02 -08:00
Lau Ching Jun
2df964581f
Revert "Flutter Web Driver Support ( #45951 )" ( #47389 )
...
This reverts commit 1ef0eadb45
.
2019-12-18 17:02:31 -08:00
Jenn Magder
9184f4d6fb
Build iOS frameworks with relative output path ( #47369 )
2019-12-18 15:31:54 -08:00
Dan Field
b23238890a
Pipe through test-randomize-ordering-seed ( #47243 )
2019-12-18 13:58:01 -08:00
Lau Ching Jun
7850e2525f
Is executable doesn't mean a+x ( #47359 )
2019-12-18 12:21:46 -08:00
Angjie Li
1ef0eadb45
Flutter Web Driver Support ( #45951 )
...
* Support Flutter Driver test for Flutter Web application.
* Support Flutter Driver test for Flutter Web application.
* Fix documentation issues.
* Support Flutter Driver test for Flutter Web application.
* Fix documentation.
* Remove unused file from dartdoc check.
* Sync to date.
* Revert change to dartdoc.
* Address comments.
* Apply suggestions from code review
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* Update copyrights.
* Update allowed list for browsers.
* Verify command line arguments for Drive command is correctly parsed.
* Make waitUntilFirstFrameRasterized throw unimplementedError for Flutter Web Driver.
* Add comment for why sync WebDriver is used.
* Update documentations.
* Add more unit tests and update documentation.
* Configure test.dart so that web_extension_test will be executed with --platform=chrome.
* Revert unnecessary changes.
* Add new file path for Windows to blacklist.
* Reconstruct the structure of flutter_driver/test/src folder to remove filtering logic in dev/bots/test.dart/
* Fix path to web_extension_test.dart.
* Add instructions for how to use WebFlutterDriver.
* Update getLayerTree to use sendCommand instead of _sendCommand.
* Update pubspec files.
2019-12-18 10:45:39 -08:00
Zachary Anderson
d328e0cea0
[flutter_tool] Improve iOS mDNS failure error message ( #47348 )
2019-12-18 09:23:00 -08:00
Emmanuel Garcia
9884f9980f
Change meaning of a plugin not supporting the android platform ( #47015 )
2019-12-17 19:48:01 -08:00
Jenn Magder
65ad8d805a
Revert "Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #46928 )" ( #47264 )
...
This reverts commit e54e301d50
.
2019-12-17 17:20:57 -08:00
Jenn Magder
e54e301d50
Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #46928 )
2019-12-17 16:13:01 -08:00
Emmanuel Garcia
a15a81be21
Fix androidSdk NPE ( #47187 )
2019-12-17 14:10:36 -08:00
Jenn Magder
1cdf0f44db
Only set flutter run
usage values for targeted device platforms ( #46931 )
2019-12-17 14:09:34 -08:00
Alek Åström
853c8c569f
[flutter_tools] Add violating plugin name to validation errors ( #46601 )
2019-12-17 14:08:03 -08:00
George Wright
56f4eaf58c
Re-enable --no-link-platform for JIT mode ( #47242 )
2019-12-17 17:05:32 -05:00
Jonah Williams
0a2d8e0cce
[flutter_tool] Remove direct usage of package:linter in the flutter_tools ( #47174 )
2019-12-16 18:37:20 -08:00
Jonah Williams
a723c94650
[flutter_tool] restructure ProjectFileInvalidator to no longer directly depend on context ( #45739 )
2019-12-16 18:12:04 -08:00
Zachary Anderson
a72cca137d
[flutter_tool] Print a helpful message on some mDNS failures ( #47157 )
2019-12-16 14:57:29 -08:00
Todd Volkert
fc9b30a4f1
Revert "flutter_tools: Remove unused //ignore comments; change flutter-specific ones to "ignore_for_flutter" ( #45917 )" ( #46999 )
...
This reverts commit f28592018d
.
It broke forbidden_imports_test, which uses a custom ignore directive.
2019-12-13 12:23:12 -08:00
Sam Rawlins
f28592018d
flutter_tools: Remove unused //ignore comments; change flutter-specific ones to "ignore_for_flutter" ( #45917 )
2019-12-13 12:03:02 -08:00
Jonah Williams
0497235c20
[flutter_tool] experimental resident web runner is not debuggable ( #46916 )
2019-12-12 19:05:48 -08:00
Jenn Magder
dfa6eb31a0
Revert "flutter run FULL_PRODUCT_NAME ( #46838 )" ( #46925 )
2019-12-12 17:34:54 -08:00
Jenn Magder
7a7e2bb247
flutter run FULL_PRODUCT_NAME ( #46838 )
2019-12-12 17:03:01 -08:00
Jonah Williams
5ba2830c83
[flutter_tool][gallery] Standardize target platform override behavior in tool and update flutter gallery to support it ( #46206 )
2019-12-12 15:20:52 -08:00
Jonah Williams
23b7853dfd
[flutter_tool] remove ability to disable Fingerprinter with DISABLE_FLUTTER_BUILD_CACHE env variable ( #46913 )
2019-12-12 15:12:53 -08:00
Jonah Williams
8ca55605c8
[flutter_tool] forward device-vmservice-port to iOS device launch arguments ( #46822 )
2019-12-12 13:55:42 -08:00
Jonah Williams
592a842b86
[flutter_tool] fix NPE in daemon caused by returning null connection info from experimental web runner ( #46909 )
2019-12-12 13:55:09 -08:00
Emmanuel Garcia
a467932d5b
Skip plugins that don't have an android impl when building AARs ( #46835 )
2019-12-12 12:38:09 -08:00
Danny Tuppeny
4944622b5d
Support URL tunnelling (pass dwds UrlEncoder through to editors via daemon) ( #44271 )
...
* Prposal for supporting URL tunnelling
* Update daemon.md
* Add the ability for daemon to call clients to expose URLs
* Fix dwds mock in web_fs tests
* Fix type error
* Remove build_runner import from run
* Move appStartedTime back to after the app has started
* Remove nested DI scope and pass urlTunneller down
* Fix import
* Tweak TODO
* Fix existing tests
* Fix spec to use result instead of params for response object
* Fix exposeUrl to use a url field, as spec'd
* Test that the daemon's exposeUrl sends a request and handles the response
2019-12-12 18:43:58 +00:00
Lau Ching Jun
535526b03c
Enable web for some of the golden tests ( #46820 )
...
* Make golden test timeout longer, some tests are flaky if the timeout is too short
* Enable some golden tests for web
2019-12-12 10:36:41 -08:00
Sean Freiburg
418b814555
Add buildNumber param to "flutter build aar" command ( #46291 )
2019-12-12 10:28:01 -08:00
Emmanuel Garcia
354f80b84a
Check and give execute permission to Gradle if needed ( #46748 )
2019-12-11 16:36:03 -08:00
Jonah Williams
8b88c8296f
remove test_api dependency from flutter_tools/base/io ( #46796 )
2019-12-11 13:31:30 -08:00
Jonah Williams
d0e5824040
[flutter_tool] Update require.js artifact location for tests ( #46787 )
2019-12-11 12:56:58 -08:00
Zachary Anderson
895ffc80dc
[flutter_tool] Handling of certain unrecoverable filesystem errors ( #46617 )
2019-12-11 12:54:36 -08:00
Jonah Williams
01953a1015
[flutter_tool] fix NPE in log reader for web server device ( #46729 )
2019-12-10 16:14:48 -08:00
Koichi Ishida
4938ea0385
Fix typo in gradle tools exit message ( #46580 )
2019-12-10 13:41:31 -05:00
Jonah Williams
bda9d90804
[flutter_tool] Reland: support --fast-start for Android applications (as an opt-in) ( #46140 )
2019-12-10 10:26:14 -08:00
Jonah Williams
81aa2710d2
[flutter_tool] add a vmservice API for hot ui requests ( #45649 )
2019-12-09 21:31:34 -08:00
Jonah Williams
523ac7b6f5
[flutter_tool] Always re-copy Framework/podspec when regenerating iOS module project ( #45877 )
2019-12-09 21:18:09 -08:00
Jonah Williams
d0526d3f92
[flutter_tool] Prevent accidental calls to io.exit in unit tests ( #46639 )
2019-12-09 18:58:29 -08:00
Christopher Fujino
0268510480
Fix analytics regression ( #46242 )
2019-12-09 15:13:02 -08:00
Jonah Williams
63cc4ad3aa
Revert "[flutter_tool] Prevent accidental calls to io.exit when asserts are active in unit tests ( #46210 )" ( #46630 )
...
This reverts commit b698c9d72e
.
2019-12-09 13:13:59 -08:00
Jonah Williams
b698c9d72e
[flutter_tool] Prevent accidental calls to io.exit when asserts are active in unit tests ( #46210 )
2019-12-09 13:01:37 -08:00
Lau Ching Jun
c2eb0681ce
Implement screenshot test for flutter web. ( #45530 )
2019-12-06 14:25:39 -08:00
Amr Yousef
237c478683
Update iOS build signing error message ( #45835 )
2019-12-06 10:41:06 -08:00
Jonah Williams
e6fa5717d1
fix release web builds where the target file is not under lib ( #46179 )
2019-12-05 15:57:12 -08:00
Jenn Magder
fb69a393b8
Add bitcode and architectures to App.framework build ios framework command ( #46130 )
2019-12-05 12:16:54 -08:00
Zachary Anderson
e98acc7d1d
[flutter_tool] Print version info on a no-op upgrade. ( #46109 )
2019-12-05 12:16:48 -08:00
Zachary Anderson
99684ce159
[flutter_tool] Make Device.dispose() abstract ( #46006 )
2019-12-05 08:48:00 -08:00
Jenn Magder
d01de941b9
Revert "Support --fast-start for Android applications (as an opt-in) ( #45431 )" ( #46138 )
...
This reverts commit 2a113165c0
.
2019-12-04 18:12:57 -08:00
Jonah Williams
2a113165c0
Support --fast-start for Android applications (as an opt-in) ( #45431 )
2019-12-04 17:34:25 -08:00
Emmanuel Garcia
9e94eb93bc
Remove flutterBuildPluginAsAarFeature flag ( #46101 )
2019-12-04 15:42:08 -08:00
Christopher Fujino
dfc108c66c
improve resetChanges() dartdoc ( #46008 )
2019-12-04 09:58:01 -08:00
Zachary Anderson
4484ae4043
[flutter_tool] Do not continue with a no-op 'upgrade' ( #46011 )
2019-12-03 20:08:24 -08:00
Emmanuel Garcia
09126abb22
Enable Android embedding v2 on the beta, dev and stable channel ( #46040 )
2019-12-03 17:43:00 -08:00
Jonah Williams
b96d818c19
Remove record/replay/bug report functionality from the tool ( #45999 )
2019-12-03 13:24:45 -08:00
Jonah Williams
c95dafc4c6
Add printTrace when vscode package.json parsing fails ( #45998 )
2019-12-03 09:56:04 -08:00
Jonah Williams
0dace48932
Add comments to package scheme fix ( #45997 )
2019-12-03 09:55:50 -08:00
Jonah Williams
0b2bf99491
Reland: Update macOS configuration settings ( #45966 )
2019-12-03 08:13:08 -08:00
Jonah Williams
8a9897c84c
Revert "update macOS configuration settings ( #45920 )" ( #45965 )
...
This reverts commit 3b2042a028
.
2019-12-02 21:34:41 -08:00
Jonah Williams
9708e7d16a
use package-scheme imports for generated web entrypoint ( #45934 )
2019-12-02 21:10:08 -08:00
Jonah Williams
3b2042a028
update macOS configuration settings ( #45920 )
2019-12-02 21:06:38 -08:00
Jonah Williams
b63683b6cd
Update configuration for flutter features ( #45914 )
2019-12-02 17:06:41 -08:00
Jonah Williams
8cf20f3be7
Dont crash on malformed packages.json ( #45786 )
2019-12-02 17:04:37 -08:00
Emmanuel Garcia
8c25328014
Handle case where lastLogcatTimestamp is null ( #45937 )
2019-12-02 15:02:11 -08:00
Dan Field
088fa24463
Set the LANG when invoking cocoapods ( #45710 )
2019-12-02 13:26:32 -08:00
Kaushik Iska
3994872073
Sample driver test working on Fuchsia ( #45652 )
...
* [flutter_driver] [fuchsia] Validate existance of cmx for driver tests
Also added an example driver test that can run on Fuchsia devices.
Fixes: https://github.com/flutter/flutter/issues/45624
* update packages for stock example
* fix licenses
2019-12-02 12:56:16 -08:00
Emmanuel Garcia
475ee89879
Make Android log reader read any recent logs ( #45743 )
2019-11-27 17:52:36 -08:00
Jenn Magder
e2642fd6c0
Do not delete output directory during flutter build ios-framework ( #45740 )
2019-11-27 17:48:19 -08:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Jonah Williams
59ca523b2c
Support web-server/profile/release mode with incremental compiler support for web ( #45713 )
2019-11-27 13:32:45 -08:00
Jonah Williams
598f2ab0fb
Cleanups to resident runner and flutter device classes ( #45673 )
2019-11-27 13:11:04 -08:00
Zachary Anderson
e4b809b7c8
[flutter_tool] Crash less when git fails during 'version' ( #45628 )
2019-11-27 10:18:43 -08:00
Danny Tuppeny
4741e9c3fe
Retry Xcode builds if they fail due to concurrent builds running ( #45608 )
...
* Retry Xcode builds if they fail due to concurrent builds running
Fixes #40576 .
* Add tests for concurrent iOS launches
* Increase number of retries to account for the initial build being slow
2019-11-27 09:44:05 +00:00
Greg Spencer
245d1b51ce
Add macOS to TargetPlatform ( #43457 )
...
This PR adds TargetPlatform.macOS to the TargetPlatform enum. This allows us to begin implementation of some adaptive UI based on which target platform is desired.
I haven't updated the tests here, that will come in a follow-up PR.
2019-11-26 18:32:34 -08:00
Jonah Williams
831163f0d0
Register memory info command on vmservice for Android devices ( #45568 )
2019-11-26 14:49:56 -08:00
Jenn Magder
7d8f82051b
Suggest GitHub template when flutter tool crashes ( #45360 )
...
* On flutter tool crash suggest GitHub template
* Shorten GitHub URLs
* Whitespace
* Wording tweak from @InMatrix
* Review edits
2019-11-26 14:06:31 -08:00
Christopher Fujino
dc68d5700b
Fix flutter run cache ( #45267 )
2019-11-26 09:02:34 -08:00
Jonah Williams
84ce3f6097
Serve web source maps in release runner ( #45318 )
2019-11-25 17:09:36 -08:00
Jenn Magder
8eb6a925f9
Always compile with isysroot on iOS to point to SDK root ( #45436 ) ( #45560 )
2019-11-25 12:49:18 -08:00
Jonah Williams
1888fa3526
Allow flutter run to run release/profile x64 ( #45511 )
2019-11-25 12:04:17 -08:00
Emmanuel Garcia
81724bd60f
Fallback to protocol discovery if mdns returns null ( #45439 )
2019-11-25 11:51:54 -08:00
Michael Klimushyn
901eb0fc81
Add a note to generated plugins files ( #45557 )
...
There has been some confusion about whether or not
.flutter-plugins-dependencies should be tracked in version control or
not. Added a comment to both it and .flutter-plugins explaining that
it's generated and shouldn't be.
.flutter-plugins-dependencies is parsed through JSON, and the JSON spec
doesn't support comments. So unfortunately the note is living in an
arbitrary "_info" key instead of an obvious top level comment.
2019-11-25 11:47:20 -08:00
Jenn Magder
4cc10a1fb8
Revert "Always compile with isysroot on iOS to point to SDK root ( #45436 )" ( #45555 )
...
Analyzer warning.
2019-11-25 10:46:42 -08:00
Jenn Magder
6b11f18bc0
Always compile with isysroot on iOS to point to SDK root ( #45436 )
2019-11-25 10:27:22 -08:00
Alexandre Ardhuin
980f14e0c5
implicit-casts:false on flutter_tools ( #45153 )
...
* implicit-casts:false on flutter_tools
* use castStringKeyedMap
* address review comments
* address review comments
* fix issues after rebase
2019-11-24 06:54:43 +01:00
Emmanuel Garcia
b6e92003c8
Add .flutter-plugins-dependencies
to the project, which contains the app's plugin dependency graph ( #45379 )
2019-11-22 15:02:20 -08:00
Jonah Williams
b54bb6abbb
Dont crash if the tool cannot delete asset directory during debugging ( #45407 )
2019-11-22 14:06:05 -08:00
Jonah Williams
35b571ccfc
Revert "Improve time to development by initializing frontend_server concurrently with platform build ( #45236 )" ( #45422 )
2019-11-22 13:36:12 -08:00
Jonah Williams
c63c576bca
Reland handle corrupt config file ( #45414 )
2019-11-22 12:26:51 -08:00
Jonah Williams
60869e0a93
Improve time to development by initializing frontend_server concurrently with platform build ( #45236 )
2019-11-22 12:26:31 -08:00
xster
942707591d
Revert "catch parse error from corrupt config ( #45319 )" ( #45412 )
2019-11-22 10:56:16 -08:00
Jonah Williams
6640c8b9b4
catch parse error from corrupt config ( #45319 )
2019-11-22 10:09:23 -08:00
Jonah Williams
497ae83c82
Fix experimental incremental web compiler for Windows ( #45286 )
2019-11-22 10:08:38 -08:00
Yegor
aa3943316b
Fix dartDefines in daemon mode ( #45317 )
...
* de-null dartDefines in daemon mode
* remove daemonCommand; pipe through dartDefines into Daemon
* pass dartDefiles in attach; add test for --machine mode
2019-11-22 08:57:14 -08:00
Greg Spencer
a60bf8e23a
Spell check of Flutter docs ( #45200 )
...
No code changes, just comments: I spell-checked all the comments in the repo.
2019-11-22 08:43:55 -08:00
Amir Hardon
e43a69a9fe
Allow a no-op default_package key for a plugin platform ( #45364 )
2019-11-21 16:37:34 -08:00
Zachary Anderson
05226d2a61
Reland: [flutter_tool] Fuchsia AOT builds ( #45350 )
...
* Reland: [flutter_tool] Fuchsia AOT builds
* Fixes
2019-11-21 12:55:39 -08:00
Jonah Williams
785e557a43
remove Flags ( #45320 )
2019-11-21 12:52:52 -08:00
Zachary Anderson
0216953674
Revert "[flutter_tool] Fuchsia AOT builds ( #45187 )" ( #45349 )
...
This reverts commit a57dddd217
.
2019-11-21 09:41:46 -08:00
Zachary Anderson
a57dddd217
[flutter_tool] Fuchsia AOT builds ( #45187 )
2019-11-21 08:32:58 -08:00
Emmanuel Garcia
5df4b7db23
Reland: Attach looks at future observatory URIs ( #45307 )
2019-11-20 18:51:25 -08:00
Amir Hardon
53c7ca7d5a
Allow unknown fields in pubspec plugin section ( #45303 )
2019-11-20 17:00:46 -08:00
Jonah Williams
106b8eb9c0
Revert "Reduce some direct package:archive usage ( #44608 )" ( #45291 )
...
This reverts commit 6b5634fed3
.
2019-11-20 14:45:32 -08:00
Jonah Williams
6b5634fed3
Reduce some direct package:archive usage ( #44608 )
2019-11-20 13:32:14 -08:00
Emmanuel Garcia
fb5e49082b
Revert "Attach looks at future observatory URIs ( #45228 )" ( #45237 )
...
This reverts commit 2135e9fb1e
.
2019-11-19 23:14:25 -08:00
Emmanuel Garcia
2135e9fb1e
Reland: Attach looks at future observatory URIs ( #45228 )
2019-11-19 21:43:52 -08:00
Jonah Williams
c724504142
Update Android CPU device detection ( #45139 )
2019-11-19 19:04:17 -08:00
Emmanuel Garcia
7a0911b47a
Revert "Attach looks at future observatory URIs ( #44637 )" ( #45211 )
...
This reverts commit 6d77996d6a
.
2019-11-19 16:47:39 -08:00
Emmanuel Garcia
6d77996d6a
Attach looks at future observatory URIs ( #44637 )
2019-11-19 15:11:41 -08:00
Danny Tuppeny
37eec86294
Allow web server device to use extension if started with --start-paused ( #44263 )
...
* Allow web server device to use extension if started with --start-paused
* Fix comment
* Remove browser-launch option that allowed using Chrome without launching Chrome
The web-server device should now be used if you don't want to launch a browser.
* Add tests for WebServerDevice with --start-paused
* Fixes from rebase
* More fixes from rebase
* Fix from rebase
* Fix condition for page refresh in non-debug builds
* Make dwds conditions match with a new getter
* Add missing .device
2019-11-19 20:11:53 +00:00
Jonah Williams
df3505c1f3
Improve performance of build APK (~50%) by running gen_snapshot concurrently ( #44534 )
2019-11-19 11:26:07 -08:00
Jonah Williams
e236196037
cache sdkNameAndVersion logic for web devices ( #45145 )
2019-11-19 09:36:24 -08:00
Alexandre Ardhuin
0df8812681
fix type errors ( #45151 )
2019-11-19 09:28:24 +01:00
Alexandre Ardhuin
adc7351046
implicit-casts:false on flutter_tools/lib ( #44447 )
...
* implicit-casts:false on flutter_tools/lib
* address review comments
* use castStringKeyedMap
* introduce {bool,string,strings}Arg
* fix ci
2019-11-19 07:57:42 +01:00
Jonah Williams
58438fca3f
Provide specific field to accept depfiles in target class ( #44481 )
...
* add depfile slot to Target class
* Update source.dart
* Update source.dart
2019-11-18 14:09:40 -08:00
Jonah Williams
a7367b650b
Don't log stack traces to console on build failures ( #44966 )
2019-11-18 14:04:11 -08:00
Christopher Fujino
ff84b3e66d
catch IOSDeviceNotFoundError in IOSDevice.startApp() ( #45011 )
2019-11-18 13:53:55 -08:00
Danny Tuppeny
81f6ba84b9
Switch from using app.progress to app.webLaunchUrl for passing web launch urls ( #44268 )
...
* Switch from using app.progress to app.url for passing web launch urls
* Update daemon.md
* Change app.url -> app.webLaunchUrl
* Add tests for app.webLaunchUrl event
* Update tests with recent changes after rebasing
2019-11-18 18:10:15 +00:00
Jonah Williams
2a576b774c
remove no-gen-bytecode flag ( #43908 )
2019-11-15 13:15:05 -08:00
Zachary Anderson
29c026fac4
[flutter_tool] Don't crash when failing to delete downloaded artifacts ( #44933 )
...
* [flutter_tool] Don't crash when failing to delete downloaded artifacts
* Add space
* Add more spaces.
2019-11-15 10:05:45 -08:00
Zachary Anderson
afe4830a9d
[flutter_tool] Various fixes for 'run' for Fuchisa. ( #44920 )
2019-11-14 12:39:48 -08:00
Jenn Magder
55530d905a
Add -runFirstLaunch hint text ( #44870 )
2019-11-14 10:45:47 -08:00
Danny Tuppeny
5376e90fda
Print a message when modifying settings that you may need to reload IDE/editor ( #44574 )
...
* Print a message when modifying settings that you may need to reload IDEs/editors
* Add a test for `flutter config` output
* Remove blank line
2019-11-14 17:54:22 +00:00
Jonah Williams
e77c24ef91
Update package test ( #44882 )
2019-11-14 09:31:36 -08:00
Zachary Anderson
a4cc799d15
[flutter_tool] Update Fuchsia SDK ( #44457 )
2019-11-14 09:11:26 -08:00
Jenn Magder
e57ab1f263
Add module to create template help text ( #44638 )
2019-11-13 18:28:45 -08:00
Jenn Magder
6498f64399
Catch and display version check errors during doctor ( #44868 )
2019-11-13 18:23:05 -08:00
Jonah Williams
e3cb2c3fcf
Reland: Allow specifying device-vmservice-port and host-vmservice-port ( #44853 )
2019-11-13 16:02:46 -08:00
Jonah Williams
985da83139
Revert "Allow specifying device-vmservice-port and host-vmservice-port ( #44027 )" ( #44843 )
...
This reverts commit c0af77bf87
.
2019-11-13 14:35:07 -08:00
Emmanuel Garcia
0019599411
Build AAR for all build variants by default ( #44797 )
2019-11-13 13:27:10 -08:00
Jonah Williams
c0af77bf87
Allow specifying device-vmservice-port and host-vmservice-port ( #44027 )
2019-11-13 13:01:41 -08:00
Emmanuel Garcia
f766871eb9
Forward ProcessException to error handlers ( #44783 )
2019-11-13 10:02:46 -08:00
Jonah Williams
2779361b38
Ensure web-server does not force usage of dwds ( #44744 )
2019-11-12 15:24:45 -08:00
Jonah Williams
3383b564a1
Always link desktop platforms ( #44753 )
2019-11-12 15:24:18 -08:00
Jenn Magder
47f71ba3c3
Release startup lock during long-lived build ios framework ( #44625 )
2019-11-12 15:14:29 -08:00
xster
9e0df259df
Show a warning when a module uses a v1 only plugin ( #44499 )
2019-11-11 15:56:43 -08:00
Yegor
e7073f9a1f
add --dart-defines option ( #44083 )
2019-11-09 17:08:53 -08:00
Ian Hickson
f4da9f72eb
Deprecation cleanup in flutter_tools ( #44469 )
...
One deprecated member was no longer used; removed it.
The other probably shouldn't be deprecated, because it's not the
parser that's deprecated so much as the format it's parsing. The code
itself will live on until we decide to stop supporting the format,
it's not like people calling the member should use something else.
2019-11-08 16:31:34 -08:00
Jonah Williams
9fa0f3b2ea
fix test for null flutter root ( #44468 )
2019-11-08 14:38:44 -08:00
Jonah Williams
978fada33c
Refactor flutter.gradle to use assemble directly ( #43876 )
...
Removes multiple re-entrant calls of bundle and aot and replaces them with a single call to assemble. This restores full caching and will allow follow-up performance improvements when building multiple ABIs
2019-11-08 12:41:24 -08:00
Jonah Williams
cc51ad5d08
Reland: enable usage of experimental web compiler ( #44400 )
2019-11-07 20:13:02 -08:00
Jonah Williams
7535ef735f
Revert "Enable usage of experimental incremental compiler for web ( #43576 )" ( #44396 )
...
This reverts commit e5d6d92498
.
2019-11-07 16:32:20 -08:00
Jonah Williams
e5d6d92498
Enable usage of experimental incremental compiler for web ( #43576 )
2019-11-07 16:29:51 -08:00
Emmanuel Garcia
2c80bc973d
Flip enable-android-embedding-v2 flag ( #44369 )
2019-11-07 15:18:56 -08:00
Zachary Anderson
12c190f746
[flutter_tool] Stream artifact downloads to files ( #44360 )
2019-11-07 14:01:57 -08:00
Emmanuel Garcia
b0ad6072ef
Don't print how to consume AARs when building plugins as AARs ( #44301 )
2019-11-07 10:18:55 -08:00
Afzaal Ahmad Zeeshan
9492dcc7cc
Update create.dart ( #43764 )
...
Changed the placements of the operands to make it more readable.
2019-11-07 10:17:03 -08:00
Emmanuel Garcia
cb614d1339
Fix v1 embedding support heuristic for plugins ( #44214 )
2019-11-07 08:24:19 -08:00
xster
d2e87a5d2c
Build ios framework ( #44065 )
2019-11-06 14:54:15 -08:00
Alexander Markov
cf6a8d6a47
Do not pass obsolete --strong option to front-end server ( #44278 )
2019-11-06 14:46:10 -08:00
Emmanuel Garcia
bb8cf609ec
Build local maven repo when using local engine ( #44243 )
2019-11-06 12:52:37 -08:00
Jonah Williams
383e90eb13
Use platform appropriate filepaths when constructing asset bundle ( #44221 )
2019-11-06 12:50:18 -08:00
Jonah Williams
aa333fda25
link platform should be true for profile ( #44279 )
2019-11-06 12:21:41 -08:00
Kaushik Iska
8e8add524e
[flutter_tool] Screenshot command must require device only for _kDeviceType ( #44227 )
...
There are cases where we have access to the observatory without having a device connection accessible.
2019-11-06 10:59:29 -08:00
James D. Lin
1f0c3d462e
Make ProjectFileInvalidator injectable ( #44200 )
...
Allow ProjectFileInvalidator to be overridden with a different
implementation.
I stole this from https://github.com/flutter/flutter/pull/39217 .
2019-11-05 21:40:48 -08:00
Michael Klimushyn
02aac5072c
Revert "Exit tool if a plugin supports the embedding v2 but the app doesn't ( #44026 )"
...
This missed some plugins that _do_ support the v1 embedding
(shared_preferences as one known case) so caused unexpected breakages.
This reverts commit b94c1a41ca
.
2019-11-05 14:38:09 -08:00
Kaushik Iska
7dceec21f7
[flutter_tool] --flutter_runner will download the debug symbols ( #44119 )
...
This makes the flutter tool download the debug symbols for Flutter and Dart runners to be used in Fuchsia dev environment.
2019-11-05 14:07:48 -08:00
xster
ba26f926c7
Add Android embedding version analytics ( #44043 )
2019-11-05 12:38:42 -08:00
Jonah Williams
e5af60c83e
Remove flutter.yaml migration code ( #44146 )
2019-11-05 12:28:03 -08:00
Zachary Anderson
372fe290e4
[flutter_tool] Update analytics policy, send event on disable ( #43217 )
2019-11-05 10:43:52 -08:00
Jonah Williams
0f6c093d68
Remove Source.behavior, fix bug in depfile invalidation ( #43945 )
...
* remove Source.behavior, fix bug in depfile invalidation
* more cleanup of assets
* Add skip
* address comments
* Update build_system.dart
2019-11-04 16:37:43 -08:00
Emmanuel Garcia
76957c9da8
build aar prints how to consume the artifacts ( #44127 )
2019-11-04 16:28:27 -08:00
Emmanuel Garcia
b94c1a41ca
Exit tool if a plugin supports the embedding v2 but the app doesn't ( #44026 )
2019-11-04 13:37:51 -08:00
Jonah Williams
3422540bc4
copy chrome preferences to seeded data dir ( #44032 )
2019-11-04 09:09:20 -08:00
Jonah Williams
df0501c7d3
remove services code ( #44052 )
2019-11-04 09:08:57 -08:00
Jonah Williams
5e1bb20c83
support --no-resident on the web ( #44028 )
2019-11-04 09:08:40 -08:00
Jonah Williams
f1186b0758
Asset server fix for sourcemaps ( #44017 )
2019-11-01 22:33:52 -07:00
Emmanuel Garcia
ade8dfac3d
Move the plugin registrant to io.flutter.plugins and add the @Keep annotation ( #44011 )
2019-11-01 16:58:26 -07:00
Jenn Magder
2e7d9130b2
Observe logging from VM service on iOS 13 ( #43915 )
2019-11-01 14:37:17 -07:00
Jonah Williams
71740bef74
remove listDartSources ( #43950 )
2019-11-01 11:06:24 -07:00
Emmanuel Garcia
dea35da040
Log additional Android build failures ( #43941 )
2019-11-01 10:06:23 -07:00
Jonah Williams
a60a47ae2c
Serve correct mime type on release dev server ( #43907 )
2019-10-31 14:57:34 -07:00
Emmanuel Garcia
175b37247d
Refactor gradle.dart ( #43479 )
2019-10-31 13:19:15 -07:00
Jonah Williams
79323f7c13
Ensure target platform is passed is always passed to assemble ( #43862 )
2019-10-30 19:40:19 -07:00
Jonah Williams
79bc6cafc5
implement build aot with assemble for Android target platforms ( #43282 )
2019-10-30 15:23:25 -07:00
Zachary Anderson
d0d8e6edcb
[flutter_tool] Teach the tool about local engine Fuchsia artifacts ( #43759 )
2019-10-30 14:11:18 -07:00
Jonah Williams
417449e2f3
Deflake flutter tool logger test ( #43800 )
2019-10-30 13:09:26 -07:00
Jonah Williams
349d694fb7
Revert "Added a null check for ranges in the sourceReport map. ( #43667 )" ( #43827 )
...
This reverts commit 0dc5ea4a95
.
2019-10-30 10:57:35 -07:00
Efthymis Sarmpanis
c5b3b3ac26
Flutter doctor should require java 1.8+ ( #41989 )
2019-10-30 10:40:27 -07:00
Nate Bosch
7cf362fc31
Handle onError callback with optional argument ( #43436 )
...
Check for a binary callback first since a function with an optional
second argument will match both typedefs.
Remove documentation around a synchronous error following some other
error or value - a synchronous error can never follow a value or an
asynchronous error. If there is a synchronous error it will _always_ be
the first thing to happen.
Add a test for a unary error handler and an error handler with an
optional stack trace argument.
2019-10-30 10:39:50 -07:00
Larry McKenzie
0dc5ea4a95
Added a null check for ranges in the sourceReport map. ( #43667 )
2019-10-30 10:35:45 -07:00
stuartmorgan
f6f6e86eb8
Split desktop config fallback variable by platform ( #43758 )
...
The environment variable for all desktop platforms is currently
ENABLE_FLUTTER_DESKTOP to allow backward compatibility with existing
workflows. However, this is actually causing issues since 'flutter
config' provides a better experience (most importantly, IDEs will work
correctly, which is generally not the case with the environemnt
variable). Currently people following old (third-patry) instructions
don't realize that they are missing available functionality, so aren't
looking for the current instructions.
In adddition, this will be confusing as different platform graduate to
channels other than master at different times.
To resolve both issues, the environment variable fallback is now
separate for each desktop platform, and follows a naming scheme
consistent with the web environment variable.
2019-10-29 21:43:25 -07:00
Jonah Williams
50da3bd062
check if libimobiledevice executables exist ( #43767 )
2019-10-29 21:35:51 -07:00
Jonah Williams
b1aff28593
pass --no-gen-bytecode to aot kernel compiler invocations ( #43753 )
2019-10-29 16:05:54 -07:00
Emmanuel Garcia
7e60a65ff0
Don't read AndroidManifest.xml if it doesn't exit ( #43669 )
2019-10-29 16:05:13 -07:00
Christopher Fujino
261594e785
add libzip cache artifact ( #43677 )
2019-10-29 14:29:00 -07:00
liyuqian
c523149819
Reland "Enable dump-skp-on-shader-compilation in drive ( #43022 )" ( #43455 )
...
This reverts commit b9eb3f717a
.
We fixed the issue by updating the constructors.
2019-10-29 14:20:22 -07:00
Jonah Williams
331d19ff4b
Add reloadMethod RPC ( #43725 )
2019-10-29 13:21:06 -07:00
Jonah Williams
1d7afd9c1d
Don't indefinitely persist file hashes, handle more error conditions ( #43602 )
2019-10-29 13:20:51 -07:00
Jenn Magder
01dc19b93f
Pass environment variables through to xcodebuild ( #43553 )
2019-10-28 19:58:06 -07:00
Jonah Williams
19e551c7a6
Remove Poller class from flutter_tools ( #43685 )
2019-10-28 19:35:43 -07:00
Jonah Williams
e25cd84a06
Catch failed startup error from build_daemon ( #43598 )
2019-10-28 15:58:14 -07:00
knaeckeKami
ccfdf95c4a
Use PRODUCT_BUNDLE_IDENTIFIER from buildSettings to find correct bundle id on iOS when using flavors ( #42964 )
2019-10-28 15:33:27 -07:00
Jenn Magder
f7d78d5baa
Alias upgrade-packages => update-packages ( #43546 )
...
* Alias upgrade-packages => update-packages
* Trailing whitespace
2019-10-28 15:32:39 -07:00
Jonah Williams
b142c9bbdb
catch failure to parse FLUTTER_STORAGE_BASE_URL ( #43599 )
2019-10-28 10:54:03 -07:00
Jonah Williams
450a72488d
set trace to true for desktop builds ( #43577 )
2019-10-28 10:27:11 -07:00
Jonah Williams
36d50a48f4
Catch MissingPortFile exception ( #43573 )
2019-10-28 10:26:43 -07:00
Jonah Williams
d983c1d1ae
Ensure Chrome is closed on tab close ( #43586 )
2019-10-28 10:26:18 -07:00
Zachary Anderson
0dfabb2ae1
[flutter_tool] Use engine flutter_runner prebuilts ( #43381 )
...
* [flutter_tool] Use engine flutter_runner prebuilts
* Update packages/flutter_tools/lib/src/fuchsia/fuchsia_build.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
2019-10-28 09:38:08 -07:00
Jonah Williams
ab260bacd2
Refactor BuildMode into class, add jit_release configuration ( #42476 )
2019-10-28 09:37:29 -07:00
Jonah Williams
553662d101
Catch AppConnectionException from dwds ( #43544 )
2019-10-25 20:35:19 -07:00
Jonah Williams
4bd5eb5915
Enable track widget creation on by default ( #43471 )
2019-10-25 15:04:06 -07:00
Jonah Williams
4c47fdadd4
Add devfs for incremental compiler JavaScript bundle ( #43219 )
2019-10-25 15:03:13 -07:00
Jonah Williams
ed931e7941
initial bootstrap script for incremental compiler support ( #43292 )
...
* initial bootstrap script for incremental compiler support
* add more comments
* update to two scripts
2019-10-25 15:03:00 -07:00
Jonah Williams
ae207b5e42
Handle permission error during flutter clean ( #43401 )
2019-10-25 15:02:38 -07:00
Harry Terkelsen
eba69caf97
Don't html-escape in the plugin registrant templates. ( #43448 )
...
* Don't html-escape in the plugin registrant templates.
Fixes #43382
* Add test
2019-10-25 15:00:05 -07:00
Yegor
903ebd714d
Fix and enable most of material tests for Web ( #43019 )
2019-10-24 21:35:14 -07:00
Jonah Williams
b9eb3f717a
Revert "Enable dump-skp-on-shader-compilation in drive ( #43022 )" ( #43438 )
...
This reverts commit 4f385c8fb7
.
2019-10-24 11:18:55 -07:00
liyuqian
4f385c8fb7
Enable dump-skp-on-shader-compilation in drive ( #43022 )
2019-10-24 11:04:59 -07:00
Jonah Williams
c1d3ca07fe
catch ChromeDebugException from dwds ( #43390 )
2019-10-24 10:55:42 -07:00
Harry Terkelsen
dee4232d0c
For --profile builds on web, still use -O4 but unminified names. ( #43214 )
2019-10-24 10:08:12 -07:00
Jonah Williams
096a8ac40a
handle format error from vswhere ( #43402 )
2019-10-24 10:07:05 -07:00
Jonah Williams
9e7b6f9500
Catch version and option skew errors from build_daemon ( #43403 )
2019-10-24 09:06:45 -07:00
Jonah Williams
2237451711
Don't eagerly call runMain when --start-paused is provided to web application ( #42144 )
2019-10-24 07:57:52 -07:00
Jonah Williams
4c677e4148
Extra defensive programming for pub modification time assert ( #43315 )
2019-10-22 22:05:00 -07:00
James D. Lin
83704b1d91
Make ProjectFileInvalidator.findInvalidated
able to use the async FileStat.stat
( #42028 )
...
Empirical measurements indicate on the network file system we use
internally, using `FileStat.stat` on thousands of files is much
faster than using `FileStat.statSync`. (It can be slower for files
on a local SSD, however.)
Add a flag to `ProjectFileInvalidator.findInvalidated` to let it
use `FileStat.stat` instead of `FileStat.statSync` when scanning for
modified files. This can be enabled by overriding `HotRunnerConfig`.
I considered creating a separate, asynchronous version of
`findInvalidated`, but that led to more code duplication than I
liked, and it would be harder to avoid drift between the versions.
2019-10-22 20:48:23 -07:00
Jonah Williams
016ca1a0f1
Catch io.StdinException from failure to set stdin echo/line mode ( #43225 )
2019-10-22 20:35:43 -07:00
Jonah Williams
79a985f9fd
Add compiler configuration to support dartdevc target ( #43281 )
2019-10-22 20:35:05 -07:00
Jonah Williams
8cac409d90
Clarify hot restart behavior on the web ( #42931 )
2019-10-22 12:36:56 -07:00
Jonah Williams
46ea99122b
Revert "Extra defensive programming for pub modification time assert ( #42491 )" ( #43235 )
...
This reverts commit 3597bae6a0
.
2019-10-21 20:54:02 -07:00
Ian Hickson
3597bae6a0
Extra defensive programming for pub modification time assert ( #42491 )
2019-10-21 20:15:20 -07:00
Emmanuel Garcia
e82ddc4c7a
Ensure android.enableR8
is appended to a new line ( #43187 )
2019-10-21 16:52:30 -07:00
Jonah Williams
27105cba2f
switch dart2js build to depfile, remove Source.function ( #42977 )
2019-10-21 16:46:44 -07:00
Jonah Williams
6c91a13731
Adding missing break in plugin validation check ( #43180 )
2019-10-21 16:46:07 -07:00
Jonah Williams
31a4ff80c7
add samsungexynos7570 to list of known physical devices ( #43042 )
2019-10-21 16:45:48 -07:00
Jonah Williams
6db4c44da8
remove period from URL so that it opens correctly in vscode ( #43200 )
2019-10-21 16:43:11 -07:00
Jonah Williams
39e4d9d152
Expand scope of rethrown gradle errors ( #42966 )
2019-10-18 14:56:39 -07:00
Jonah Williams
6fc99e98ad
rename headless server to web server ( #42970 )
2019-10-18 12:41:47 -07:00
Jonah Williams
21be8372c9
implement debugTogglePlatform for the web ( #42951 )
2019-10-18 12:41:15 -07:00
Jonah Williams
e67f9a3f6c
ensure we can disable --track-widget-creation in debug mode ( #43016 )
2019-10-18 12:40:50 -07:00
Jonah Williams
863fb2f2cc
Remove linux-x64 unpack logic ( #42962 )
2019-10-17 19:22:03 -07:00
Jonah Williams
f53b32eb23
refactor depfile usage and update linux rule ( #42487 )
2019-10-17 17:42:40 -07:00
Ryan Macnak
315471bfb0
Do not produce an error when encountering a new type in a service response. ( #42972 )
...
Flutter tool's service client library tries to "upgrade" sub-components of service responses with higher level model objects. It does this for all members of the response, rather than only those documented in the version it targets, and it errors out when encountering a new type. This causes it to fail when a new field is introduced with a new typed. Clients are required to ignore this.
2019-10-17 16:56:57 -07:00
Ferhat
f7ce5ae3fc
[web] Update web runner message with flutter.dev/web ( #42676 )
...
* Update web runner message with flutter.dev/web
* Update spoopy test to use Warning instead
2019-10-17 15:08:15 -07:00
Emmanuel Garcia
08c645b3b2
Test the Android embedding v2 ( #42708 )
...
* Test the Android embedding v2
* Update integration tests
* Split into shards
2019-10-16 21:26:10 -07:00
Jonah Williams
cb518c4219
Fix progress indicators for release/profile builds of web. ( #42857 )
2019-10-16 16:10:06 -07:00
Jonah Williams
01f779e97a
Fix NPE in Chrome Device ( #42813 )
2019-10-16 15:46:07 -07:00
Emmanuel Garcia
0a93f4eb75
Remove isNewAndroidEmbeddingEnabled flag when reading an existing pro… ( #42684 )
2019-10-16 12:47:04 -07:00
Jenn Magder
357d02c87b
Always embed Flutter.framework build mode version from Xcode configuration ( #42029 )
2019-10-15 15:33:55 -07:00
Jonah Williams
ad1d67e0a1
serve correct content type from debug server ( #42701 )
2019-10-15 15:25:57 -07:00
Jonah Williams
68e768dbcf
fix type error in manifest asset bundle ( #42791 )
2019-10-15 15:25:33 -07:00
liyuqian
31cb44825c
Add --cache-sksl flag to drive and run ( #42353 )
...
So we can test SkSL precompile using the command line tools.
See https://github.com/flutter/engine/pull/12412 .
2019-10-15 14:28:55 -07:00
Jonah Williams
e22d4aa140
Add debugging option to write vmservice address to file after starting ( #41583 )
2019-10-15 13:05:47 -07:00
Christopher Fujino
428d7d7f2d
dispose devices on cleanupAtFinish() for run_cold.dart ( #42668 )
2019-10-15 12:50:44 -07:00
Jonah Williams
daa7143c08
Unpin test and update packages ( #42699 )
2019-10-15 12:50:10 -07:00
Jenn Magder
649cf82018
use_modular_headers ( #42204 )
2019-10-15 12:36:50 -07:00
Jonah Williams
e372641789
Ensure we stop the status when browser connection is complete ( #42698 )
2019-10-14 21:36:31 -07:00
Yegor
3bc3b323c4
Reland: fix and add painting web tests ( #42689 )
2019-10-14 21:22:44 -07:00
Jonah Williams
f8a5baf359
Dont close debug connection on exit ( #42655 )
2019-10-14 17:29:04 -07:00
Jonah Williams
0dce0c6e30
catch appInstanceId error from dwds ( #42656 )
2019-10-14 17:28:28 -07:00
Ryan Macnak
b7773da37b
Pass build mode-specific bytecode generation options to frontend_server. ( #42471 )
...
Fixes various Flutter framework test failures when bytecode is enabled.
2019-10-14 15:26:14 -07:00
Yegor
163be41d80
Revert "Fix and enable painting tests on the Web ( #42546 )" ( #42687 )
...
This reverts commit 13a1b1e3b9
. It broke the build.
2019-10-14 15:14:16 -07:00
Yegor
13a1b1e3b9
Fix and enable painting tests on the Web ( #42546 )
...
fix and enable painting tests on the Web
2019-10-14 14:34:15 -07:00
Jenn Magder
a62bb3d9ab
Update minimum version to Xcode 10.2 ( #42254 )
2019-10-14 12:45:40 -07:00
Mouad Debbar
ba70e0e074
Print correct hostname when web server is launched ( #42531 )
2019-10-14 09:54:36 -07:00
Jonah Williams
04e04ffa95
Deflake wildcard asset test ( #42597 )
2019-10-14 08:49:02 -07:00
Emmanuel Garcia
532a8fed41
Print message and log event when app isn't using AndroidX ( #42548 )
2019-10-12 18:58:22 -07:00
Zachary Anderson
af93b6af80
[flutter_tool] Improve yaml font map validation ( #42538 )
2019-10-11 12:17:37 -07:00
Ian Hickson
08643c41d7
Always fake ProcessManager when you fake Filesystem in tests ( #42369 )
...
...because otherwise, processes that think they're manipulating your
filesystem will be doing crazy things the test is ignoring, leading to
(at best) failures and (at worst) flakes or disk corruption.
2019-10-11 11:23:12 -07:00
Ian Hickson
292519be98
Roll dart package dependencies ( #42496 )
2019-10-11 11:12:31 -07:00
Jonah Williams
7ab653c6ca
Add error logging to flutter generate ( #42209 )
2019-10-11 07:16:11 -07:00
Lau Ching Jun
4416c4f8d6
Add Android x64 profile artifacts ( #42508 )
2019-10-11 06:57:45 -07:00
Ian Hickson
53be552ae1
Be more verbose when pub fails ( #42187 )
2019-10-10 19:37:01 -07:00
Jonah Williams
2b635816c6
Wrap dwds in async guard, only catch known error types ( #42364 )
2019-10-10 16:34:27 -07:00
Jonah Williams
03a45dc383
Add support for Android x86_64 ABI to Flutter ( #42401 )
2019-10-10 16:34:16 -07:00
Ryan Macnak
2a40c2ddb5
Pass -Ddart.developer.causal_async_stacks=true to frontend_server invocations. ( #42354 )
...
Bytecode generation will otherwise omit prologue code, causing --causal-async-stacks passed to the VM to behave inconsistently.
2019-10-10 10:41:24 -07:00
Sahil Soni
ff15a39c07
[BUG] Process all children of intent-filter instead of just the first one to identify default activity ( #40029 )
2019-10-10 10:05:43 -07:00
Lau Ching Jun
5a41374ac3
Add option to precache unsigned mac binaries. ( #42376 )
2019-10-09 22:24:15 -07:00
Jonah Williams
480342899e
Switch desktop build commands to use process utils ( #42373 )
2019-10-09 18:58:27 -07:00
Christopher Fujino
ed482c3e09
Stop leaking iproxy processes ( #42026 )
2019-10-09 16:30:27 -07:00
stuartmorgan
d992d6de20
Make desktop stopApp only apply to processes Flutter started ( #41519 )
2019-10-09 16:28:10 -07:00
Jonah Williams
861fe0a276
Ensure precache --web works on dev branch ( #42289 )
2019-10-09 16:27:39 -07:00
Jonah Williams
6a99a8d9e4
Ensure web restart analytics events aren't sent for failures/dont serve devtools by default ( #42260 )
2019-10-08 20:06:13 -07:00
Jonah Williams
25b3ea7ed2
Revert removal of linux support from unpack command ( #42276 )
2019-10-08 19:18:18 -07:00
Jonah Williams
14c1c211d5
Catch argument error from Make when it isn't installed ( #42252 )
2019-10-08 14:53:55 -07:00
Jonah Williams
fde267516b
Make Pub an interface in the flutter tool ( #42257 )
2019-10-08 14:53:28 -07:00
Alexandre Ardhuin
83e5a8a0e4
some formatting changes ( #41640 )
2019-10-08 18:32:10 +02:00
Ian Hickson
cdc2d9901d
More consistent temp directory naming ( #42063 )
...
Applying our style guide:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#have-good-hygiene-when-using-temporary-directories
2019-10-07 16:43:04 -07:00
Yegor
ebfe6020b8
Enable more web tests; use blacklist to filter them out ( #41922 )
...
Add more web tests;use blacklist instead of whitelist
2019-10-07 15:05:24 -07:00
Zachary Anderson
cf0d4979c7
[flutter_tool] Re-work analytics events to use labels and values ( #42016 )
2019-10-07 15:04:55 -07:00
Dan Field
4566b34033
Do not validate the Android SDK when building an appbundle ( #41946 )
2019-10-07 10:38:19 -07:00
Dan Field
3af16678ad
Reland "AOT support for Linux Desktop I: switch Linux builds to assemble ( #41612 )" ( #42030 )" ( #42038 )
...
This reverts commit 142a8630ec
.
2019-10-07 10:37:58 -07:00
Zachary Anderson
3b66db6bf7
Updates packages ( #41936 )
2019-10-07 09:46:57 -07:00
Ian Hickson
1196f91f71
Fix local test failures in flutter_tools ( #42015 )
...
* Minor clean-up in terminal.dart
* Don't wrap text in tests (otherwise we'll be sensitive to the terminal width).
2019-10-06 14:38:17 -07:00
Ian Hickson
142a8630ec
Revert "AOT support for Linux Desktop I: switch Linux builds to assemble ( #41612 )" ( #42030 )
...
This reverts commit 3024053c82
.
2019-10-04 17:51:51 -07:00
James D. Lin
fcbe8f44ea
Restructure ProjectFileInvalidator.findInvalidated a bit ( #42008 )
...
Restructure ProjectFileInvalidator.findInvalidated a bit
I plan to modify `ProjectFileInvalidator.findInvalidated` to allow
it to use `FileStat.stat` instead of `FileStat.statSync`.
Restructure `findInvalidated` a bit so that `FileStat.statSync` is
called in only one place.
Note that this change now always counts the `.packages` file as one
of the files scanned, even if it does not exist. I think that this
is okay since it more accurately reflects the number of times that we
hit the filesystem with `stat()`, and it is consistent with how other
files are counted.
2019-10-04 17:22:35 -07:00
James D. Lin
14c5c6e161
Clean up ProjectFileInvalidator.findInvalidated a bit ( #41889 )
...
In preparation for some refactoring that I will be doing to
`ProjectFileInvalidator.findInvalidated`, make its code a bit
clearer:
* Indicate which arguments may be null.
* Don't bother calling `FileStat.statSync` on the `.packages` file
for the initial load. This makes the checks for the `.packages`
file consistent with those for other files.
* Use `DateTime.isAfter()` instead of comparing microseconds
ourselves.
While I was touching this file, I also removed some unnecessary
comparisons to `false`. (`_ManifestAssetBundle.wasBuiltOnce()` is the
only implementation I can find of `AssetBundle.wasBuiltOnce()`, and
it never returns `null`.)
2019-10-04 12:55:17 -07:00
Jonah Williams
3024053c82
AOT support for Linux Desktop I: switch Linux builds to assemble ( #41612 )
2019-10-04 12:13:36 -07:00
Ryan Macnak
cdb3578b14
Plumb --enable-asserts through to frontend_server invocation in debug mode. ( #41832 )
...
Bytecode generation will otherwise omit assert code, causing --enable-asserts to have no effect in the VM.
2019-10-04 12:07:23 -07:00
Emmanuel Garcia
5961bcc505
Generate projects using the new Android embedding ( #41666 )
...
* Generate projects using the new Android embedding
* Add comment about usesNewEmbedding:true
* Feedback
* Rework way to detect new embedding in new apps
2019-10-04 06:23:03 -07:00
Alexandre Ardhuin
890b939401
indent formal parameters correctly ( #41644 )
2019-10-04 11:00:18 +02:00
Jonah Williams
ae18f07324
Ensure plugin registrants are generated in build_web ( #41906 )
2019-10-04 00:36:09 -07:00
Jonah Williams
f25812bae5
Revert "replace package:vm_service_client with package:vm_service in the devicelab project ( #41646 )" ( #41960 )
2019-10-03 21:30:37 -07:00
Devon Carew
4de496a4e5
replace package:vm_service_client with package:vm_service in the devicelab project ( #41646 )
2019-10-03 20:43:34 -07:00
Jonah Williams
6edd79abab
Upload x64 android host release ( #41933 )
2019-10-03 16:23:53 -07:00
Mouad Debbar
61d364f307
[web] Make it clear that lowercase "r" can also perform hot restart ( #41815 )
2019-10-03 11:53:41 -07:00
Zachary Anderson
c7c8a6c498
[flutter_tools] Add more info to pub get failure event ( #41652 )
2019-10-03 11:08:42 -07:00
Jonah Williams
517c08e801
Make output directory a build input ( #41862 )
2019-10-03 11:07:53 -07:00
Jonah Williams
aeede20785
Handle missing .packages file in the flutter tool for prebuilt artifacts ( #41697 )
2019-10-02 15:18:34 -07:00
Jonah Williams
39f85f94ec
Reland: don't update last compile time when compilation is rejected. ( #41580 )
...
* dont update last compiled time when compilation is rejected
* lets try flushing, thats a neat trick
* windows man
* Update hot_reload_test.dart
* Update hot_reload_test.dart
* Update devfs.dart
* Update hot_reload_test.dart
* Update hot_reload_test.dart
* add test that verifies when compile is good that time is updated
* Update devfs_test.dart
2019-10-02 12:46:33 -07:00
Jonah Williams
0af2a84cbb
Handle empty entry in asset list and add more explicit validation ( #41735 )
2019-10-02 12:45:51 -07:00
Jonah Williams
b1a6aa3ab8
Add support for downloading x86 Android JIT release artifact ( #41751 )
2019-10-02 12:45:35 -07:00
Jonah Williams
a9f385bbff
Reduce log verbosity by removing individual used files ( #41788 )
2019-10-02 12:45:04 -07:00
Jonah Williams
6714baab41
Download Android x64 release artifacts ( #41698 )
2019-10-01 14:04:37 -07:00
Jonah Williams
b2f38396f4
Reland: Switch to assemble API for dart2js ( #41659 )
...
* Stop using build_runner for dart2js
* fixes to yield when computing hashes and to imports
* add missing await
* Update filecache_test.dart
* Fix paths in filecache test
* use file uri for import
* add test cases and configurable override
* remove test dep
* fix filepaths for windows
* test no longer failing
* fix paths for test cases
* fix typo
* address comments
* make a constant
* make filehash async and use constant
* fix silly logic error
2019-10-01 14:03:42 -07:00
Jonah Williams
ce2c708a90
Add more information to cannot find Chrome message ( #41695 )
2019-10-01 14:03:12 -07:00
Yegor
8246785f3f
Spawn no more than 1 iframe in web tests. Using multiple iframes in DDK mode times out tests. Also set concurrency to 1 to guarantee that the test runner does not even attempt to parallelize tests. ( #40630 )
...
Spawn no more than 1 iframe in web tests. Using multiple iframes in DDK mode times out tests. Also set concurrency to 1 to guarantee that the test runner does not even attempt to parallelize tests.
2019-10-01 13:58:05 -07:00
Jonah Williams
06a6fdbf23
Revert "Switch to assemble API for dart2js ( #41447 )" ( #41658 )
2019-09-30 18:35:01 -07:00
Jonah Williams
ccc3dd968c
Switch to assemble API for dart2js ( #41447 )
2019-09-30 18:26:28 -07:00
Christopher Fujino
11d0235121
change printStatus calls to printTrace inside MDnsObservatoryDiscovery ( #41621 )
2019-09-30 14:15:17 -07:00
Jenn Magder
1eb1e2226b
Skip pod initialization if version >= 1.8.0. ( #41491 )
2019-09-30 13:14:42 -07:00
Jonah Williams
e8517a434d
Add analytics tracking for compile and refresh times for Flutter Web ( #41545 )
2019-09-30 12:45:03 -07:00
Jacob MacDonald
94993055f2
track unused inputs in build_runner ( #41610 )
2019-09-30 12:20:00 -07:00
Jonah Williams
06864e445c
Rename Server/web device to Headless Server/headless-server ( #41618 )
2019-09-30 12:19:45 -07:00
Jonah Williams
41b87255f5
Add support for depfile dependency in assemble ( #41530 )
2019-09-30 12:17:45 -07:00
Alexandre Ardhuin
f0553ba58e
Missing trailing commas ( #41473 )
...
* add missing trailing commas
* add more missing trailing commas
* add more and more missing trailing commas
2019-09-30 18:48:23 +02:00
stuartmorgan
d1761f1072
Pass Linux build mode on command line ( #41551 )
...
Currently Linux builds override the default BUILD mode by putting it in
the generated config. That makes it sticky for manual runs of make,
which is inconsistent with how other platforms work.
Instead, pass the build mode as a command-line override, the same way
someone would if building directly with make. This makes the flow of
controlling the mode less confusing.
Fixes #41528
2019-09-30 09:36:40 -07:00
Jonah Williams
c8b3c9b727
use IOOverrides to allow inject file system, write test, find bug ( #40066 )
2019-09-30 08:41:12 -07:00
Zachary Anderson
45f3c8d060
[flutter_tool] Report to analytics when the tool is killed by a signal ( #41493 )
...
* [flutter_tool] Report to analytics when the tool is killed by a signal
* Fix analyzer lint
2019-09-30 07:38:11 -07:00
Danny Tuppeny
7e73cd74b1
Fix visibility of web server device when Chrome is not available ( #40757 )
...
* Fix visbility of web server device when Chrome is not available
* Add tests
* Update workflow test
* Fix tests to not rely on Chrome being on the underlying machine
2019-09-30 14:45:30 +01:00
Alexander Aprelev
839fdbd2ed
Retry devfs uploads in case they fail. ( #41406 )
...
* Retry devfs uploads in case they fail.
Fixes #34959 .
2019-09-29 21:32:06 -07:00
Jonah Williams
69af9adeac
Update minimum build_runner version and enable incremental builder ( #41499 )
2019-09-29 13:01:33 -07:00
Jonah Williams
07e5cf005c
Reland: Exit resident web runner on compilation failure ( #41505 )
2019-09-27 18:54:58 -07:00
Jonah Williams
7a487b2cbf
Ensure we find dart.exe on local engines ( #41514 )
2019-09-27 18:54:24 -07:00
Jonah Williams
d968b7cfd6
Revert "Dont update last compiled time when compilation is rejected ( #41424 )" ( #41515 )
2019-09-27 15:18:06 -07:00
Zachary Anderson
feaaa5d738
[flutter_tool] Add analytics events for ios-mdns fallback success/failure ( #41482 )
2019-09-27 12:18:59 -07:00
Jonah Williams
618fac92c9
Revert "Exit resident web runner on initial compilation failure ( #41441 )" ( #41498 )
2019-09-27 11:50:23 -07:00
Jonah Williams
d7a8dda219
Dont update last compiled time when compilation is rejected ( #41424 )
2019-09-27 10:32:57 -07:00
Jonah Williams
a1852a1993
Exit resident web runner on initial compilation failure ( #41441 )
2019-09-27 10:32:38 -07:00
Alexandre Ardhuin
f11c34109c
fix bad indentations(mainly around collection literals) ( #41355 )
2019-09-27 10:46:45 +02:00
Jonah Williams
efd2ba296b
Flutter build bundle without --precompiled should always perform a debug build. ( #41401 )
2019-09-26 15:57:57 -07:00
Jonah Williams
c93839131c
Fix timing issues in initialization of web resident runner ( #41347 )
2019-09-26 14:23:19 -07:00
stuartmorgan
56d68a9071
Add the beginnings of plugin support for Windows and Linux ( #41015 )
...
Adds very preliminary support for Windows and Linux plugins:
- Adds those platforms to the new plugin schema, initially supporting just a plugin class.
- Adds C++ plugin registrant generation for any Windows or Linux plugins found.
This doesn't have yet have any build tooling for either platform, so anyone using the generated registrant still needs to do manual build configuration. This reduces the manual work, however, and creates a starting point for future tooling work.
As with all Windows and Linux work at this time, this is not final, and subject to change without warning in the future (e.g., Windows could potentially switch to a C# interface, or
'linux' may change to 'gtk' or 'linux_gtk' in pubspec.yaml).
2019-09-26 14:01:57 -07:00
Zachary Anderson
bb7e3f6045
[flutter_tools] Report iOS mDNS lookup failures to analytics ( #41384 )
2019-09-26 13:41:11 -07:00
Jonah Williams
0980fa2ddd
Serve every html file under web ( #41386 )
2019-09-26 13:24:05 -07:00
Zachary Anderson
7fa5dd7454
[flutter_tools] Allows adding multiple signal handlers ( #41304 )
2019-09-26 08:12:48 -07:00
Jonah Williams
89ebd700f2
Support deferred imports on profile/release builds of Flutter Web ( #41222 )
2019-09-25 15:12:58 -07:00
Jonah Williams
7065e43306
Allow skipping chrome launch with --no-web-browser-launch ( #40627 )
2019-09-25 13:55:54 -07:00
Jonah Williams
9bd02a1787
Re-Re-Re-land implement flutter build bundle with assemble ( #41302 )
2019-09-25 13:55:29 -07:00
Francisco Magdaleno
d2a95ee344
Fix crash on vswhere query on missing installations ( #40786 )
2019-09-25 13:38:53 -07:00
Zachary Anderson
5142238c85
[flutter_tool] Report rss high watermark in command analytics events ( #40988 )
2019-09-25 11:26:06 -07:00
Jonah Williams
cc3ca9a916
Revert "Re-Re-land Implement flutter build bundle with assemble ( #41230 )" ( #41295 )
2019-09-25 10:57:58 -04:00
Jonah Williams
84a476a4db
Re-Re-land Implement flutter build bundle with assemble ( #41230 )
2019-09-25 10:17:04 -04:00
Emmanuel Garcia
48ce60824a
Revert "Revert "Use AndroidX in new projects by default ( #40925 )" ( #40995 )" ( #41001 )
...
This reverts commit 8e23179627
.
2019-09-24 16:55:09 -07:00
Tong Wu
28bd51f998
Force upgrade packages again. ( #40997 )
2019-09-24 16:51:31 -07:00
Emmanuel Garcia
16d408a7a0
Reland #40810 : Re-enable AAR plugins when an AndroidX failure occurred ( #41160 )
2019-09-24 16:16:22 -07:00
Alexandre Ardhuin
b873162194
fix some bad indentations ( #41172 )
2019-09-24 21:03:37 +02:00
Francisco Magdaleno
1ea760096a
Update toolchain description to request the latest version ( #40795 )
2019-09-24 12:00:05 -07:00
Alexandre Ardhuin
89427d672d
add missing trailing commas in flutter_tools ( #40968 )
2019-09-24 08:06:09 +02:00
Emmanuel Garcia
2c8813c86c
Revert "Re-enable AAR plugins when an AndroidX failure occurred ( #40810 )" ( #41042 )
...
This reverts commit 96482eeb5c
.
2019-09-23 09:28:38 -07:00
Emmanuel Garcia
8e23179627
Revert "Use AndroidX in new projects by default ( #40925 )" ( #40995 )
2019-09-20 13:37:10 -07:00
Emmanuel Garcia
f7173dcc60
Use AndroidX in new projects by default ( #40925 )
2019-09-20 08:29:21 -07:00
Emmanuel Garcia
96482eeb5c
Re-enable AAR plugins when an AndroidX failure occurred ( #40810 )
2019-09-20 08:28:52 -07:00
stuartmorgan
0412977e48
Support create for macOS (app and plugin) ( #40851 )
...
Adds macOS support for `flutter create`:
- Currently it is behind a hidden flag.
- Adds a TargetPlatform workaround to lib/main.dart in the standard app template when enabled.
- Supports `app` and `plugin`; `module` support doesn't yet exist for macOS in general.
This will eliminate the need to use FDE's examples as templates on macOS. The templates are based on the current state of FDE's examples, with templating support added (and with adoption of the new application delegate in the app, which hadn't been done yet in FDE, eliminating some boilerplate from the template).
Fixes #30703
2019-09-19 17:06:18 -07:00
Jonah Williams
f8ba6756c3
Revert "Reland: implement build bundle with assemble ( #40470 )" ( #40862 )
2019-09-19 09:04:07 -07:00
Jonah Williams
ea7876ae82
Reland: implement build bundle with assemble ( #40470 )
2019-09-19 07:46:50 -07:00
Jonah Williams
2a36ad31fa
Ensure Flutter for Web debug builds are only accessible through Flutter run ( #40783 )
2019-09-18 23:10:24 -07:00
stuartmorgan
c32e543207
Invalidate macOS pods on plugin changes ( #40730 )
...
When the plugin list changes, iOS pods are invalidated, but that was
never wired up for macOS.
Should fix #39327
2019-09-18 21:42:57 -07:00
Jenn Magder
d95adf999c
Move build info checks from generating files to the xcode build ( #40792 )
2019-09-18 16:57:31 -07:00
Christopher Fujino
0b24a5a2ff
Implement mdns for flutter run
( #40447 )
2019-09-18 11:01:08 -07:00
Jonah Williams
5de5bb0172
fix platform environment ( #40692 )
2019-09-17 17:07:55 -07:00
Jenn Magder
9a68b0df3e
Warn when build number and version can't be parsed on iOS ( #40611 )
2019-09-17 17:07:41 -07:00
Emmanuel Garcia
8a1bf5b827
Reland #39157 ( #39798 )
2019-09-17 08:19:33 -07:00
Alexandre Ardhuin
df4bf453ab
more UI-as-code ( #35516 )
2019-09-17 16:23:44 +02:00
stuartmorgan
d03aecab58
Add an ephemeral directory for Linux ( #40587 )
...
Moves the generated config into that directory. Matches the structure of
the other desktop projects.
Also fixes #40265
2019-09-16 16:04:55 -07:00
Jonah Williams
79107e0fe2
Dont kill other processes when starting desktop application ( #40472 )
2019-09-16 13:12:50 -07:00
Zachary Anderson
8a33d2446d
[flutter_tool] Remove the synchronous -showBuildSettings ( #40435 )
2019-09-16 07:51:50 -07:00
Emmanuel Garcia
4d404da6df
Update Kotlin and Gradle version ( #40181 )
2019-09-13 19:37:07 -07:00
Jonah Williams
6f5df21e5b
pass through --web-port in release mode too ( #40465 )
2019-09-13 19:15:52 -07:00
Emmanuel Garcia
2c857b9370
Enable R8 ( #40453 )
2019-09-13 19:06:40 -07:00
Zachary Anderson
e2340c641d
[flutter_tool] Use curly braces around single statment control structures ( #40446 )
2019-09-13 14:51:35 -07:00
Jonah Williams
6ba8fa9987
Remove direct flutter tool usage of protobuf for encoding file caches ( #40410 )
2019-09-13 12:49:03 -07:00
Jenn Magder
b80b9bea38
Set DEFINES_MODULE for FlutterPluginRegistrant to generate modulemap ( #40302 )
2019-09-13 11:03:46 -07:00
Jonah Williams
69a296463e
Allow skipping webOnlyInitializePlatform in Flutter for Web ( #40301 )
2019-09-13 10:20:30 -07:00
Jenn Magder
ba13aa943c
Make FlutterPluginRegistrant a static framework so add-to-app can use plugins with static frameworks ( #40401 )
2019-09-12 18:51:49 -07:00
Francisco Magdaleno
09bb07f8dd
Adds list required components when VS is not installed ( #40397 )
2019-09-12 18:44:36 -07:00
stuartmorgan
72888c7f75
Harden macOS build use of Xcode project getInfo ( #40375 )
...
- Makes build_macos.dart handle the case where there is only one Xcode
project in the macos/ directory, but it's not called Runner.xcodeproj
- Makes getInfo throw a tool exit when trying to get project info and it
can't find a project, since that is a configuration error by the user
rather than a tool bug.
2019-09-12 16:03:02 -07:00
Francisco Magdaleno
576a455a64
[windows] Refactor to optimize vswhere queries ( #40197 )
2019-09-12 15:48:25 -07:00
Jonah Williams
91af071570
ensure dart2js does not compile unsupported packages ( #40368 )
2019-09-12 15:25:21 -07:00
Jonah Williams
1667d0caa4
rename port to web-port and hostname to web-hostname ( #40370 )
2019-09-12 15:25:03 -07:00
Jonah Williams
1fec30efb6
Place existing dill into hot reload temp directory to boost initialization time ( #40366 )
2019-09-12 12:45:53 -07:00
Ryan Macnak
a6138bb005
Remove dead accessors of _getUnusedChangesInLastReload. ( #39837 )
...
This was part of a disused tool to explain what did and did not run after reload.
2019-09-12 12:34:58 -07:00
Jonah Williams
925a52fa6b
add host and port to run configuration for web devices ( #40191 )
2019-09-12 08:58:49 -07:00
Francisco Magdaleno
f5733f7a62
Fix crash on vswhere search from flutter doctor ( #40263 )
...
Fixes a crash introduced on #40011 due to an incorrect type in the vswhere search
Fixes #40238
2019-09-11 21:03:42 -07:00
Jonah Williams
270878fc50
fix copy command and remove resolve sync for macOS assemble ( #40294 )
2019-09-11 20:29:27 -07:00
Zachary Anderson
73c10e8ced
[flutter_tool] process.dart cleanup ( #39899 )
2019-09-11 18:20:42 -07:00
Emmanuel Garcia
3712ea63d8
Flip the default for proguard ( #40282 )
2019-09-11 17:51:51 -07:00
Jonah Williams
6d37867c4a
Place hot reload artifacts in a temp directory ( #40171 )
2019-09-11 12:57:43 -07:00
Jonah Williams
963c8a8921
Remove io and isolate from libraries for web sdk ( #40259 )
2019-09-11 12:40:33 -07:00
Jonah Williams
8eee93fa64
Ensure we send hot restart events for flutter web ( #40175 )
2019-09-11 09:38:42 -07:00
Christopher Fujino
c5e2bf5cfe
catch errors during gradle update ( #37526 )
2019-09-11 09:21:42 -07:00
Zachary Anderson
2c94f2b4d9
[flutter_tool] Kill a timing out process before trying to drain its stdout/err streams ( #40159 )
2019-09-11 08:30:29 -07:00