Commit graph

3771 commits

Author SHA1 Message Date
Jenn Magder 58944e6b88
Revert "Enable caching of CPU samples collected at application startup (#89600)" (#89704)
This reverts commit 619121b095.
2021-09-08 19:37:34 -07:00
Ben Konyi 619121b095
Enable caching of CPU samples collected at application startup (#89600) 2021-09-08 17:22:04 -07:00
Anis Alibegić a753d09cc9
Fixed several typos (#89485) 2021-09-07 14:56:04 -07:00
Emmanuel Garcia 50b0037803
Remove files that are unnecessary in a plugin (#89445) 2021-09-07 11:11:05 -07:00
arfy slowy 202fc02ca1
fix: typo spelling grammar (#88439) 2021-09-03 15:09:31 -07:00
Sigurd Meldgaard bce366203a
Stop calling top level pub (#89032)
* Use `dart __deprecated_pub` instead of `pub` to invoke pub from tools

The top level `pub` commmand has been deprecated and will print
a message. It is however implemented via the __deprecated_pub command
that prints no message.
2021-08-30 10:40:10 -07:00
Jenn Magder 0cb6d5983c
Migrate fuchsia sdk and dependencies to null safety (#88920) 2021-08-25 19:51:04 -07:00
Anna Gringauze a511c436c9
Fix web_tool_tests failure on dart roll (#88914)
Helps: https://github.com/flutter/flutter/issues/88911
2021-08-25 18:22:21 -07:00
Jenn Magder d550d497f1
Migrate some flutter_tools tests to null safety (#88850) 2021-08-25 16:21:04 -07:00
Zachary Anderson cff3db1d8e
Account for additional warning text from the tool (#88902) 2021-08-25 14:55:42 -07:00
Jenn Magder 125451bc2e
Migrate mac.dart to null safety (#88846) 2021-08-25 13:31:03 -07:00
Zachary Anderson b4e0472b04
Revert "Use dart pub instead of pub to invoke pub from tools (#88509)" (#88792)
This reverts commit 7c24ff2c5b.
2021-08-24 09:00:22 -07:00
Sigurd Meldgaard 7c24ff2c5b
Use dart pub instead of pub to invoke pub from tools (#88509)
Top level `pub` is being deprecated.
2021-08-24 15:51:08 +02:00
Jonah Williams fa0782b696
reassign jonahwilliams todos (#88707) 2021-08-23 12:27:07 -07:00
Ian Hickson 9f9aa46b7d
Update the timeouts since tests time out after 15 minutes not 30 seconds. (#88061) 2021-08-20 12:52:03 -07:00
Hans Muller afe58fbab5
Revert "Reland "Android Q transition by default (#82670)" (#88409)" (#88482) 2021-08-18 20:22:04 -07:00
Jenn Magder 563c8f43e3
Verbosify every command in ios_content_validation_test (#88404) 2021-08-18 10:42:02 -07:00
Alex Li df399f9a8d
Reland "Android Q transition by default (#82670)" (#88409)
* Reland "Android Q transition by default (#82670)"

This reverts commit 4053b4b16c.

* Fix `overall_experience_test.dart` for flutter_tools
2021-08-18 09:11:27 -07:00
Taha Tesser d72287522b
[tools] Fix Android Studio duplicate detection (#88384) 2021-08-18 02:02:03 -07:00
Jenn Magder 2d55032939
Migrate dds.dart to null safety (#88382) 2021-08-17 21:12:03 -07:00
Anna Gringauze 831d82c8ea
Fix race conditions in test_driver for tool tests (#88322) 2021-08-17 18:37:04 -07:00
Taha Tesser 42a6b7913c
[tools] Add Xcode version to non-verbose Flutter doctor (#87022) 2021-08-17 15:52:03 -07:00
Jonah Williams 060e4608b1
clean up stale or unnecessary TODOS (#88308) 2021-08-16 21:37:03 -07:00
Jason Simmons ddb8bfb72b
Fix URL construction in the test entry point generated by the web bootstrap script (#88201) 2021-08-16 14:12:05 -07:00
Jenn Magder 57efbd5310
Rename IOSDeviceInterface to IOSDeviceConnectionInterface (#88144) 2021-08-16 10:27:03 -07:00
Zachary Anderson c5d5463c30
[flutter_tools] Fix hang in DesktopLogReader (#88178) 2021-08-13 17:12:04 -07:00
Jenn Magder 325cfb0f4c
Make doctor Xcode version requirement clearer (#88137) 2021-08-13 17:07:03 -07:00
Anurag Roy 758c28b813
[flutter_tools] Reland "Make upgrade only work with standard remotes" (#87731) 2021-08-12 15:52:07 -07:00
Ian Hickson 7bedd0f122
Fix incorrect logging. (#88042) 2021-08-12 15:32:06 -07:00
Zachary Anderson f0e832cdea
[flutter_tool] Fix DesktopLogReader to capture all output (#88116) 2021-08-12 14:57:07 -07:00
Ahmed Ashour 5848a1620d
[gen_l10n] to handle arbitrary DateFormat patterns (#86844) 2021-08-12 14:34:52 -07:00
Jenn Magder 9764d861ca
Support flutter create --platform singular flag (#88076) 2021-08-12 11:42:04 -07:00
Jenn Magder 9b1ed4639d
Update flutter create templates for Xcode 13 (#88074) 2021-08-12 11:37:04 -07:00
Darren Austin b08366ce7b
Updated skipped tests for flutter_tools. (#87925)
* Updated skipped tests for flutter_tools.

* Turned the flaky overall_experience test off as it was still failing on CI.
2021-08-10 22:22:08 -07:00
嘟囔 bffa11e2b6
fix: fix BuildableMacOSApp pass no projectBundleId to super error (#87264) 2021-08-06 14:30:07 -07:00
keyonghan c5f4f58640
Skip flaky test debugger_stepping_test (#87670) 2021-08-04 12:20:04 -07:00
Lau Ching Jun 95217eb72a
Add new hook for setupHotReload and after updating devFS is complete (#87532)
* Add new hook for setupHotReload and after updating devFS is complete

* Handle the case where updateDevFS failed
2021-08-03 21:09:56 -07:00
Anna Gringauze 44d9af80cb
Flutter_tools for web: report error messages with stacks on exit (#87386)
* Flutter_tools for web platform: report error messages with stacks on toolExit

Print error messages and stacks in verbose mode before calling
`throwToolExit` on communication errors to chrome and dwds.

This will help us disagnose CI flakes:

Helps: https://github.com/flutter/flutter/issues/84012
Closes: https://github.com/flutter/flutter/issues/87149

* Added tests

* Extend timeout for testing failure to connect to chrome

* Update rest of chrome tests to await until matching is finished
2021-08-03 10:51:35 -07:00
Ahmed Ashour 92e02457d5
Handle reserved Kotlin keywords (#86518) 2021-08-02 14:35:05 -07:00
Jenn Magder 7424db448d
Exclude arm64 from iOS app archs if unsupported by plugins on x64 Macs (#87362) 2021-07-30 14:44:04 -07:00
Jenn Magder a69b3ca5d3
Exclude arm64 from iOS app archs if unsupported by plugins (#87244) 2021-07-30 10:54:34 -07:00
Anurag Roy ade9f6a9f0
[flutter_tools] Improve toolexit error messages for flutter upgrade (#86351) 2021-07-29 22:00:44 -07:00
Anna Gringauze 33fd4f15a9
Fix race causing null dereference on getStack in web_tool_tests and CI flakes (#87278) 2021-07-29 16:59:02 -07:00
Taha Tesser f9aa5842c2
[tools] Fix Android Studio Arctic Fox Java path on macOS (#87267) 2021-07-29 10:24:07 -07:00
Jenn Magder 2f91679058
Show Android SDK path in doctor on partial installation (#87232) 2021-07-28 19:14:02 -07:00
Sam Rawlins 960463e66d
Remove "unnecessary" imports. (#85736) 2021-07-28 16:19:04 -07:00
Greg Spencer 0bab3604b0
Make the startup lock message print to stderr. (#86520)
This changes the "Waiting for another flutter command to release the startup lock..." message output so that it appears on stderr instead of stdout. When it appears on stdout, it can mess up collection of the output. For instance, if you run flutter --version --machine and you're expecting JSON output, then you'll get non-JSON output even though the lock is released and you eventually would get what you're asking for.
2021-07-28 15:12:03 -07:00
Jenn Magder 89637e4e47
Replace iOS physical/simulator bools with enum (#87138) 2021-07-27 16:39:04 -07:00
Christopher Fujino 2d07436dbd
[flutter_tools] Port xcode backend to dart (#86753) 2021-07-27 14:39:05 -07:00
Greg Spencer 738ce43d97
Randomize tests, exclude tests that fail with randomization. (#86793)
* Randomize tests, exclude tests that fail with randomization.

* Disable some more tool tests
2021-07-26 23:40:49 -07:00
Emmanuel Garcia e7a9adeeab
Remove AndroidX workarounds (#86911) 2021-07-23 17:41:04 -07:00
Jenn Magder 6881fca7b7
Respect plugin excluded iOS architectures (#86905) 2021-07-23 13:56:03 -07:00
Ahmed Ashour bf132daef3
[gen_l10n] correct variable name when the placeholder requiresFormatting (#86842) 2021-07-22 13:55:18 -07:00
Ahmed Ashour 9492e13c45
Reland [flutter_tools] show only supported sub commands (#86153) 2021-07-22 13:41:03 -07:00
Zachary Anderson 10e53e9981
Skip "newly added code executes during hot restart - canvaskit" (#86885)
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20web_tool_tests/2880/overview
2021-07-22 10:55:18 -07:00
Jonah Williams 7f26dbe0d4
[flutter] remove elevation checker (#86837) 2021-07-21 21:51:06 -07:00
Anna Gringauze 84c3b56877
Update dwds (and other packages) (#86832)
* Upgrade all packages

In particular, bring in dwds with latest fixes for flakes.

Closes: https://github.com/flutter/flutter/issues/85043
Related: https://github.com/flutter/flutter/issues/85575

* Re-enable fixed tests

* Disable failing test due to DDS issue
2021-07-21 21:47:10 -07:00
Emmanuel Garcia 0a8c03dc8a
Show warning when an app or plugin uses the V1 Android embedding (#86750) 2021-07-21 12:51:43 -07:00
Ahmed Ashour f568d929db
[gen_l10n] Support plurals and selects inside string (#86167) 2021-07-21 12:41:06 -07:00
Taha Tesser 94f71f374f
[flutter_tools] Refactor Android Studio Detection on Windows (support 4.x and 202x releases detection) (#86624) 2021-07-20 12:16:03 -07:00
Remi Rousselet 1995da2c0c
Disable the automatic "pub get" if the project is using a third-party tool for linking dependencies. (#86177) 2021-07-19 08:06:03 -07:00
Zachary Anderson 8642a9c0f7
Quote arguments to flutter assemble in xcode_backend.sh (#86534) 2021-07-16 18:22:10 -07:00
Ahmed Ashour 838ad83705
Explicitly show "Currently not on an official channel." (#84992) 2021-07-15 21:55:39 -07:00
Lau Ching Jun f25e4fea18
Remove unnecessary variables. (#86444) 2021-07-15 16:56:04 -07:00
Zachary Anderson 09a38d7a17
Revert "Handle reserved Kotlin keywords (#84973)" (#86512)
This reverts commit a67f618a29.
2021-07-15 14:43:53 -07:00
Ahmed Ashour a67f618a29
Handle reserved Kotlin keywords (#84973) 2021-07-15 14:26:05 -07:00
Jonah Williams b549e829e8
[flutter_tools] support trailing args (#86431) 2021-07-14 15:51:10 -07:00
Yegor 81c91924f0
[web] use resident resident runner in flutter drive (#86381)
* [web] use resident resident runner in flutter drive
2021-07-14 08:46:38 -07:00
Ian Hickson 1133921c4d
Add more debugging logs to overall_experience_test (#86368) 2021-07-13 16:56:06 -07:00
Jonah Williams 63a4013160
Revert "[flutter_tools] let the logger know about machine mode (#86116)" (#86363)
This reverts commit 53d8cba3ec.
2021-07-13 10:39:35 -07:00
Ian Hickson d3c17acf9d
Run "pub global activate devtools" before overall_experience_test (#85812) 2021-07-12 14:36:05 -07:00
michaellee8 6a51e0c237
[flutter_tools] Add support for launching fuchsia app using session_control (#85752) 2021-07-12 13:26:05 -07:00
Jonah Williams 53d8cba3ec
[flutter_tools] let the logger know about machine mode (#86116) 2021-07-12 10:41:03 -07:00
Jonah Williams 7a0b4669fc
[flutter_tools] switch web integration tests to use html (#85325) 2021-07-12 09:01:04 -07:00
Ahmed Ashour ef9da62325
Fix typo in test name (#86083) 2021-07-09 11:16:03 -07:00
Jonah Williams 9d70d9d589
[flutter_tools] fix -n workaround (#86142) 2021-07-09 09:41:04 -07:00
Zachary Anderson c589a0c322
Revert "[flutter_tools] show only supported sub commands (#85125)" (#86131)
This reverts commit 84e576786c.
2021-07-08 15:58:05 -07:00
Ahmed Ashour a666925a02
Add newline at end of file (#86008) 2021-07-08 15:01:10 -07:00
Zachary Anderson 53125203ea
[flutter_tool] Pin DevTools to 2.4.0 (#86124) 2021-07-08 15:01:00 -07:00
Ahmed Ashour 84e576786c
[flutter_tools] show only supported sub commands (#85125) 2021-07-08 14:56:06 -07:00
Alexandre Ardhuin 80990c21e2
code formatting (#85783) 2021-07-07 23:06:05 -07:00
Jonah Williams b1b0d20a95
[flutter_tools] revert change to SETLOCAL ENABLEDELAYEDEXPANSION (#86000) 2021-07-07 11:10:37 -07:00
Hannes Winkler a1e9f2057f
[custom-devices] general improvements, add custom-devices subcommand, better error handling (#82043) 2021-07-07 09:16:04 -07:00
Shi-Hao Hong b0bd7cf1d8
make app localizations lookup a public method (#84732) 2021-07-01 15:01:03 -07:00
Ahmed Ashour a3dc90c4f5
Add space before curly parentheses. (#85306) 2021-07-01 13:51:05 -07:00
Ahmed Ashour 76db0d7428
Fix typo in test class (#84961) 2021-07-01 13:46:03 -07:00
Ahmed Ashour 529a599ce6
Fix some indentation (#84967) 2021-07-01 13:41:04 -07:00
Jenn Magder f76b292626
Support iOS arm64 simulator (#85642) 2021-06-30 14:31:04 -07:00
Zachary Anderson 407916d44f
Revert "Support iOS arm64 simulator (#85059)" (#85641)
This reverts commit a1020512ef.
2021-06-30 12:44:49 -07:00
Jenn Magder a1020512ef
Support iOS arm64 simulator (#85059) 2021-06-30 11:56:17 -07:00
Dan Field e36e62e9a6
Revert "Revert "Audit hashCode overrides outside of packages/flutter (#85370)" (#85451)" (#85567)
This reverts commit 2be0d57fa2.
2021-06-30 09:46:54 -07:00
LongCatIsLooong 1c92e84865
Skip flaky tests in web.shared (#85577) 2021-06-29 16:21:02 -07:00
Jenn Magder 24d608b2ba
Check ios-arm64_x86_64-simulator directory when validating codesigning entitlement (#85265) 2021-06-28 17:01:06 -07:00
Filip Hracek 76d5e62f42
Add a more complete app template for Flutter (skeleton) (#83530) 2021-06-28 15:26:04 -07:00
Lau Ching Jun af42e7d730
Only set assets directory after assets are uploaded onto devfs. (#85418) 2021-06-28 13:16:04 -07:00
Danny Tuppeny dec122a4d8
Remove incorrect text about web renderer default (#85214) 2021-06-28 12:56:06 -07:00
Jenn Magder e028d0f046
Split project.dart into CMake and Xcode projects (#85359) 2021-06-28 11:31:04 -07:00
Ren You 2be0d57fa2
Revert "Audit hashCode overrides outside of packages/flutter (#85370)" (#85451)
This reverts commit 9846fa5145.
2021-06-28 09:55:31 -07:00
Chase Latta 6dd9e8c153
[fuchsia] pm serve should not use the device address (#85341)
BUG: fxbug.dev/77566
BUG: https://github.com/flutter/flutter/issues/83609
2021-06-27 16:58:20 -07:00
Jonah Williams def601ac17
[flutter_tools] re-enable all tests on windows (#85384) 2021-06-27 05:26:02 -07:00