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
stuartmorgan
ed61608a9d
Set TargetFile define for resident builds ( #92511 )
...
Dart plugin registration generation depends on the target main file
being set as a define so that it's available in the environment, but the
resident runner wasn't setting it. That worked for initial builds
because of the re-entrant call to `assemble` (which does set it), but
caused Hot Restart to always re-generate the wrapper using
lib/main.dart.
This ensures that the define is set in that codepath as well.
Fixes https://github.com/flutter/flutter/issues/91535
2021-10-27 09:25:15 -07:00
Ben Konyi
ac3c44355a
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )" ( #92235 )
...
This reverts commit ba0321e95db8a166c854c4ace5546de35bcb75c5.
2021-10-20 22:05:49 -07:00
Ben Konyi
ba0321e95d
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )
...
This reverts commit dc7fea8d197c5ebf192e8e6dc2d8773556a3dd7b.
2021-10-20 19:20:17 -07:00
Gary Qian
0407aa4480
Reland "Add multidex flag and automatic multidex support ( #90944 )" ( #92049 )
2021-10-19 02:20:39 -07:00
Zachary Anderson
a9c31eca48
Revert "Add multidex flag and automatic multidex support ( #90944 )" ( #91791 )
...
This reverts commit 1d9edde0793b824142f8b3647fb181224fa9965d.
2021-10-13 23:09:50 -07:00
Gary Qian
1d9edde079
Add multidex flag and automatic multidex support ( #90944 )
2021-10-13 17:48:04 -07:00
Ian Hickson
7b01346c5c
Enable no_default_cases lint ( #91530 )
2021-10-11 10:23:04 -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 5fd259be244244e14ff87fee9b6a721625f952cd.
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
stuartmorgan
64fd68ed42
Don't generate plugin registry in ResidentWebRunner ( #91281 )
...
* Don't generate plugin registry in ResidentWebRunner
generateDartPluginRegistry was being set to true unconditionally in
ResidentRunner, bypassing the primary check in
DartPluginRegistrantTarget, and the targetPlatform was not set in that
codepath, bypassing the second after the changes in
https://github.com/flutter/flutter/pull/87991 . This caused web hot
restarts to be slower due to doing unnecessary work.
This ensures that generateDartPluginRegistry is false in the
ResidentWebRunner to skip that unnecessary step.
Fixes https://github.com/flutter/flutter/issues/91262
* Formatting
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-10-05 12:27:53 -07:00
Jonah Williams
fa0782b696
reassign jonahwilliams todos ( #88707 )
2021-08-23 12:27:07 -07:00
Jenn Magder
2d55032939
Migrate dds.dart to null safety ( #88382 )
2021-08-17 21:12:03 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker ( #86837 )
2021-07-21 21:51:06 -07:00
Lau Ching Jun
f25e4fea18
Remove unnecessary variables. ( #86444 )
2021-07-15 16:56:04 -07:00
Yegor
81c91924f0
[web] use resident resident runner in flutter drive ( #86381 )
...
* [web] use resident resident runner in flutter drive
2021-07-14 08:46:38 -07:00
Jonah Williams
ff5258a5e2
[flutter_tools] convert devtools URL to a better format ( #85170 )
2021-06-23 19:31:02 -07:00
Jonah Williams
67a57eb9a5
[flutter_tools] remove feature for alternative invalidation strategy ( #84366 )
2021-06-10 11:59:04 -07:00
Lau Ching Jun
89a3c353e6
Add more analytics for hot reload in flutter_tools. ( #83972 )
2021-06-07 18:51:47 -07:00
Jonah Williams
f666f93dbb
[flutter_tools] always use device.stopApp ( #83803 )
2021-06-02 17:34:02 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors ( #83744 )
2021-06-02 10:14:06 -07:00
Lau Ching Jun
a9d6131df8
Allow passing --initialize-from-dill
to flutter run and flutter attach ( #83454 )
...
To specify the dill file that will be used to initialize the resident
compiler, instead of the default cached version.
2021-05-26 23:06:38 -07:00
Lau Ching Jun
fdb1fb184d
Add MultiRootFileSystem to better support using --filesystem-root. ( #82991 )
2021-05-24 22:04:02 -07:00
Jenn Magder
19eab105a5
Migrate build_system, exceptions, and source to null safety ( #83147 )
2021-05-24 10:29:04 -07:00
Jonah Williams
5c09eecd0d
[flutter_tools] remove special casing of web listview requests ( #82826 )
2021-05-18 13:19:03 -07:00
Jonah Williams
a3863b6592
[flutter_tools] support memory profiles from flutter drive ( #82739 )
2021-05-17 17:39:03 -07:00
Kenzie Schmoll
766b4509c6
Add 'v' hotkey to open DevTools in the browser ( #82227 )
...
* Add 'v' hotkey to open DevTools in the browser
2021-05-13 09:54:10 -07:00
Ian Hickson
0021a08c4d
Always activate DevTools if it's not installed ( #81242 )
2021-04-28 17:14:02 -07:00
Ian Hickson
e5414695d4
Change --disable-dds to --no-dds to avoid double negatives ( #80900 )
...
Also, refactor internal code to do the same.
See https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-double-negatives-in-apis
2021-04-23 16:29:38 -07:00
Emmanuel Garcia
b0a63c4ffe
Reland the Dart plugin registry ( #79669 )
2021-04-23 15:34:04 -07:00
Ian Hickson
598737adf2
Clean up the command line tool interactive help output. ( #80903 )
2021-04-22 19:34:02 -07:00
Jonah Williams
b30d97a64c
[flutter_tools] split host artifacts out of Artifacts ( #80876 )
2021-04-22 19:29:02 -07:00
Jonah Williams
e67f14e511
[flutter_tools] handle missing method on exit, debugDumpX ( #80890 )
2021-04-22 09:59:04 -07:00
Jonah Williams
fdda777e34
[flutter_tools] support screenshot on all device types ( #80616 )
...
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-04-20 15:48:26 -07:00
Jonah Williams
9904a7f472
Refactor core resident runner logic ( #80462 )
2021-04-16 17:27:35 -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
Jonah Williams
4ae68a3aa2
[flutter_tools] Move sksl writing out of vm_service ( #79455 )
2021-04-01 13:23:40 -07:00
Jonah Williams
6b3093b6af
[flutter_tools] remove globals from Device and separate FlutterDeviceManager ( #79454 )
2021-03-31 12:59:00 -07:00
Jonah Williams
430626d0f3
[flutter_tools] use existing service implementations for web ( #78995 )
2021-03-29 21:44:03 -07:00
Jonah Williams
cf6d4a35a5
[flutter_tools] guard L service extension in debug mode ( #79173 )
2021-03-29 20:54:05 -07:00
Jenn Magder
63d6ec56af
Migrate deferred_components_validator to null safety ( #78934 )
2021-03-24 15:20:05 -07:00
Zachary Anderson
5efc7169eb
Reverts "Implement dartPluginClass support for plugins #74469 " ( #78623 )
...
* Revert "Enable dart_plugin_registry_test (#76645 )"
This reverts commit 109e0bb9f55ed6e9884547843356d16897eaf6a9.
* Revert "Apply changes caused by https://github.com/flutter/flutter/pull/76662 (#77093 )"
This reverts commit cdca6485f05287bb12b1acebbbae2ba107d6c1be.
* Revert "Disable clang format in the plugin registrants (#76662 )"
This reverts commit dadbd47d097f5cce868832fa8b4d03439a5c8402.
* Revert "Disable warnings for the dart plugin registrant (#76561 )"
This reverts commit 098ece522d41f25370d19f5ec09d93ce2e727019.
* Revert "Remove dart_plugin_registry_test timeouts (#76838 )"
This reverts commit 1610a2747654dec3cabbd1d81d0bc5885b2067a2.
* Revert "Implement dartPluginClass support for plugins (#74469 )"
This reverts commit b7d4806243a4e906bf061f79a0e314ba28111aa6.
Kick.
2021-03-23 14:28:11 -07:00
Jonah Williams
9f420ffb3e
[flutter_tools] io cleanups to simplify null safety migration ( #77955 )
2021-03-12 16:21:14 -08:00
Jonah Williams
d20ec4c7d8
[flutter_tools] read expression compilation results into memory before starting next compilation ( #77867 )
2021-03-11 22:18:51 -08:00
Jonah Williams
d39d450594
[flutter_tools] remove most globals from resident web runner ( #77432 )
2021-03-08 14:38:26 -08:00
Jonah Williams
a3b14c58ae
[flutter_tools] replace vm_service extension methods with wrapper class ( #76721 )
2021-02-24 15:40:33 -08:00
Emmanuel Garcia
b7d4806243
Implement dartPluginClass support for plugins ( #74469 )
2021-02-19 09:22:45 -08:00
Jonah Williams
820fb0bf2b
[flutter_tools] stop using throttled print for service extensions ( #76022 )
2021-02-16 12:11:57 -08:00