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
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
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
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
Christopher Fujino
87fe3fe031
rename two unit tests that were not actually being run on CI ( #98299 )
2022-02-14 17:40:13 -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
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
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
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
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
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
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
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
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
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
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
crisboarna
f8e70a8463
feat(flutter_tools): Added doctor path printing on verbose ( #95453 )
2022-01-06 13:50:19 -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
Christopher Fujino
2d2cd1f5c0
[flutter_tools] Refactor checkVersionFreshness ( #95056 )
2021-12-28 17:59:16 -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
crisboarna
eb1a851f58
feat(flutter_tools): Added doctor host validation feat ( #95386 )
2021-12-16 08:02:13 -08:00
Emmanuel Garcia
79bc1bfa89
Add ability to wrap text messages in a box ( #94391 )
2021-12-15 13:19:11 -08:00
Chris Yang
e4dadf788b
[tool] xcresult issue discarder ( #95273 )
2021-12-14 13:29:13 -08:00
Lau Ching Jun
8186fb7435
Use XML format in PlistParser ( #94863 )
...
* Switch to use xml in PlistParser
* Review feedbacks: Change dynamic to Object, remove getValueFromFile
2021-12-13 18:22:29 -08:00
Chris Yang
70fea6d250
[tool] XCResult also parses "url" in xcresult bundle ( #95054 )
2021-12-13 16:04:04 -08:00
Jia Hao
2f80384a7f
[flutter_tools] Remove --enable-background-compilation ( #94012 )
2021-12-13 10:24:08 -08:00
Lau Ching Jun
5cb09e779a
Removed unused method packagesFile
from ApplicationPackage
. ( #95033 )
...
The method name is confusing and the implementation in different
subclasses are pointing to different things.
2021-12-13 06:46:04 -08:00
Sergey Fedotov
2a4e573dcd
Serve assets with correct content-type header value ( #94357 )
2021-12-08 12:29:07 -08:00
Jenn Magder
f7bd20fc09
Detect additional ARM ffi CocoaPods error ( #94385 )
2021-12-07 15:29:03 -08:00
Anna Gringauze
d7466d8963
Update dwds and other packages ( #94634 )
2021-12-07 14:29:07 -08:00
Gary Qian
da4e997ed3
Short circuit v1 deprecation warning on plugin projects ( #94769 )
2021-12-07 01:53:50 -08:00
Gary Qian
dd6a11b7aa
Add reason logging to v1 embedding warning message ( #94636 )
2021-12-06 14:21:58 -08:00
Yegor
48a5cf9225
[tool] verify download URLs; docs for base URLs ( #94178 )
2021-12-02 10:11:36 -08:00
Hannes Winkler
bccc9eaca7
Fix a stream lifecycle bug in CustomDeviceLogReader ( #94310 )
2021-12-01 18:34:04 -08:00
Jenn Magder
361d416e6a
Add post-submit failing test to close the tree for #94356 ( #94390 )
2021-11-29 22:01:32 -08:00
Zachary Anderson
fc60e6690b
Add failing test to close the tree for #94356 ( #94365 )
2021-11-29 12:34:25 -08:00
Yegor
a2a888ec13
make CIPD url customizable using FLUTTER_STORAGE_BASE_URL ( #94137 )
2021-11-24 07:53:03 -08:00
Mouad Debbar
30b6b9e7f0
Revert "Update Xcode toolsVersion encoded in generated Main.storyboard ( #94084 )" ( #94164 )
...
This reverts commit 6a3ea7eb83
.
2021-11-24 10:12:53 -05:00
Jenn Magder
6a3ea7eb83
Update Xcode toolsVersion encoded in generated Main.storyboard ( #94084 )
2021-11-23 17:38:02 -08:00
Andrei Diaconu
924336fcee
Reland 3: Display Features ( #93240 )
2021-11-20 15:48:06 -08:00
Danny Tuppeny
99e85b1c5f
Disable pause-on-exceptions for (outgoing) isolates during hot restart ( #93411 )
2021-11-18 22:23:09 -08:00
Jenn Magder
b460d0ee34
Migrate emulators to null safety ( #92738 )
2021-11-18 22:13:06 -08:00
Hans Muller
09d08510d0
Revert "allow full locale in .arb files ( #93401 )" ( #93806 )
...
This reverts commit 16f441188c
.
2021-11-17 11:26:16 -08:00
Taha Tesser
16f441188c
allow full locale in .arb files ( #93401 )
2021-11-17 09:35:47 -08:00
Konoshenko Vlad
ee87f6113e
fix: removed unnecessary checks ( #93735 )
2021-11-16 18:43:05 -08:00
Gary Qian
02b1146cff
Reland "Exit on deprecated v1 embedding when trying to run or build" ( #92901 ) ( #93566 )
2021-11-12 15:52:32 -08:00
Christopher Fujino
e8ec8a0dfb
[flutter_tools] Catch lack of flutter tools source missing ( #93168 )
2021-11-12 14:43:52 -08:00
Jenn Magder
a25dca4a06
Ad-hoc codesign Flutter.framework when code signing is disabled ( #93556 )
2021-11-12 12:56:03 -08:00
Jason Simmons
e9519d8a1a
Restore Cache.flutterRoot after overriding it in a test ( #93555 )
...
Fixes https://github.com/flutter/flutter/issues/93553
2021-11-12 10:32:13 -08:00
Yegor
24b9346c9b
Revert "Reland "Exit on deprecated v1 embedding when trying to run or build ( #92901 )" ( #93386 )" ( #93518 )
...
This reverts commit eabb7cbc34
.
It broke multiple tests.
2021-11-11 16:45:40 -08:00
Gary Qian
eabb7cbc34
Reland "Exit on deprecated v1 embedding when trying to run or build ( #92901 )" ( #93386 )
2021-11-11 14:49:35 -08:00
Kenzie (Schmoll) Davisson
7748731903
Add DevTools version to flutter --version
and flutter doctor -v
output. ( #93065 )
...
* Add DevTools version to `flutter --version` output.
* review comments
* fix test
* add explanatory comment
* dummy commit to kick bots
Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
2021-11-11 14:40:22 -08:00
stuartmorgan
7e05d103e9
Add support for Visual Studio 2022 ( #93426 )
2021-11-10 16:43:02 -08:00
Greg Spencer
52ae102f18
Adds tool warning log level and command line options to fail on warning/error output ( #92031 )
2021-11-10 16:13:04 -08:00
Shueh Chou Lu
e8b3fe8aa6
Use num on plural ( #93228 )
2021-11-10 08:47:25 -08:00
Zachary Anderson
858a328712
Revert "Exit on deprecated v1 embedding when trying to run or build ( #92901 )" ( #93365 )
...
This reverts commit 6153bbef3e
.
2021-11-09 22:22:14 -08:00
Gary Qian
6153bbef3e
Exit on deprecated v1 embedding when trying to run or build ( #92901 )
2021-11-09 17:38:03 -08:00
J-P Nurmi
550281e581
[gen_l10n] retain full output file suffix ( #88362 )
2021-11-08 13:55:19 -08:00
Jenn Magder
6cbed01db3
Migrate windows_device to null safety ( #92956 )
2021-11-07 01:27:34 -07:00
Zachary Anderson
2468f315e0
Revert "Reland: display features ( #93117 )" ( #93204 )
...
This reverts commit 9038fac960
.
2021-11-06 22:46:46 -07:00
Jenn Magder
31933af486
Update minimum required version to Xcode 12.3 ( #93094 )
2021-11-05 16:08:04 -07:00
Jenn Magder
296eeb5971
Migrate custom_device to null safety ( #92955 )
2021-11-05 16:03:03 -07:00
Jenn Magder
f4d1bfedd2
Migrate tracing to null safety ( #92849 )
2021-11-05 15:58:07 -07:00
Andrei Diaconu
9038fac960
Reland: display features ( #93117 )
2021-11-05 15:54:25 -07:00
Zachary Anderson
7779ad3c60
Revert "Reland engine display features ( #89511 )" ( #93098 )
...
This reverts commit 058dfd49a0
.
2021-11-04 23:05:45 -07:00
Andrei Diaconu
058dfd49a0
Reland engine display features ( #89511 )
2021-11-04 18:37:55 -07:00
Jenn Magder
261ea1baef
Suppress created file list for new "flutter create" projects ( #93041 )
2021-11-04 10:03:02 -07:00
Yegor
773789344e
[web:tools] always use CanvasKit from the cache when building web apps ( #93002 )
2021-11-03 17:48:25 -07:00
jensjoha
a6441004aa
[flutter_tools] Instruct compiler before processing bundle ( #92255 )
2021-11-02 13:46:46 +01:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Jenn Magder
8865212254
Migrate doctor to null safety ( #92131 )
2021-11-01 12:13:02 -07:00
Chris Yang
04156b6636
[flutter_tools] xcresult parser. ( #92604 )
2021-10-29 18:29:31 -07:00
Jenn Magder
0c9a420583
Migrate android_device to null safety ( #92128 )
2021-10-29 17:19:33 -07:00
Jenn Magder
53e04de681
Migrate mdns_discovery and ios simulator to null safety ( #92124 )
2021-10-29 17:18:03 -07:00
嘟囔
41167c957d
feat: migrate macos/macos_device.dart to null safety ( #92633 )
2021-10-29 16:14:35 -07:00
Jenn Magder
aff69e43ef
Add integration_test to flavor test project ( #92520 )
2021-10-27 12:53:05 -07:00
Jenn Magder
b279ff4178
Run flutter tester with arch -x86_64 on arm64 Mac ( #92508 )
2021-10-27 10:48:03 -07:00
stuartmorgan
ed61608a9d
Set TargetFile define for resident builds ( #92511 )
...
Dart plugin registration generation depends on the target main file
being set as a define so that it's available in the environment, but the
resident runner wasn't setting it. That worked for initial builds
because of the re-entrant call to `assemble` (which does set it), but
caused Hot Restart to always re-generate the wrapper using
lib/main.dart.
This ensures that the define is set in that codepath as well.
Fixes https://github.com/flutter/flutter/issues/91535
2021-10-27 09:25:15 -07:00
Emmanuel Garcia
4d79bb02c4
Bump Kotlin version in templates and projects ( #92052 )
2021-10-25 13:13:03 -07:00
Yegor
ad7727a21c
[web] enable CanvasKit tests using a local bundle fetched from CIPD ( #92134 )
2021-10-21 11:13:18 -07:00
Ben Konyi
ac3c44355a
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )" ( #92235 )
...
This reverts commit ba0321e95d
.
2021-10-20 22:05:49 -07:00
Ben Konyi
ba0321e95d
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )
...
This reverts commit dc7fea8d19
.
2021-10-20 19:20:17 -07:00
Chris Yang
42eb903200
[flutter_tools] iOS: display name defaults to the Title Case of flutter project name. ( #91529 )
2021-10-20 10:33:02 -07:00
Emmanuel Garcia
2bdbe7238c
Rewire all Dart entrypoints when the Dart plugin registrant is used. ( #91856 )
2021-10-19 20:23:04 -07:00
Jenn Magder
8ab4de021c
Migrate desktop_device to null safety ( #92055 )
2021-10-19 12:28:04 -07:00
Jenn Magder
8474f41e90
Migrate xcdevice and ios devices to null safety ( #92056 )
2021-10-19 12:23:03 -07:00
Gary Qian
0407aa4480
Reland "Add multidex flag and automatic multidex support ( #90944 )" ( #92049 )
2021-10-19 02:20:39 -07:00
Christopher Fujino
34ec94a16d
[flutter_tools] migrate web_device.dart to null-safety ( #91632 )
2021-10-19 01:33:08 -07:00
Jenn Magder
a82c50f1f6
Revert "Migrate xcdevice and ios devices to null safety ( #91704 )" ( #91912 )
...
This reverts commit 0065873670
.
2021-10-15 09:48:08 -07:00
Jenn Magder
6c9259ae7c
Revert "Migrate desktop_device to null safety ( #91705 )" ( #91911 )
...
This reverts commit 59a6ba7cf8
.
2021-10-15 09:41:03 -07:00
Ian Hickson
2f4e3ce5b0
Improve error message for when you're not running chromedriver ( #91789 )
2021-10-14 22:38:05 -07:00
Jenn Magder
59a6ba7cf8
Migrate desktop_device to null safety ( #91705 )
2021-10-14 22:33:02 -07:00
Jenn Magder
0065873670
Migrate xcdevice and ios devices to null safety ( #91704 )
2021-10-14 22:28:02 -07:00
Zachary Anderson
a9c31eca48
Revert "Add multidex flag and automatic multidex support ( #90944 )" ( #91791 )
...
This reverts commit 1d9edde079
.
2021-10-13 23:09:50 -07:00
Gary Qian
1d9edde079
Add multidex flag and automatic multidex support ( #90944 )
2021-10-13 17:48:04 -07:00
omerlevran46
4b1b65118e
[fuchsia] - remove device-finder for device discovery ( #91502 )
...
device-finder binary is being from removed from the Fuchsia SDK
in fxb/85985.
2021-10-13 16:04:27 -04:00
Ben Konyi
dc7fea8d19
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #90611 )" ( #91754 )
...
This reverts commit e89a885fab
.
2021-10-13 12:45:45 -04:00
Ben Konyi
e89a885fab
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #90611 )
...
This reverts commit 58944e6b88
.
2021-10-13 10:13:30 -04:00
Jenn Magder
6987c9fb82
Migrate crash_reporting and github_template ( #91516 )
2021-10-12 13:48:03 -07:00
Jenn Magder
1dbafdb53b
Migrate protocol_discovery to null safety ( #91267 )
2021-10-12 12:13:02 -07:00
Ian Hickson
66dd2add7e
Add some more new lints ( #91659 )
2021-10-12 11:33:04 -07:00
Jenn Magder
1f25644719
Migrate android build target to null safety ( #91455 )
2021-10-11 17:55:01 -07:00
Ian Hickson
7b01346c5c
Enable no_default_cases lint ( #91530 )
2021-10-11 10:23:04 -07:00
Jenn Magder
8930e9b892
Catch FormatException parsing XCDevice._getAllDevices ( #90967 )
2021-10-08 13:08:04 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Zachary Anderson
5188df0821
Revert gradle roll ( #91459 )
...
* Revert "Mark last failing test after gradle update as flaky. (#91423 )"
This reverts commit 46a52d03bd
.
* Revert "fix android template for Gradle 7 (#91411 )"
This reverts commit 51d06d537f
.
* Revert "Add explicit version for mac and windows openjdk. (#91408 )"
This reverts commit bf429f2771
.
* Revert "Update the openjdk version used by linux android tests. (#91405 )"
This reverts commit 2144ab8b45
.
* Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642 )"
This reverts commit b6459f9b63
.
2021-10-07 19:42:24 -07:00
Christopher Fujino
f753168cb6
[flutter_tools] add working directory to ProcessException when pub get fails ( #91436 )
2021-10-07 18:08:04 -07:00
Majid Hajian
6c10f19b80
add package_name for consistency across all platforms ( #88457 )
2021-10-07 17:08:02 -07:00
Ian Hickson
f25b833f27
Enable avoid_print
lint. ( #91444 )
2021-10-07 16:48:04 -07:00
Mouad Debbar
c2ea78d231
Revert "Enable avoid_print
lint. ( #91332 )" ( #91438 )
...
This reverts commit cb378edc9e
.
2021-10-07 16:16:17 -04:00
Jenn Magder
91d1e3ed8b
Default new project to the ios-signing-cert development team ( #90021 )
2021-10-07 10:23:02 -07:00
Ian Hickson
cb378edc9e
Enable avoid_print
lint. ( #91332 )
2021-10-07 09:53:03 -07:00
Taha Tesser
b6459f9b63
Migrate to Gradle 7.0.2 / AGP 7.0.1 ( #90642 )
2021-10-06 17:01:13 -07:00
Jenn Magder
afbfc1f33a
Migrate assets, common, icon_tree_shaker to null safety ( #91309 )
2021-10-06 15:16:33 -07:00
Pierre-Louis
3e43c3e110
Categorize flutter tool commands ( #87747 )
2021-10-05 17:28:04 -07:00
stuartmorgan
64fd68ed42
Don't generate plugin registry in ResidentWebRunner ( #91281 )
...
* Don't generate plugin registry in ResidentWebRunner
generateDartPluginRegistry was being set to true unconditionally in
ResidentRunner, bypassing the primary check in
DartPluginRegistrantTarget, and the targetPlatform was not set in that
codepath, bypassing the second after the changes in
https://github.com/flutter/flutter/pull/87991 . This caused web hot
restarts to be slower due to doing unnecessary work.
This ensures that generateDartPluginRegistry is false in the
ResidentWebRunner to skip that unnecessary step.
Fixes https://github.com/flutter/flutter/issues/91262
* Formatting
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-10-05 12:27:53 -07:00
Ian Hickson
2bab6514b0
Enable avoid_implementing_value_types
lint ( #91078 )
2021-10-04 13:48:04 -07:00
Jenn Magder
61e2e86611
Add iOS build -destination flag ( #90915 )
2021-10-04 10:18:03 -07:00
Christopher Fujino
91dd3276fd
migrate vm service to null safety ( #88320 )
2021-10-02 10:18:03 -07:00
stuartmorgan
23cea26715
Add dartPluginClass support for Android and iOS ( #87991 )
2021-10-01 16:03:04 -07:00
Ian Hickson
4315cdcf76
Some test cleanup for flutter_tools. ( #90227 )
2021-10-01 10:38:02 -07:00
Ian Hickson
989f864497
Enable avoid_setters_without_getters ( #91067 )
2021-10-01 00:58:05 -07:00
stuartmorgan
97fb8c0560
Fix Dart plugin registrant interaction with 'flutter test' ( #90288 )
...
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
- Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
- Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.
Fixes https://github.com/flutter/flutter/issues/88794
2021-09-30 20:25:13 -07:00
Christopher Fujino
738a7747cc
[flutter_tools] Handle disk device not found ( #90996 )
2021-09-30 17:28:57 -07:00
Jenn Magder
c48c428e46
Xcode 13 as minimum recommended version ( #90906 )
2021-09-30 12:23:55 -07:00
Greg Spencer
01af8e5987
Make flutter update-packages
run in parallel ( #91006 )
...
This modifies the flutter update-packages and flutter update-packages --force-upgrade commands so that the many invocations of "dart pub get" in each repo project run in parallel instead of in series.
2021-09-30 10:26:31 -07:00
Jenn Magder
faaca13f22
Catch FormatException from bad simulator log output ( #90966 )
2021-09-30 09:33:04 -07:00
Kenzie (Schmoll) Davisson
5a85c0d81c
Launch DevTools from the 'dart devtools' command instead of pub ( #90894 )
2021-09-29 15:32:24 -07:00
Jason Simmons
cd19bc6007
Do not retry if pub get is run in offline mode ( #90394 )
2021-09-27 08:18:06 -07:00
Christopher Fujino
61bce1d83b
[flutter_tools] remove non-null check from AndroidValidator ( #90090 )
2021-09-25 16:53:06 -07:00
Jenn Magder
1b53f7beba
Migrate iOS project to Xcode 13 compatibility ( #90304 )
2021-09-22 13:23:05 -07:00
chunhtai
8d7068694b
Fixes resident_web_runner_test initialize the mock correctly ( #90546 )
2021-09-22 12:58:21 -07:00
Jason Simmons
58056bbe74
Close the IntegrationTestTestDevice stream when the VM service shuts down ( #90022 )
2021-09-17 19:18:03 -07:00
Liam Appelbe
9afbab8477
Use report_lines flag in flutter coverage ( #90142 )
...
* Use the report lines flag
* Handle major version bumps in the version check
* Fix existing tests and add a new test
2021-09-16 11:33:32 -07:00
Ahmed Ashour
eb185d73ce
internationalization: fix select with incorrect message ( #90096 )
2021-09-16 09:23:22 -07:00
Jenn Magder
ab6f2fc8ce
Set BUILD_DIR when determining if plugins support arm64 simulators ( #90088 )
2021-09-15 18:37:04 -07:00
Sam Rawlins
bcb5db7758
Remove "unnecessary" imports from packages/ ( #89795 )
2021-09-15 01:27:02 -07:00
Michael Thomsen
b889915997
Change min Dart SDK constraint to track actual version ( #88743 )
2021-09-14 14:08:36 +02:00
Phil Quitslund
975fcc1f2f
master->main deafult branch migration ( #89782 )
2021-09-10 15:42:03 -07:00
Chase Latta
aed4315a7d
Replace amber_ctl with pkgctl for Fuchsia ( #89785 )
...
Fuchsia is deprecating amber_ctl and replacing it with pkgctl.
This change removes the FuchsiaAmberCtl class and replaces it
with the FuchsiaPkgctl class and updates the usages appropriately.
BUG: fxbug.dev/83865
2021-09-10 10:33:45 -07:00
Jenn Magder
855af29084
Migrate ios_deploy to null safety ( #88851 )
2021-09-09 17:32:05 -07:00
Jenn Magder
58944e6b88
Revert "Enable caching of CPU samples collected at application startup ( #89600 )" ( #89704 )
...
This reverts commit 619121b095
.
2021-09-08 19:37:34 -07:00
Ben Konyi
619121b095
Enable caching of CPU samples collected at application startup ( #89600 )
2021-09-08 17:22:04 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos ( #89485 )
2021-09-07 14:56:04 -07:00
arfy slowy
202fc02ca1
fix: typo spelling grammar ( #88439 )
2021-09-03 15:09:31 -07:00
Sigurd Meldgaard
bce366203a
Stop calling top level pub ( #89032 )
...
* Use `dart __deprecated_pub` instead of `pub` to invoke pub from tools
The top level `pub` commmand has been deprecated and will print
a message. It is however implemented via the __deprecated_pub command
that prints no message.
2021-08-30 10:40:10 -07:00
Jenn Magder
0cb6d5983c
Migrate fuchsia sdk and dependencies to null safety ( #88920 )
2021-08-25 19:51:04 -07:00
Jenn Magder
d550d497f1
Migrate some flutter_tools tests to null safety ( #88850 )
2021-08-25 16:21:04 -07:00
Jenn Magder
125451bc2e
Migrate mac.dart to null safety ( #88846 )
2021-08-25 13:31:03 -07:00
Zachary Anderson
b4e0472b04
Revert "Use dart pub
instead of pub
to invoke pub from tools ( #88509 )" ( #88792 )
...
This reverts commit 7c24ff2c5b
.
2021-08-24 09:00:22 -07:00
Sigurd Meldgaard
7c24ff2c5b
Use dart pub
instead of pub
to invoke pub from tools ( #88509 )
...
Top level `pub` is being deprecated.
2021-08-24 15:51:08 +02:00
Jonah Williams
fa0782b696
reassign jonahwilliams todos ( #88707 )
2021-08-23 12:27:07 -07:00
Taha Tesser
d72287522b
[tools] Fix Android Studio duplicate detection ( #88384 )
2021-08-18 02:02:03 -07:00
Jenn Magder
2d55032939
Migrate dds.dart to null safety ( #88382 )
2021-08-17 21:12:03 -07:00
Taha Tesser
42a6b7913c
[tools] Add Xcode version to non-verbose Flutter doctor ( #87022 )
2021-08-17 15:52:03 -07:00
Jonah Williams
060e4608b1
clean up stale or unnecessary TODOS ( #88308 )
2021-08-16 21:37:03 -07:00
Jason Simmons
ddb8bfb72b
Fix URL construction in the test entry point generated by the web bootstrap script ( #88201 )
2021-08-16 14:12:05 -07:00
Jenn Magder
57efbd5310
Rename IOSDeviceInterface to IOSDeviceConnectionInterface ( #88144 )
2021-08-16 10:27:03 -07:00
Zachary Anderson
c5d5463c30
[flutter_tools] Fix hang in DesktopLogReader ( #88178 )
2021-08-13 17:12:04 -07:00
Jenn Magder
325cfb0f4c
Make doctor Xcode version requirement clearer ( #88137 )
2021-08-13 17:07:03 -07:00
Zachary Anderson
f0e832cdea
[flutter_tool] Fix DesktopLogReader to capture all output ( #88116 )
2021-08-12 14:57:07 -07:00
Ahmed Ashour
5848a1620d
[gen_l10n] to handle arbitrary DateFormat patterns ( #86844 )
2021-08-12 14:34:52 -07:00
Darren Austin
b08366ce7b
Updated skipped tests for flutter_tools. ( #87925 )
...
* Updated skipped tests for flutter_tools.
* Turned the flaky overall_experience test off as it was still failing on CI.
2021-08-10 22:22:08 -07:00
嘟囔
bffa11e2b6
fix: fix BuildableMacOSApp pass no projectBundleId to super error ( #87264 )
2021-08-06 14:30:07 -07:00
Lau Ching Jun
95217eb72a
Add new hook for setupHotReload and after updating devFS is complete ( #87532 )
...
* Add new hook for setupHotReload and after updating devFS is complete
* Handle the case where updateDevFS failed
2021-08-03 21:09:56 -07:00
Anna Gringauze
44d9af80cb
Flutter_tools for web: report error messages with stacks on exit ( #87386 )
...
* Flutter_tools for web platform: report error messages with stacks on toolExit
Print error messages and stacks in verbose mode before calling
`throwToolExit` on communication errors to chrome and dwds.
This will help us disagnose CI flakes:
Helps: https://github.com/flutter/flutter/issues/84012
Closes: https://github.com/flutter/flutter/issues/87149
* Added tests
* Extend timeout for testing failure to connect to chrome
* Update rest of chrome tests to await until matching is finished
2021-08-03 10:51:35 -07:00
Ahmed Ashour
92e02457d5
Handle reserved Kotlin keywords ( #86518 )
2021-08-02 14:35:05 -07:00
Jenn Magder
7424db448d
Exclude arm64 from iOS app archs if unsupported by plugins on x64 Macs ( #87362 )
2021-07-30 14:44:04 -07:00
Jenn Magder
a69b3ca5d3
Exclude arm64 from iOS app archs if unsupported by plugins ( #87244 )
2021-07-30 10:54:34 -07:00
Taha Tesser
f9aa5842c2
[tools] Fix Android Studio Arctic Fox Java path on macOS ( #87267 )
2021-07-29 10:24:07 -07:00
Jenn Magder
2f91679058
Show Android SDK path in doctor on partial installation ( #87232 )
2021-07-28 19:14:02 -07:00
Sam Rawlins
960463e66d
Remove "unnecessary" imports. ( #85736 )
2021-07-28 16:19:04 -07:00
Greg Spencer
0bab3604b0
Make the startup lock message print to stderr. ( #86520 )
...
This changes the "Waiting for another flutter command to release the startup lock..." message output so that it appears on stderr instead of stdout. When it appears on stdout, it can mess up collection of the output. For instance, if you run flutter --version --machine and you're expecting JSON output, then you'll get non-JSON output even though the lock is released and you eventually would get what you're asking for.
2021-07-28 15:12:03 -07:00
Jenn Magder
89637e4e47
Replace iOS physical/simulator bools with enum ( #87138 )
2021-07-27 16:39:04 -07:00
Christopher Fujino
2d07436dbd
[flutter_tools] Port xcode backend to dart ( #86753 )
2021-07-27 14:39:05 -07:00
Greg Spencer
738ce43d97
Randomize tests, exclude tests that fail with randomization. ( #86793 )
...
* Randomize tests, exclude tests that fail with randomization.
* Disable some more tool tests
2021-07-26 23:40:49 -07:00
Emmanuel Garcia
e7a9adeeab
Remove AndroidX workarounds ( #86911 )
2021-07-23 17:41:04 -07:00
Ahmed Ashour
bf132daef3
[gen_l10n] correct variable name when the placeholder requiresFormatting ( #86842 )
2021-07-22 13:55:18 -07:00
Ahmed Ashour
9492e13c45
Reland [flutter_tools] show only supported sub commands ( #86153 )
2021-07-22 13:41:03 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker ( #86837 )
2021-07-21 21:51:06 -07:00
Emmanuel Garcia
0a8c03dc8a
Show warning when an app or plugin uses the V1 Android embedding ( #86750 )
2021-07-21 12:51:43 -07:00
Ahmed Ashour
f568d929db
[gen_l10n] Support plurals and selects inside string ( #86167 )
2021-07-21 12:41:06 -07:00
Taha Tesser
94f71f374f
[flutter_tools] Refactor Android Studio Detection on Windows (support 4.x and 202x releases detection) ( #86624 )
2021-07-20 12:16:03 -07:00
Remi Rousselet
1995da2c0c
Disable the automatic "pub get" if the project is using a third-party tool for linking dependencies. ( #86177 )
2021-07-19 08:06:03 -07:00
Ahmed Ashour
838ad83705
Explicitly show "Currently not on an official channel." ( #84992 )
2021-07-15 21:55:39 -07:00
Zachary Anderson
09a38d7a17
Revert "Handle reserved Kotlin keywords ( #84973 )" ( #86512 )
...
This reverts commit a67f618a29
.
2021-07-15 14:43:53 -07:00
Ahmed Ashour
a67f618a29
Handle reserved Kotlin keywords ( #84973 )
2021-07-15 14:26:05 -07:00
Yegor
81c91924f0
[web] use resident resident runner in flutter drive ( #86381 )
...
* [web] use resident resident runner in flutter drive
2021-07-14 08:46:38 -07:00
Jonah Williams
63a4013160
Revert "[flutter_tools] let the logger know about machine mode ( #86116 )" ( #86363 )
...
This reverts commit 53d8cba3ec
.
2021-07-13 10:39:35 -07:00
Ian Hickson
d3c17acf9d
Run "pub global activate devtools" before overall_experience_test ( #85812 )
2021-07-12 14:36:05 -07:00
michaellee8
6a51e0c237
[flutter_tools] Add support for launching fuchsia app using session_control ( #85752 )
2021-07-12 13:26:05 -07:00
Jonah Williams
53d8cba3ec
[flutter_tools] let the logger know about machine mode ( #86116 )
2021-07-12 10:41:03 -07:00
Zachary Anderson
c589a0c322
Revert "[flutter_tools] show only supported sub commands ( #85125 )" ( #86131 )
...
This reverts commit 84e576786c
.
2021-07-08 15:58:05 -07:00
Zachary Anderson
53125203ea
[flutter_tool] Pin DevTools to 2.4.0 ( #86124 )
2021-07-08 15:01:00 -07:00
Ahmed Ashour
84e576786c
[flutter_tools] show only supported sub commands ( #85125 )
2021-07-08 14:56:06 -07:00
Alexandre Ardhuin
80990c21e2
code formatting ( #85783 )
2021-07-07 23:06:05 -07:00
Hannes Winkler
a1e9f2057f
[custom-devices] general improvements, add custom-devices subcommand, better error handling ( #82043 )
2021-07-07 09:16:04 -07:00
Shi-Hao Hong
b0bd7cf1d8
make app localizations lookup a public method ( #84732 )
2021-07-01 15:01:03 -07:00
Ahmed Ashour
a3dc90c4f5
Add space before curly parentheses. ( #85306 )
2021-07-01 13:51:05 -07:00
Ahmed Ashour
76db0d7428
Fix typo in test class ( #84961 )
2021-07-01 13:46:03 -07:00
Ahmed Ashour
529a599ce6
Fix some indentation ( #84967 )
2021-07-01 13:41:04 -07:00
Jenn Magder
f76b292626
Support iOS arm64 simulator ( #85642 )
2021-06-30 14:31:04 -07:00
Zachary Anderson
407916d44f
Revert "Support iOS arm64 simulator ( #85059 )" ( #85641 )
...
This reverts commit a1020512ef
.
2021-06-30 12:44:49 -07:00
Jenn Magder
a1020512ef
Support iOS arm64 simulator ( #85059 )
2021-06-30 11:56:17 -07:00
Jenn Magder
24d608b2ba
Check ios-arm64_x86_64-simulator directory when validating codesigning entitlement ( #85265 )
2021-06-28 17:01:06 -07:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) ( #83530 )
2021-06-28 15:26:04 -07:00
Lau Ching Jun
af42e7d730
Only set assets directory after assets are uploaded onto devfs. ( #85418 )
2021-06-28 13:16:04 -07:00
Danny Tuppeny
dec122a4d8
Remove incorrect text about web renderer default ( #85214 )
2021-06-28 12:56:06 -07:00
Jenn Magder
e028d0f046
Split project.dart into CMake and Xcode projects ( #85359 )
2021-06-28 11:31:04 -07:00
Chase Latta
6dd9e8c153
[fuchsia] pm serve should not use the device address ( #85341 )
...
BUG: fxbug.dev/77566
BUG: https://github.com/flutter/flutter/issues/83609
2021-06-27 16:58:20 -07:00
Lau Ching Jun
8251f55256
Revert "Make sure that the asset directory on devfs always exist. ( #85267 )" ( #85353 )
2021-06-25 16:46:02 -07:00
Jonah Williams
a362e1166d
[flutter_tools] add un-discoverable preview device ( #85253 )
2021-06-25 15:36:04 -07:00
Jonah Williams
1977ee75b3
[flutter_tools] ensure kernel paths match between init from dill and persist ( #85252 )
2021-06-25 11:11:04 -07:00
Jenn Magder
d145938406
Migrate flutter_cache to null safety ( #85242 )
2021-06-25 10:56:03 -07:00
Lau Ching Jun
102acbe39d
Make sure that the asset directory on devfs always exist. ( #85267 )
2021-06-24 22:51:02 -07:00
Jonah Williams
88e756d19e
[flutter_tools] well known device ids ( #85184 )
2021-06-24 18:46:04 -07:00
Jenn Magder
0de6bd41ba
Migrate iOS app deployment target from 8.0 to 9.0 ( #85174 )
2021-06-24 10:21:05 -07:00
Jonah Williams
21fc0c3a7a
[flutter_tools] remove online requirement for devtools ( #85176 )
2021-06-24 09:26:02 -07:00