Commit Graph

7364 Commits

Author SHA1 Message Date
Daco Harkes
bb3275b934 Add debugging info to android_plugin_example_app_build_test (#98107) 2022-02-09 09:20:13 -08:00
Emmanuel Garcia
badbe757eb Export activity for module in AndroidManifest.xml (#98076) 2022-02-08 21:40:16 -08:00
Emmanuel Garcia
d2b5f34bc4 Revert "Fix how Gradle resolves Android plugin" (#98050) 2022-02-08 12:30:05 -08:00
bannzai
0ee8e0e6fe Fix typo FutterApplication -> FlutterApplication (#97897) 2022-02-08 10:25:57 -08:00
Emmanuel Garcia
965397cfde Fix how Gradle resolves Android plugin (#97823) 2022-02-07 11:05:14 -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
Jenn Magder
57d5222876 Include -isysroot -arch and -miphoneos-version-min when creating dummy module App.framework (#97689) 2022-02-04 14:50:11 -08: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
stuartmorgan
7eb1035af6 Restructure Windows plugin template (#93511) 2022-02-03 20:30:18 -08:00
Harry Terkelsen
03f1d37935 Add a benchmark for a scrolling list of Links (#94638) 2022-02-03 14:38:58 -08:00
Daco Harkes
bc621327d9 Pin package:ffi in plugin_ffi template (#97720) 2022-02-03 19:42:07 +01: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
Pierre-Louis
a22cf5d6b9 Update packages (#97592)
* update packages

* implement

* remove trailing spaces

* Revert "remove trailing spaces"

This reverts commit d3bffbef57d142a4a5d98dea4c3e9b6db856c9bb.

* Revert "implement"

This reverts commit 6b6172a827c84985c5fe09e676096878fba43306.
2022-02-02 09:16:05 +01: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
Caio Agiani
29b44f79d9 packages: fix typos recieve => receive (#97488) 2022-01-31 08:43:15 -08:00
Danny Tuppeny
4fa0e0d449 Make DAP tests more tolerant of output that didn't come from the app being tested (#97291)
Fixes #97238.
2022-01-29 10:03:31 +00:00
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