Commit Graph

5628 Commits

Author SHA1 Message Date
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