Jonah Williams
9f420ffb3e
[flutter_tools] io cleanups to simplify null safety migration ( #77955 )
2021-03-12 16:21:14 -08:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint ( #77434 )
2021-03-05 18:38:15 -08:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint ( #77163 )
2021-03-04 08:59:17 -08:00
Jonah Williams
d60e9de75d
[flutter_tools] remove remaining extensions ( #76743 )
2021-02-24 16:46:03 -08:00
Jonah Williams
fb808b40f9
[flutter_tools] add package:http to forbidden imports test ( #75925 )
2021-02-12 14:23:08 -08:00
Jenn Magder
6ecb8cbcfa
Replace MockUsage with TestUsage ( #74946 )
2021-01-28 18:49: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
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
32e1e00e2e
[flutter_tools] handle NPE in language analytics ( #74075 )
2021-01-15 14:54:04 -08:00
Jonah Williams
b1e99182a8
Move async guard wrapping of crash reporter up a level ( #73877 )
2021-01-13 14:14:07 -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
Jonah Williams
c92cc25830
[flutter_tools] report basic analytics for null-safety ( #71487 )
2020-12-03 15:14:20 -08:00
Jonah Williams
0b88269807
[flutter_tools] remove branch migration and standardize constructor style for version interface ( #70058 )
2020-11-12 15:29:03 -08:00
Jonah Williams
0bbd9020ed
[flutter_tools] remove experiment tracking analytics for null safety ( #70183 )
2020-11-10 12:49:50 -08:00
Jonah Williams
1f210275aa
[flutter_tools] wrap http send in async guard ( #69972 )
2020-11-06 11:00:20 -08:00
Jonah Williams
2e54c4a8ea
[flutter_tools] implement safe file copy with multiple fallbacks ( #69000 )
...
The tool observes a large number of unhandled exceptions during the file copy portion of flutter create. it is difficult to tell whether the permission issue is caused by the source/destination, or whether it is due to a bug in dart:io.
To work around this, implement a permission check for both the source and dest files. If either fails, the tool can exit with a more specific message.
If these checks pass, then perform the actual copy. If the copy fails, fallback to manually copying the bytes
2020-10-26 15:49:07 -07:00
Jenn Magder
f92ba2d2c5
Replace MockUsage with Usage.test in build tests ( #67670 )
2020-10-08 16:09:49 -07:00
Jonah Williams
b6768ec7a6
[flutter_tools] dont let crash reporter crash tool ( #66755 )
...
package:http can throw a ClientException, which the crash reporter must catch or the tool will crash in the crash reporter. 3/4 crash on dev.
2020-09-30 15:26:25 -07:00
Jonah Williams
549de844ed
[flutter_tools] add a mechanism to turn off immediate tool exit ( #66787 )
...
Instead of always exiting the tool, provide a mechanism to turn off this behavior for non-critical functionality like configuration and analytics settings.
Fixes #66786 Fixes #4674
2020-09-28 13:04:38 -07:00
Jonah Williams
a19f5baccc
[flutter_tools] connect widget cache from frontend_server ( #65951 )
2020-09-19 11:02:04 -07:00
Jonah Williams
d3515f5fb6
[flutter_tools] add analytics to code size, add more testing ( #64578 )
...
* [flutter_tools] add analytics to code size, add more testing
* add gradle case
* Update build_macos_test.dart
* move analytics to code size tooling
* Update analyze_size.dart
* fix analysis
2020-08-27 09:45:10 -07:00
Jonah Williams
2f43aeaf54
[flutter_tools] fix crash if grouped doctor validator crashes ( #60658 )
2020-07-01 22:48:02 -07:00
Jonah Williams
55abbb6be6
[flutter_tools] track null safety usage ( #59822 )
...
* [flutter_tools] track null safety usage
* Update flutter_command_test.dart
* cleanups
2020-06-22 17:05:01 -07:00
Jonah Williams
8e765c7f6a
[flutter_tools] put system clock on globals ( #57447 )
2020-05-18 09:56:22 -07:00
Zachary Anderson
6f0ed5e142
[flutter_tools] Restore base/platform.dart ( #56410 )
2020-05-06 08:15:39 -07:00
James D. Lin
b7fd24a7dc
[flutter tools] Move _informUserOfCrash into crash_reporting.dart ( #55614 )
2020-04-28 10:34:03 -07:00
Jonah Williams
8df0d68633
[flutter_tools] remove globals from pub ( #55412 )
2020-04-22 16:34:12 -07:00
Jenn Magder
8109dcc2b4
CrashReportSender dependency injection ( #54924 )
2020-04-20 15:23:09 -07:00
Jenn Magder
fc76fc2a96
Move GitHubTemplateCreator into reporting library ( #55002 )
2020-04-17 10:47:12 -07:00
Jenn Magder
602475e56f
Sanitize error message sent to GitHub crash reporter ( #53936 )
2020-04-06 11:00:22 -07:00
Jenn Magder
85ad699865
Remove URL shortening from GitHub reporter similar issues URL ( #53882 )
2020-04-03 10:32:55 -07:00
Jenn Magder
77ea848c46
Inject Usage dependency into FallbackDiscovery and BuildEvent ( #53443 )
...
* Usage dependency injection
* Review edits
2020-04-02 10:57:37 -07:00
Jenn Magder
ce40fbaf51
Include metadata in GitHub crash template ( #53118 )
2020-03-27 16:21:45 -07:00
Zachary Anderson
e8778da12c
[flutter_tools] Don't crash when analytics fails to initialize ( #52775 )
2020-03-18 10:00:14 -07:00
Jenn Magder
f6a55125d2
Add usage event for failed iOS project migration ( #51879 )
2020-03-06 12:14:29 -08:00
Zachary Anderson
6c408a0567
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #52021 )
...
* Reland: [flutter_tool] Where possible, catch only subtypes of Exception
* Add armv7f to getIOSArchForName
2020-03-06 10:22:12 -08:00
Jenn Magder
cbbb7ec5a7
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )" ( #51960 )
...
This reverts commit 57c6721cd5
.
2020-03-04 12:40:15 -08:00
Flutter GitHub Bot
57c6721cd5
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )
2020-03-04 11:41:02 -08:00
Zachary Anderson
b32ee2f15c
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )" ( #51616 )
...
This reverts commit 9de7787f25
.
2020-02-27 22:57:13 -08:00
Zachary Anderson
9de7787f25
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )
2020-02-27 22:46:23 -08:00
Zachary Anderson
483f49962c
Revert "[flutter_tool] Where possible, catch only subtypes of Exception ( #51440 )" ( #51539 )
...
This reverts commit f1cd47ef5c
.
2020-02-26 23:42:19 -08:00
Zachary Anderson
f1cd47ef5c
[flutter_tool] Where possible, catch only subtypes of Exception ( #51440 )
2020-02-26 21:45:02 -08:00
Alexandre Ardhuin
7d7ac7c32b
start multiline strings with newline ( #50825 )
2020-02-20 10:16:28 +01:00
Zachary Anderson
b9ecebf101
Reland: [flutter_tools] Disable analytics for more bots ( #50641 )
2020-02-12 10:58:02 -08:00
Zachary Anderson
1903ce012e
Revert "[flutter_tools] Disable analytics for more bots ( #50579 )" ( #50622 )
...
This reverts commit 0a38f29c0d
.
2020-02-11 22:47:41 -08:00
Zachary Anderson
0a38f29c0d
[flutter_tools] Disable analytics for more bots ( #50579 )
2020-02-11 15:48:02 -08:00
Zachary Anderson
103b12fc11
[flutter_tools] Isolate userHomePath, other cleanups ( #50125 )
2020-02-04 18:03:03 -08:00
Alexandre Ardhuin
b5f328e37e
remove unnecessary string interpolations ( #49622 )
2020-01-31 18:30:21 +01:00
Zachary Anderson
92f7e16312
[flutter_tools] Make OperatingSystemUtils context-free ( #49740 )
2020-01-29 17:51:31 -08:00
Dan Field
fabeb2a16f
Revert string interp ( #49602 )
2020-01-28 07:56:51 -08:00