Commit Graph

5771 Commits

Author SHA1 Message Date
bannzai
0ee8e0e6fe Fix typo FutterApplication -> FlutterApplication (#97897) 2022-02-08 10:25:57 -08:00
Danny Tuppeny
c659ad6ace Add support for attachRequest in DAP, running "flutter attach" (#97652)
* Add support for attachRequest in DAP, which runs "flutter attach"

* Update DAP docs for attachRequest

* Improve doc comments

* Fix comments

* Remove noDebug from attach + create a getter for `debug`

* Fix indent
2022-02-07 18:54:07 +00:00
Christopher Fujino
1d59d8d341 [flutter_tools] increment y instead of m when calling flutter --version on master (#97827) 2022-02-04 13:35:29 -08:00
Lau Ching Jun
26d1da4188 Fix error in type cast. (#97778) 2022-02-04 12:40:11 -08:00
Michael Tamm
1fcb076eb7 [flutter_tools] Fix bundle file not found when flavor contains upperc… (#92660) 2022-02-04 11:55:20 -08:00
Jenn Magder
ac52901c14 Export an IPA for distribution via "flutter build ipa" without --export-options-plist (#97672) 2022-02-02 19:28:25 -08:00
Jonah Williams
0b72d5ca58 [flutter_tool] allow disabling profile mode timeline traces (#97622) 2022-02-02 16:00:16 -08:00
Jason Simmons
ba4d63a47b Exit the tool if a DevTools subprocess fails when running on a bot (#97613) 2022-02-02 14:55:18 -08:00
Zachary Anderson
e50ca9acbc Reland: [flutter_tool] Download gen_snapshot.zip for macOS desktop (#97671) 2022-02-02 14:43:55 -08:00
Lau Ching Jun
a504b93774 Addresses the feedbacks in #95738 (#97457) 2022-02-02 13:55:22 -08:00
Zachary Anderson
f82c020071 Revert "[flutter_tool] Download gen_snapshot.zip for macOS desktop (#97627)" (#97664)
This reverts commit 32abf42a00.
2022-02-02 11:29:28 -08:00
Lau Ching Jun
d7688ca093 Change all instance of throwing strings to throw specific error classes. (#97325) 2022-02-02 10:45:18 -08:00
Zachary Anderson
32abf42a00 [flutter_tool] Download gen_snapshot.zip for macOS desktop (#97627) 2022-02-02 10:21:31 -08:00
Collin Jackson
10fbbafe09 [flutter_tools] Use proper project name in templates (#96373) 2022-02-02 06:50:14 -08:00
Jenn Magder
802d872d40 Revert "Export an IPA for distribution via "flutter build ipa" without --export-options-plist" (#97616) 2022-02-01 18:26:23 -08:00
Jenn Magder
6ceb418b58 Export an IPA for distribution via "flutter build ipa" without --export-options-plist (#97243) 2022-02-01 16:13:21 -08:00
Jenn Magder
a599c23b2b Disallow running on unsupported devices (#97338) 2022-02-01 16:13:03 -08:00
Christopher Fujino
da88baffd7 [flutter_tools] remove dummy implementation from abstract class .isEnabled() (#96888) 2022-01-28 16:40:12 -08:00
Daco Harkes
0e2f51dfd0 FFI plugins (#96225) 2022-01-26 23:44:45 +01: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
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
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
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
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
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
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
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