Amir Hardon
7df04fdbd3
Revert "Migrate template to Gradle 6.7 and AGP 4.1.0 ( #70808 )" ( #71096 )
...
This reverts commit 8e73bab94c
.
2020-11-23 12:27:36 -08:00
Masaaki Kakimoto(柿本匡章)
accedc6794
Add current version to the upgrade message of the Flutter tool ( #68421 )
2020-11-23 12:08:53 -08:00
Jonah Williams
cf6c33e58a
[flutter_tools] fix port leak in flutter_driver ( #70999 )
2020-11-21 14:04:01 -08:00
Emmanuel Garcia
61dfbfe105
Wait for Android plugin to load before configuring plugin dependency ( #70970 )
2020-11-20 18:03:39 -08:00
Jonah Williams
974661924b
[flutter_tools] disable SWR optimization on dev ( #70912 )
2020-11-20 16:27:21 -08:00
Jonah Williams
613a959878
only use code single path for verification of target file existence ( #70962 )
2020-11-20 14:17:11 -08:00
Chris Yang
ffe5197e19
refactor ( #70959 )
2020-11-20 13:13:04 -08:00
Emmanuel Garcia
8e73bab94c
Migrate template to Gradle 6.7 and AGP 4.1.0 ( #70808 )
2020-11-20 13:05:35 -08:00
Jonah Williams
c07661cbc5
[flutter_tools] share bootstrap module between run and test ( #70903 )
2020-11-20 12:11:24 -08:00
Jonah Williams
1efb36035e
[flutter_tools] display message for current null safety mode ( #70718 )
2020-11-20 11:53:02 -08:00
Chris Yang
4e88f6a103
flutter_tools: refactor CreateCommand
. ( #70874 )
2020-11-20 10:58:03 -08:00
Jenn Magder
c2d1203f26
Remove deprecated 'flutter build aot' ( #70898 )
2020-11-20 10:46:12 -08:00
J-P Nurmi
e51183763b
[flutter_tools] deploy version.json asset on Linux ( #69920 )
2020-11-20 10:23:04 -08:00
Anurag Roy
05dadb0120
[flutter_tools] Make flutter upgrade --verify-only display framework version differences instead of commit hashes ( #69420 )
2020-11-19 18:03:05 -08:00
Jonah Williams
a76289bb1b
[flutter_tools] run web unit tests in sound null safety ( #70799 )
2020-11-19 16:49:05 -08:00
Pierre-Louis
598627cd3b
Fix typo ( #70834 )
2020-11-19 16:43:09 -08:00
Yegor
535a4ac3ab
Clean-up docs for the --web-renderer option ( #70880 )
2020-11-19 16:41:09 -08:00
Jonah Williams
7086a2f43b
Revert "[flutter_tools] wire up alternative invalidation strategy to features ( #70865 )" ( #70884 )
...
This reverts commit ef4741540b
.
2020-11-19 14:01:39 -08:00
Jenn Magder
37f4f1f281
Detect ARM ffi CocoaPods error, suggest gem install ( #70801 )
2020-11-19 13:17:57 -08:00
Jonah Williams
ef4741540b
[flutter_tools] wire up alternative invalidation strategy to features ( #70865 )
2020-11-19 13:13:51 -08:00
Jonah Williams
4832e64cad
[flutter_tools] remove globals from flutter web platform ( #70863 )
2020-11-19 13:06:30 -08:00
Jonah Williams
085ff127ae
[flutter_tools] skip ck restart on all platforms ( #70853 )
2020-11-19 12:24:22 -08:00
Jonah Williams
c6290500f8
[flutter_tools] update dependencies ( #70797 )
2020-11-18 17:29:28 -08:00
Jonah Williams
f8940709b2
[flutter_tools] refactor shared memory filesystem logic ( #70795 )
2020-11-18 17:29:13 -08:00
Jonah Williams
42c9c22553
Revert "Stop extra framework copy during build ios-framework ( #70790 )" ( #70802 )
...
This reverts commit a9a35d10a4
.
2020-11-18 17:05:33 -08:00
Jenn Magder
a9a35d10a4
Stop extra framework copy during build ios-framework ( #70790 )
2020-11-18 15:00:28 -08:00
Jonah Williams
cfb63356c3
[flutter_tools] use frontend_server for web test compilation ( #70714 )
2020-11-18 14:55:26 -08:00
Jonah Williams
f4e79e6828
[flutter_tools] add support for dart defines to flutter test ( #70791 )
2020-11-18 14:52:49 -08:00
Jenn Magder
e26c7f98ff
Force regeneration of old Podfile ( #70735 )
2020-11-18 13:33:04 -08:00
stuartmorgan
be4cc764de
Clean up Windows plugin template ( #70403 )
...
Removes a comment that is left over from early iterations of the
template.
2020-11-18 10:01:53 -08:00
Dan Field
be2e7bb1c0
Revert "Revert "Allow any iOS app to be added to an existing host app ( #70647 )" ( #70739 )" ( #70740 )
...
This reverts commit aab9a76ee4
.
2020-11-17 22:19:50 -08:00
Dan Field
aab9a76ee4
Revert "Allow any iOS app to be added to an existing host app ( #70647 )" ( #70739 )
...
This reverts commit abdd65fc29
.
2020-11-17 21:40:28 -08:00
Jenn Magder
abdd65fc29
Allow any iOS app to be added to an existing host app ( #70647 )
2020-11-17 18:53:03 -08:00
Shi-Hao Hong
94ca7b4ad2
[gen-l10n] NNBD generated code ( #70415 )
...
* NNBD gen-l10n generated code
2020-11-18 10:14:38 +08:00
Ben Konyi
4cbafda853
Roll package:dds to 1.5.1 and add isCompleted guards around completers in base/dds.dart ( #70712 )
2020-11-17 16:03:18 -08:00
Ben Konyi
f6bedddd9f
Support legacy behavior for --host-vmservice-port and --observatory-port with DDS ( #70336 )
...
Implements the following:
- If both --host-vmservice-port and --dds-port are specified, use the current behavior
- If only --host-vmservice-port is specified and dds is enabled, use that for the dds port
- If only --dds-port is specified, use that for the dds port
Fixes https://github.com/flutter/flutter/issues/70332
2020-11-17 16:03:02 -08:00
Jonah Williams
fa41afa82e
[flutter_tools] reduce build bundle API ( #70514 )
2020-11-17 11:55:20 -08:00
Jonah Williams
8d15fa3936
[flutter_tools] remove unused/deprecated asset flags ( #70509 )
2020-11-17 11:02:14 -08:00
Jenn Magder
2529e358b6
Move Flutter.framework to build directory instead of ios/Flutter ( #70224 )
2020-11-17 10:09:29 -08:00
Jonah Williams
9618788e28
[flutter_tools] remove globals from features ( #70515 )
2020-11-16 15:00:37 -08:00
Jenn Magder
148ae7bf71
Always build x86 mac apps ( #70649 )
2020-11-16 14:53:04 -08:00
Marcus Tomlinson
343577afb6
Add liblzma as an explicit dependancy on Linux ( #70617 )
2020-11-16 14:48:02 -08:00
Jenn Magder
b84fb90400
Remove unused host_app_editable_cocoapods template files ( #70518 )
2020-11-16 14:33:43 -08:00
Anna Gringauze
f9df1935fe
[flutter_tools] Add bot configuration to run web_tool_tests for linux, mac, and windows ( #70412 )
...
* Move web integration tool tests to web.shard
Web integration tool tests depend on DDC changes in SDK. This change
moves them to a separate shard and subshard so CI bot configurations
can run them separately.
In particular, with will allow running those tests on dart CI flutter
HHH web bot instead of a non-web one, allowing early detection and easy
classification of issues caused by SDK changes as VM- or Web related.
* Enabled verbose mode for flaky web_tool_tests
* fixed local engine crash with --enable-asserts
* Disable failing tests, fix local engine with asserts
* Removed mac web_tool_tests bot
* Addressed CR comments
* Add disabled mac web_tool_tests and disable win web_tool_tests
2020-11-16 11:50:57 -08:00
Jonah Williams
836efaecf0
[flutter_tools] stop unit test from writing real file ( #70511 )
2020-11-13 21:51:04 -08:00
Jonah Williams
6e84a14294
Revert "Simplify the flutter_web_plugins plugin registration API. ( #70337 )" ( #70505 )
...
This reverts commit 8749d95521
.
2020-11-13 16:04:53 -08:00
Anna Gringauze
d5b1cc5b9f
Disable failing test due to SDK issue ( #70485 )
...
* Disable failing test due to SDK issue
* Disable failing debugger and hot reload windows tests
2020-11-13 14:15:31 -08:00
Ian Hickson
8749d95521
Simplify the flutter_web_plugins plugin registration API. ( #70337 )
...
In principle this is backwards compatible; I just merged all the classes into one and deprecated everything that became redundant as a result.
2020-11-13 14:05:34 -08:00
Jonah Williams
8436c6ab7e
remove testUsingContext ( #70482 )
2020-11-13 13:23:03 -08:00
Jonah Williams
f98c468317
[flutter_tools] remove unused JSON schema ( #70480 )
2020-11-13 13:02:40 -08:00
Jonah Williams
a86dab0c40
[flutter_tools] remove automatic doctor from flutter create ( #70475 )
2020-11-13 11:44:10 -08:00
Jonah Williams
0a73ecf6df
[flutter_tools] use initially parsed package config for language version, sound mode determination ( #70323 )
2020-11-13 09:41:11 -08:00
Jonah Williams
0b88269807
[flutter_tools] remove branch migration and standardize constructor style for version interface ( #70058 )
2020-11-12 15:29:03 -08:00
Jenn Magder
d11859fee7
Add -miphoneos-version-min=8.0 to App framework stub ( #70405 )
2020-11-12 15:14:53 -08:00
Jonah Williams
5fedad9173
[flutter_tools] allow using flutter test for testing the tool too ( #69911 )
2020-11-12 13:52:09 -08:00
Jonah Williams
0c79659900
[flutter_tools] make most integration tests null safe ( #70334 )
2020-11-12 10:23:03 -08:00
Anna Gringauze
edf26e756d
Move web integration tool tests to web.shard ( #70226 )
...
* Move web integration tool tests to web.shard
Web integration tool tests depend on DDC changes in SDK. This change
moves them to a separate shard and subshard so CI bot configurations
can run them separately.
In particular, with will allow running those tests on dart CI flutter
HHH web bot instead of a non-web one, allowing early detection and easy
classification of issues caused by SDK changes as VM- or Web related.
* Enabled verbose mode for flaky web_tool_tests
* Split out the test changes to be commited first
2020-11-11 15:42:15 -08:00
Jonah Williams
22ec357bc4
[flutter_tools] make getBuildInfo async ( #70320 )
2020-11-11 15:33:23 -08:00
Jonah Williams
0f80116a63
[flutter_tools] improve hash performance in build_system ( #70065 )
2020-11-11 15:31:07 -08:00
Jonah Williams
a40ee8a3fb
[flutter_tools] migrate .packages to package_config, partial ( #70200 )
2020-11-11 13:50:41 -08:00
Jonah Williams
fb28ee2860
[flutter_tools] reland: cache pub invocations ( #70180 )
...
Disabled caching of pub invocations on flutter drive.
2020-11-10 13:56:36 -08:00
Jonah Williams
0bbd9020ed
[flutter_tools] remove experiment tracking analytics for null safety ( #70183 )
2020-11-10 12:49:50 -08:00
Jonah Williams
39bc68b6a2
[flutter_tools] dont use autodetect enum for web ( #70189 )
2020-11-10 12:49:38 -08:00
Jonah Williams
84a8bd3f5a
Revert "[flutter_tools] always use dart to run test script. ( #70146 )" ( #70175 )
...
This reverts commit a90880a8c3
.
2020-11-10 05:21:14 -08:00
Jonah Williams
a90880a8c3
[flutter_tools] always use dart to run test script. ( #70146 )
2020-11-10 05:02:56 -08:00
Jonah Williams
dbcd7868a4
[flutter_tools] remove most globals from asset system and remove Cache manipulation in unit tests ( #70011 )
2020-11-09 18:01:04 -08:00
Jonah Williams
1c4b50ecf1
Revert "[flutter_tools] restore pub caching functionality ( #70133 )" ( #70144 )
...
This reverts commit ff953e4f83
.
2020-11-09 16:38:07 -08:00
Jonah Williams
3fb389c75a
[null-safety] implement null-safe autodetection for the web ( #70126 )
...
Fixes #69416
Fixes #70121
2020-11-09 16:13:38 -08:00
Jonah Williams
ff953e4f83
[flutter_tools] restore pub caching functionality ( #70133 )
...
Necessary to work around #70013 (this looks like it will be fixed, but should protect us in the future)
Restores some notion of skipping pub, with differences from the prior implementation:
Off by default, and only used by the flutter command automatic pub get
A single check parameter. Uses the framework version cached per-project instead of a timestamp of the tool, to avoid cases where downloading a prebuilt framework would cause this check to no longer work.
2020-11-09 16:11:55 -08:00
Greg Spencer
bbc0161669
Remove references to Window
, and switch usages to PlatformDispatcher
or SingletonFlutterWindow
( #69617 )
...
* Remove references to dart:ui.Window, and point usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate
* remove new test platform dispatchers
* Amend documentation
2020-11-09 15:26:29 -08:00
Jonah Williams
8c02c300d9
[flutter_tools] always run pub with prebuilt applicaitons on drive ( #70136 )
2020-11-09 14:55:04 -08:00
Yegor
879466eac2
default to unsound nullability for web ( #70120 )
2020-11-09 13:49:02 -08:00
Jonah Williams
f1cdf2e6f3
Revert "[flutter_tools] restore pub caching functionality on run/test ( #70056 )" ( #70132 )
...
This reverts commit 6e5845f025
.
2020-11-09 13:31:01 -08:00
Jonah Williams
6e5845f025
[flutter_tools] restore pub caching functionality on run/test ( #70056 )
2020-11-09 12:52:22 -08:00
Emmanuel Garcia
21e802746b
Migrate Flutter Gallery test to null safety ( #70116 )
2020-11-09 12:29:14 -08:00
Jonah Williams
4c511fbde2
[flutter_tools] remove workaround for caching sound dill ( #70014 )
2020-11-09 11:53:56 -08:00
Michael Thomsen
168ad5dc4d
Roll engine and fix pubspecs that do not have a Dart SDK constraint ( #70078 )
2020-11-09 19:02:10 +01:00
xster
d18bd9a5bb
move cupertino_icon template to 1.0.1 for null safety ( #69997 )
2020-11-09 09:54:42 -08:00
Yuqian Li
8e7748e74c
Reland migration ( #69996 )
...
This reverts ae0a9cb560
and therefore relands #69629 .
Additionally, `flutter update-packages --force-upgrade` has been run to update `pubspec.yaml` to resolve the analyze test failures.
2020-11-08 20:32:04 -08:00
Michael Thomsen
e4d94f7ccd
Revert "Migrate Flutter gallery test to null safety ( #69048 )" ( #70023 )
...
This reverts commit 7ba775a994
.
2020-11-07 12:15:22 +01:00
Emmanuel Garcia
7ba775a994
Migrate Flutter gallery test to null safety ( #69048 )
2020-11-06 20:38:12 -08:00
Jonah Williams
52d49fb358
[flutter_tools] remove material design schema, use dart code ( #69987 )
...
Instead of loading the use-material-design asset data from a yaml file in the repo, leave it in dart code and simplify. Remove some of the globals, but not enough to update to testWithoutContext
2020-11-06 19:55:55 -08:00
George Wright
2b512781a0
Add a --dart-entrypoint-args flag to flutter run to pass through Dart entrypoint arguments on Flutter Desktop ( #69607 )
2020-11-06 15:34:02 -08:00
Jonah Williams
2fb53d83f2
[flutter_tools] remove all globals from cache and cache_test ( #69505 )
2020-11-06 15:26:45 -08:00
Jonah Williams
1f210275aa
[flutter_tools] wrap http send in async guard ( #69972 )
2020-11-06 11:00:20 -08:00
Mokusesei
6269abb75b
Reland: fix android studio 4.1 plugin path for mac ( #69954 )
2020-11-06 10:57:04 -08:00
Devon Carew
5ba2d79ad2
remove the use of the analysis server --enable-experiments flag from flutter analyze ( #69966 )
2020-11-06 10:56:34 -08:00
Jonah Williams
e18533e7ab
[flutter_tools] remove globals from android_workflow ( #69548 )
2020-11-06 10:55:52 -08:00
Jonah Williams
ef288c1720
[flutter_tools] work around bug in plugins CI ( #69971 )
2020-11-06 10:55:40 -08:00
Gary Roumanis
16daed86c3
Persist Chrome Default Directory ( #69921 )
2020-11-06 10:54:04 -08:00
Dan Field
76784651d4
Move package:integration_test to flutter/flutter ( #69622 )
2020-11-05 17:28:47 -08:00
Jonah Williams
a3f6ea6f38
[flutter_tools] split web integration tests into new shard ( #69914 )
2020-11-05 17:21:44 -08:00
Shi-Hao Hong
a1a096e35a
[gen-l10n] Fix untranslated messages ( #68553 )
2020-11-05 16:24:02 -08:00
Jonah Williams
dd8820bcc1
[flutter_tool] initialize flutter root in executable ( #69549 )
...
initialize the flutter root as early as possible. This allows all interfaces to be normally injected into commands, even if those objects might read from the flutter root.
2020-11-05 15:21:05 -08:00
Jenn Magder
bc2a4a6498
Update CocoaPods recommended version to 1.9 ( #69809 )
2020-11-05 15:13:22 -08:00
Jonah Williams
ed1189259e
[flutter_tools] forward all args to pub ( #69784 )
...
Change forwarding command to pass through all args, even -h - this allows flutter to support all of the pub flags without needing to declare them.
2020-11-05 14:23:24 -08:00
Jenn Magder
1be922c353
Build either iphoneos or iphonesimulator App.framework, not both ( #69840 )
2020-11-05 14:22:24 -08:00
Dan Field
cfcb9887c9
Do not use --first-parent when determining version on master ( #69726 )
2020-11-05 10:11:32 -08:00
Jonah Williams
e8efde6a54
[versions] update more null safe versions ( #69892 )
2020-11-05 09:09:03 -08:00
Vyacheslav Egorov
4c24eb10b8
Revert "Fix: fix android studio 4.1 plugin path for macOS" ( #69870 )
...
This reverts commit 422a97d1e5
due to https://github.com/flutter/flutter/issues/69863
2020-11-05 11:18:00 +01:00