Commit Graph

7336 Commits

Author SHA1 Message Date
Christopher Fujino
da88baffd7 [flutter_tools] remove dummy implementation from abstract class .isEnabled() (#96888) 2022-01-28 16:40:12 -08:00
Danny Tuppeny
942de67838 Make remaining DAP tests null-safe (#97368) 2022-01-27 20:08:17 +00:00
Daco Harkes
0e2f51dfd0 FFI plugins (#96225) 2022-01-26 23:44:45 +01:00
Zachary Anderson
657bca4b7f [tool] Use an arm64 Dart SDK on arm64 macOS (#97189) 2022-01-26 11:30:20 -08:00
Lau Ching Jun
1065826686 ProxiedDevice, connection to a remotely connected device via flutter daemon. (#95738)
Also allow daemon commands to pass binary streams
2022-01-25 23:46:14 -08:00
Christopher Fujino
610b41e88c [flutter_tools] add validation of paths of contained files to os_utils _unpackArchive() (#96565) 2022-01-25 18:10:12 -08:00
Alexander Aprelev
752de49450 Fix hot-restart test by ensuring updated timestmamp is in the future. (#97247)
On Windows modified timestamps are round down to a second, which can lead to missed file updates.

Fixes https://github.com/flutter/flutter/issues/96677
2022-01-25 14:18:33 -08:00
Jenn Magder
c1710723f7 Take drive screenshot on test failure before app is stopped (#96973) 2022-01-25 11:50:14 -08:00
Christopher Fujino
6b95add2fe [flutter_tools] auto-migrate dev users to beta (#97028) 2022-01-25 11:00:14 -08:00
Christopher Fujino
78de12b82f [flutter_tools] Fix bug in background_isolate_test.dart (#97170) 2022-01-25 09:55:10 -08:00
stuartmorgan
2dd8cb1ca2 Don't use example folder as a project type signal (#97157)
The code to generate platform files used to use the presence of an
'example' folder to determine whether or not a project was a plugin (in
which case that generation is bypassed). Later, robust detection was
added based on the pubspec.yaml `plugin` key, but the old check was left
in place. This creates false positives where people who add an example
folder to their app project start getting mysterious failures.

Since the pubspec check is definitive, there's no reason to continue to
use the presence of `example` as an indicator at all.

Fixes https://github.com/flutter/flutter/issues/87007
2022-01-24 19:28:38 -08:00
Jesús S Guerrero
75127a8007 [flutter_tools] support files in flutter analyze #96231 (#97021) 2022-01-24 17:10:16 -08:00
Zachary Anderson
62e745612a Use frontend_server from the Dart SDK (#97078) 2022-01-24 11:34:57 -08:00
Zachary Anderson
761b109bc8 Adjust lipo thinning input/output for macOS (#97111) 2022-01-24 10:21:22 -08:00
Michael Goderbauer
5684b9f69e Enable no_leading_underscores_for_local_identifiers (#96422) 2022-01-21 14:43:59 -08:00
Swift Kim
91e3a5772f Remove unused code from android_device.dart (#95450) 2022-01-20 14:55:18 -08:00
Danny Tuppeny
9d64e94a87 Fix SDK versions for Flutter packages in analyze tests (#96950)
Fixes https://github.com/flutter/flutter/issues/96931.
2022-01-20 14:40:42 -08:00
Jenn Magder
ef8a841035 Take screenshot when drive fails to start app or test (#96828) 2022-01-19 21:35:19 -08:00
Jenn Magder
114185f686 Pass 'build ios' device ID into xcodebuild (#96669) 2022-01-19 10:20:11 -08:00
stuartmorgan
25b2edbda0 Enable inline Dart plugin implementation on Desktop (#96610) 2022-01-19 09:35:23 -08:00
Jenn Magder
3c0f3f4ee1 Add boxes around version freshness alerts (#96152) 2022-01-18 17:28:32 -08:00
wangying
3138cce7b2 feat: support configure a custom launch url for flutter web (#95002) 2022-01-18 09:50:20 -08:00
keyonghan
792a40ed83 Skip flaky test: background_isolate_test.dart: Hot restart kills background isolates (#96678) 2022-01-14 16:20:20 -08:00
Jenn Magder
219dd6ca38 Migrate assemble and integration_test_device to null safety (#96630) 2022-01-14 15:50:12 -08:00
stuartmorgan
27e79d55a4 Document template CMake files (#96534) 2022-01-14 14:55:14 -08:00
Jonah Williams
e25e1f9037 [framework] dont null assert in _debugVerifyIllFatedPopulation (#96551) 2022-01-14 13:50:29 -08:00
Pooja Bhaumik
79e4ccf649 Fix wrong documentation URL for adding desktop support to existing app (#94399) 2022-01-13 10:55:20 -08:00
Spt
7de1e225de fix rsync output utf8decode bug (#95881) 2022-01-13 10:20:20 -08:00
stuartmorgan
2df7dca858 Fully support Dart-only mobile and macOS plugins (#96183) 2022-01-13 08:30:22 -08:00
Emmanuel Garcia
f01556ab75 Bump Android dependencies that rely on Jcenter (#96558)
* Bump video_player in flutter gallery

* Update packages

* Update dependencies

* Bump device_info

* Update dev/devicelab/bin/tasks/build_ios_framework_module_test.dart

Co-authored-by: Jenn Magder <magder@google.com>

* Update dev/devicelab/bin/tasks/module_custom_host_app_name_test.dart

Co-authored-by: Jenn Magder <magder@google.com>

* Update dev/devicelab/bin/tasks/module_test.dart

Co-authored-by: Jenn Magder <magder@google.com>

* Remove deprecated device_info from ios-frameworks test

Co-authored-by: Jenn Magder <magder@google.com>
2022-01-12 20:13:32 -08:00
Chris Bracken
20ff180ae8 Update Flutter desktop doc URL in error message (#96559)
When desktop support is not present in an existing project, certain
flutter tool commands raise an error that direct the user to
documentation on how to add desktop support to an existing Flutter
project. In a recent revamp of the webside, the URL was very slightly
changed (flutter.dev -> docs.flutter.dev).

This updates the error message to output the new URL.

Issue: https://github.com/flutter/flutter/issues/94398
2022-01-12 18:21:05 -08:00
Utibeabasi Umanah
3a411047e0 Fix typo (#96058) 2022-01-10 23:30:19 -08:00
Emmanuel Garcia
683590d1c6 Add suggestion for compileSdkVersion warning (#95369) 2022-01-10 20:30:13 -08:00
Zachary Anderson
fb29403c42 Revert "feat(flutter_tools): Added doctor path printing on verbose" (#96414) 2022-01-10 15:35:13 -08:00
Jenn Magder
3e6e996f9e Run update-packages --force-upgrade (#96325) 2022-01-10 13:55:16 -08:00
Jenn Magder
1c0eade94c Hide PII from doctor validators for GitHub template (#96250) 2022-01-10 13:20:21 -08:00
Greg Spencer
23e7449a07 Warm cache with all transitive dependencies in flutter update-packages command (#96258) 2022-01-10 10:35:13 -08:00
Jenn Magder
db5c71f448 Fix analyze --watch command iterator (#96264) 2022-01-07 17:15:08 -08:00
crisboarna
0fef7a140a feat(flutter_tools): Changed NoIdeValidator validation type from error to warning (#95492) 2022-01-06 14:05:19 -08:00
crisboarna
f8e70a8463 feat(flutter_tools): Added doctor path printing on verbose (#95453) 2022-01-06 13:50:19 -08:00
Jenn Magder
410d9921bc Migrate emulators, packages, upgrade, and downgrade to null safety (#95712) 2022-01-05 16:50:19 -08:00
Jenn Magder
18c59cdb1c Migrate build commands to null safety (#95649) 2022-01-05 16:45:12 -08:00
Jenn Magder
0287449c14 Do not show v1 Android embedding message for non-Android commands (#96148) 2022-01-05 12:55:10 -08:00
Lau Ching Jun
7f0050f5b3 Add a new PrebuiltFlutterApplicationPackage interface. (#95290)
* Add a new PrebuiltFlutterApplicationPackage interface.

* Review feedback

* Rename bundleDir to uncompressedBundle
2022-01-05 07:54:57 -08:00
Zachary Anderson
65c6e88223 Revert "FFI plugins (#94101)" (#96122)
This reverts commit 5257f0290c.
2022-01-04 08:09:12 -08:00
Daco Harkes
5257f0290c FFI plugins (#94101)
* Building shared C source code as part of the native build for platforms Android, iOS, Linux desktop, MacOS desktop, and Windows desktop.
* Sample code doing a synchronous FFI call.
* Sample code doing a long running synchronous FFI call on a helper isolate.
* Use of `package:ffigen` to generate the bindings.
2022-01-04 10:14:27 +01:00
Christopher Fujino
2d2cd1f5c0 [flutter_tools] Refactor checkVersionFreshness (#95056) 2021-12-28 17:59:16 -08:00
Jenn Magder
aa4ef4cb2a Revert "[flutter_tools] [iOS] Change UIViewControllerBasedStatusBarAppearance to true to fix rotation status bar disappear in portrait" (#95747) 2021-12-23 14:19:18 -08:00
Jenn Magder
d561fe7289 Migrate flutter_device_manager to null safety (#95657) 2021-12-23 12:39:18 -08:00
Jenn Magder
5432688561 Migrate install command to null safety (#95433) 2021-12-22 14:54:10 -08:00