Commit Graph

4129 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
5432688561 Migrate install command to null safety (#95433) 2021-12-22 14:54:10 -08:00
Jenn Magder
a5137399dd Migrate analyze commands to null safety (#95442) 2021-12-22 12:14:19 -08:00
Lau Ching Jun
df384c4809 Reland "Add an option for flutter daemon to listen on a TCP port (#95418)" (#95689)
Fixes the test brekage and reverts commit caed03df05.
2021-12-22 10:53:31 -08:00
Zachary Anderson
caed03df05 Revert "Add an option for flutter daemon to listen on a TCP port (#95418)" (#95686)
This reverts commit 2b46ea447f.
2021-12-22 08:47:58 -08:00
Lau Ching Jun
2b46ea447f Add an option for flutter daemon to listen on a TCP port (#95418)
* Add an option for flutter daemon to listen on a TCP port

Added a new class DaemonConnection to reuse the connection handling
between daemon server and client, and handle connection with different
medium (stdio, socket).

Added a new option `listen-on-tcp-port` to the flutter daemon command,
when passed, the daemon will accept commands on a port instead of stdio.

* Review feedback and add test for TcpDaemonStreams

* Review feedbacks
2021-12-22 06:21:04 -08:00
Jenn Magder
c584a5ead4 Migrate fuchsia_device to null safety (#95438) 2021-12-21 18:39:04 -08:00
Chris Yang
1c4128c703 Xcode error message (#94747) 2021-12-21 08:39:18 -08:00
嘟囔
4f5cc21be2 migrate some file to null safety (#92957) 2021-12-16 11:39:12 -08:00
crisboarna
eb1a851f58 feat(flutter_tools): Added doctor host validation feat (#95386) 2021-12-16 08:02:13 -08:00
crisboarna
1fb9b5b3d2 feat(flutter_tools): Added proxy validator IPV6 loopback check (#95159)
* feat(flutter_tools): Added proxy validator IPV6 lookback check

* Remove whitespace.

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-12-16 07:56:45 -08:00
Danny Tuppeny
7e1e98c356 Add support for executing custom tools in place of Flutter for DAP (#94475) 2021-12-15 13:29:05 -08:00
Emmanuel Garcia
79bc1bfa89 Add ability to wrap text messages in a box (#94391) 2021-12-15 13:19:11 -08:00
嘟囔
6d1938e647 migrate integration.shard/vmservice_integration_test.dart to null safety (#92812) 2021-12-15 13:09:15 -08:00
Jenn Magder
6ab00756a8 Build Flutter iOS plugins with all valid architectures (#95293) 2021-12-14 16:49:06 -08:00
Chris Yang
e4dadf788b [tool] xcresult issue discarder (#95273) 2021-12-14 13:29:13 -08:00