Ben Konyi
ecd7518df5
Reland "Remove references to Observatory ( #118577 )" ( #121606 )
...
This reverts commit 275ab9c69b
.
2023-02-28 11:57:04 -05:00
Michael Goderbauer
275ab9c69b
Revert "Reland "Remove references to Observatory ( #118577 )" ( #121215 )" ( #121555 )
...
Revert "Reland "Remove references to Observatory (#118577 )""
2023-02-27 23:46:53 +00:00
Ben Konyi
fbae472fc3
Reland "Remove references to Observatory ( #118577 )" ( #121215 )
...
This reverts commit 298d8c76ba
.
2023-02-27 09:26:43 -05:00
Lioness100
26b6c1bedd
Fix typos ( #121171 )
...
* Fix typos
* lowercase animated & opacity
* Undo typo fix
---------
Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2023-02-23 19:43:21 +00:00
Ian Hickson
6205c110d6
Remove "note that" in our documentation (as per style guide) ( #120842 )
...
* lerp documentation
* Remove Note, Note That from repo
* Improve BorderSide documentation.
* apply review comments
2023-02-17 22:27:33 +00:00
Casey Hillers
298d8c76ba
Revert "Remove references to Observatory ( #118577 )" ( #120929 )
...
This reverts commit 2df140f40d
.
2023-02-16 21:28:30 -08:00
Ian Hickson
d29668ddb2
Improve network resources doctor check ( #120417 )
...
...and various other minor cleanup:
* Moved "FLUTTER_STORAGE_BASE_URL" into a constant throughout the code. There are other strings that we should do that to but this one was relevant to the code I was changing.
* Fixed the logger's handling of slow warnings. Previously it deleted too much text. Fixed the test for that to actually verify it entirely, too.
* Made the logger delete the slow warning when it's finished.
* Fixed 'Please choose one (To quit, press "q/Q")' message to be the cleaner 'Please choose one (or "q" to quit)'.
* Added a debug toString to ValidationResult for debugging purposes (not used).
* In http_host_validator:
- Shortened constant names to be clearer (e.g. kPubDevHttpHost -> kPubDev).
- Added GitHub as a tested host since when you run `flutter` we hit that immediately.
- Renamed the check "Network resources".
- Updated the `slowWarning` of the check to say which hosts are pending.
- Removed all timeout logic. Timeouts violate our style guide.
- Removed `int.parse(... ?? '10')`; passing a constant to `int.parse` is inefficient.
- Replaced the `_HostValidationResult` class with `String?` for simplicity.
- Improved the error messages to be more detailed.
- Removed all checks that dependened on the stringification of exceptions. That's very brittle.
- Added a warning specifically for HandshakeException that talks about the implications (MITM attacks).
- Replaced exception-message-parsing logic with just calling `Uri.tryParse` and validating the result.
- Replaced a lot of list-filtering logic with just a single for loop to check the results.
- Replaced code that added a constant to a known-empty list with just returning a constant list.
- Revamped the logic for deciding which hosts to check to just use a single chain of if/else blocks instead of getters, lists literals with `if` expressions, `??`, functions, etc spread over multiple places in the code.
2023-02-15 00:02:09 +00:00
Ben Konyi
2df140f40d
Remove references to Observatory ( #118577 )
...
Observatory is being deprecated for Dart 3.0 so it should no longer be
referenced in tooling messaging / flags.
See https://github.com/dart-lang/sdk/issues/50233
2023-02-13 14:29:30 -05:00
Christopher Fujino
1546fa08d3
[flutter_tools] toolExit on sdkmanager exit during doctor --android-licenses ( #120330 )
...
* tool exit on sdk manager exit and add test
* be more specific about error message
2023-02-09 18:34:02 +00:00
Christopher Fujino
aed9b4adce
Revert "Revert "Fix unable to find bundled Java version ( #119244 )" ( #119981 )" ( #120107 )
...
This reverts commit f7c2bd05f0
.
2023-02-07 21:42:20 +00:00
Christopher Fujino
b8f5394a5c
[flutter_tools] Fix Future error handling ArgumentError in doctor --android-licenses ( #119977 )
...
* wip
* write test
* make error handling printError
* remove diff
2023-02-05 07:06:19 +00:00
godofredoc
f7c2bd05f0
Revert "Fix unable to find bundled Java version ( #119244 )" ( #119981 )
...
This reverts commit 57fd50f84e
.
2023-02-04 02:57:53 +00:00
crasowas
57fd50f84e
Fix unable to find bundled Java version ( #119244 )
2023-02-03 18:04:04 -08:00
Gary Qian
5dabe102a2
Fix path name to discover debug apk on add2app builds ( #117999 )
2023-01-24 13:19:09 -08:00
Ahmed Ashour
c35efdaa68
Remove superfluous words. ( #119008 )
...
* Remove superfluous words.
* Update packages/flutter/lib/src/widgets/slotted_render_object_widget.dart
Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2023-01-24 01:57:00 +00:00
Michael Goderbauer
38630b6bd1
Remove unnecessary null checks in flutter_tool
( #118857 )
...
* dart fix --apply
* manual fixes
* fix after merge conflicts
* review
2023-01-23 21:43:08 +00:00
Camille Simon
de357647be
[Android] Bump template AGP and NDK versions ( #116536 )
...
* Bump versions
* Fix gradle errors test
2022-12-20 22:51:10 +00:00
hellohuanlin
0916375f44
[tools]Build IPA validation UI Polish ( #116744 )
...
* [tools]some ui polish for build ipa validation
* do not print out a few success validations
* rename installed type to success for more general usage
* forgot nit after reverting custom validation types and re-use doctor types
2022-12-15 14:43:32 -08:00
Jenn Magder
ada4460502
Audit covariant
usage in tool ( #116930 )
2022-12-15 11:59:34 -08: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
Zachary Anderson
73024eb703
[flutter_tool] Adds --enable-dart-profiling flag ( #115863 )
2022-11-22 15:47:51 -08:00
gaaclarke
2b0c895fa1
Updated the kotlinlang version url. ( #115782 )
...
* Updated the kotlinlang version url.
* fixed format for test
2022-11-21 21:47:25 +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
The one with the braid (she/her) | Dфҿ mit dem Zopf (sie/ihr)
2e432ec16b
chore: enable Flutter Android workflow on aarch64 ( #113829 )
...
- removes invalid arch check on Android workflow in order to enable Android development on any device supported
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-11-10 22:09:28 +00:00
Alex Li
3d94b8fd1d
[tool] Install the corresponding APK in flutter run
( #113622 )
2022-10-19 02:44:30 +00:00
godofredoc
4fa91c949a
Revert "[tool] ⚡ ️ Install the corresponding APK in flutter run
( #112768 )" ( #113614 )
...
This reverts commit 0ad71e8727
.
2022-10-18 10:04:49 -07:00
Alex Li
0ad71e8727
[tool] ⚡ ️ Install the corresponding APK in flutter run
( #112768 )
2022-10-18 02:06:30 +00:00
Lau Ching Jun
34995ba96e
Make AndroidApk nullable in stopApp. ( #113353 )
2022-10-13 17:03:57 +00:00
Jenn Magder
2f03dda55e
Fix Android Studio version string nullablity, fake AndroidStudio in test ( #113295 )
2022-10-12 18:32:55 +00:00
Brett Morgan
c0f48ba6bf
Fix for Issue #112983 ( #112985 )
2022-10-09 05:27:38 +11:00
林军华
8e30cc9c56
Revert file naming convention of .aar files to support fuzzy matching in build.gradle ( #112149 )
2022-10-04 03:37:22 +00:00
Christopher Fujino
35f8724b14
[flutter_tools] fix AndroidSdk.reinitialize bad state error ( #111527 )
2022-09-16 03:49:30 +00:00
Pierre-Louis
0c2f7bc2a2
Remove errant double spaces ( #110758 )
2022-09-02 04:00:58 +00:00
Gary Qian
beef848630
Update flutter.gradle
AGP to 7.2.0 and bump default NDK version ( #109211 )
2022-08-15 23:57:46 +00:00
Gary Qian
7cfbdadc33
Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" #108472 ( #108510 )
2022-07-28 19:38:07 -07:00
Kate Lovett
716533925b
Revert "Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" #108355 ( #108472 )" ( #108488 )
...
This reverts commit 1f8c490c82
.
2022-07-27 17:20:20 -05:00
Gary Qian
1f8c490c82
Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" #108355 ( #108472 )
2022-07-27 14:23:09 -07:00
Zachary Anderson
1e69683688
Revert "Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" ( #108355 )" ( #108407 )
...
This reverts commit c4b3625d62
.
2022-07-26 19:30:28 -07:00
Gary Qian
c4b3625d62
Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" ( #108355 )
2022-07-26 16:23:08 -07:00
Zachary Anderson
d155bc1bad
Revert "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate examples/tests ( #108197 )" ( #108349 )
...
This reverts commit ca6cecf034
.
2022-07-25 22:20:37 -07:00
Gary Qian
ca6cecf034
Upgrade Gradle and AGP versions to 7.5/7.2 and migrate examples/tests ( #108197 )
2022-07-25 15:23:08 -07:00
Christopher Fujino
cadb264d26
[flutter_tools] Catch more general XmlException rather than XmlParserException ( #107574 )
2022-07-13 22:38:07 +00:00
Jonah Williams
92034482f9
[flutter_tool] partial null safety migration of tool source code ( #105798 )
2022-06-15 20:02:07 +00:00
Emmanuel Garcia
975e04ba6d
Move corrupted zip to a separate handler and ask user ( #105054 )
2022-06-03 10:08:08 -07:00
Emmanuel Garcia
3b20fb3f89
Retry builds when SSL exceptions are thrown ( #105078 )
2022-05-31 19:53:12 -07:00
Anna Gringauze
5cd979e441
Retry getting tabs in chrome launcher on ConnectionException ( #104218 )
2022-05-26 15:20:11 -07:00
Gary Qian
cc733660ed
Add link to more detailed multidex information. ( #104558 )
2022-05-26 13:05:08 -07:00
Konstantin Scheglov
c27e88a5b1
Fix existing DUPLICATE_IMPORT diagnostics. ( #104533 )
2022-05-24 14:18:31 -07:00
Chris Sells
4c66e304d1
fixes 103234 to enable debugging Flutter apps on VR headset ( #104135 )
2022-05-20 21:58:09 -07:00
Emmanuel Garcia
0052566c7e
Show custom error message when Kotlin or Gradle bump is required ( #102421 )
2022-05-19 14:38:13 -07:00
Jonah Williams
2ad7ced916
[flutter_tools] pass --enable-impeller to android ( #104014 )
2022-05-17 15:52:09 -07:00
Jason Simmons
275fb0286c
Fix avoid_redundant_argument_values analyzer warnings enabled in the latest Dart SDK ( #103734 )
...
See https://github.com/flutter/flutter/pull/103719
2022-05-13 12:57:59 -07:00
Jenn Magder
c6ced845e3
Remove custom unawaited
, prefer dart:async
version ( #103212 )
2022-05-07 08:49:04 -07:00
Alexandre Ardhuin
d40ee2149c
remove unnecessary .toString() ( #103226 )
2022-05-06 16:04:13 -07:00
Phil Quitslund
b5e7fb076c
[flutter_tools] rename local functions with _
s ( #102688 )
2022-04-27 16:19:07 -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
Emmanuel Garcia
46cb9ede2f
Reduce Gradle log level in verbose output ( #102422 )
2022-04-25 10:30:40 -07:00
Elsabe Ros
606e91ad63
Use the maven-publish plugin to publish AAR files. ( #101891 )
2022-04-19 16:34:07 -07:00
Lau Ching Jun
c2dc92ca88
Default to the newer version path when checking Android Studio Java path ( #101862 )
2022-04-13 22:49:06 -07:00
Zachary Anderson
6190c5df09
Revert "Use the maven-publish plugin to publish AAR files. ( #101276 )" ( #101827 )
...
This reverts commit 2b0255f0d9
.
2022-04-13 08:12:07 -07:00
Elsabe Ros
2b0255f0d9
Use the maven-publish plugin to publish AAR files. ( #101276 )
2022-04-12 22:19:08 -07:00
Emmanuel Garcia
9e0f0fe9d7
Add Gradle stacktrace and debug log level to verbose builds ( #101734 )
2022-04-11 20:14:08 -07:00
Michael Goderbauer
cae740b903
Enable strict-casts (as replacement for implicit-casts) ( #101567 )
2022-04-08 11:15:34 -07:00
Emmanuel Garcia
b528310f58
Specify Kotlin version in modules and refactor ( #101315 )
2022-04-07 13:20:33 -07:00
Michael Goderbauer
dcde8163ce
migrate to super params ( #100509 )
2022-03-31 11:46:47 -07:00
Gary Qian
ead5b1c2f4
Retire v1 embedding compatibility from automatic multidex support ( #100685 )
2022-03-31 10:24:42 -07:00
Emmanuel Garcia
5c6918933e
Migrate AGP and Gradle versions to 7.1.2/7.4 ( #99723 )
2022-03-30 20:30:09 -07:00
Christopher Fujino
9c138f9c76
[flutter_tools] warn when doctor takes long ( #100805 )
...
* warn when doctor takes long
2022-03-28 14:13:28 -07:00
Tacca
c8538873c8
95533 min sdk error msgs enhancements ( #99550 )
2022-03-08 16:20:21 -08:00
Felix
cd9e30bb5d
[flutter_tools] Fix Typo in tool error message ( #97793 )
...
Fixes a typo mutidex to multidex in a console hint to the user.
2022-03-08 15:24:51 -08:00
Emmanuel Garcia
9cb60c9828
Revert "reads min/target sdk versions from localproperties" ( #99191 )
2022-02-28 11:41:22 -08:00
Tacca
37a1aaf8c1
reads min/target sdk versions from localproperties ( #98450 )
2022-02-24 12:16:15 -08:00
Tomasz Gucio
e4351ff053
Enable use_if_null_to_convert_nulls_to_bools lint ( #98753 )
2022-02-22 14:39:20 -08:00
Emmanuel Garcia
c8266d34f4
Improve Gradle retry logic ( #96554 )
2022-02-18 13:54:41 -08:00
Michael Tamm
1fcb076eb7
[flutter_tools] Fix bundle file not found when flavor contains upperc… ( #92660 )
2022-02-04 11:55:20 -08:00
Swift Kim
91e3a5772f
Remove unused code from android_device.dart ( #95450 )
2022-01-20 14:55:18 -08:00
Emmanuel Garcia
683590d1c6
Add suggestion for compileSdkVersion warning ( #95369 )
2022-01-10 20:30:13 -08:00
Lau Ching Jun
7f0050f5b3
Add a new PrebuiltFlutterApplicationPackage interface. ( #95290 )
...
* Add a new PrebuiltFlutterApplicationPackage interface.
* Review feedback
* Rename bundleDir to uncompressedBundle
2022-01-05 07:54:57 -08:00
Jenn Magder
5432688561
Migrate install command to null safety ( #95433 )
2021-12-22 14:54:10 -08:00
Emmanuel Garcia
1bfb7400c8
Bump Kotlin version to the latest ( #95383 )
2021-12-16 09:19:13 -08:00
Emmanuel Garcia
79bc1bfa89
Add ability to wrap text messages in a box ( #94391 )
2021-12-15 13:19:11 -08:00
Emmanuel Garcia
935d1478aa
Apply the Kotlin plugin in a java project ( #95225 )
2021-12-14 23:04:05 -08:00
Jia Hao
2f80384a7f
[flutter_tools] Remove --enable-background-compilation ( #94012 )
2021-12-13 10:24:08 -08:00
Lau Ching Jun
5cb09e779a
Removed unused method packagesFile
from ApplicationPackage
. ( #95033 )
...
The method name is confusing and the implementation in different
subclasses are pointing to different things.
2021-12-13 06:46:04 -08:00
Jenn Magder
b460d0ee34
Migrate emulators to null safety ( #92738 )
2021-11-18 22:13:06 -08:00
Konoshenko Vlad
ee87f6113e
fix: removed unnecessary checks ( #93735 )
2021-11-16 18:43:05 -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
8865212254
Migrate doctor to null safety ( #92131 )
2021-11-01 12:13:02 -07:00
Jenn Magder
0c9a420583
Migrate android_device to null safety ( #92128 )
2021-10-29 17:19:33 -07:00
Emmanuel Garcia
4d79bb02c4
Bump Kotlin version in templates and projects ( #92052 )
2021-10-25 13:13:03 -07:00
Chris Yang
42eb903200
[flutter_tools] iOS: display name defaults to the Title Case of flutter project name. ( #91529 )
2021-10-20 10:33:02 -07:00
Gary Qian
0407aa4480
Reland "Add multidex flag and automatic multidex support ( #90944 )" ( #92049 )
2021-10-19 02:20:39 -07:00
Christopher Fujino
34ec94a16d
[flutter_tools] migrate web_device.dart to null-safety ( #91632 )
2021-10-19 01:33:08 -07:00
Zachary Anderson
a9c31eca48
Revert "Add multidex flag and automatic multidex support ( #90944 )" ( #91791 )
...
This reverts commit 1d9edde079
.
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 5fd259be24
.
2021-10-07 21:11:07 -07:00