Jonah Williams
92034482f9
[flutter_tool] partial null safety migration of tool source code ( #105798 )
2022-06-15 20:02:07 +00: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
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
Jenn Magder
1756ccc541
Set template and migrate apps to iOS 11 minimum ( #101963 )
2022-04-15 11:34:08 -07:00
Kaushik Iska
aeaeded715
Add VMService command to get frame rasterization metrics ( #100696 )
2022-04-14 13:44:05 -07:00
Jenn Magder
d4bfb01336
Do not build for iOS armv7 ( #97341 )
2022-04-12 14:44:09 -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
Jenn Magder
839a183ea6
Add note to doctor validator if script is running Rosetta ( #101309 )
2022-04-05 10:37:35 -07:00
Michael Goderbauer
dcde8163ce
migrate to super params ( #100509 )
2022-03-31 11:46:47 -07:00
Ben Konyi
75baed585e
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #100995 )
2022-03-30 13:50:13 -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
Chris Bracken
fd3c34c9d4
[macOS] Use arm64 snapshot in arm64 App.framework ( #100504 )
...
Previously, https://github.com/flutter/flutter/pull/100271 enabled
building universal macOS binaries by default, but included a bug causing
the arm64 App.framework to be built such that the TEXT section
containing the app instructions built by gen_snapshot incorrectly
contained x86_64 instructions rather than arm64 instructions.
When building macOS (and iOS) apps, Flutter builds them in three
components:
* The Runner application: built by Xcode
* The bundled App.framework: built from assembly code generated by
gen_snapshot from the application's Dart sources.
* The bundled FlutterMacOS.framework: built as part of the engine build
and packaged by copying the distributed binary framework from our
artifacts cache.
Building App.framework consists of the following steps:
* For each architecture, invoke gen_snapshot to generate
architecture-specific assembly code, which is then built to object
code and linked into an architecture-specific App.framework.
* Use the `lipo` tool to generate a universal binary that includes both
x86_64 and arm64 architectures.
Previously, we were building architecture specific App.framework
binaries. However, for all architectures we were (mistakenly) invoking
the general `gen_snapshot` tool (which emitted x64 instructions, and
which is now deprecated) instead of the architecture-specific
`gen_snapshot_x86` and `gen_snapshot_arm64` builds which emit
instructions for the correct architecture.
This change introduces a small refactoring, which is to split the
`getNameForDarwinArch` function into two functions:
* `getDartNameForDarwinArch`: the name for the specified architecture as
used in the Dart SDK, for example as the suffix of `gen_snapshot`.
* `getNameForDarwinArch`: the name for the specified architecture
as used in Apple tools, for example as an argument to `lipo`. For
consistency, and to match developer expectations on Darwin platforms,
this is also the name used in Flutter's build outputs.
Issue: https://github.com/flutter/flutter/issues/100348
2022-03-21 20:36:57 -07:00
Jenn Magder
8f360c977a
Update minimum required version to Xcode 13 ( #97746 )
2022-03-01 16:26:11 -08:00
Tomasz Gucio
e4351ff053
Enable use_if_null_to_convert_nulls_to_bools lint ( #98753 )
2022-02-22 14:39:20 -08:00
Zachary Anderson
54a9d65282
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )"" ( #98803 )
2022-02-19 10:09:26 -08:00
Ben Konyi
4add01ab68
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #98769 )
...
This reverts commit ac3c44355a
.
2022-02-18 13:28:42 -08:00
Ben Konyi
50c4720913
Update dependencies to pull in new vm_service, dds, dwds, coverage, etc ( #98513 )
2022-02-18 12:32:08 -08:00
Jenn Magder
a599c23b2b
Disallow running on unsupported devices ( #97338 )
2022-02-01 16:13:03 -08:00
Christopher Fujino
610b41e88c
[flutter_tools] add validation of paths of contained files to os_utils _unpackArchive() ( #96565 )
2022-01-25 18:10:12 -08:00
Spt
7de1e225de
fix rsync output utf8decode bug ( #95881 )
2022-01-13 10:20:20 -08:00
Zachary Anderson
fb29403c42
Revert "feat(flutter_tools): Added doctor path printing on verbose" ( #96414 )
2022-01-10 15:35:13 -08:00
crisboarna
f8e70a8463
feat(flutter_tools): Added doctor path printing on verbose ( #95453 )
2022-01-06 13:50:19 -08:00
Emmanuel Garcia
79bc1bfa89
Add ability to wrap text messages in a box ( #94391 )
2021-12-15 13:19:11 -08:00
Ian Hickson
9c73e91f7f
Add more detail to error messages ( #94820 )
2021-12-09 11:29:14 -08:00
Chris Wong
7ef5226799
Migrate to process
4.2.4 ( #92630 )
2021-11-30 17:14:07 -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
cdbd0a92e3
Migrate channel, clean and a few other commands to null safety ( #92950 )
2021-11-03 17:33:05 -07:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Ben Konyi
ac3c44355a
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #92220 )" ( #92235 )
...
This reverts commit ba0321e95d
.
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 dc7fea8d19
.
2021-10-20 19:20:17 -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
Ian Hickson
299d484903
Enable more lints ( #91642 )
2021-10-14 22:03:03 -07:00
Ben Konyi
dc7fea8d19
Revert "Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #90611 )" ( #91754 )
...
This reverts commit e89a885fab
.
2021-10-13 12:45:45 -04:00
Ben Konyi
e89a885fab
Reland "Enable caching of CPU samples collected at application startup ( #89600 )" ( #90611 )
...
This reverts commit 58944e6b88
.
2021-10-13 10:13:30 -04: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
Ian Hickson
989f864497
Enable avoid_setters_without_getters ( #91067 )
2021-10-01 00:58:05 -07:00
Christopher Fujino
738a7747cc
[flutter_tools] Handle disk device not found ( #90996 )
2021-09-30 17:28:57 -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
Christopher Fujino
61bce1d83b
[flutter_tools] remove non-null check from AndroidValidator ( #90090 )
2021-09-25 16:53:06 -07:00
Jenn Magder
58944e6b88
Revert "Enable caching of CPU samples collected at application startup ( #89600 )" ( #89704 )
...
This reverts commit 619121b095
.
2021-09-08 19:37:34 -07:00
Ben Konyi
619121b095
Enable caching of CPU samples collected at application startup ( #89600 )
2021-09-08 17:22:04 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos ( #89485 )
2021-09-07 14:56:04 -07:00
Jenn Magder
2d55032939
Migrate dds.dart to null safety ( #88382 )
2021-08-17 21:12:03 -07:00
Zachary Anderson
3572a7e8b7
Revert "feat: migrate base/dds.dart to null-safety ( #88015 )" ( #88367 )
2021-08-17 11:52:05 -07:00
Jenn Magder
325cfb0f4c
Make doctor Xcode version requirement clearer ( #88137 )
2021-08-13 17:07:03 -07:00
嘟囔
d2f9c6c752
feat: migrate base/dds.dart to null-safety ( #88015 )
2021-08-11 14:47:06 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker ( #86837 )
2021-07-21 21:51:06 -07:00
Jonah Williams
63a4013160
Revert "[flutter_tools] let the logger know about machine mode ( #86116 )" ( #86363 )
...
This reverts commit 53d8cba3ec
.
2021-07-13 10:39:35 -07:00
Jonah Williams
53d8cba3ec
[flutter_tools] let the logger know about machine mode ( #86116 )
2021-07-12 10:41:03 -07:00
Hannes Winkler
a1e9f2057f
[custom-devices] general improvements, add custom-devices subcommand, better error handling ( #82043 )
2021-07-07 09:16:04 -07:00
Dan Field
e36e62e9a6
Revert "Revert "Audit hashCode overrides outside of packages/flutter ( #85370 )" ( #85451 )" ( #85567 )
...
This reverts commit 2be0d57fa2
.
2021-06-30 09:46:54 -07:00
Jenn Magder
e028d0f046
Split project.dart into CMake and Xcode projects ( #85359 )
2021-06-28 11:31:04 -07:00
Ren You
2be0d57fa2
Revert "Audit hashCode overrides outside of packages/flutter ( #85370 )" ( #85451 )
...
This reverts commit 9846fa5145
.
2021-06-28 09:55:31 -07:00
Dan Field
9846fa5145
Audit hashCode overrides outside of packages/flutter ( #85370 )
2021-06-26 17:36:04 -07:00
Jenn Magder
0de6bd41ba
Migrate iOS app deployment target from 8.0 to 9.0 ( #85174 )
2021-06-24 10:21:05 -07:00
Jenn Magder
40428fa0ea
macOS unzip then rsync to delete stale artifacts ( #85075 )
2021-06-22 17:10:56 -07:00
Jenn Magder
53f5b90209
Use -miphonesimulator-version-min when building App.framework for simulator ( #84729 )
2021-06-16 15:54:38 -07:00
Greg Spencer
88f3811055
Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. ( #84476 )
...
This adds avoid_dynamic_calls to the list of lints, and fixes all instances where it was violated.
Importantly, this lint is NOT turned on for flutter/packages/test, because those changes are happening in another PR: #84478
2021-06-14 14:16:57 -07:00
Lau Ching Jun
89a3c353e6
Add more analytics for hot reload in flutter_tools. ( #83972 )
2021-06-07 18:51:47 -07:00
Jenn Magder
3477df744d
Migrate iOS project migrations to null safety ( #83855 )
2021-06-03 10:24:04 -07:00
Jonah Williams
53e0c50a7c
[flutter_tools] use ProcessManager.canRun instead of checking for ArgumentErrors ( #83845 )
2021-06-03 08:24:04 -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
Jenn Magder
00263c4f8a
Migrate build system build.dart to null safety ( #83381 )
2021-05-26 12:04:02 -07:00
Taha Tesser
f9cd87e60a
[flutter_tools] Add documentation to "cmdline-tools component is missing" doctor validation error ( #83356 )
2021-05-26 10:59:02 -07:00
Lau Ching Jun
fdb1fb184d
Add MultiRootFileSystem to better support using --filesystem-root. ( #82991 )
2021-05-24 22:04:02 -07:00
Hattomo (TomohiroHattori)
08a70e7ac8
Enable avoid_escaping_inner_quotes lint ( #81153 )
2021-05-19 09:54:02 -07:00
Taha Tesser
0f03147138
remove unnecessary comment ( #82650 )
2021-05-17 11:59:02 -07:00
Taha Tesser
99472cf072
fix pkg typos ( #82544 )
2021-05-14 13:09: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
Jenn Magder
c1c12aa365
Add posix permission chown suggestion to io error handling ( #81942 )
2021-05-11 14:54:02 -07:00
Michael Goderbauer
b8a2456737
Enable library_private_types_in_public_api lint ( #81578 )
2021-05-10 16:26:16 -07:00
Anurag Roy
6e08ea0a2c
[flutter_tools] Show linux distribution and kernel release in flutter doctor
( #81368 )
2021-05-10 10:04:02 -07:00
Ian Hickson
33b183e6c9
Fix extra blank lines in logger output ( #81607 )
2021-05-03 09:19:02 -07:00
Matej Knopp
f6726b425d
Add support for DarwinArchs when assembling macOS App.framework ( #81243 )
2021-04-28 11:33:36 -07:00
Ian Hickson
6beafa7b16
Apply style guide regarding createTempSync pattern ( #81090 )
2021-04-27 14:59:03 -07:00
xster
ff2dde2c7f
Reland double gzip wrapping NOTICES to reduce on-disk installed space ( #80897 )
2021-04-26 22:35:45 -07:00
Jenn Magder
8d3bc1846f
Migrate analyze_size to null safety ( #81002 )
2021-04-26 16:46:14 -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
Ian Hickson
598737adf2
Clean up the command line tool interactive help output. ( #80903 )
2021-04-22 19:34:02 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Jonah Williams
9904a7f472
Refactor core resident runner logic ( #80462 )
2021-04-16 17:27:35 -07:00
Jenn Magder
72976f552c
Migrate xcodeproj to null safety ( #80549 )
2021-04-16 17:22:46 -07:00
Jonah Williams
b7214a9a43
[flutter_tools] fix null check in crash reporter ( #80382 )
2021-04-13 14:04:25 -07:00
Anurag Roy
ce3c3d2a21
[flutter_tools] Show upstream remote in flutter doctor -v
( #80101 )
2021-04-13 14:04:08 -07:00
Jenn Magder
f09eb8af7f
Migrate first_run and bot_detector to null safety ( #80096 )
2021-04-09 13:56:52 -07:00
Jonah Williams
be2c68c85c
[flutter_tools] cache for UWP artifacts ( #80069 )
2021-04-09 10:59:01 -07:00
Jenn Magder
4a730509fc
Migrate persistent_tool_state to null safety ( #80085 )
2021-04-08 19:14:03 -07:00
Jenn Magder
fdb16cd787
Cast config values to dynamic values instead of Object ( #80011 )
2021-04-08 15:18:28 -07:00
Jenn Magder
3e5f620a00
Convert some general.shard base tests to null safety ( #79985 )
2021-04-08 14:55:19 -07:00
Jenn Magder
12ba9046d7
Migrate tool version to null safety ( #79911 )
2021-04-07 16:49:23 -07:00