Jonah Williams
8df58eb650
[flutter_tools] use a single fake implementation of HttpClient ( #75471 )
2021-02-09 15:32:03 -08:00
Jenn Magder
faa1a251f8
Move FakeBotDetector to fakes ( #75543 )
2021-02-09 12:43:53 -08:00
Jenn Magder
152d88a3df
Add exception to FakeCommand ( #75545 )
2021-02-09 10:07:46 -08:00
Jonah Williams
021311ed8a
Revert "[flutter_tools] move process manager into tool ( #75350 )" ( #75639 )
...
This reverts commit 8b6baae44c
.
2021-02-08 09:21:46 -08:00
godofredoc
da6528cda6
Point to a new artifacts location. ( #70673 )
...
This is in preparation to move the flutter artifacts to a more secure
location.
Bug:
go/fxb/64576
2021-02-04 18:44:47 -08:00
Jonah Williams
8b6baae44c
[flutter_tools] move process manager into tool ( #75350 )
...
Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
2021-02-04 13:19:11 -08:00
Jenn Magder
86c21c5d8f
Replace MockPlistParser with FakePlistParser ( #75276 )
2021-02-04 10:39:58 -08:00
Jonah Williams
24d8dbb1e5
[flutter_tools] remove web defines workaround ( #75361 )
2021-02-03 15:14:59 -08:00
Jonah Williams
3b884aa613
Catch VM Service disappearance from run/attach handler code ( #75298 )
2021-02-03 10:53:15 -08:00
Jia Hao
efd487922d
[flutter_tools] Merge some test options into DebuggingOptions ( #75213 )
2021-02-02 19:31:03 -08:00
Jonah Williams
2dfc86ea0b
[flutter_tools] remove mockito from flutter symbolize test ( #75263 )
2021-02-02 12:27:41 -08:00
Jonah Williams
44d5950d27
[flutter_tools] switch dart defines to base64 to avoid windows control characters ( #75027 )
...
= gets escaped into %3D which seems to be tripping up cmake on windows since % is a control character. Switch to base64 encoding, since this does not have % nor , in the output character set.
This change is not trivially cherry pickable, and isn't tested on windows aside from my local, manual tests due to the planned CI work not being complete yet.
Fixes #75017
Fixes #74705
2021-02-02 09:10:48 -08:00
Jonah Williams
aebf548436
[flutter_tools] skip web renderer defines unless web target is picked ( #75160 )
2021-02-02 09:05:44 -08:00
Ian Hickson
8acac060bf
Remove the timeout when launching DevTools ( #74859 )
2021-02-01 16:06:02 -08:00
Jonah Williams
18b1e23e89
[flutter_tools] move some fakes out of mocks.dart ( #74992 )
2021-01-29 14:28:18 -08:00
Jenn Magder
dbb1958c5e
Add canRun override to FakeProcessManager ( #74865 )
2021-01-28 19:06:56 -08:00
Jenn Magder
6ecb8cbcfa
Replace MockUsage with TestUsage ( #74946 )
2021-01-28 18:49:04 -08:00
Jenn Magder
bf248fade2
Allow 'flutter create' in dev and example directories ( #74932 )
2021-01-28 15:24:09 -08:00
Darshan Rander
7c22f0d214
Added warning when not enabled platform is selected ( #73205 )
2021-01-28 13:54:04 -08:00
Jonah Williams
b926c7b696
[flutter_tools] rewrite Usage.test to capture objects instead of print logs ( #74829 )
2021-01-28 12:41:14 -08:00
Jenn Magder
ff87150ba9
Revert "Swap MockStdio to FakeStdio in tests ( #74838 )" ( #74867 )
...
This reverts commit 547ed88ab3
.
2021-01-27 19:35:16 -08:00
Jenn Magder
547ed88ab3
Swap MockStdio to FakeStdio in tests ( #74838 )
2021-01-27 17:33:47 -08:00
Jenn Magder
3f380ca544
Swap mockito import for test/fake ( #74847 )
2021-01-27 16:02:44 -08:00
Jonah Williams
74bd7b6f6d
[flutter_tools] opt all flutter tool libraries and tests out of null safety. ( #74832 )
...
* opt out the flutter tool
* oops EOF
* fix import
* Update tool_backend.dart
* Update daemon_client.dart
* fix more
2021-01-27 15:17:53 -08:00
Michael Goderbauer
63267e9016
Make flutter create --smaple null-safe ( #74844 )
2021-01-27 14:44:03 -08:00
Jenn Magder
fe921211df
Replace MockXcode with Xcode.test in more unit tests ( #74827 )
2021-01-27 13:07:07 -08:00
Jenn Magder
1ad6edb8d5
Remove MockProcessManager from channel_test and other tests ( #74780 )
2021-01-27 11:17:29 -08:00
Jenn Magder
bf37a3964b
Rename setUpMockXcodeBuildHandler -> setUpFakeXcodeBuildHandler in tests ( #74778 )
2021-01-26 21:19:02 -08:00
Jonah Williams
1d3f697160
[flutter_tools] flag flip ( #74444 )
2021-01-22 09:29:57 -08:00
Jonah Williams
d325705332
[flutter_tools] pub get skips example dir if there is no pubspec.yaml ( #74264 )
2021-01-19 15:02:36 -08:00
Michael Goderbauer
2f7804f41b
Add null safety note to flutter create ( #74265 )
2021-01-19 14:52:43 -08:00
Jonah Williams
a0be98020e
[flutter_tools] ensure pub get can run from partially valid state ( #74249 )
2021-01-19 12:29:07 -08:00
Jonas Finnemann Jensen
bf89943d94
Fix pub upgrade to work with new arguments ( #74060 )
2021-01-15 17:39:56 -08:00
Dan Field
6a32859eb9
Revert integration_test in flutter create template ( #74068 )
...
* Revert "Add integration_test template to create template (#70240 )"
This reverts commit d047d108eb
.
* test
2021-01-15 13:13:46 -08:00
J-P Nurmi
e1ff62a78c
[flutter_tools] propagate build errors from the backend ( #72196 )
2021-01-14 13:39:05 -08:00
Jonah Williams
907bed6982
[flutter_tools] daemon does not report platforms that are not enabled ( #73736 )
2021-01-12 09:38:23 -08:00
Jonah Williams
f7dc19eb23
[flutter_tools] flutter precache downloads all enabled platforms if no flags are provided ( #73733 )
2021-01-11 14:29:02 -08:00
Jenn Magder
9a83314cfe
Generate dSYM files during iOS archive ( #73630 )
2021-01-11 12:42:31 -08:00
Ferhat
0c80a31256
[web] Reland - Switch flutter tool web-renderer default for web to auto ( #73595 )
2021-01-08 15:44:13 -08:00
Jonah Williams
df98145548
[flutter_tools] add API for passing arbitrary flags to tester binary ( #73576 )
2021-01-08 11:46:15 -08:00
Jenn Magder
1fdf60a2ed
Revert "[web] Switch flutter tool web-renderer default for web to auto ( #73502 )" ( #73529 )
...
This reverts commit d4c77f31ef
.
2021-01-07 18:08:03 -08:00
Ferhat
d4c77f31ef
[web] Switch flutter tool web-renderer default for web to auto ( #73502 )
2021-01-07 15:54:04 -08:00
Jenn Magder
6891928a1f
Optionally include CocoaPods xcconfig ( #73112 )
2021-01-06 13:55:23 -08:00
Jonah Williams
66175760be
[flutter_tools] delete .packages during flutter clean ( #73364 )
2021-01-05 18:54:03 -08:00
Jonah Williams
7c618758bb
[flutter_tools] delegate first run message re-display to new class, only if changed ( #73353 )
2021-01-05 18:44:04 -08:00
Shi-Hao Hong
a912030982
[gen_l10n] Use l10n.yaml file instead of command line arguments if it exists ( #72950 )
...
* Reorganize files
* Use l10n.yaml instead of command line args
2021-01-05 11:50:32 +08:00
Jenn Magder
7aacff2216
Exclude ARM from macOS builds ( #72748 )
2020-12-21 16:05:24 -08:00
J-P Nurmi
f2536da16f
[flutter_tools] Let CMake handle escaping ( #70026 )
2020-12-21 16:04:04 -08:00
J-P Nurmi
bd08997474
[flutter_tools] catch fatal build output errors on Linux ( #72559 )
2020-12-21 10:24:03 -08:00
Jenn Magder
ff8203dcdc
Migrate usage value plugin count off .flutter-plugins ( #72538 )
2020-12-17 14:56:05 -08:00