Commit Graph

5939 Commits

Author SHA1 Message Date
Danny Tuppeny
76758ef960 [dap] Don't use --start-paused when running in Profile/Release mode (#98926) 2022-02-24 17:06:24 -08:00
Tacca
37a1aaf8c1 reads min/target sdk versions from localproperties (#98450) 2022-02-24 12:16:15 -08:00
Jenn Magder
320d2cff64 Increase recommended CocoaPods version to 1.11 (#98621) 2022-02-24 12:11:21 -08:00
Lau Ching Jun
6a9ac4509b Add option in ProxiedDevice to only transfer the delta when deploying. (#97462) 2022-02-23 12:09:16 -08:00
Tomasz Gucio
e4351ff053 Enable use_if_null_to_convert_nulls_to_bools lint (#98753) 2022-02-22 14:39:20 -08:00
Zachary Anderson
54a9d65282 Revert "Reland "Enable caching of CPU samples collected at application startup (#89600)"" (#98803) 2022-02-19 10:09:26 -08:00
Christopher Fujino
4b2e828924 [flutter_tools] deprecate the dev branch from the feature system (#98689) 2022-02-18 16:24:22 -08:00
Emmanuel Garcia
c8266d34f4 Improve Gradle retry logic (#96554) 2022-02-18 13:54:41 -08:00
Ben Konyi
4add01ab68 Reland "Enable caching of CPU samples collected at application startup (#89600)" (#98769)
This reverts commit ac3c44355a.
2022-02-18 13:28:42 -08:00
Ben Konyi
50c4720913 Update dependencies to pull in new vm_service, dds, dwds, coverage, etc (#98513) 2022-02-18 12:32:08 -08:00
Tim Sneath
5c7ca2e738 Remove "beta-quality" for Windows (#98614) 2022-02-17 16:44:23 -08:00
Jenn Magder
cef6823637 Dump backtrace when cannot attach to observatory (#98550) 2022-02-16 14:10:18 -08:00
Christopher Fujino
4a11cc4b9c [flutter_tools] do not validate maven upstream if cloud storage override provided (#98293) 2022-02-15 11:40:15 -08:00
Ben Konyi
2a2f973120 Update flutter_tools to look for new VM service message (#97683)
* Update flutter_tools to look for new VM service message

The Dart SDK will soon move away from the current Observatory message:

"Observatory listening on ..."

To a new message that no longer references Observatory:

"Dart VM Service listening on ..."

This change updates all tests with mocks to check for the new message
and also adds support for the new message in ProtocolDiscovery.

See https://github.com/dart-lang/sdk/issues/46756

* Fix some parsing locations

* Fix analysis failures

* Update message

* Remove extra comment

* Update message

* Add globals prefix
2022-02-15 07:33:57 -08:00
Jesús S Guerrero
f523ddd2d6 [flutter_tools] remove pub dependencies from universal (#97722) 2022-02-12 12:10:11 -08:00
Christopher Fujino
289988dc62 [flutter_tools] fix type error in flutter update-packages --jobs=n (#98283) 2022-02-11 14:50:18 -08:00
Taha Tesser
d6d3283c8d Fix flutter gen-l10n help message (#98147) 2022-02-11 01:40:14 -08:00
Swift Kim
2a010d9673 [flutter_tools] Make variants of Pub have consistent method signatures (#98119) 2022-02-11 00:45:20 -08:00
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