Christopher Fujino
3736274a6d
Revert "[flutter_tools] Remove sound null safety flag ( #123031 )" ( #123280 )
...
Revert "[flutter_tools] Remove sound null safety flag (#123031 )"
2023-03-22 22:53:49 +00:00
Christopher Fujino
f4c3facfdd
Revert "Revert "[flutter_tools] Remove sound null safety flag ( #120936 )" ( #122909 )" ( #123031 )
...
[flutter_tools] Remove sound null safety flag #2
2023-03-20 22:32:07 +00:00
Christopher Fujino
f6bc147c91
Revert "[flutter_tools] Remove sound null safety flag ( #120936 )" ( #122909 )
...
This reverts commit 7c3088cf22
.
2023-03-17 11:31:48 -07:00
Christopher Fujino
7c3088cf22
[flutter_tools] Remove sound null safety flag ( #120936 )
...
[flutter_tools] Remove sound null safety flag
2023-03-17 17:48:35 +00:00
Victoria Ashworth
27248d4b64
Separate attached and wireless devices ( #122615 )
...
Separate attached and wireless devices
2023-03-15 16:35:05 +00:00
Victoria Ashworth
ee42a302ec
Move target devices logic to its own classes and file ( #121903 )
...
Move target devices logic to its own classes and file
2023-03-13 16:14:21 +00:00
Daco Harkes
0521c60cd2
Support --local-engine=ios_debug_sim ( #119524 )
...
Fixes:
* https://github.com/flutter/flutter/issues/119523
2023-02-09 18:32:52 +00:00
Christopher Fujino
374f09e1a6
[flutter_tools] No more implicit --no-sound-null-safety ( #118491 )
...
* remove implicit no-sound-null-safety
* add test
* bump sdk constraint in test file
2023-01-18 20:46:09 +00:00
Andrew Kolos
ee1c59d462
reduce pub output from flutter create ( #118285 )
...
* reduce pub output from flutter create
* fix fake Pub implementations
* fix tests
* Update pub.dart
* replace enum with simpler boolean
* fix tests
* Revert "fix tests"
This reverts commit 8a3182d3b9
.
* Revert "replace enum with simpler boolean"
This reverts commit 445dbc443d
.
* go back to using an enum
2023-01-12 21:42:02 +00:00
Sigurd Meldgaard
b7881e5b64
Align flutter pub get/upgrade/add/remove/downgrade
( #117896 )
...
* Align `flutter pub get/upgrade/add/remove/downgrade`
* Add final . to command description
* Remove trailing whitespace
* Don't print message that command is being run
* Update expectations
* Use relative path
* Remove duplicated line
* Improve function dartdoc
2023-01-10 23:29:09 +00:00
Jackson Gardner
db1c3e208d
Platform binaries reland ( #115502 )
...
You can now specify a --local-web-sdk flag to point to a wasm_release folder. This will make it so that only artifacts that pertain to the web sdk are overridden to point to the wasm_release folder. Other artifacts (such as impellerc) will pull from the cache, or from the --local-engine path if that is specified.
This also uses precompiled platform kernel files for both ddc and dart2js
2022-12-02 14:13:40 -08:00
Jenn Magder
2e51077d19
Do not strip architecture suffixes from host local-engine ( #115320 )
...
* Do not strip suffices from host local-engine
* suffixes
2022-11-15 01:36:49 +00:00
Jonah Williams
8230ef5e85
Revert "[web] Add --local-web-sdk
flag and use precompiled platform kernels for dart2js and ddc ( #114639 )" ( #115242 )
...
This reverts commit 0e9ee3679c
.
2022-11-13 20:23:26 +00:00
Jackson Gardner
0e9ee3679c
[web] Add --local-web-sdk
flag and use precompiled platform kernels for dart2js and ddc ( #114639 )
...
* Dart2JS build step looks for compiled platform binaries.
* Use new locations of platform binaries.
* Added --local-web-sdk command line flag.
* Need to use the matching frontend server when doing ddc stuff.
* Update packages/flutter_tools/lib/src/test/web_test_compiler.dart
Co-authored-by: Mouad Debbar <mouad.debbar@gmail.com>
* Update packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
Co-authored-by: Mouad Debbar <mouad.debbar@gmail.com>
* Formatting issues.
* Need to use URI format for platform dill.
* Fix resident runner tests.
* Fix analysis issue.
* Fix and add unit tests.
* Add some useful comments.
* Refine doc comments for flags.
Co-authored-by: Mouad Debbar <mouad.debbar@gmail.com>
2022-11-12 01:31:10 +00:00
Mouad Debbar
2dd87fbdf2
Fix --local-engine for the new web/wasm mode ( #113759 )
2022-10-24 20:43:09 +00:00
Lau Ching Jun
944a4c9714
Write crash report in temp directory if writing to CWD failed. ( #113316 )
2022-10-12 17:13:24 +00:00
Lau Ching Jun
2a73ce9b50
Refactor DeviceManager.findTargetDevices()
and FlutterCommand.findAllTargetDevices()
, and add a flag to not show prompt. ( #112223 )
2022-09-23 21:10:35 +00:00
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
Sigurd Meldgaard
d80e994a62
Reland: Show output from pub get in flutter pub get ( #110851 )
2022-09-08 15:13:23 +02:00
Christopher Fujino
08d5d51a98
[flutter_tools] Instantiate shutdown hooks before localfilesystem ( #110693 )
2022-09-02 17:38:56 +00:00
Pierre-Louis
0c2f7bc2a2
Remove errant double spaces ( #110758 )
2022-09-02 04:00:58 +00:00
Zachary Anderson
0e195e9d46
Revert "Show output from pub get
in flutter pub get
( #106300 )" ( #110478 )
...
This reverts commit 3802eb627e
.
2022-08-29 08:02:50 -07:00
Sigurd Meldgaard
3802eb627e
Show output from pub get
in flutter pub get
( #106300 )
2022-08-29 07:37:19 +00:00
Anurag Roy
47b40601d7
[flutter_tools] Have FlutterValidator fail on non-ideal git config ( #103259 )
2022-06-20 19:05:07 +00:00
Jenn Magder
a56c5e51ae
Migrate some test files to null safety ( #104469 )
2022-05-24 16:53:08 -07:00
Jenn Magder
c6ced845e3
Remove custom unawaited
, prefer dart:async
version ( #103212 )
2022-05-07 08:49:04 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Jonah Williams
944fcda67f
[flutter_tools] remove UWP tooling ( #102174 )
2022-04-26 11:19:07 -07:00
Jesús S Guerrero
3394fb4a58
[flutter_tools] fix flutter create --offline ( #100941 )
...
Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
2022-04-07 17:05:49 -07:00
Lau Ching Jun
dbed10bb59
Pass 'assume-initialize-from-dill-up-to-date' flag to the frontend server ( #99791 )
2022-03-09 00:30:17 -08:00
Lau Ching Jun
d7688ca093
Change all instance of throwing strings to throw specific error classes. ( #97325 )
2022-02-02 10:45:18 -08:00
Jenn Magder
1c0eade94c
Hide PII from doctor validators for GitHub template ( #96250 )
2022-01-10 13:20:21 -08:00
crisboarna
eb1a851f58
feat(flutter_tools): Added doctor host validation feat ( #95386 )
2021-12-16 08:02:13 -08:00
Christopher Fujino
e8ec8a0dfb
[flutter_tools] Catch lack of flutter tools source missing ( #93168 )
2021-11-12 14:43:52 -08:00
Kenzie (Schmoll) Davisson
7748731903
Add DevTools version to flutter --version
and flutter doctor -v
output. ( #93065 )
...
* Add DevTools version to `flutter --version` output.
* review comments
* fix test
* add explanatory comment
* dummy commit to kick bots
Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
2021-11-11 14:40:22 -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
Jenn Magder
6987c9fb82
Migrate crash_reporting and github_template ( #91516 )
2021-10-12 13:48: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
Ian Hickson
f25b833f27
Enable avoid_print
lint. ( #91444 )
2021-10-07 16:48:04 -07:00
Mouad Debbar
c2ea78d231
Revert "Enable avoid_print
lint. ( #91332 )" ( #91438 )
...
This reverts commit cb378edc9e
.
2021-10-07 16:16:17 -04:00
Ian Hickson
cb378edc9e
Enable avoid_print
lint. ( #91332 )
2021-10-07 09:53:03 -07:00
Greg Spencer
01af8e5987
Make flutter update-packages
run in parallel ( #91006 )
...
This modifies the flutter update-packages and flutter update-packages --force-upgrade commands so that the many invocations of "dart pub get" in each repo project run in parallel instead of in series.
2021-09-30 10:26:31 -07:00
Remi Rousselet
1995da2c0c
Disable the automatic "pub get" if the project is using a third-party tool for linking dependencies. ( #86177 )
2021-07-19 08:06:03 -07:00
Ahmed Ashour
529a599ce6
Fix some indentation ( #84967 )
2021-07-01 13:41:04 -07:00
Jenn Magder
4c6a9dcb40
Migrate a few tool libraries to null safety ( #83862 )
2021-06-04 10:49:04 -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