Liam Appelbe
ec75399beb
Null safety migration of packages/flutter_tools/test/general.shard, part 1/2 ( #110711 )
...
* Migrate packages/flutter_tools/test/general.shard, part 1/2
* Fix most of the tests
* Fix analysis
* Fix analysis
* Fix test
* Fix analysis
* Fix analysis
* Fix nit
2022-09-08 15:25:27 -07:00
Michael Thomsen
242bb67d19
Update null safety warnings in prep for Dart 3 ( #110998 )
2022-09-07 14:59:25 +02:00
Rich Kadel
549f70c914
Remove outdated Fuchsia concepts ( #107335 )
...
Fuchsia will soon remove all support for Component Framework version 1
components (recognized by component manifests ending in `.cmx`).
Notably, some of the `flutter` tool commands for Fuchsia devices--
notably, but not limited to, those related to CFv1--are outdated, and
either do not work today or soon won't work.
This PR removes the outdated components and commands, replacing some
with the newer version, or simply removing the non-working features,
in some cases.
2022-07-22 16:42:48 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Jenn Magder
a5137399dd
Migrate analyze commands to null safety ( #95442 )
2021-12-22 12:14:19 -08:00
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
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
Jenn Magder
d550d497f1
Migrate some flutter_tools tests to null safety ( #88850 )
2021-08-25 16:21:04 -07:00
Ahmed Ashour
9492e13c45
Reland [flutter_tools] show only supported sub commands ( #86153 )
2021-07-22 13:41:03 -07:00
Zachary Anderson
c589a0c322
Revert "[flutter_tools] show only supported sub commands ( #85125 )" ( #86131 )
...
This reverts commit 84e576786c
.
2021-07-08 15:58:05 -07:00
Ahmed Ashour
84e576786c
[flutter_tools] show only supported sub commands ( #85125 )
2021-07-08 14:56:06 -07:00
Jenn Magder
19eab105a5
Migrate build_system, exceptions, and source to null safety ( #83147 )
2021-05-24 10:29:04 -07:00
Jenn Magder
95d7d671c6
Remove analyze --dartdocs flag ( #80484 )
2021-04-18 09:29:02 -07:00
Hidenori Matsubayashi
4cc0ab2d19
[flutter_tools] Add ARM64 Linux host and cross-building option support ( #61221 )
2021-02-12 14:25:30 -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
Michael Thomsen
914c9aa304
Rephrase null safety mode ( #74306 )
2021-01-20 19:42:16 +01:00
Jonah Williams
ed66037f51
[flutter_tools] describe current null safety build mode ( #73426 )
2021-01-07 10:26:51 -08:00
Jenn Magder
c2d1203f26
Remove deprecated 'flutter build aot' ( #70898 )
2020-11-20 10:46:12 -08:00
Jonah Williams
9e5e763ebe
[flutter_tools] document flutter root initialization ( #67884 )
...
Moves the flutter root initialization to a static method on the cache. This is a small step towards making this functionality non-static and instead injected like normal members - however, completely removing all of the static-ness at once was too large of a change.
Instead document and add unit tests and change existing code as little as possible.
#47161
2020-10-27 15:20:07 -07:00
Jonah Williams
08576cb671
[flutter_tools] HACKTOBERFEST ( #67882 )
...
HACKTOBERFEST
2020-10-12 09:31:02 -07:00
Jenn Magder
98aeef2d98
Build xcarchive command ( #67598 )
2020-10-08 19:51:35 -07:00
Jonah Williams
fbd29b8880
[flutter_tools] fix formatting regression in analyze and add full coverage ( #62593 )
2020-07-30 13:41:02 -07:00
Jonah Williams
78a975444a
[flutter_tools] revert dart format changes ( #61760 )
2020-07-20 07:41:05 -07:00
Jonah Williams
4bb6096086
[flutter_tools] surface null safety/experiment flags in attach ( #60317 )
...
Missed this one. Needed for google3 and add2app workflows
2020-06-25 15:44:57 -07:00
Jenn Magder
c8e53b3859
Add null safety options to build ios-framework ( #60111 )
2020-06-23 14:35:45 -07:00
Jonah Williams
01e09ea8af
[flutter_tools] add missing null-safety flags ( #59773 )
...
Some of the null-safety commands were missing - plumb them through. Ensure that verbose mode shows their output, and clean up the messaging around sound-null-safety.
Fixes #59769
Adds a test that validate each of the null safety supporting build commands has everything plumbed through.
2020-06-18 12:34:35 -07:00
Jonah Williams
5722adf11d
[flutter_tools] remove deprecation warning on flutter format ( #58817 )
...
So that we have a release where both are available without a deprecation warning.
2020-06-05 12:40:02 -07:00
Jenn Magder
95edf28150
Move create project build tests to permeable subshard ( #58645 )
2020-06-03 17:41:15 -07:00
Jonah Williams
7cdf26d0dc
[flutter_tools] forward flutter format to dart format and deprecate ( #57829 )
2020-05-28 11:28:08 -07:00
Jonah Williams
a2cf9ecc46
[flutter_tools] expose track-widget-creation to build aar ( #57117 )
2020-05-14 11:17:06 -07:00
Jonah Williams
2304838a98
[flutter_tools] fix aar defaults test ( #56694 )
2020-05-08 10:04:04 -07:00
Jonah Williams
717f9de662
[flutter_tools] enable tree-shake-icons by default for non-web targets ( #56633 )
...
Enable tree-shake-icons by default for non-web targets. Make missing fonts a status print
2020-05-08 09:42:43 -07:00
Jenn Magder
0a4f6cdef0
Add split-debug and obfuscation to build aar ( #56342 )
2020-05-07 18:14:02 -07:00
Jonah Williams
2a5690f097
[flutter_tools] fix iOS build inconsistencies and pipe through performance file ( #56094 )
...
Ensure iOS and android builds can be correctly cached. Use the performance-measurement-file to verify that all targets were skipped on the second invocation. This is only run on the flutter_gallery build.
2020-05-01 15:34:28 -07:00
Jonah Williams
a58d50deb1
[flutter_tools] allow pulling performance data from assemble ( #55699 )
2020-04-29 13:04:59 -07:00
kwkr
1ac09088c3
Fix/use contains ignoring whitespace ( #55887 )
2020-04-28 13:12:12 -07:00
Jonah Williams
27d11da88f
Revert "[flutter_tools] default tree-shake-icons to enabled and improve performance ( #54923 )" ( #55413 )
...
This reverts commit 0b93a9219b
.
2020-04-22 15:43:09 -07:00
Jonah Williams
0b93a9219b
[flutter_tools] default tree-shake-icons to enabled and improve performance ( #54923 )
2020-04-22 13:17:46 -07:00
kwkr
d21ab5184a
Fix/set mocks defaults ( #54756 )
2020-04-20 12:20:03 -07:00
Jonah Williams
e092dcfa22
[flutter_tools] Reland: fix multiple dart defines ( #54973 )
2020-04-16 10:56:49 -07:00
Jonah Williams
11ab2fa35c
Revert "[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )" ( #54967 )
...
This reverts commit b8bd09db21
.
2020-04-16 08:33:16 -07:00
Jonah Williams
b8bd09db21
[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )
2020-04-15 22:25:32 -07:00
Jonah Williams
e23c4796a3
Expose extra frontend options through build apk/ios/macOS ( #53273 )
...
This will allow experimenting with the remove to string transformer before we're ready to turn it on by default. This doesn't work for web yet since we use dart2js instead of the frontend_server for producing kernel
2020-03-25 16:56:41 -07:00
Jenn Magder
70c651b0a4
Move BuildSystem to globals ( #53139 )
2020-03-24 11:23:10 -07:00
Jonah Williams
590f22ce82
[flutter_tools] restore report timings functionality to build aot ( #52918 )
2020-03-20 13:46:19 -07:00
Jonah Williams
542feb4736
[flutter_tools] remove unused Snapshot.dart artifact and associated code ( #52821 )
2020-03-18 09:18:41 -07:00
Dan Field
02769001d3
Android SDK test fixes ( #52144 )
2020-03-12 10:53:23 -07:00