Christopher Fujino
eead1efe5f
[flutter_tools] Fix type error in ChromiumDevice.startApp ( #111935 )
2022-09-20 18:10:13 +00:00
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
Jonah Williams
428cafadb0
[flutter_tools] migrate some files to null safety ( #110354 )
2022-08-26 18:03:04 +00:00
Christopher Fujino
017dd3e7d6
[flutter_tools] Fix race condition with completer in devfs_web ( #109059 )
2022-08-09 23:57:06 +00:00
Michael Goderbauer
c22b7f697f
Add avoid_redundant_argument_values ignores back ( #108984 )
2022-08-04 09:59:57 -07:00
Michael Goderbauer
e27a19e3f8
Remove outdated ignores ( #108924 )
2022-08-03 23:37:05 +00:00
Jonah Williams
7e683c023a
[flutter_tools] add tool support for shader hot reload ( #107963 )
2022-07-27 03:31:06 +00:00
Lau Ching Jun
922eea8763
Dart registrant location ( #107967 )
2022-07-20 08:51:04 +00:00
David Iglesias
d72f08f50f
[web][debug] Remove RequireJS timeouts for debug builds. ( #107868 )
2022-07-19 22:56:05 +00:00
Christopher Fujino
81045d4a44
Revert "Read dart_plugin_registrant path from FlutterProject to support non-standard path." ( #107850 )
2022-07-18 19:58:10 +00:00
Lau Ching Jun
8f834cf150
Read dart_plugin_registrant path from FlutterProject to support non-standard path. ( #107617 )
2022-07-15 12:33:07 -07:00
Gustl22
47f54ace45
feat(tools): Arbitrary browser flags ( closes #65575 ) ( #104935 )
2022-06-24 10:14:08 -07:00
Jonah Williams
92034482f9
[flutter_tool] partial null safety migration of tool source code ( #105798 )
2022-06-15 20:02:07 +00:00
Anna Gringauze
5cd979e441
Retry getting tabs in chrome launcher on ConnectionException ( #104218 )
2022-05-26 15:20:11 -07:00
David Iglesias
1af8cc1183
[tools][web] Make Plugin Registrant file ephemeral. ( #102185 )
2022-05-11 17:54:11 -07:00
Anna Gringauze
29fecb5980
Provide flutter sdk kernel files to dwds launcher instead of dart ones ( #103436 )
...
* Provide flutter sdk kernel files to dwds launcher instead of dart ones
* Update log test to report all warnings
* Update licences for new files
* Addressed CR comments
* Addressed CR comments
2022-05-11 08:52:43 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Christopher Fujino
5a3e10047f
[flutter_tools] Add test that "Unresolve URI" warnings from DWDS are filtered from logs ( #102399 )
2022-04-22 15:29:07 -07:00
David Iglesias
e52b777a2c
[web] flutter.js initialization with ui.webOnlyWarmupEngine ( #100177 )
2022-03-30 23:00:09 -07:00
Sergey Fedotov
2a4e573dcd
Serve assets with correct content-type header value ( #94357 )
2021-12-08 12:29:07 -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
Christopher Fujino
34ec94a16d
[flutter_tools] migrate web_device.dart to null-safety ( #91632 )
2021-10-19 01:33:08 -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
Ian Hickson
4315cdcf76
Some test cleanup for flutter_tools. ( #90227 )
2021-10-01 10:38:02 -07:00
stuartmorgan
97fb8c0560
Fix Dart plugin registrant interaction with 'flutter test' ( #90288 )
...
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
- Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
- Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.
Fixes https://github.com/flutter/flutter/issues/88794
2021-09-30 20:25:13 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos ( #89485 )
2021-09-07 14:56:04 -07:00
Jason Simmons
ddb8bfb72b
Fix URL construction in the test entry point generated by the web bootstrap script ( #88201 )
2021-08-16 14:12:05 -07:00
Anna Gringauze
44d9af80cb
Flutter_tools for web: report error messages with stacks on exit ( #87386 )
...
* Flutter_tools for web platform: report error messages with stacks on toolExit
Print error messages and stacks in verbose mode before calling
`throwToolExit` on communication errors to chrome and dwds.
This will help us disagnose CI flakes:
Helps: https://github.com/flutter/flutter/issues/84012
Closes: https://github.com/flutter/flutter/issues/87149
* Added tests
* Extend timeout for testing failure to connect to chrome
* Update rest of chrome tests to await until matching is finished
2021-08-03 10:51:35 -07:00
Jonah Williams
88e756d19e
[flutter_tools] well known device ids ( #85184 )
2021-06-24 18:46:04 -07:00
Jonah Williams
ad540e4f3f
[flutter_tools] retry chrome launch up to 3 times ( #85162 )
2021-06-23 19:26:02 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors ( #83744 )
2021-06-02 10:14:06 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Jonah Williams
03a3e7b1e4
Revert "[flutter_tools] fix top web crasher ( #83272 )" ( #83376 )
2021-05-25 17:49:04 -07:00
Jonah Williams
a8ec764609
[flutter_tools] fix top web crasher ( #83272 )
2021-05-24 18:04:02 -07:00
Jenn Magder
0d79013a81
Move globals.artifacts to globals_null_migrated, update imports ( #83137 )
2021-05-21 18:35:02 -07:00
nt4f04uNd
80a2b6b015
Fix typos ( #82589 )
2021-05-20 17:19:09 -07:00
Balvinder Singh Gambhir
4a33813b35
[flutter_tools] added base-href command in web ( #80519 )
2021-05-19 12:39:02 -07:00
Hattomo (TomohiroHattori)
08a70e7ac8
Enable avoid_escaping_inner_quotes lint ( #81153 )
2021-05-19 09:54:02 -07:00
Gary Roumanis
e3fd8dbfd5
Update loader style ( #82485 )
2021-05-13 22:59:03 -07:00
Gary Roumanis
0cb0767bd7
Flutter Web Loading Indicator ( #81581 )
2021-04-30 21:04:02 -07:00
Jonah Williams
3bc2378ad2
[flutter_tools] remove mocks from devfs web, cache, and xcode migrator test ( #81475 )
2021-04-30 17:24:04 -07:00
Jonah Williams
e3625706a8
[flutter_tools] remove mocks, globals from golden comparator and test runner tests | Reland
...
This reverts commit 027d4ecaba
.
2021-04-29 22:40:59 -07:00
Michael Goderbauer
027d4ecaba
Revert "[flutter_tools] remove mocks, globals from golden comparator and test runner tests ( #81423 )" ( #81487 )
...
This reverts commit 8fe4cc7964
.
2021-04-29 10:56:57 -07:00
Jonah Williams
8fe4cc7964
[flutter_tools] remove mocks, globals from golden comparator and test runner tests ( #81423 )
2021-04-29 07:56:34 -07:00
Jonah Williams
064eae8c38
[flutter_tools] remove mocks and fix fake imports ( #81309 )
2021-04-27 11:51:41 -07:00
Jonah Williams
52661bc713
[flutter_tools] skip copying 1GB of data from chrome cache dirs ( #81170 )
...
* [flutter_tools] skip copying 1GB of data from chrome cache dirs
* Update chrome.dart
2021-04-26 13:02:42 -07:00
Emmanuel Garcia
b0a63c4ffe
Reland the Dart plugin registry ( #79669 )
2021-04-23 15:34:04 -07:00