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
Jonah Williams
e1538d1b88
[flutter_tools] last pass on general.shard unit tests ( #60263 )
...
Last batch of test fixes for general shard.
2020-06-26 13:36:06 -07:00
Jonah Williams
5d61bff294
[flutter_tools] even more test fixes ( #60156 )
...
Fix tests broken under tester
2020-06-24 10:23:59 -07:00
Jonah Williams
14992c5951
Revert "[flutter_tools] separate target platform, host platform, and architecutre ( #60119 )" ( #60147 )
...
This reverts commit 30d97d89e0
.
2020-06-23 17:19:29 -07:00
Jonah Williams
37db92beeb
[versions] update all versions and fix tool tests ( #60127 )
...
Update all versions, specifically file which fixes some bugs that caused tests to fail if run in different orders:
- systemTemp directories created by MemoryFileSystem will allot names based on the file system instance instead of globally.
- MemoryFile.readAsLines()/readAsLinesSync() no longer treat a final newline in the file as the start of a new, empty line.
- RecordingFile.readAsLine()/readAsLinesSync() now always record a final newline.
2020-06-23 15:48:37 -07:00
Jonah Williams
30d97d89e0
[flutter_tools] separate target platform, host platform, and architecutre ( #60119 )
...
separate target platform, host platform, and architecture
2020-06-23 13:51:17 -07:00
Jonah Williams
a734693ff5
[flutter_tools] cleanup iOS test ( #59999 )
...
The test needs to look up HOME, but one wasn't provided. This would end up using the real home directory, crashing on windows
2020-06-22 17:04:17 -07:00
Jenn Magder
f41f795640
Clean up PollingDeviceDiscovery dispose ( #59709 )
2020-06-18 16:38:02 -07:00
Jonah Williams
bf94520644
[versions] Update all the versions ( #59283 )
2020-06-11 16:40:22 -07:00
Christopher Fujino
cf7e4a0b90
[flutter_tools] Fix slow ios_device_start_prebuilt_test ( #59026 )
2020-06-09 11:22:31 -07:00
Jenn Magder
023532d991
Revert "Build iOS apps using Swift Packages ( #59009 )" ( #59025 )
...
This reverts commit 43e28084fc
.
2020-06-08 15:45:10 -07:00
Jenn Magder
43e28084fc
Build iOS apps using Swift Packages ( #59009 )
2020-06-08 13:53:01 -07:00
Jonah Williams
4f88ed1d3c
[flutter_tools] only restrict devices based on arch + buildMode, not emulator status ( #58887 )
...
instead of restricting profile/release mode based on whether the tool thinks the device is an emulator, restrict based on the device target architecture and the requested build mode. Notably, this enables release mode on x86_64 Android emulators, but not x86 emulators since we do not support that as an AOT target.
This does not add release mode support for simulators, since this requires us to build and upload artifacts for simulator/x86_64
2020-06-08 11:20:15 -07:00
Jenn Magder
c130aa9574
Add FakeAsync to delay tests ( #58644 )
2020-06-03 17:16:37 -07:00
Jonah Williams
7e942b6229
[flutter_tools] iOS VM Service logs should include stderr ( #58551 )
2020-06-03 12:53:02 -07:00
Jenn Magder
e72e7f9fb0
Don't elapse real time during IOSDevice.startApp tests ( #58538 ) ( #58622 )
2020-06-03 12:43:02 -07:00
Jenn Magder
37bc900860
Revert "Don't elapse real time during IOSDevice.startApp tests ( #58538 )" ( #58618 )
...
This reverts commit 27186c784f
.
2020-06-03 11:26:29 -07:00
Jenn Magder
27186c784f
Don't elapse real time during IOSDevice.startApp tests ( #58538 )
2020-06-03 09:33:02 -07:00
Jenn Magder
2ece1c3a17
Revert "Build iOS apps using Swift Packages ( #58522 )" ( #58549 )
...
This reverts commit 2054f37aaf
.
2020-06-02 19:00:12 -07:00
Jenn Magder
2054f37aaf
Build iOS apps using Swift Packages ( #58522 )
2020-06-02 17:57:11 -07:00
Jenn Magder
f4d26a3b85
Change iOS device discovery from polling to long-running observation ( #58137 )
2020-06-01 12:33:01 -07:00
Jenn Magder
b0c98b6651
Detect USB/network interface from iOS devices ( #58257 )
2020-05-29 15:50:23 -07:00
Zachary Anderson
533cd7a6d1
[flutter_tools] Delete system temp entries on fatal signals ( #55513 )
2020-05-14 14:27:02 -07:00
Jenn Magder
9c87b32477
Remove Runner target check, prefer schemes ( #56620 )
2020-05-11 11:56:44 -07:00
Jenn Magder
0dc7be3bb0
Always remove the workspace settings ( #56703 )
2020-05-08 12:05:52 -07:00
Jenn Magder
4be791994f
Swap xcodeproj_tests from MockProcessManager to FakeProcessManager ( #56505 )
2020-05-07 15:18:27 -07:00
Zachary Anderson
6f0ed5e142
[flutter_tools] Restore base/platform.dart ( #56410 )
2020-05-06 08:15:39 -07:00
Jenn Magder
c8c55b4098
Check Xcode build setting FULL_PRODUCT_NAME for bundle name ( #55799 )
2020-05-04 11:31:08 -07:00
Jenn Magder
46a5c550db
Add iOS simulator log parse test ( #55808 )
2020-04-29 13:02:39 -07:00
Jonah Williams
534b0608ce
[flutter_tools] remove vm service ( #55794 )
...
Finishes the gradual vm service migration by deleting the flutter tooling's vm_service
2020-04-29 11:52:46 -07:00
Jonah Williams
4ee618bb72
[flutter_tools] don't elapse real time during fallback test ( #54717 )
2020-04-16 15:49:08 -07:00
Jenn Magder
a6b39a230f
Migrate Runner project base configuration ( #54691 )
2020-04-14 13:01:54 -07:00
Jenn Magder
ddf63a8b05
Remove Finder extended attributes from iOS project files ( #54488 )
2020-04-14 11:07:51 -07:00
Christopher Fujino
03c566768b
[flutter_tools] Remove fromPlatform from tests ( #54152 )
2020-04-10 16:51:28 -07:00
Jenn Magder
df63c82c9c
Convert iOS simulator log reader to simctl, use unified logging filters ( #54154 )
2020-04-09 14:35:01 -07:00
Jonah Williams
4851888864
[flutter_tools] Migrate to package:vm_service 4: trigonometric boogaloo ( #54132 )
2020-04-08 12:33:33 -07:00
Jonah Williams
61b3361781
Revert "[flutter_tools] Migrate to vm service 3 (reland): electric boogaloo ( #53957 )" ( #54114 )
...
This reverts commit d6b09626f2
.
2020-04-06 10:36:14 -07:00
Jonah Williams
d6b09626f2
[flutter_tools] Migrate to vm service 3 (reland): electric boogaloo ( #53957 )
2020-04-06 10:18:41 -07:00
Jonah Williams
66f4907754
Revert "[flutter_tools] update to package vm_service: electric boogaloo ( #53809 )" ( #53951 )
...
This reverts commit 66d7a6c266
.
2020-04-03 14:00:07 -07:00
Jonah Williams
66d7a6c266
[flutter_tools] update to package vm_service: electric boogaloo ( #53809 )
2020-04-03 12:38:56 -07:00
Jenn Magder
77ea848c46
Inject Usage dependency into FallbackDiscovery and BuildEvent ( #53443 )
...
* Usage dependency injection
* Review edits
2020-04-02 10:57:37 -07:00
Jenn Magder
57b0ddbd60
Uninstall app flag ( #53385 )
2020-03-27 10:13:54 -07:00
Jonah Williams
2717eb6413
[flutter tools] rewrite launch non-prebuilt app tests ( #53351 )
2020-03-26 17:36:02 -07:00
Jonah Williams
c5800fe107
[flutter_tools] update iOS deploy tests for best practices ( #53343 )
2020-03-26 17:31:01 -07:00
Jenn Magder
207efd4cee
Convert idevicescreenshot and upgradePbxProjWithFlutterAssets tests to testWithoutContext ( #53208 )
2020-03-25 11:14:00 -07:00
Jenn Magder
778c2ce923
Convert some code_signing_tests to testWithoutContext ( #53142 )
2020-03-24 15:30:35 -07:00
Jenn Magder
0b321e6715
Remove IMobileDevice from globals, hoist to XCDevice constructor ( #53144 )
...
* Convert ios_device_logger_test.dart to testWithoutContext
* Remove IMobileDevice from globals, hoist to XCDevice constructor
2020-03-24 11:22:54 -07:00
Jonah Williams
10571920c0
[flutter_tools] update to latest dwds API ( #52936 )
...
Should fix issues introduced in web-server device and allow loading org-dartlang-app URIs
2020-03-23 18:47:50 -07:00
Jonah Williams
441665e21a
[flutter_tools] split logger test and create log reader testing interface ( #52934 )
2020-03-20 13:46:39 -07:00
Christopher Fujino
7d1fbcae1a
Refactor exits happy ( #52916 )
2020-03-20 13:05:19 -07:00
Jonah Williams
5b956fd8f6
[flutter_tools] split isSupportedForProject test into new file ( #52911 )
2020-03-19 16:42:05 -07:00
Kirill Pertsev
bae2f2c108
Enables log reader on iOS Simulator to (rudimentary) process multiline messages ( #52452 )
2020-03-19 15:41:39 -07:00
Jonah Williams
d20242b703
[flutter_tools] refactor ios install/uninstall to new file ( #52891 )
2020-03-19 14:53:14 -07:00
Jonah Williams
73b6702dee
[flutter_tools] refactor iOS tests for Device.startApp into new file ( #52854 )
2020-03-18 17:43:25 -07:00
Christopher Fujino
2d9902d9ac
Cleanup ios devices ( #52568 )
2020-03-18 12:51:01 -07:00
Jonah Williams
90d6169678
[flutter_tools] refactor the IOSDevicePortForwarder and move tests out of devices_test.dart ( #52772 )
...
Updates the IOSDevicePortForwarder to no longer depend on context, or on an IOSDevice instance. Instead, it receives all necessary configuration through the constructor.
Moves the IOSDevicePortForwarder to a separate file.
2020-03-17 17:58:05 -07:00
Jonah Williams
6884086e5c
[flutter_tools] Update to latest dwds APIs ( #51004 )
...
Update to latest dwds APIs, moving back to dwds driven hot restart and enabling future work on expression evaluation.
2020-03-17 17:29:53 -07:00
gaaclarke
6990b8b2d3
Added the "trace-whitelist" flag to run. ( #52556 )
2020-03-17 16:42:20 -07:00
Christopher Fujino
38a8845481
move iosworkflow to globals ( #52444 )
2020-03-12 10:16:28 -07:00
Zachary Anderson
53dce17b35
[flutter_tools] Fallback discovery: Don't crash when an Isolate has no root library ( #52354 )
2020-03-10 15:31:02 -07:00
Jenn Magder
fdd023fa59
Migrate older Xcode projects off the legacy build system ( #52288 )
2020-03-10 10:11:16 -07:00
Dan Field
db1f33fd70
Revert "Local engine build mode ( #52043 )" ( #52152 )
...
This reverts commit 4d05ed5deb
.
2020-03-06 16:57:18 -08:00
Jonah Williams
c1112d3f7e
[flutter_tools] Reland: Allow providing dart-defines to Android, iOS, macOS builds ( #52044 )
2020-03-06 14:53:36 -08:00
Christopher Fujino
2e18cd347e
Fix simctl process exceptions not being caught ( #51916 )
2020-03-06 13:16:01 -08:00
Jenn Magder
f6a55125d2
Add usage event for failed iOS project migration ( #51879 )
2020-03-06 12:14:29 -08:00
Zachary Anderson
6c408a0567
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #52021 )
...
* Reland: [flutter_tool] Where possible, catch only subtypes of Exception
* Add armv7f to getIOSArchForName
2020-03-06 10:22:12 -08:00
Dan Field
4d05ed5deb
Local engine build mode ( #52043 )
2020-03-05 23:46:02 -08:00
Dan Field
24883e1cf2
Add overrides for FileSystemUtils ( #52080 )
2020-03-05 22:51:15 -08:00
Jonah Williams
ee476a7bd1
Revert "[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )" ( #52041 )
...
This reverts commit ee60eeea3e
.
2020-03-05 12:51:42 -08:00
Jonah Williams
ee60eeea3e
[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )
2020-03-05 12:38:40 -08:00
Jenn Magder
db94472aeb
Skip iOS project migration when script is already embedding frameworks ( #51963 )
2020-03-04 16:12:13 -08:00
Jenn Magder
cbbb7ec5a7
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )" ( #51960 )
...
This reverts commit 57c6721cd5
.
2020-03-04 12:40:15 -08:00
Flutter GitHub Bot
57c6721cd5
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )
2020-03-04 11:41:02 -08:00
Zachary Anderson
a5bd678585
Revert "Write FLUTTER_BUILD_MODE when using a local engine ( #51687 )" ( #51943 )
...
This reverts commit 9b4b7d7ee0
.
2020-03-04 08:56:53 -08:00
Dan Field
9b4b7d7ee0
Write FLUTTER_BUILD_MODE when using a local engine ( #51687 )
2020-03-04 07:36:55 -08:00
Jenn Magder
e491544588
Move embedding and linking Flutter frameworks into the tool ( #51453 )
...
* Move embedding and linking Flutter frameworks into the tool
* Unused import
* Migrate
* Rename run, add comments, remove typedef
* Add status log to tell the user what we did
* Remove Podfile migration, create IOSMigration superclass
* word-smiting
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* for space
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-03-03 12:11:28 -08:00
Jonah Williams
3489da9328
[flutter_tools] no more MockLogger in tests ( #51684 )
2020-03-02 16:23:56 -08:00
Zachary Anderson
b32ee2f15c
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )" ( #51616 )
...
This reverts commit 9de7787f25
.
2020-02-27 22:57:13 -08:00
Zachary Anderson
9de7787f25
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )
2020-02-27 22:46:23 -08:00
Jenn Magder
4fb9ce8414
Clean App.framework, Generated.xcconfig, flutter_export_environment.sh ( #51532 )
2020-02-27 12:18:06 -08:00
Zachary Anderson
483f49962c
Revert "[flutter_tool] Where possible, catch only subtypes of Exception ( #51440 )" ( #51539 )
...
This reverts commit f1cd47ef5c
.
2020-02-26 23:42:19 -08:00
Zachary Anderson
f1cd47ef5c
[flutter_tool] Where possible, catch only subtypes of Exception ( #51440 )
2020-02-26 21:45:02 -08:00
Jonah Williams
80619f100f
[flutter_tools] remove globals from plist parser and update tests ( #51444 )
2020-02-26 18:31:42 -08:00
Zachary Anderson
d73dd6b356
[flutter_tools] Rework iOS vmservice handshake failure usage event ( #51419 )
2020-02-25 15:22:17 -05:00
Christopher Fujino
704fb4cbc7
Remove usage of ideviceinstaller in favor of ios-deploy ( #50772 )
2020-02-25 09:09:40 -08:00
Zachary Anderson
c268b6c3d4
[flutter_tools] Collect more information in ios-handshake failure event ( #50804 )
2020-02-14 09:40:52 -08:00
Jonah Williams
5406258fc6
[flutter_tools] fix crash when IsolateRef returns sentinel ( #50611 )
2020-02-11 16:03:45 -08:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01: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
Jenn Magder
a9b8d360cf
Remove ideviceinfo, idevice_id artifacts ( #50248 )
2020-02-06 15:50:26 -08:00
Jonah Williams
69ecca554d
[flutter_tools] iOS fallback discovery protocol ( #49735 )
2020-02-06 13:58:03 -08:00
Jenn Magder
a0665aba49
Reland Replace ideviceinfo and idevice_id with xcdevice ( #50252 )
2020-02-06 11:38:47 -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
Jenn Magder
3aa7a80053
Replace ideviceinfo and idevice_id with xcdevice ( #49854 )
2020-02-05 17:37:25 -08:00
Dan Field
4b8efad99b
Font subset in the tool ( #49737 )
2020-02-04 20:34:24 -08:00
Jenn Magder
d00a39cbdd
Remove dead code IMobileDevice.isWorking ( #50084 )
2020-02-04 14:18:20 -08:00
Jenn Magder
d85ea51384
Move iMobileDevice to globals ( #49724 )
2020-01-29 13:51:16 -08:00
Dan Field
8b2993337a
revert #48985 ( #49572 )
2020-01-27 14:36:02 -08:00
Christopher Fujino
0c2f51fca7
Fix concurrent modification error ( #48916 )
2020-01-23 18:23:03 -08:00
Jonah Williams
ef15eac821
[flutter_tools] Remove context from Xcode and most of Xcodeproj ( #48661 )
2020-01-23 15:03:03 -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
Alexandre Ardhuin
003541499b
use isA<Xxx>() matcher ( #48482 )
2020-01-16 12:43:03 -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
Alexander Aprelev
b4c79239da
Cleanup accidental use of global fs in test. ( #48358 )
...
This is follow-up to ee7a37f1d3
.
2020-01-07 22:35:03 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Jonah Williams
ee7a37f1d3
[flutter_tools] Ensure that global variables are easily identifiable ( #47398 )
2020-01-06 11:04:20 -08: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
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
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
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
8ca55605c8
[flutter_tool] forward device-vmservice-port to iOS device launch arguments ( #46822 )
2019-12-12 13:55:42 -08:00
Zachary Anderson
99684ce159
[flutter_tool] Make Device.dispose() abstract ( #46006 )
2019-12-05 08:48:00 -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
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
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
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
Christopher Fujino
ff84b3e66d
catch IOSDeviceNotFoundError in IOSDevice.startApp() ( #45011 )
2019-11-18 13:53:55 -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
Jonah Williams
c0af77bf87
Allow specifying device-vmservice-port and host-vmservice-port ( #44027 )
2019-11-13 13:01:41 -08:00
Jenn Magder
2e7d9130b2
Observe logging from VM service on iOS 13 ( #43915 )
2019-11-01 14:37:17 -07:00
Jonah Williams
79323f7c13
Ensure target platform is passed is always passed to assemble ( #43862 )
2019-10-30 19:40:19 -07:00
Jenn Magder
01dc19b93f
Pass environment variables through to xcodebuild ( #43553 )
2019-10-28 19:58:06 -07:00
Jonah Williams
4c677e4148
Extra defensive programming for pub modification time assert ( #43315 )
2019-10-22 22:05:00 -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
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
Jenn Magder
a62bb3d9ab
Update minimum version to Xcode 10.2 ( #42254 )
2019-10-14 12:45:40 -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
Christopher Fujino
ed482c3e09
Stop leaking iproxy processes ( #42026 )
2019-10-09 16:30:27 -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
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
Zachary Anderson
feaaa5d738
[flutter_tool] Add analytics events for ios-mdns fallback success/failure ( #41482 )
2019-09-27 12:18:59 -07:00
Zachary Anderson
716a672bc8
[flutter_tools] Adds tests of mdns analytics events ( #41410 )
2019-09-27 08:07:26 -07:00
Alexandre Ardhuin
f11c34109c
fix bad indentations(mainly around collection literals) ( #41355 )
2019-09-27 10:46:45 +02:00
Alexandre Ardhuin
b873162194
fix some bad indentations ( #41172 )
2019-09-24 21:03:37 +02:00
Alexandre Ardhuin
89427d672d
add missing trailing commas in flutter_tools ( #40968 )
2019-09-24 08:06:09 +02: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
Jenn Magder
9a68b0df3e
Warn when build number and version can't be parsed on iOS ( #40611 )
2019-09-17 17:07:41 -07:00
Zachary Anderson
8a33d2446d
[flutter_tool] Remove the synchronous -showBuildSettings ( #40435 )
2019-09-16 07:51:50 -07:00
Zachary Anderson
e2340c641d
[flutter_tool] Use curly braces around single statment control structures ( #40446 )
2019-09-13 14:51:35 -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
Zachary Anderson
73c10e8ced
[flutter_tool] process.dart cleanup ( #39899 )
2019-09-11 18:20:42 -07:00
Zachary Anderson
0f2af976a2
[flutter_tools] Add a timeout to another showBuildSettings command ( #39579 )
2019-09-05 09:50:46 -07:00
Zachary Anderson
b7c714e84c
[flutter_tool] Use a timeout for xcode showBuildSettings ( #39280 )
2019-08-28 10:03:53 -07:00
Jonah Williams
6f71ce26d6
Place terminalUi flag on terminal interface ( #39214 )
2019-08-27 14:20:51 -07:00
Zachary Anderson
398ac1f6c8
[flutter_tool] Remove some async file io ( #38654 )
2019-08-20 13:15:08 -07:00
Todd Volkert
c22ce95e15
Change from using defaults
to plutil
for Plist parsing ( #38662 )
...
We were using the `defaults` command-line utility to parse
Plist files, but it was never supported by Apple, and it
appears that in an upcoming OS release, it will be less likely
to work:
> WARNING: The defaults command will be changed in an upcoming
> major release to only operate on preferences domains. General
> plist manipulation utilities will be folded into a different
> command-line program.
Fixes https://github.com/flutter/flutter/issues/37701
2019-08-16 17:10:07 -07:00
Todd Volkert
1d8deb1bb8
Handle case of a connected unpaired iOS device ( #38629 )
...
Fixes https://github.com/flutter/flutter/issues/36789
Fixes https://github.com/flutter/flutter/issues/37000
https://github.com/flutter/flutter/issues/36524
https://github.com/flutter/flutter/issues/24600
2019-08-15 17:59:37 -07:00
Zachary Anderson
a40ab895cf
[flutter_tool] Observatory connection error handling cleanup ( #38353 )
2019-08-15 12:13:03 -07:00
Jonah Williams
ca5411e3aa
Fix type error hidden by implicit downcasts ( #38102 )
2019-08-12 15:21:28 -07:00
Jonah Williams
2185825338
Catch FormatException caused by bad simctl output ( #37958 )
2019-08-10 00:57:23 -07:00
Christopher Fujino
39a04dcd7f
Support macOS Catalina-style signing certificate names ( #37733 )
2019-08-07 09:18:11 -07:00
Jenn Magder
dd1fb3bcb7
Build number (part after +) is documented as optional, use entire app version if not present ( #37036 )
2019-07-31 16:18:09 -07:00
Jenn Magder
bd47a31e32
Vend Flutter module App.framework as a local CocoaPod pod to be installed by a host app ( #36793 )
2019-07-30 09:58:39 -07:00
Zachary Anderson
ef146f63bb
[flutter_tool] Clean up usage events and custom dimensions ( #36785 )
2019-07-29 07:24:02 -07:00
Christopher Fujino
9bd2e4000b
Throw exception if instantiating IOSDevice on non-mac os platform ( #36288 )
2019-07-19 12:20:45 -07:00
Dan Field
c953cd19d2
Enable bitcode compilation for AOT ( #36471 )
2019-07-18 22:42:47 -07:00
Emmanuel Garcia
5a34e7981e
Catch exceptions thrown by runChecked* when possible ( #36109 )
2019-07-18 10:45:37 -07:00