嘟囔
4f5cc21be2
migrate some file to null safety ( #92957 )
2021-12-16 11:39:12 -08:00
Jonah Williams
b549e829e8
[flutter_tools] support trailing args ( #86431 )
2021-07-14 15:51:10 -07:00
Greg Spencer
88f3811055
Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. ( #84476 )
...
This adds avoid_dynamic_calls to the list of lints, and fixes all instances where it was violated.
Importantly, this lint is NOT turned on for flutter/packages/test, because those changes are happening in another PR: #84478
2021-06-14 14:16:57 -07:00
Jonah Williams
a217ab601a
[flutter_tools] remove getLocalEngineArtifacts from integration tests that cant use it ( #83282 )
2021-05-24 16:39:03 -07:00
Ian Hickson
a7eb2c8a1a
Use "aliases" in args to fix some technical debt ( #81073 )
2021-04-27 14:54:03 -07:00
Jonah Williams
b7214a9a43
[flutter_tools] fix null check in crash reporter ( #80382 )
2021-04-13 14:04:25 -07: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
Jenn Magder
c2d1203f26
Remove deprecated 'flutter build aot' ( #70898 )
2020-11-20 10:46:12 -08:00
Jonah Williams
4b351ac1b4
[flutter_tools] do not allow attaching in release mode ( #68071 )
...
Do not allow attach in release mode, as there is not VM Service to connect to. Observed in crash reporting as thrown string which is changed to exception below.
2020-10-13 21:29:23 -07:00
Jonah Williams
ac614de7ac
[flutter_tools] validate that SkSL bundle path exists ( #67883 )
...
Fixes #61772
tool exit if there is no file at the path provided when building/running with sksl
2020-10-12 12:49:51 -07:00
Jonah Williams
5fa801718f
[flutter_tools] remove train and inject-plugins command ( #67766 )
...
The train command does nothing and was originally added to provide a no-output default for generating app-jit snapshots. The inject-plugins command is only for a repo-only analysis check, which is not necessary since we regenerate during pub get.
#29805
2020-10-09 15:43:39 -07:00
Jonah Williams
973404a27f
[flutter_tools] support powershell style help request ( #67493 )
2020-10-08 14:06:58 -07:00
Marcus Tomlinson
5f76bfb4af
Add the ability to inject a bootstrap script ( #66897 )
2020-09-29 19:24:21 +01:00
Jonah Williams
76698a5026
[flutter_tools] dont crash if attach is given a bad debug uri ( #66358 )
2020-09-22 12:03:21 -07:00
Jonah Williams
b02cb6e4c9
[flutter_tools] make local engine integration testing easier ( #65802 )
2020-09-15 13:32:02 -07:00
Jonah Williams
6b444c4dd7
[flutter_tools] standardize patterns for integration.shard ( #64980 )
...
Integration tests must only go through the real file system/process manager/platform. The global indirection makes this code harder to understand than if it directly referred to the concrete instances that are being used.
Update the integration shard to use a const instance of a LocalFIleSystem, LocalProcessManager, and LocalPlatform. Remove global usage and apply testWithoutContext.
2020-09-08 15:56:00 -07:00
Jonah Williams
f707f6f6ea
[flutter_tools] add flutterRoot field to JSON machine output ( #62053 )
2020-07-29 08:16:04 -07:00
Jonah Williams
d22d65c6e7
[flutter_tools] add the feature for single widget reloads ( #61411 )
...
Implements the flutter config feature for #61407 , but does not implement any of the functionality.
2020-07-14 12:24:58 -07:00
Jonah Williams
66556faef7
[flutter_tools] deflake integration test with tryToDelete ( #61253 )
2020-07-10 13:29:49 -07:00
Jonah Williams
6eaaf1650e
[flutter_tools] switch order of injection ( #61191 )
...
Inject loggers in the right order, test WIP. Otherwise verbose machine would not get the AppRunLogger
2020-07-09 18:04:37 -07:00
Jonah Williams
ed9a705ec2
[flutter_tools] allow unmuting of command logging ( #61198 )
...
Running flutter doctor -v prints out extra details instead of running in verbose mode. Allow disabling this with -vv so it can be debugged.
2020-07-09 17:55:53 -07:00
Jonah Williams
d4589e0c71
[flutter_tools] ensure AppRunLogger is injected for run/attach machine ( #61103 )
...
run/attach --machine requires a different logger than daemon, which uses the NotifyingLogger. We have too many loggers!
Fixes #59463
2020-07-08 18:21:46 -07:00
Jonah Williams
15154b115f
[flutter_tools] deprecate build aot ( #59487 )
...
This command was previously used by the re-entrant build scripts in xcode_backend.sh and build.gradle. These have since been refactored to use flutter assemble.
Deprecation the command in preparation for removal in a future release of flutter. The only current use is a test on HHH
2020-06-16 13:00:11 -07:00
Jenn Magder
222c2cb0cc
Deprecate make-host-app-editable ( #59217 )
2020-06-11 11:37:15 -07:00
Jonah Williams
d911eadf95
[flutter_tools] create NotifyingLogger at the top level when running flutter run --machine or flutter attach --machine ( #59087 )
...
Removes dependency on injecting additional logger with zones
2020-06-09 15:39:27 -07:00
Jonah Williams
d0abf7f90f
[flutter_tools] don't use verbose when in doctor or help command ( #58798 )
2020-06-05 10:12:11 -07:00
Jonah Williams
ffc56ff735
[flutter_tools] hide all development tools ( #57690 )
2020-05-27 10:10:19 -07:00