Jonah Williams
8b6baae44c
[flutter_tools] move process manager into tool ( #75350 )
...
Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
2021-02-04 13:19:11 -08:00
Jenn Magder
86c21c5d8f
Replace MockPlistParser with FakePlistParser ( #75276 )
2021-02-04 10:39:58 -08:00
Jenn Magder
7a8bbbd807
Install prebuilt iOS app only once ( #75387 )
2021-02-04 10:19:37 -08:00
Jenn Magder
73506f36f7
Replace MockConfig with TestConfig ( #75044 )
2021-02-01 18:16:05 -08:00
Jenn Magder
6ecb8cbcfa
Replace MockUsage with TestUsage ( #74946 )
2021-01-28 18:49:04 -08:00
Jonah Williams
b926c7b696
[flutter_tools] rewrite Usage.test to capture objects instead of print logs ( #74829 )
2021-01-28 12:41:14 -08:00
Jonah Williams
74bd7b6f6d
[flutter_tools] opt all flutter tool libraries and tests out of null safety. ( #74832 )
...
* opt out the flutter tool
* oops EOF
* fix import
* Update tool_backend.dart
* Update daemon_client.dart
* fix more
2021-01-27 15:17:53 -08:00
Jenn Magder
fe921211df
Replace MockXcode with Xcode.test in more unit tests ( #74827 )
2021-01-27 13:07:07 -08:00
Alexandre Ardhuin
d546e1d311
fix for upcoming lint use_named_constants ( #74788 )
2021-01-27 20:20:44 +01:00
Jenn Magder
17edb9aa8c
Build x86_64 iOS apps with simulator local engines ( #74003 )
2021-01-15 14:47:14 -08:00
Jenn Magder
7c75c01fc3
Add recommended Xcode version to doctor ( #73808 )
2021-01-12 19:01:18 -08:00
Jenn Magder
f63055a895
Revert "Exclude arm64 from valid iOS simulators ( #73755 )" ( #73807 )
...
This reverts commit 201e5e4ecb
.
2021-01-12 13:02:46 -08:00
Jenn Magder
201e5e4ecb
Exclude arm64 from valid iOS simulators ( #73755 )
2021-01-12 10:35:24 -08:00
Jenn Magder
45d71e25ab
Build iOS apps using Swift Packages ( #73508 )
2021-01-07 15:59:09 -08:00
Jenn Magder
f596fdc008
Revert "Exclude arm64 from valid iOS simulators ( #73458 )" ( #73511 )
...
This reverts commit 273630c09d
.
2021-01-07 14:06:32 -08:00
Jenn Magder
273630c09d
Exclude arm64 from valid iOS simulators ( #73458 )
2021-01-07 13:03:52 -08:00
Jenn Magder
74d58105d1
Revert "Build iOS apps using Swift Packages ( #72761 )" ( #73437 )
...
This reverts commit 28db5a0fae
.
2021-01-06 15:04:16 -08:00
Jenn Magder
28db5a0fae
Build iOS apps using Swift Packages ( #72761 )
2021-01-06 13:54:53 -08:00
Jenn Magder
cdacae89e1
Revert "Launch named iOS simulators ( #72323 )" ( #72447 )
...
This reverts commit 84a7a611b0
.
2020-12-16 11:52:59 -08:00
Jenn Magder
84a7a611b0
Launch named iOS simulators ( #72323 )
2020-12-15 15:06:47 -08:00
Jenn Magder
03013ce42a
Remove manual Flutter linking for iOS projects ( #71862 )
2020-12-07 13:49:11 -08:00
Jenn Magder
aa7be00d4b
Rename IOSMigrator -> ProjectMigrator ( #71757 )
2020-12-04 18:34:59 -08:00
Jenn Magder
a8bed5e405
Add sysctl file fallbacks ( #71623 )
2020-12-03 08:53:07 -08:00
Jenn Magder
a5ee7f7cfc
Add XCFramework artifacts ( #71113 )
2020-12-01 10:00:16 -08:00
Ben Konyi
4cbafda853
Roll package:dds to 1.5.1 and add isCompleted guards around completers in base/dds.dart ( #70712 )
2020-11-17 16:03:18 -08:00
Jonah Williams
f98c468317
[flutter_tools] remove unused JSON schema ( #70480 )
2020-11-13 13:02:40 -08:00
Jenn Magder
2f3cccc4f5
Run more xcodebuild commands in native arm on Apple Silicon ( #69837 )
2020-11-04 19:54:02 -08:00
Jonah Williams
44d0e52d20
[flutter_tools] remove fallback discovery and observatory timeout ( #68756 )
...
The flutter run failures are cause by the application occasionally taking a long time to start up. This caused the ios fallback discovery to kick in, which will always fail if the application hasn't started. Solution: remove the iOS fallback discovery and wait up to 30 seconds.
This has not proven to reduce the flakes, but it does at least remove one error case and removes code that will no longer work without the mDNS fallback.
2020-10-29 18:43:47 -07:00
Jonah Williams
18f0a2288e
[flutter_tools] update to vm_service 5.2.0, update to dwds 7.0.0 ( #69067 )
...
Rolls in several fixes to web tooling, including better handling of absolute file imports. Updates to latest vm service to unblock null safety mode query
Co-authored-by: Gary Roumanis <grouma@google.com>
Co-authored-by: Anna Gringauze <annagrin@google.com>
2020-10-27 13:55:32 -07:00
Alexandre Ardhuin
17cdf5559d
enable unnecessary_string_escapes and use_raw_strings ( #68302 ) ( #69025 )
2020-10-26 12:42:05 -07:00
Jenn Magder
832d776b15
Stop debugger when iOS app crashes ( #68844 )
2020-10-23 14:12:04 -07:00
Zachary Anderson
cbcd1321ed
Revert "enable unnecessary_string_escapes and use_raw_strings ( #68302 )" ( #68714 )
...
This reverts commit ae06c19a37
.
2020-10-21 08:16:13 -07:00
Alexandre Ardhuin
ae06c19a37
enable unnecessary_string_escapes and use_raw_strings ( #68302 )
2020-10-21 16:34:24 +02:00
Jenn Magder
d81691d0f4
Revert "Build iOS apps using Swift Packages ( #68361 )" ( #68546 )
...
This reverts commit dd9323bdfb
.
2020-10-19 17:57:32 -07:00
Jenn Magder
dd9323bdfb
Build iOS apps using Swift Packages ( #68361 )
2020-10-19 15:47:04 -07:00
Jenn Magder
acde65d14a
Revert noninteractive lldb debugging, timeout warning ( #68245 )
2020-10-15 18:02:15 -07:00
Jenn Magder
1fb94fb894
Noninteractive iOS debugger session ( #68145 )
2020-10-14 15:38:07 -07:00
Jenn Magder
a82807d782
Run Xcode command lines tools in native ARM ( #68050 )
2020-10-14 15:24:32 -07:00
Jenn Magder
431c599bec
Revert "[flutter_tools] If run fails to install the application on iOS, try uninstalling it and trying again. ( #68078 )" ( #68118 )
...
This reverts commit 61ba7dd218
.
2020-10-14 10:07:30 -07:00
Jonah Williams
61ba7dd218
[flutter_tools] If run fails to install the application on iOS, try uninstalling it and trying again. ( #68078 )
2020-10-14 09:14:36 -07:00
Jenn Magder
3e0d2741de
Detach debugger when VM connection fails on iOS ( #68046 )
2020-10-13 12:50:50 -07:00
Jonah Williams
ddab09f553
[flutter_tools] enable LocalDevFSWriter for desktop devices, iOS simulator ( #66678 )
...
* [flutter_tools] enable LocalDevFSWriter for desktop devices, iOS simulator
* Update device.dart
* Update desktop_device_test.dart
* fix analysis errors
2020-10-08 13:40:19 -07:00
Dan Field
8d9e0d4b95
Respect --enable-software-rendering flag on iOS simulators ( #67576 )
2020-10-07 18:07:10 -07:00
Jenn Magder
f8b1de3a63
Add publish-port flag to disable mDNS port discovery ( #67452 )
2020-10-07 08:52:05 -07:00
Jonah Williams
1bea512a83
[flutter_tools] flutter logs no longer requires supported device ( #66696 )
...
Flutter logs should not attempt to filter the device list based on the current project, because it does not require a current project. Also fix disabled polling test
Fixes #47996
Fixes #63550
2020-10-02 21:12:50 -07:00
Jenn Magder
36fca52c0d
Replace MockArtifacts with Artifacts.test() ( #67012 )
2020-09-30 16:25:29 -07:00
Jenn Magder
becaf4913f
Replace MockCache with Cache.test() ( #66946 )
2020-09-30 14:53:57 -07:00
Jenn Magder
e8fbb43aac
Replace MockFile with memory file system files ( #66941 )
2020-09-29 17:50:33 -07:00
Jenn Magder
934e05f86d
Remove Try accepting the local network permissions popup warning ( #66621 )
2020-09-25 11:05:47 -07:00
Jenn Magder
d5b715d7cb
Stream logging from attached debugger on iOS 13+ ( #66399 )
2020-09-22 17:16:45 -07:00
Jenn Magder
658e6c8a8d
Listen to Debug VM stream to get Stdout logs from VMService ( #66310 )
2020-09-22 17:12:02 -07:00
Jenn Magder
4881b4b07c
Revert "Stream logging from attached debugger on iOS ( #66092 ) ( #66390 )" ( #66397 )
...
This reverts commit 2be4570d3a
.
2020-09-22 15:15:56 -07:00
Jenn Magder
2be4570d3a
Stream logging from attached debugger on iOS ( #66092 ) ( #66390 )
2020-09-22 14:59:14 -07:00
Jenn Magder
8d2e257633
Revert "Stream logging from attached debugger on iOS ( #66092 )" ( #66368 )
...
This reverts commit 5c8580360a
.
2020-09-22 11:30:50 -07:00
Dan Field
4299dd7843
Revert "Revert "Stream logging from attached debugger on iOS ( #66092 )" ( #66359 )" ( #66360 )
...
This reverts commit 53fee1be38
.
2020-09-22 09:23:57 -07:00
Dan Field
53fee1be38
Revert "Stream logging from attached debugger on iOS ( #66092 )" ( #66359 )
...
This reverts commit 5c8580360a
.
2020-09-22 09:22:55 -07:00
Jenn Magder
5c8580360a
Stream logging from attached debugger on iOS ( #66092 )
2020-09-18 15:26:28 -07:00
Jenn Magder
4fee00798a
Inform user how to fix permissions when the observatory URL isn't found on iOS 14 ( #65977 )
2020-09-17 15:16:55 -07:00
Ben Konyi
a17b330980
Reland "Re-enable the Dart Development Service (DDS) ( #64671 )" ( #65873 )
...
This reverts commit 66b01c1f29
.
* Add DDS ipv6 support
* Use --dds-port for DDS instead of hijacking --host-vmservice-port
2020-09-16 16:27:42 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
Jonah Williams
30a0b5a50c
Revert "[flutter_tools] split project parsing/validation into separate function ( #64814 )" ( #65202 )
...
This reverts commit 8eed690442
.
2020-09-03 14:25:29 -07:00
Jonah Williams
8eed690442
[flutter_tools] split project parsing/validation into separate function ( #64814 )
...
In order to share logic across build/archive/ipa commands, move the project parsing/validation into a different function. #64683
2020-09-03 14:14:52 -07:00
Jenn Magder
ace54425e0
Add observatory Bonjour service to built iOS Info.plist bundle ( #65138 )
2020-09-02 18:47:56 -07:00
Jenn Magder
259deec221
Revert "Add observatory Bonjour service to built iOS Info.plist bundle ( #65138 )" ( #65141 )
...
This reverts commit 5e0aa8b9fc
.
2020-09-02 18:31:45 -07:00
Jenn Magder
5e0aa8b9fc
Add observatory Bonjour service to built iOS Info.plist bundle ( #65138 )
2020-09-02 17:57:43 -07:00
Jenn Magder
cb819504f3
Revert "Add observatory Bonjour service to built iOS Info.plist bundle ( #64988 )" ( #65109 )
...
This reverts commit 4fde217dea
.
2020-09-02 12:31:17 -07:00
Jenn Magder
4fde217dea
Add observatory Bonjour service to built iOS Info.plist bundle ( #64988 )
2020-09-02 11:11:07 -07:00
Mehmet Fidanboylu
66b01c1f29
Revert "Reland "Re-enable the Dart Development Service (DDS) ( #64671 )" ( #64847 )" ( #64981 )
...
This reverts commit c8f234d365
.
2020-08-31 16:09:02 -07:00
Ben Konyi
c8f234d365
Reland "Re-enable the Dart Development Service (DDS) ( #64671 )" ( #64847 )
...
This reverts commit 2436de1391
.
2020-08-31 12:14:32 -07:00
Jonah Williams
2436de1391
Revert "Reland "Re-enable the Dart Development Service (DDS) ( #64671 )" ( #64802 )" ( #64845 )
...
This reverts commit eef0050d08
.
2020-08-28 18:02:15 -07:00
Ben Konyi
eef0050d08
Reland "Re-enable the Dart Development Service (DDS) ( #64671 )" ( #64802 )
...
* Reland "Re-enable the Dart Development Service (DDS) (#64671 )"
This reverts commit 2ae25cc2d7
.
* Fix MDNS building Observatory URI with port 0 instead of forwarding the device port
* Added MDNS test
2020-08-28 16:18:35 -07:00
Ben Konyi
2ae25cc2d7
Revert "Re-enable the Dart Development Service (DDS) ( #64671 )" ( #64797 )
...
This reverts commit d7d12412e5
.
2020-08-28 09:00:53 -07:00
Ben Konyi
d7d12412e5
Re-enable the Dart Development Service (DDS) ( #64671 )
...
This change re-enables DDS and outputs the DDS URI in place of the VM
service URI on the console. If --disable-dds is not provided,
--host-vmservice-port will be used to determine the port for DDS rather
than the host port for the VM service, which will instead be randomly
chosen.
2020-08-27 16:35:00 -07:00
Jonah Williams
9225d8d5b7
[flutter_tools] move to fake_async, skip failing tests ( #63536 )
2020-08-11 19:36:05 -07:00
Jonah Williams
c86d090e6f
[flutter_tools] add --null-assertions flag for debugging with null safety ( #63416 )
2020-08-11 11:36:03 -07:00
Ian Hickson
ef62463e9c
Update link to bug ( #62893 )
2020-08-05 15:06:24 -07:00
Yuqian Li
22bf19cece
Add purge-persistent-cache option to run and drive ( #62221 )
...
Fixes https://github.com/flutter/flutter/issues/39526
Needs https://github.com/flutter/engine/pull/20013 to land and roll first.
2020-07-29 12:24:39 -07:00
Ben Konyi
3a5a3eaf68
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #62147 )
...
This reverts commit adc9dde3ba
.
- Fixed issue where `FallbackDiscovery` would hold on to a `VmService` when launching on iOS devices, causing DDS to fail to start
- Fixed `flutter drive` case where DDS is already running in another flutter_tools instance
2020-07-29 10:05:40 -07:00
Jenn Magder
5abe2d3364
Allow hyphens in iOS UDIDs ( #62225 )
2020-07-28 10:29:34 -07:00
Ben Konyi
adc9dde3ba
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61975 )" ( #61993 )
...
This reverts commit f7a1c87ffd
.
2020-07-21 16:17:23 -07:00
Ben Konyi
f7a1c87ffd
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61975 )
...
This reverts commit 4867f5931f
.
2020-07-21 15:44:38 -07:00
Ben Konyi
4867f5931f
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61882 )" ( #61909 )
...
This reverts commit 895b7ef6fa
.
2020-07-20 16:41:01 -07:00
Ben Konyi
895b7ef6fa
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61882 )
...
This reverts commit 38fe887342
.
2020-07-20 16:01:58 -07:00
Jenn Magder
c4bfa4c7ab
Inject iproxy into context ( #61762 )
2020-07-20 07:46:05 -07:00
Ben Konyi
38fe887342
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61633 )" ( #61641 )
...
This reverts commit 594c3541aa
.
2020-07-16 11:43:54 -07:00
Ben Konyi
594c3541aa
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61633 )
...
This reverts commit a1a5a8f635
.
2020-07-16 11:38:17 -07:00
Jonah Williams
859fce9010
[flutter_tools] add feature for iOS, android, and fuchsia ( #61481 )
...
Add feature flags for android, ios, and fuchsia (on by default). After updating the g3 rollers, the fuchsia feature will be turned off by default. Creates a simpler base type of feature flags for g3 to extend.
Updates android, ios, fuchsia workflows to use feature flags check.
Removes concept of stable artifacts and checks on flutter version.
Fixes #58999
#52859
#12768
2020-07-16 09:51:59 -07:00
Jenn Magder
4fba77476d
Support Xcode patch version comparison ( #61484 )
2020-07-14 17:16:02 -07:00
Ben Konyi
a1a5a8f635
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61395 )" ( #61498 )
...
This reverts commit f98184e487
.
2020-07-14 16:32:49 -07:00
Ben Konyi
f98184e487
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61395 )
...
This reverts commit 5b9c6e2b0e
.
2020-07-14 15:57:36 -07:00
Dan Field
5b9c6e2b0e
Revert "Add support for Dart Development Service (DDS) in Flutter Tools ( #59114 )" ( #61276 )
...
This reverts commit fe7bbf7226
.
2020-07-10 15:53:35 -07:00
Ben Konyi
fe7bbf7226
Add support for Dart Development Service (DDS) in Flutter Tools ( #59114 )
2020-07-10 15:35:21 -07:00
Jenn Magder
20fe2f88c5
Prefer tear offs to lambdas in test expects ( #61196 )
2020-07-09 17:58:51 -07:00
Jenn Magder
e110ca7209
Case insensitive check flavor names against Xcode schemes ( #61140 )
2020-07-09 16:56:02 -07:00
Jenn Magder
11bf7f0687
Take screenshots of wirelessly paired iOS devices ( #60623 )
2020-07-06 12:28:29 -07:00
Christopher Fujino
b15798fa98
Revert "Revert "[flutter_tools] update libimobiledevice ( #59512 )" ( #60551 )" ( #60569 )
...
This reverts commit 09cca73aee
.
2020-06-29 18:29:58 -07:00
Jenn Magder
d5225a560d
Fix daemon device discovery crash when Xcode isn't installed ( #60546 )
2020-06-29 14:54:19 -07:00
Christopher Fujino
09cca73aee
Revert "[flutter_tools] update libimobiledevice ( #59512 )" ( #60551 )
...
This reverts commit 32000db52e
.
2020-06-29 13:44:38 -07:00
Christopher Fujino
32000db52e
[flutter_tools] update libimobiledevice ( #59512 )
2020-06-29 13:17:04 -07:00
Jenn Magder
a4fa61b4f1
Use ephemeral ports for iOS port forwarding ( #60381 )
2020-06-26 15:02:05 -07:00