Liam Appelbe
4453ba0a4d
Null safety migration of packages/flutter_tools/test/general.shard, part 2/2 ( #110712 )
...
* Migrate packages/flutter_tools/test/general.shard, part 2/2
* Fix analysis
* Fix tests
* Fix analysis
* Apply suggestions from code review
Co-authored-by: Christopher Fujino <fujino@google.com>
Co-authored-by: Christopher Fujino <fujino@google.com>
2022-09-07 12:28:52 -07:00
Christopher Fujino
6e95067273
[flutter_tools] Fix _CastError in HotRunner._resetDirtyAssets ( #108771 )
2022-08-24 23:40:19 +00:00
Jonah Williams
921c80302c
[flutter_tools] support hot reload of font assets ( #109091 )
2022-08-08 20:42:06 +00:00
Jonah Williams
f62da01068
[flutter_tools] ensure setAssetDirectory uses windows path ( #109021 )
2022-08-05 15:44:08 +00:00
Jonah Williams
7e683c023a
[flutter_tools] add tool support for shader hot reload ( #107963 )
2022-07-27 03:31:06 +00:00
Sam Rawlins
f104be7ae9
Ignore body_might_complete_normally_catch_error violations ( #105795 )
2022-06-16 23:12:06 +00:00
Jonah Williams
92034482f9
[flutter_tool] partial null safety migration of tool source code ( #105798 )
2022-06-15 20:02:07 +00:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Kaushik Iska
aeaeded715
Add VMService command to get frame rasterization metrics ( #100696 )
2022-04-14 13:44:05 -07:00
Tomasz Gucio
e4351ff053
Enable use_if_null_to_convert_nulls_to_bools lint ( #98753 )
2022-02-22 14:39:20 -08:00
Collin Jackson
10fbbafe09
[flutter_tools] Use proper project name in templates ( #96373 )
2022-02-02 06:50:14 -08:00
Jenn Magder
f4d1bfedd2
Migrate tracing to null safety ( #92849 )
2021-11-05 15:58:07 -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
Christopher Fujino
91dd3276fd
migrate vm service to null safety ( #88320 )
2021-10-02 10:18:03 -07:00
Jenn Magder
84086d8a9c
Clean up null assumptions in vmservice for null safe migration ( #89009 )
2021-09-09 19:32:02 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker ( #86837 )
2021-07-21 21:51:06 -07:00
Alexandre Ardhuin
80990c21e2
code formatting ( #85783 )
2021-07-07 23:06:05 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors ( #83744 )
2021-06-02 10:14:06 -07:00
Jonah Williams
5c09eecd0d
[flutter_tools] remove special casing of web listview requests ( #82826 )
2021-05-18 13:19:03 -07:00
Dan Field
f82794c968
Fix missing logger ( #82064 )
2021-05-08 23:29:03 -07:00
Jonah Williams
d8d8534362
[flutter_tools] remove usage of getIsolate in extension waiter ( #80960 )
2021-04-22 10:47:57 -07:00
Jonah Williams
e67f14e511
[flutter_tools] handle missing method on exit, debugDumpX ( #80890 )
2021-04-22 09:59:04 -07:00
Jonah Williams
5a5eb2d963
[flutter_tools] connect devtools deeplink URLs for web target platform / debug mode ( #80389 )
2021-04-15 10:52:09 -07:00
Ben Konyi
75a44a29ad
[ Web ] Register service extensions with DDS, not DWDS ( #79479 )
2021-04-02 18:19:04 -07:00
Jonah Williams
4ae68a3aa2
[flutter_tools] Move sksl writing out of vm_service ( #79455 )
2021-04-01 13:23:40 -07:00
Jonah Williams
e870f5d123
[flutter_tools] use Url path.Context for joining URI ( #79566 )
2021-04-01 11:32:49 -07:00
Jonah Williams
430626d0f3
[flutter_tools] use existing service implementations for web ( #78995 )
2021-03-29 21:44:03 -07:00
Michael Goderbauer
a7e3b1a35d
Clean up ignores that are not ignoring anything ( #78493 )
2021-03-19 15:32:46 -07:00
Jia Hao
9fdda01252
[flutter_tools] Generalize waitForExtension ( #77220 )
2021-03-11 07:31:25 +08:00
Jonah Williams
a3b14c58ae
[flutter_tools] replace vm_service extension methods with wrapper class ( #76721 )
2021-02-24 15:40:33 -08:00
Jonah Williams
820fb0bf2b
[flutter_tools] stop using throttled print for service extensions ( #76022 )
2021-02-16 12:11:57 -08:00
Jenn Magder
3f163d29a4
Return an empty FlutterViews list when the service disappears ( #75301 )
2021-02-03 11:01:03 -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
Zachary Anderson
2007186d2e
Reland: Handle more cases where the tool receives RPCError 112 ( #74602 )
...
* Reland: Handle more cases where the tool receives RPCError 112
* Add null-aware access
2021-01-24 12:54:00 -08:00
Zachary Anderson
6be4d1c8bf
Revert "Handle more cases where the tool receives RPCError 112 ( #74574 )" ( #74601 )
...
This reverts commit c87f15fe09
.
2021-01-24 09:52:27 -08:00
Zachary Anderson
c87f15fe09
Handle more cases where the tool receives RPCError 112 ( #74574 )
2021-01-23 23:11:15 -08:00
Ben Konyi
35b9288e13
Handle RPCError when VM service disappears while invoking VmService.getIsolate
( #74528 )
...
* Handle RPCError when VM service disappears while invoking `VmService.getIsolate`
* Add test
2021-01-22 17:21:39 -08:00
Ben Konyi
08068fd94c
Handle service disappeared RPCError when VM service connection disappears ( #74424 )
...
* Handle service disappeared RPCError when VM service connection
disappears while invoking a service extension registered by the
framework
* Add unit test, handle non-trivial cases
2021-01-21 22:51:03 -08:00
Ben Konyi
e2e3976a12
Roll package:dds to 1.7.3 and add error handling for VM service disappearing ( #74272 )
2021-01-20 10:49:13 -08:00
Gary Roumanis
705811fee2
Fix launching DevTools with Flutter Web applications ( #72110 )
2021-01-07 15:49:09 -08:00
Jonah Williams
183fe75d58
[flutter_tools] reland: drive service ( #68887 )
...
Overhaul of flutter drive in order to deliver a better experience, namely:
* flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive.
* Removes web-initialize-platform as this is no longer used
* flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service.
* VM service connection now provides access to memory info without launching devtools (only for debug/profile mode)
Web changes
* Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible
Additional NNBD related bug fixes:
No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
2020-10-26 10:11:30 -07:00
Jonah Williams
1edec6fc20
Revert "[flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web ( #68451 )" ( #68845 )
...
This reverts commit 2e75f52ae4
.
2020-10-22 19:39:33 -07:00
Jonah Williams
2e75f52ae4
[flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web ( #68451 )
...
Overhaul of flutter drive in order to deliver a better experience, namely:
flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive.
Removes web-initialize-platform as this is no longer used
flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service.
VM service connection now provides access to memory info without launching devtools (only for debug/profile mode)
Web changes
Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible
Additional NNBD related bug fixes:
No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
2020-10-22 15:07:02 -07:00
Jonah Williams
08576cb671
[flutter_tools] HACKTOBERFEST ( #67882 )
...
HACKTOBERFEST
2020-10-12 09:31:02 -07:00
Jonah Williams
3a51bcb5c0
[flutter_tools] delete code related to reload method ( #67279 )
...
This functionality ultimately became the single widget reload optimization, which did not require a separate service protocol.
2020-10-05 09:57:10 -07:00
Jonah Williams
a19f5baccc
[flutter_tools] connect widget cache from frontend_server ( #65951 )
2020-09-19 11:02:04 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
Jonah Williams
042fa8cf66
[flutter_tools] trim trailing newline from vm service logging events ( #63976 )
2020-08-17 12:26:03 -07:00