嘟囔
41167c957d
feat: migrate macos/macos_device.dart to null safety ( #92633 )
2021-10-29 16:14:35 -07:00
嘟囔
7f177087c5
feat: migrate ios/bitcode.dart to null safety ( #92557 )
2021-10-28 10:33:05 -07:00
Danny Tuppeny
57dbf7f7e7
Add support for running tests through debug-adapter ( #92587 )
...
* Add support for running tests through debug-adapter
* Improve comments about stdout + remove pedantic
2021-10-28 11:34:05 +01:00
Jenn Magder
aff69e43ef
Add integration_test to flavor test project ( #92520 )
2021-10-27 12:53:05 -07:00
Jenn Magder
b279ff4178
Run flutter tester with arch -x86_64 on arm64 Mac ( #92508 )
2021-10-27 10:48:03 -07:00
stuartmorgan
ed61608a9d
Set TargetFile define for resident builds ( #92511 )
...
Dart plugin registration generation depends on the target main file
being set as a define so that it's available in the environment, but the
resident runner wasn't setting it. That worked for initial builds
because of the re-entrant call to `assemble` (which does set it), but
caused Hot Restart to always re-generate the wrapper using
lib/main.dart.
This ensures that the define is set in that codepath as well.
Fixes https://github.com/flutter/flutter/issues/91535
2021-10-27 09:25:15 -07:00
Danny Tuppeny
de966d8a49
Add a "flutter debug_adapter" command that runs a DAP server ( #91802 )
2021-10-27 06:48:06 -07:00
Emmanuel Garcia
4d79bb02c4
Bump Kotlin version in templates and projects ( #92052 )
2021-10-25 13:13:03 -07:00
Sigurd Meldgaard
67499b50cc
Add new pub command 'Token' ( #91014 )
2021-10-25 11:35:27 +02:00
嘟囔
c0e0f4f82e
feat: migrate install_manifest.dart to null-safety ( #92062 )
2021-10-21 21:26:36 -07:00
Yegor
ad7727a21c
[web] enable CanvasKit tests using a local bundle fetched from CIPD ( #92134 )
2021-10-21 11:13:18 -07:00
Ben Konyi
ac3c44355a
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )" ( #92235 )
...
This reverts commit ba0321e95d
.
2021-10-20 22:05:49 -07:00
Ben Konyi
ba0321e95d
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )
...
This reverts commit dc7fea8d19
.
2021-10-20 19:20:17 -07:00
Chris Yang
42eb903200
[flutter_tools] iOS: display name defaults to the Title Case of flutter project name. ( #91529 )
2021-10-20 10:33:02 -07:00
Emmanuel Garcia
2bdbe7238c
Rewire all Dart entrypoints when the Dart plugin registrant is used. ( #91856 )
2021-10-19 20:23:04 -07:00
Jenn Magder
8ab4de021c
Migrate desktop_device to null safety ( #92055 )
2021-10-19 12:28:04 -07:00
Jenn Magder
8474f41e90
Migrate xcdevice and ios devices to null safety ( #92056 )
2021-10-19 12:23:03 -07:00
Gary Qian
0407aa4480
Reland "Add multidex flag and automatic multidex support ( #90944 )" ( #92049 )
2021-10-19 02:20:39 -07:00
Christopher Fujino
34ec94a16d
[flutter_tools] migrate web_device.dart to null-safety ( #91632 )
2021-10-19 01:33:08 -07:00
Jenn Magder
a82c50f1f6
Revert "Migrate xcdevice and ios devices to null safety ( #91704 )" ( #91912 )
...
This reverts commit 0065873670
.
2021-10-15 09:48:08 -07:00
Jenn Magder
6c9259ae7c
Revert "Migrate desktop_device to null safety ( #91705 )" ( #91911 )
...
This reverts commit 59a6ba7cf8
.
2021-10-15 09:41:03 -07:00
Ian Hickson
2f4e3ce5b0
Improve error message for when you're not running chromedriver ( #91789 )
2021-10-14 22:38:05 -07:00
Jenn Magder
59a6ba7cf8
Migrate desktop_device to null safety ( #91705 )
2021-10-14 22:33:02 -07:00
Jenn Magder
0065873670
Migrate xcdevice and ios devices to null safety ( #91704 )
2021-10-14 22:28:02 -07:00
Ian Hickson
299d484903
Enable more lints ( #91642 )
2021-10-14 22:03:03 -07:00
Zachary Anderson
a9c31eca48
Revert "Add multidex flag and automatic multidex support ( #90944 )" ( #91791 )
...
This reverts commit 1d9edde079
.
2021-10-13 23:09:50 -07:00
Gary Qian
1d9edde079
Add multidex flag and automatic multidex support ( #90944 )
2021-10-13 17:48:04 -07:00
omerlevran46
4b1b65118e
[fuchsia] - remove device-finder for device discovery ( #91502 )
...
device-finder binary is being from removed from the Fuchsia SDK
in fxb/85985.
2021-10-13 16:04:27 -04:00
Ben Konyi
dc7fea8d19
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #90611 )" ( #91754 )
...
This reverts commit e89a885fab
.
2021-10-13 12:45:45 -04:00
Ben Konyi
e89a885fab
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #90611 )
...
This reverts commit 58944e6b88
.
2021-10-13 10:13:30 -04:00
Jenn Magder
6987c9fb82
Migrate crash_reporting and github_template ( #91516 )
2021-10-12 13:48:03 -07:00
Jenn Magder
1dbafdb53b
Migrate protocol_discovery to null safety ( #91267 )
2021-10-12 12:13:02 -07:00
Jenn Magder
1f25644719
Migrate android build target to null safety ( #91455 )
2021-10-11 17:55:01 -07:00
Ian Hickson
7b01346c5c
Enable no_default_cases lint ( #91530 )
2021-10-11 10:23:04 -07:00
Ian Hickson
b3f63d38ac
Document why some lints aren't enabled and fix some minor issues. ( #91527 )
2021-10-09 04:03:03 -07:00
Zachary Anderson
8b245d081f
[flutter_tools] Fix redundant argument value lint ( #91534 )
2021-10-08 22:59:29 -07:00
Jenn Magder
8930e9b892
Catch FormatException parsing XCDevice._getAllDevices ( #90967 )
2021-10-08 13:08:04 -07:00
Jenn Magder
6253f9018c
Move DeviceManager into null migrated globals library ( #91457 )
2021-10-08 12:37:48 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Zachary Anderson
5188df0821
Revert gradle roll ( #91459 )
...
* Revert "Mark last failing test after gradle update as flaky. (#91423 )"
This reverts commit 46a52d03bd
.
* Revert "fix android template for Gradle 7 (#91411 )"
This reverts commit 51d06d537f
.
* Revert "Add explicit version for mac and windows openjdk. (#91408 )"
This reverts commit bf429f2771
.
* Revert "Update the openjdk version used by linux android tests. (#91405 )"
This reverts commit 2144ab8b45
.
* Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642 )"
This reverts commit b6459f9b63
.
2021-10-07 19:42:24 -07:00
Christopher Fujino
f753168cb6
[flutter_tools] add working directory to ProcessException when pub get fails ( #91436 )
2021-10-07 18:08:04 -07:00
Majid Hajian
6c10f19b80
add package_name for consistency across all platforms ( #88457 )
2021-10-07 17:08:02 -07:00
Ian Hickson
f25b833f27
Enable avoid_print
lint. ( #91444 )
2021-10-07 16:48:04 -07:00
Mouad Debbar
c2ea78d231
Revert "Enable avoid_print
lint. ( #91332 )" ( #91438 )
...
This reverts commit cb378edc9e
.
2021-10-07 16:16:17 -04:00
Jenn Magder
91d1e3ed8b
Default new project to the ios-signing-cert development team ( #90021 )
2021-10-07 10:23:02 -07:00
Ian Hickson
cb378edc9e
Enable avoid_print
lint. ( #91332 )
2021-10-07 09:53:03 -07:00
Taha Tesser
b6459f9b63
Migrate to Gradle 7.0.2 / AGP 7.0.1 ( #90642 )
2021-10-06 17:01:13 -07:00
Jenn Magder
afbfc1f33a
Migrate assets, common, icon_tree_shaker to null safety ( #91309 )
2021-10-06 15:16:33 -07:00
Pierre-Louis
3e43c3e110
Categorize flutter tool commands ( #87747 )
2021-10-05 17:28:04 -07:00
stuartmorgan
64fd68ed42
Don't generate plugin registry in ResidentWebRunner ( #91281 )
...
* Don't generate plugin registry in ResidentWebRunner
generateDartPluginRegistry was being set to true unconditionally in
ResidentRunner, bypassing the primary check in
DartPluginRegistrantTarget, and the targetPlatform was not set in that
codepath, bypassing the second after the changes in
https://github.com/flutter/flutter/pull/87991 . This caused web hot
restarts to be slower due to doing unnecessary work.
This ensures that generateDartPluginRegistry is false in the
ResidentWebRunner to skip that unnecessary step.
Fixes https://github.com/flutter/flutter/issues/91262
* Formatting
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-10-05 12:27:53 -07:00
Ian Hickson
126cd7388e
Clean up dependency pins and update all packages ( #91109 )
2021-10-04 10:28:03 -07:00
Jenn Magder
61e2e86611
Add iOS build -destination flag ( #90915 )
2021-10-04 10:18:03 -07:00
Christopher Fujino
91dd3276fd
migrate vm service to null safety ( #88320 )
2021-10-02 10:18:03 -07:00
stuartmorgan
23cea26715
Add dartPluginClass support for Android and iOS ( #87991 )
2021-10-01 16:03:04 -07:00
Ian Hickson
989f864497
Enable avoid_setters_without_getters ( #91067 )
2021-10-01 00:58:05 -07:00
stuartmorgan
97fb8c0560
Fix Dart plugin registrant interaction with 'flutter test' ( #90288 )
...
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
- Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
- Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.
Fixes https://github.com/flutter/flutter/issues/88794
2021-09-30 20:25:13 -07:00
Christopher Fujino
738a7747cc
[flutter_tools] Handle disk device not found ( #90996 )
2021-09-30 17:28:57 -07:00
Jenn Magder
c48c428e46
Xcode 13 as minimum recommended version ( #90906 )
2021-09-30 12:23:55 -07:00
Greg Spencer
01af8e5987
Make flutter update-packages
run in parallel ( #91006 )
...
This modifies the flutter update-packages and flutter update-packages --force-upgrade commands so that the many invocations of "dart pub get" in each repo project run in parallel instead of in series.
2021-09-30 10:26:31 -07:00
Jenn Magder
faaca13f22
Catch FormatException from bad simulator log output ( #90966 )
2021-09-30 09:33:04 -07:00
Kenzie (Schmoll) Davisson
5a85c0d81c
Launch DevTools from the 'dart devtools' command instead of pub ( #90894 )
2021-09-29 15:32:24 -07:00
Greg Spencer
ab2b0851a2
Add smoke tests for all the examples, fix 17 broken examples. ( #89021 )
...
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.
The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.
The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
Jason Simmons
cd19bc6007
Do not retry if pub get is run in offline mode ( #90394 )
2021-09-27 08:18:06 -07:00
Christopher Fujino
61bce1d83b
[flutter_tools] remove non-null check from AndroidValidator ( #90090 )
2021-09-25 16:53:06 -07:00
Jenn Magder
1b53f7beba
Migrate iOS project to Xcode 13 compatibility ( #90304 )
2021-09-22 13:23:05 -07:00
Jason Simmons
58056bbe74
Close the IntegrationTestTestDevice stream when the VM service shuts down ( #90022 )
2021-09-17 19:18:03 -07:00
Liam Appelbe
9afbab8477
Use report_lines flag in flutter coverage ( #90142 )
...
* Use the report lines flag
* Handle major version bumps in the version check
* Fix existing tests and add a new test
2021-09-16 11:33:32 -07:00
Ahmed Ashour
eb185d73ce
internationalization: fix select with incorrect message ( #90096 )
2021-09-16 09:23:22 -07:00
Jenn Magder
ab6f2fc8ce
Set BUILD_DIR when determining if plugins support arm64 simulators ( #90088 )
2021-09-15 18:37:04 -07:00
Michael Thomsen
b889915997
Change min Dart SDK constraint to track actual version ( #88743 )
2021-09-14 14:08:36 +02: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
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
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
Anis Alibegić
a753d09cc9
Fixed several typos ( #89485 )
2021-09-07 14:56:04 -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
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
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
Jenn Magder
d550d497f1
Migrate some flutter_tools tests to null safety ( #88850 )
2021-08-25 16:21:04 -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
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
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
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