Ivan Dlugos
d63442c1da
refactor: strip all local symbols from macOS and iOS App.framework - reduces app size ( #111264 )
2022-09-09 21:13:10 +00:00
Michael Thomsen
242bb67d19
Update null safety warnings in prep for Dart 3 ( #110998 )
2022-09-07 14:59:25 +02:00
Ivan Dlugos
723b82e4f0
Feat: dSYM debug info for iOS & macOS builds ( #101586 )
2022-09-05 18:16:16 +00: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
c6ec84e978
[flutter_tools] Pull more arm64 artifacts on Apple Silicon ( #110291 )
2022-08-29 10:33:24 -07:00
Christopher Fujino
6e95067273
[flutter_tools] Fix _CastError in HotRunner._resetDirtyAssets ( #108771 )
2022-08-24 23:40:19 +00:00
Alexander Aprelev
bfdc9a6cfa
Introduce stubbed exclusive parameter to File.create-overridden method ( #109646 )
...
* Introduce stubbed `exclusive` parameter to `File.create`-overridden method.
This is to soften landing of a breaking change https://github.com/dart-lang/sdk/issues/49647
2022-08-17 13:26:08 -07:00
Jesús S Guerrero
edd466811d
Disable jank metrics for web ( #109356 )
2022-08-11 19:58:06 +00:00
Anurag Roy
f1df76e963
[flutter_tools] Suggest actions to fix failing FlutterValidator ( #106355 )
2022-07-26 19:47:07 +00:00
Jenn Magder
50474b29ce
Only run pod install on the first iOS build ( #108205 )
2022-07-26 19:39:06 +00:00
Alexandre Ardhuin
ccd33631e3
enable combinators_ordering ( #107847 )
2022-07-18 22:04:07 +00:00
Helin Shiah
118248bcc5
Pass URI converter from context to DDS ( #106840 )
...
* Pass URI converter from context to DDS
* Match change that will be merged
* Revert SDK web change
2022-07-07 10:10:04 -07:00
Anurag Roy
47b40601d7
[flutter_tools] Have FlutterValidator fail on non-ideal git config ( #103259 )
2022-06-20 19:05:07 +00:00
Jesús S Guerrero
fae31eecce
[flutter_tools] temporary directory ( #105815 )
2022-06-17 02:58:05 +00:00
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 ac3c44355ae035b1e7f67881d956bcdfb8223e6f.
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 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
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