Commit Graph

2188 Commits

Author SHA1 Message Date
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