Commit graph

7128 commits

Author SHA1 Message Date
Anna Gringauze cd112e551c
Update all packages (#89797) 2021-09-13 12:13:42 -07:00
Phil Quitslund 975fcc1f2f
master->main deafult branch migration (#89782) 2021-09-10 15:42:03 -07:00
Chase Latta aed4315a7d
Replace amber_ctl with pkgctl for Fuchsia (#89785)
Fuchsia is deprecating amber_ctl and replacing it with pkgctl.
This change removes the FuchsiaAmberCtl class and replaces it
with the FuchsiaPkgctl class and updates the usages appropriately.

BUG: fxbug.dev/83865
2021-09-10 10:33:45 -07:00
Jason Simmons 2004afae06
Use async timeline events for the phases of the scheduler binding (#88825) 2021-09-10 10:17:05 -07:00
Jenn Magder 51588ab808
Set plugin template minimum Flutter SDK to 2.5 (#89695) 2021-09-09 20:42:03 -07:00
Jenn Magder 84086d8a9c
Clean up null assumptions in vmservice for null safe migration (#89009) 2021-09-09 19:32:02 -07:00
Jenn Magder 855af29084
Migrate ios_deploy to null safety (#88851) 2021-09-09 17:32:05 -07:00
Jason Simmons a14be9d290
Run the flutter_tools create test in online mode before testing offline mode (#89779)
Offline pub assumes that the pub cache contains all needed packages.  Running
"flutter create" in online mode first will ensure that the pub cache is populated.

Fixes https://github.com/flutter/flutter/issues/89759
2021-09-09 13:31:37 -07:00
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
Jenn Magder 34ba64738e
Clean up null assumptions in devfs to prep for null safety migration (#88934) 2021-09-08 15:27:05 -07:00
Ben Konyi 41101b7058
Update DDS to 2.1.2 (#89591) 2021-09-08 12:57:03 -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
Chris Bracken 1c36271b05
Reduce required Windows CMake version to 3.14 (#89390)
When we landed the CMake minimum requirement constraint for Visual
Studio 2019, we landed it with minimum version 3.15, since that's what
was shipping with the current version of VS 2019 at the time. Looking at
the release notes of earlier versions, it's clear that earlier versions
of Visual Studio 2019 shipped with version 3.14. See:
https://devblogs.microsoft.com/cppblog/visual-studio-cmake-support-clang-llvm-cmake-3-14-vcpkg-and-performance-improvements/

Looking at release notes for CMake 3.15, there are no features/fixes
introduced in that version that we are dependent on.
https://cmake.org/cmake/help/latest/release/3.15.html

Issue: https://github.com/flutter/flutter/issues/88589
2021-09-03 21:05:58 -07:00
arfy slowy 202fc02ca1
fix: typo spelling grammar (#88439) 2021-09-03 15:09:31 -07:00
Pierre-Louis 1298a9fd54
Adjust plugins and packages .gitignore to be most useful (#88991)
* Update .gitignore.tmpl

* Add pubspec.lock

* Exclude example/pubspec.lock

* Address feedback
2021-09-03 20:22:35 +02:00
Jacob MacDonald 383930c2bc
update package dependencies (#89381) 2021-09-02 14:41:05 -07:00
Kate Lovett 616f9bcffa
Add tag support for executing reduced test sets (#86821) 2021-08-30 15:41:02 -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
moko256 d0bfe170bf
Use {{projectName}} as BINARY_NAME and CMake project name in UWP template (#87859) 2021-08-26 17:11:05 -07:00
Viral Kachhadiya 24b1a02224
replace localEngineOut with local-engine-out (#85968)
* replace localEngineOut with local-engine-out
* local-engine-out section removed entirely

Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
2021-08-26 14:02:46 -07:00
Jenn Magder e6535f6da1
Changed tool cached properties to late finals (#88923) 2021-08-26 14:01:05 -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
Christopher Fujino efaa9a4637
update-packages --force-upgrade (#88728) 2021-08-23 12:57:08 -07: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
Bernardo Ferrari 6318b5096c
Add favicon to web template (#88141) 2021-08-18 17:12:02 -07:00
Anna Gringauze 2685e866f3
Update dwds and other packages (#88450)
- Update all packages (bringing in dwds 11.2.1)

Closes: https://github.com/flutter/flutter/issues/84012
2021-08-18 14:15:57 -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
Christopher Fujino 81eb54bf78
update-packages (#88387) 2021-08-17 18:49:32 -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
Zachary Anderson 3572a7e8b7
Revert "feat: migrate base/dds.dart to null-safety (#88015)" (#88367) 2021-08-17 11:52:05 -07:00
Jonah Williams 060e4608b1
clean up stale or unnecessary TODOS (#88308) 2021-08-16 21:37:03 -07:00
Gary Qian a562b3cb3d
Deferred components integration test app (#88030) 2021-08-16 15:32:05 -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
嘟囔 bf3ff7ec71
feat: migrate fuchsia/application_package.dart to null-safe (#88095) 2021-08-13 00:22:07 -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
嘟囔 047d35d8ba
feat: refactor IosProject and MacOSProject to extends XcodeBasedProject to share common (#87930) 2021-08-11 21:47:05 -07:00
嘟囔 a17723d46b
feat: migrate windows/application_package.dart to null-safety (#88081) 2021-08-11 21:02:03 -07:00
嘟囔 d2f9c6c752
feat: migrate base/dds.dart to null-safety (#88015) 2021-08-11 14:47:06 -07:00
嘟囔 4ef8088ce8
feat: migrate macos/application_package.dart to null-safety (#87976) 2021-08-11 14:42:05 -07:00
Greg Spencer cb651352dd
Fix errors in examples (#87962) 2021-08-11 14:37:06 -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
Michael Thomsen 947d3b6d7b
Run --update-packages (#87786) 2021-08-09 08:41:54 +02:00
嘟囔 bffa11e2b6
fix: fix BuildableMacOSApp pass no projectBundleId to super error (#87264) 2021-08-06 14:30:07 -07:00
Jia Hao e40d7e6ef4
Don't set the SplashScreenDrawable for new projects (#87619) 2021-08-04 23:15:04 -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 cc63c81408
Update all packages (#87579)
- Update dwds and and the rest of the packages

Closes: https://github.com/flutter/flutter/issues/87100
2021-08-03 16:37:48 -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
Jacob MacDonald fdb80f916d
update packages to the latest (#86880) 2021-07-22 13:26:05 -07:00
Jenn Magder 81aeb33ce3
Increase Flutter framework minimum iOS version to 9.0 (#86840) 2021-07-22 13:21:05 -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
Christopher Fujino dacfda07e7
roll dds (#86496) 2021-07-15 17:06:25 -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