hellohuanlin
162be5933b
[tools]build IPA validation bundle identifier using the default "com.example" prefix ( #116430 )
...
* [tools]build IPA validation bundle identifier using default com.example
* rephrase the warning
2022-12-02 20:49:30 +00:00
hellohuanlin
be81e9eae7
[tools]build ipa validate launch image using template files ( #116242 )
...
* [tools]build ipa validate launch image using template files
* reuse more code by sharing the same file key
* fix space
2022-12-02 02:09:50 +00:00
Nehal Patel
3b15d6a501
Removes retries from "dart pub get" and un-buffers its stdout/stderr output ( #115801 )
...
* Removes retries from "pub get" and proxies its stdout output
* Fix issue where ErrorHandlingProcessManager does not forward "mode" parameter to backing ProcessManager's "start" method
* Make "pub get" use ProcessStartMode.inheritStdio instead of forwarding bytes to stdout and stderr
* Fix tests
* Remove unused env var
* Add back 'Running "flutter pub get"...' status log
* Fix indent
* Add Pub.test() constructor which lets tests mock stdio
2022-12-01 19:30:17 +00:00
hellohuanlin
e438a12057
[tools]build ipa validate app icon size ( #115594 )
...
* [tools]build ipa validate icon size
* add more checks in case apple change the format, and also add device lab tests
* do not depend on collection package
2022-11-29 23:19:02 +00:00
Kevin Moore
259373d62b
[flutter_tools] Add --dump-info, --no-frequency-based-minification flags ( #115862 )
...
* [flutter_tools] Add --dump-info, --no-frequency-based-minification flags
Also some cleanup to named arguments to the buildWeb function
Fixes https://github.com/flutter/flutter/issues/115854
* fix tests
2022-11-22 23:57:25 +00:00
Christopher Fujino
0b9d18f8fa
[flutter_tools] Add flutter update-packages --synthetic-package-path ( #115665 )
...
* allow persisting synthetic package with option
* allow presisting synthetic packages dir
* fix
* fix bug and add tests
* clean up tests
* nits
2022-11-21 20:04:52 +00:00
hellohuanlin
dcae424783
[tools]build ipa validate template icon files ( #114841 )
...
* [tools]build ipa validate template icon files
* use the same box for both validations, and added some unit test, and some nits
* add unit test for templateImageDirectory
* use fs.path.join intead of raw path
* use the correct filesystem
* lint
* use absolute path for flutter_template_images
* fix rebase
* update indentation
2022-11-16 19:29:17 +00:00
Elias Yishak
d7454d552a
removing default values for [reporter] and [timeout] in flutter test ( #115160 )
...
* removing default values for [reporter] and [timeout]]
* passing reporter arg to see tests pass
* added test to confirm TestCommand is not passing defaults
* add'l helper message for [reporter] arg
* default behavior for github actions + fixed tests
* removing github conditional for reporter + related test
* removing unused import
2022-11-16 18:20:42 +00:00
Jenn Magder
2c44f4a68b
Remove dev branch reference from build ios-frameworks error ( #115166 )
2022-11-15 21:35:29 +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
Jonah Williams
c021d9177c
[flutter_tools] support github reporter ( #115137 )
...
* [flutter_tools] support github reporter
* Update packages/flutter_tools/lib/src/commands/test.dart
Co-authored-by: Christopher Fujino <fujino@google.com>
Co-authored-by: Christopher Fujino <fujino@google.com>
2022-11-11 07:36:02 +00:00
Jesús S Guerrero
530324d232
Build command dependency injection ( #114383 )
...
* update flutter build command
* update tests
* fix analyze suggestions
2022-11-08 23:38:10 +00:00
Alex Wallen
7020f59ace
[tool] Support --flavor
option for flutter install
. ( #114048 )
...
* Alphabetize setup calls
* Add --flavor as an option for install
* Add verbose logging in install command
* Test that flavors build succeeds with proper flavor and fails with bogus one.
* Remove unused import
* The import was used...
* SQUASH
* Add flavor install test
* Rename test
* Add flavors install integration tests
* correct error message
* remove unused imports
* Delete copy test
* update test target
* Refactor mechanism to read buildInfo
* Remove unused import
* Set affected test targets to bringup: true
Co-authored-by: a-wallen <stephenwallen@google.com>
2022-11-08 22:53:23 +00:00
Victoria Ashworth
378387b139
when getting xcworkspace, exclude hidden files ( #114099 )
...
* exclude xcworkspace that begins with a period
* fix if spacing, add comment
* add unit test for when no xcworkspace found
* update to use xcodeWorkspace, make it nullable and refactor
* check if hostAppRoot exists before trying to get xcworkspace
* use local variables to take advantage of type promotion
* only check if not null, don't need to check if exists
* readd exist check for migrate
* readd missing line at end of file
2022-11-07 18:48:52 +00:00
hellohuanlin
8a9ddade9a
[tools]validation basic Xcode settings for build ipa ( #113412 ) ( #114634 )
2022-11-03 22:29:07 +00:00
Zachary Anderson
0943693e85
Revert "[tools]validation basic Xcode settings for build ipa ( #113412 )" ( #114615 )
...
This reverts commit e6300da2c3
.
2022-11-03 15:23:03 +00:00
hellohuanlin
e6300da2c3
[tools]validation basic Xcode settings for build ipa ( #113412 )
2022-11-03 02:38:17 +00:00
Christopher Fujino
0211df9cfc
[flutter_tools] provide --timeout option to flutter drive ( #114458 )
2022-11-02 18:43:42 +00:00
Elias Yishak
17ec3b1d15
[flutter_tools] Introducing arg option for specifying the output directory for web ( #113076 )
2022-11-01 22:50:02 +00:00
Christopher Fujino
d40f6d1e68
[flutter_tools] allow flutter drive to take screenshots when sent a terminating signal ( #114118 )
2022-10-27 18:51:15 +00:00
Christopher Fujino
e4b9796790
[flutter_tools] Implement NotifyingLogger.supportsColor ( #113635 )
2022-10-20 15:43:49 +00:00
Jesús S Guerrero
eea60f86f1
Dependency injection Attach command ( #113227 )
2022-10-18 17:30:01 +00:00
Jenn Magder
f059dd40ea
Show Xcode compilation errors at end of build, suppress stdout and stderr from Xcode ( #113302 )
2022-10-17 17:47:25 +00:00
Jason Simmons
f02cfd48df
Support the --no-devtools flag in "flutter run --machine" ( #113414 )
2022-10-17 16:44:15 +00:00
Lau Ching Jun
34995ba96e
Make AndroidApk nullable in stopApp. ( #113353 )
2022-10-13 17:03:57 +00:00
Jenn Magder
35afe1bdac
Stop embedding bitcode for iOS in tool ( #112831 )
2022-10-04 01:41:23 +00:00
Gary Qian
21861423f2
[flutter_tools] analyze --suggestions --machine command ( #112217 )
2022-10-03 17:40:58 +00:00
Jesús S Guerrero
fc015f52c6
Use directory exists instead of path.dirname ( #112219 )
2022-09-28 22:24:24 +00:00
haizhu
cbfe5a5226
[tool] Proposal to support dart define config from a json file ( #108098 )
2022-09-26 21:47:27 +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
Christopher Fujino
6bb2018af7
[flutter_tools] reduce doctor timeout to debug 111686 ( #111687 )
2022-09-15 20:59:17 +00:00
Elias Yishak
0c829caad8
error handling when path to dir provided instead of file ( #109796 )
2022-09-14 21:13:13 +00:00
Sigurd Meldgaard
d80e994a62
Reland: Show output from pub get in flutter pub get ( #110851 )
2022-09-08 15:13:23 +02:00
Liam Appelbe
8da0432094
Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 1/3 ( #110707 )
...
* Migrate packages/flutter_tools/test/commands.shard/hermetic, part 1/3
* Fix tests
* Fix analysis
* Fix analyze_test
* Make AnalysisServer a local variable
* Chris's comments
2022-09-06 11:21:23 -07:00
Liam Appelbe
22cef4898a
Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 2/3 ( #110708 )
...
* Migrate packages/flutter_tools/test/commands.shard/hermetic, part 2/3
* Fix tests
* Fix analysis
* Chris's comments
2022-09-06 10:39:18 -07:00
Liam Appelbe
9dbc09de1f
Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 3/3 ( #110709 )
...
* Migrate packages/flutter_tools/test/commands.shard/hermetic, part 3/3
* Fix tests
* Chris's comment
2022-09-06 10:22:40 -07:00
Ivan Dlugos
723b82e4f0
Feat: dSYM debug info for iOS & macOS builds ( #101586 )
2022-09-05 18:16:16 +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
Tae Hyung Kim
646666f8e7
[gen_l10n] Add option to format generated localizations files ( #109171 )
...
* init
* fix
* fix 2
* fix 3
* tests
* fix tests
* clarify help text
* fix all tests
* fix formatting?
* add second test
* unused import
* remove print
* trailing spaces
* artifacts is never null
* fix
2022-08-19 14:03:42 -07:00
jensjoha
981bdf5476
[flutter_tools] Make flutter test -v print timing of different phases ( #108864 )
2022-08-18 16:26:56 +00:00
Xavier H
341b62d28e
Fix Transporter app name in log after upload ( #107414 )
2022-08-11 20:42:33 +00:00
Dillon Nys
f3d182f4b4
[flutter_tools] Fix tool crash for map cast ( #107648 )
2022-08-09 05:51:06 +00:00
Michael Goderbauer
c22b7f697f
Add avoid_redundant_argument_values ignores back ( #108984 )
2022-08-04 09:59:57 -07:00
Michael Goderbauer
e27a19e3f8
Remove outdated ignores ( #108924 )
2022-08-03 23:37:05 +00:00
Hannes Winkler
c6aeaa305c
fix flutter not finding custom device ( #108884 )
2022-08-03 18:20:07 +00:00
Christopher Fujino
4b25e80c4a
[flutter_tools] Migrate more tool tests to null-safety ( #108639 )
2022-08-02 23:00:06 +00:00
Jenn Magder
7c7ae991e5
Use hasNoRemainingExpectations
matcher for fake process manager in tool tests ( #108649 )
2022-07-30 02:02:05 +00: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
yaakovschectman
1e2be6ed54
Check for bad characters in path on Windows build ( #107949 )
...
* Check for bad characters in path on Windows build
* Doc comments
* Fix formatting
* Commenting/formatting
* Link to issue in comment
* Comments, formatting
* Global var rename
2022-07-20 14:05:13 -04:00
Christopher Fujino
1371b8dc3c
[flutter_tools] Fix null check errors in attach command ( #107864 )
2022-07-18 23:10:06 +00:00
Christopher Fujino
b156c0c440
[flutter_tools] migrate clean_test to null-safety ( #107750 )
2022-07-18 19:10:07 +00:00
Christopher Fujino
4f9528293f
[flutter_tools] Remove shuffle from doctor test ( #107744 )
2022-07-16 00:54:05 +00:00
Lau Ching Jun
2cfeb0d1e1
Pass device-user in machine mode ( #107747 )
2022-07-15 15:18:05 -07:00
Christopher Fujino
060adf09db
[flutter_tools] Migrate commands.shard/hermetic/doctor_test to null-safety and make hermetic ( #107670 )
2022-07-15 19:06:08 +00:00
Lau Ching Jun
5976c3702f
Check device type using platformType instead of type check to support proxied devices. ( #107618 )
2022-07-14 14:38:06 -07:00
Christopher Fujino
84c8abd0f6
[flutter_tools] catch StdinException while trying to re-set single char mode ( #107256 )
2022-07-07 22:40:05 +00:00
Loïc Sharma
6026eea9a4
[Windows] Flow version information to the build output ( #106145 )
...
Previously developers had to edit their `Runner.rc` file to update their executable's version information. Now, version information will automatically be set from `flutter build`'s arguments or the `pubspec.yaml` file for new projects.
Addresses https://github.com/flutter/flutter/issues/73652
2022-06-27 10:45:56 -07:00
Jesús S Guerrero
ddd493b927
[flutter_tools] migrate project-validate to analyze --suggestions ( #106149 )
2022-06-24 18:43:07 +00:00
Gustl22
47f54ace45
feat(tools): Arbitrary browser flags ( closes #65575 ) ( #104935 )
2022-06-24 10:14:08 -07:00
Christopher Fujino
d31c250e38
[flutter_tools] Fix leaky test ( #105927 )
2022-06-13 16:12:29 -07:00
Christopher Fujino
8bea63287a
[flutter_tools] add shuffle to hermetic run_tests ( #105462 )
2022-06-09 12:53:09 -07:00
Lasse R.H. Nielsen
c951d2d7a0
Stop using FallThroughError
. ( #105600 )
2022-06-08 22:38:08 -07:00
Christopher Fujino
712752d2fb
[flutter_tools] return terminal to echo and line mode before exiting resident_runner ( #105283 )
2022-06-06 10:19:40 -07:00
Jenn Magder
003f2b69d2
Pass run and drive --trace-systrace for iOS ( #105321 )
2022-06-03 16:48:11 -07:00
Jesús S Guerrero
3da9eee2f0
[flutter_tools] re-use findProjectRoot on flutter command ( #104850 )
2022-06-03 15:23:10 -07:00
Jesús S Guerrero
889a15eb9d
[flutter_tools] add needsFullRestart flag on hot runner ( #104562 )
2022-06-03 10:18:16 -07:00
Jenn Magder
3f1f0a8170
Add flutter build macos-framework command ( #105242 )
2022-06-03 10:13:08 -07:00
Jenn Magder
208a418abc
flutter drive --enable-software-rendering --skia-deterministic-rendering ( #105161 )
2022-06-02 13:33:08 -07:00
Jenn Magder
dffddf00a2
Refactor BuildIOSFrameworkCommand with common darwin baseclass ( #105194 )
2022-06-02 10:28:08 -07:00
Christopher Fujino
99d0f8f279
[flutter_tools] handle HandshakeException in httphostvalidator ( #105076 )
2022-06-01 14:08:13 -07:00
Michael Goderbauer
3fa355c97d
Remove dead code in tools tests ( #104567 )
2022-05-25 12:48:17 -07:00
Jesús S Guerrero
336aa267f9
[flutter_tools] General info project validator ( #103653 )
2022-05-24 16:28:10 -07:00
Christopher Fujino
586b15cbcb
[flutter_tools] Upgrade only from flutter update-packages ( #103924 )
2022-05-19 13:33:11 -07:00
Christopher Fujino
0ad0dc255d
[flutter_tools] fix missing cmake ( #103761 )
2022-05-14 11:59:07 -07:00
Jonah Williams
90a592bf36
[flutter_tools] fix test asset loading ( #103667 )
2022-05-14 10:59:07 -07:00
David Iglesias
1af8cc1183
[tools][web] Make Plugin Registrant file ephemeral. ( #102185 )
2022-05-11 17:54:11 -07:00
Christopher Fujino
09686a04c9
[flutter_tools] add --uninstall-first flag and pipe it through to ios-deploy ( #102948 )
2022-05-07 11:49:07 -07:00
Jenn Magder
c6ced845e3
Remove custom unawaited
, prefer dart:async
version ( #103212 )
2022-05-07 08:49:04 -07:00
Jesús S Guerrero
780a6c422b
[flutter_tool] New command project ( #102118 )
2022-04-29 23:09:06 -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
Chris Yang
a8da7ced35
Hide default bundle id error when xcresult detects an error ( #101993 )
2022-04-15 11:44:08 -07:00
Jason Simmons
d05d43431e
Provide a flag for controlling the dart2js optimization level when building for web targets ( #101945 )
2022-04-15 00:19:06 -07:00
Anurag Roy
ae805de468
[flutter_tools] Remove usage of globals.flutterGit from version ( #100744 )
2022-04-14 14:44:09 -07:00
Jenn Magder
6ccd993976
Add flutter build ipa --no-codesign
flag ( #101766 )
2022-04-12 14:49:09 -07:00
Danny Tuppeny
b086473769
Pass multidex flag when using --machine mode ( #101689 )
2022-04-11 12:19:09 -07:00
Jesús S Guerrero
2302daa3aa
Create when offline style ( #101589 )
2022-04-11 12:14:05 -07:00
Janko Djuric
78ae72b0b2
[flutter_tools] Add --build-number and --build-name support to web and linux ( #100377 )
2022-04-10 11:42:39 -07:00
Chris Yang
1755819cb1
Log XCResult before other build issues ( #100787 )
2022-04-08 16:27:08 -07:00
Michael Goderbauer
a01424773e
Enable unnecessary_import ( #101600 )
2022-04-08 12:56:45 -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
Jenn Magder
d745eec051
Add --use-application-binary to "flutter install" ( #101324 )
2022-04-06 13:17:26 -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
b4325b68a2
[flutter_tool] Have long-running validators fail ( #100936 )
2022-03-28 21:57:44 -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
Zachary Anderson
47f08a3fd6
[flutter_tool] Adds --enable-impeller flag to the run command ( #100835 )
2022-03-26 20:07:24 -07:00
Jenn Magder
12da4a2aff
Filter out some stray Xcode logging during macOS builds ( #100707 )
2022-03-25 16:35:11 -07:00