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
Zachary Anderson
32abf42a00
[flutter_tool] Download gen_snapshot.zip for macOS desktop ( #97627 )
2022-02-02 10:21:31 -08:00
Yegor
a2a888ec13
make CIPD url customizable using FLUTTER_STORAGE_BASE_URL ( #94137 )
2021-11-24 07:53: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
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
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
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18: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
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
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
Michael Thomsen
b889915997
Change min Dart SDK constraint to track actual version ( #88743 )
2021-09-14 14:08:36 +02:00
Jonah Williams
fa0782b696
reassign jonahwilliams todos ( #88707 )
2021-08-23 12:27:07 -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
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
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
76db0d7428
Fix typo in test class ( #84961 )
2021-07-01 13:46:03 -07:00
Jenn Magder
d145938406
Migrate flutter_cache to null safety ( #85242 )
2021-06-25 10:56:03 -07:00
Jonah Williams
cb2eef04ed
[flutter_tools] remove remaining mocks from cache_test.dart ( #84218 )
2021-06-08 17:42:11 -07:00
Jonah Williams
3638c41959
[flutter_tools] remove more mocks from cache_test ( #83522 )
2021-06-04 11:24:06 -07:00
Sam Rawlins
e9e3c08fd8
Remove "unnecessary" imports. ( #82662 )
2021-05-17 09:39:04 -07:00
Jonah Williams
9805df890f
remove more mocks ( #82592 )
2021-05-14 19:15:19 -07:00
Jonah Williams
ed85dd49c7
[flutter_tools] use try to delete in web cache ( #82478 )
2021-05-13 21:44:02 -07:00
Alexandre Ardhuin
7d46d43635
use throwsXxx instead of throwsA(isA<Xxx>()) ( #82328 )
2021-05-12 09:59:02 -07:00
Alexandre Ardhuin
4881b33515
use throwsA matcher instead of try-catch-fail ( #82290 )
2021-05-11 23:34:02 -07:00
Jenn Magder
ba4177f6da
Find Android Studio installations with Spotlight query on macOS ( #80475 )
2021-04-28 19:09:03 -07:00
Jenn Magder
56c0002c47
Adopt FakeProcessManager.empty ( #80480 )
2021-04-15 14:19:02 -07:00
Jonah Williams
be2c68c85c
[flutter_tools] cache for UWP artifacts ( #80069 )
2021-04-09 10:59:01 -07:00
Jonah Williams
0a59698ebe
[flutter_tools] migrate cache to null safety ( #79864 )
2021-04-06 14:44:02 -07:00
Jonah Williams
26b9a01531
[flutter_tools] split cache into API and implementation ( #79580 )
2021-04-05 14:26:02 -07:00
Jonah Williams
975fb0f06c
[flutter_tool] fix deletion of gradle wrapper artifacts in cache ( #78911 )
2021-03-23 21:33:05 -07:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint ( #77434 )
2021-03-05 18:38:15 -08:00
Jenn Magder
a7f7687a2e
Delete unzipped FlutterMacOS.framework before replacing artifact ( #77316 )
2021-03-04 19:36:21 -08:00
Jonah Williams
75470a0051
[flutter_tools] unify gradle/android sdk reinitialize checks in cache.dart ( #76342 )
2021-02-19 13:47:12 -08:00
Sam Rawlins
ba58ad0385
Remove "unnecessary" imports in test/general.shard ( #75954 )
2021-02-18 13:38:24 -08:00
Jenn Magder
5e61466794
Adopt FileExceptionHandler in a few tests ( #76279 )
2021-02-17 23:41:04 -08:00
Hidenori Matsubayashi
4cc0ab2d19
[flutter_tools] Add ARM64 Linux host and cross-building option support ( #61221 )
2021-02-12 14:25:30 -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
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
dbb1958c5e
Add canRun override to FakeProcessManager ( #74865 )
2021-01-28 19:06:56 -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
Jonah Williams
bf4a5484aa
[flutter_tools] no-op maven artifacts if Android SDK is absent ( #73957 )
2021-01-14 12:09:06 -08:00
Michael Goderbauer
5d1306e7ab
Update outdated links ( #73514 )
2021-01-07 16:28:12 -08:00
Jonah Williams
2fb53d83f2
[flutter_tools] remove all globals from cache and cache_test ( #69505 )
2020-11-06 15:26:45 -08:00
Jonah Williams
cb67513f29
[flutter_tools] Reland: simplify pub cache logic ( #67589 )
...
There have been some more additional reports of a missing 'package:characters' import after upgrading flutter. This has me concerned that our pub caching logic is incorrect. Instead of the tool attempting to guess when pub should be run, always delegate to pub.
Also takes an opportunity to fix the kernel snapshot depending on the .packages or package_config. Due to the generated: date field this causes extra rebuilds. Instead when pub get is run, write out an additional file with just the package contents and version.
Fixes #66777
Fixes #65723
2020-10-23 10:00:56 -07:00
Jonah Williams
a4e0e2a8ee
Revert "[flutter_tools] remove all pub caching logic ( #66776 )" ( #67572 )
...
This reverts commit 76cbc462d2
.
2020-10-07 15:30:46 -07:00
Jonah Williams
76cbc462d2
[flutter_tools] remove all pub caching logic ( #66776 )
...
There have been some more additional reports of a missing 'package:characters' import after upgrading flutter, as well as problems with detecting the correct language version. This has me concerned that our pub caching logic is incorrect. Instead of the tool attempting to guess when pub should be run, always delegate to pub.
2020-10-07 13:11:07 -07:00
Jenn Magder
becaf4913f
Replace MockCache with Cache.test() ( #66946 )
2020-09-30 14:53:57 -07:00
Jenn Magder
e8fbb43aac
Replace MockFile with memory file system files ( #66941 )
2020-09-29 17:50:33 -07:00