Zachary Anderson
b32ee2f15c
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )" ( #51616 )
...
This reverts commit 9de7787f25
.
2020-02-27 22:57:13 -08:00
Zachary Anderson
9de7787f25
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51567 )
2020-02-27 22:46:23 -08:00
Zachary Anderson
483f49962c
Revert "[flutter_tool] Where possible, catch only subtypes of Exception ( #51440 )" ( #51539 )
...
This reverts commit f1cd47ef5c
.
2020-02-26 23:42:19 -08:00
Zachary Anderson
f1cd47ef5c
[flutter_tool] Where possible, catch only subtypes of Exception ( #51440 )
2020-02-26 21:45:02 -08:00
Christopher Fujino
704fb4cbc7
Remove usage of ideviceinstaller in favor of ios-deploy ( #50772 )
2020-02-25 09:09:40 -08:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01:00
Jenn Magder
a9b8d360cf
Remove ideviceinfo, idevice_id artifacts ( #50248 )
2020-02-06 15:50:26 -08:00
Christopher Fujino
e6e14b0dd2
Have android validator suggest ANDROID_SDK_ROOT instead of deprecated ANDROID_HOME ( #49846 )
2020-02-06 14:03:03 -08:00
Lau Ching Jun
81525fa1a6
Support downloading font-subset for all platforms ( #50240 )
2020-02-06 10:33:02 -08:00
Zachary Anderson
2c51efef29
[flutter_tools] Make Config context-free ( #49834 )
2020-01-31 12:51:20 -08:00
Alexandre Ardhuin
b5f328e37e
remove unnecessary string interpolations ( #49622 )
2020-01-31 18:30:21 +01:00
Zachary Anderson
92f7e16312
[flutter_tools] Make OperatingSystemUtils context-free ( #49740 )
2020-01-29 17:51:31 -08:00
Dan Field
fabeb2a16f
Revert string interp ( #49602 )
2020-01-28 07:56:51 -08:00
Zachary Anderson
74c1be6ff1
[flutter_tool] Make base/net.dart context free ( #49575 )
2020-01-27 17:53:02 -08:00
Alexandre Ardhuin
92cbaa3efe
remove unnecessary string interpolations ( #49352 )
2020-01-23 20:43:01 -08:00
Dan Field
525855d595
download font-subset ( #49234 )
2020-01-21 16:53:02 -08:00
Zachary Anderson
dc94e479d1
[flutter_tool] Don't crash on failed stamp file update ( #49080 )
2020-01-17 15:18:01 -08:00
Jonah Williams
ad9476dc9e
[flutter_tools] Remove context from Artifacts class ( #48776 )
2020-01-14 16:47:34 -08:00
Zachary Anderson
29490887e0
Reland: [flutter_tools] File system utilities ( #48757 )
...
* Reland: [flutter_tools] File system utilities
* Remove unused imports
2020-01-14 09:40:39 -08:00
Zachary Anderson
ef62092b9b
Revert "[flutter_tools] File system utilities ( #48738 )" ( #48755 )
...
This reverts commit 0349660622
.
2020-01-13 14:30:37 -08:00
Zachary Anderson
0349660622
[flutter_tools] File system utilities ( #48738 )
2020-01-13 13:17:45 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Jonah Williams
ee7a37f1d3
[flutter_tools] Ensure that global variables are easily identifiable ( #47398 )
2020-01-06 11:04:20 -08:00
Jenn Magder
9861a1c045
flutter build ios-framework generate Flutter.podspec ( #47556 )
2019-12-23 13:12:36 -08:00
Emmanuel Garcia
354f80b84a
Check and give execute permission to Gradle if needed ( #46748 )
2019-12-11 16:36:03 -08:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Christopher Fujino
dc68d5700b
Fix flutter run cache ( #45267 )
2019-11-26 09:02:34 -08:00
Alexandre Ardhuin
adc7351046
implicit-casts:false on flutter_tools/lib ( #44447 )
...
* implicit-casts:false on flutter_tools/lib
* address review comments
* use castStringKeyedMap
* introduce {bool,string,strings}Arg
* fix ci
2019-11-19 07:57:42 +01:00
Zachary Anderson
29c026fac4
[flutter_tool] Don't crash when failing to delete downloaded artifacts ( #44933 )
...
* [flutter_tool] Don't crash when failing to delete downloaded artifacts
* Add space
* Add more spaces.
2019-11-15 10:05:45 -08:00
Zachary Anderson
12c190f746
[flutter_tool] Stream artifact downloads to files ( #44360 )
2019-11-07 14:01:57 -08:00
Kaushik Iska
7dceec21f7
[flutter_tool] --flutter_runner will download the debug symbols ( #44119 )
...
This makes the flutter tool download the debug symbols for Flutter and Dart runners to be used in Fuchsia dev environment.
2019-11-05 14:07:48 -08:00
Emmanuel Garcia
175b37247d
Refactor gradle.dart ( #43479 )
2019-10-31 13:19:15 -07:00
Jonah Williams
50da3bd062
check if libimobiledevice executables exist ( #43767 )
2019-10-29 21:35:51 -07:00
Christopher Fujino
261594e785
add libzip cache artifact ( #43677 )
2019-10-29 14:29:00 -07:00
Jonah Williams
b142c9bbdb
catch failure to parse FLUTTER_STORAGE_BASE_URL ( #43599 )
2019-10-28 10:54:03 -07:00
Lau Ching Jun
4416c4f8d6
Add Android x64 profile artifacts ( #42508 )
2019-10-11 06:57:45 -07:00
Jonah Williams
03a45dc383
Add support for Android x86_64 ABI to Flutter ( #42401 )
2019-10-10 16:34:16 -07:00
Lau Ching Jun
5a41374ac3
Add option to precache unsigned mac binaries. ( #42376 )
2019-10-09 22:24:15 -07:00
Jonah Williams
861fe0a276
Ensure precache --web works on dev branch ( #42289 )
2019-10-09 16:27:39 -07:00
Alexandre Ardhuin
83e5a8a0e4
some formatting changes ( #41640 )
2019-10-08 18:32:10 +02:00
Ian Hickson
cdc2d9901d
More consistent temp directory naming ( #42063 )
...
Applying our style guide:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#have-good-hygiene-when-using-temporary-directories
2019-10-07 16:43:04 -07:00
Jonah Williams
6edd79abab
Upload x64 android host release ( #41933 )
2019-10-03 16:23:53 -07:00
Jonah Williams
b1a6aa3ab8
Add support for downloading x86 Android JIT release artifact ( #41751 )
2019-10-02 12:45:35 -07:00
Jonah Williams
6714baab41
Download Android x64 release artifacts ( #41698 )
2019-10-01 14:04:37 -07:00
Alexandre Ardhuin
f0553ba58e
Missing trailing commas ( #41473 )
...
* add missing trailing commas
* add more missing trailing commas
* add more and more missing trailing commas
2019-09-30 18:48:23 +02:00
Emmanuel Garcia
8a1bf5b827
Reland #39157 ( #39798 )
2019-09-17 08:19:33 -07:00
Zachary Anderson
e2340c641d
[flutter_tool] Use curly braces around single statment control structures ( #40446 )
2019-09-13 14:51:35 -07:00
stuartmorgan
4c2c7c417d
Switch to the Win32 Windows embedding ( #39836 )
...
Pulls the Win32 embedding artifacts instead of the GLFW versions for
Windows.
Fixes #38590
2019-09-05 10:09:12 -07:00
Emmanuel Garcia
d230234d67
Revert Maven dependencies ( #39747 ) (39157) ( #39784 )
2019-09-03 17:49:10 -07:00
Emmanuel Garcia
b63cb44105
Use new Maven artifacts from Gradle ( #39157 )
2019-09-02 10:35:17 -07:00
Jonah Williams
b2d19d2af5
Add support for macOS release/profile mode (3 of 3) ( #38909 )
2019-08-23 08:46:24 -07:00
stuartmorgan
2daab305aa
Use GLFW-name artifacts on Windows and Linux ( #38858 )
...
Switch from the un-suffixed Windows and Linux libraries to the
_glfw-suffixed versions, in preparation for having non-GLFW versions
using the previous library/wrapper names.
Part of #38589
2019-08-20 06:29:49 -07:00
Jonah Williams
77e15103da
Catch failure to create directory in cache ( #37871 )
2019-08-09 16:21:32 -07:00
Zachary Anderson
99d66f2709
[flutter_tool] Make a couple file operations synchronous ( #37044 )
2019-07-30 12:16:32 -07:00
Jonah Williams
c9a5f94372
Include flutter_runner in precache artifacts. ( #36318 )
2019-07-29 16:13:47 -07:00
Todd Volkert
adb2aeebe3
Ensure that cache dirs and files have appropriate permissions ( #28090 )
...
This is a partial re-application of #24669 , which was
reverted due to Fuchsia breakages.
https://github.com/flutter/flutter/issues/24413
2019-07-18 15:29:06 -07:00
Tim Sneath
07735578af
Fix spelling error and clarify universal flag ( #36331 )
2019-07-17 10:46:48 -07:00
Christopher Fujino
102ab1e6d9
Reland bundle ios deps ( #36093 )
...
This updates the flutter tool cache to download binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
2019-07-15 09:22:29 -07:00
Jonah Williams
0a97553e5e
Revert "Merge branches 'master' and 'master' of github.com:flutter/flutter into timsneath-precache2" ( #36096 )
2019-07-12 13:42:32 -07:00
Tim Sneath
7349970462
Update comments to match precache help
2019-07-12 12:59:01 -07:00
Alexandre Ardhuin
758009ba70
more ui-as-code ( #35393 )
...
* more ui-as-code
* address review comments
2019-07-02 21:11:56 +02:00
Alexandre Ardhuin
919dcf53f3
enable lints prefer_spread_collections and prefer_inlined_adds ( #35189 )
2019-06-27 21:23:16 +02:00
Jonah Williams
d4d10dac61
Revert "Check whether FLUTTER_ROOT and FLUTTER_ROOT/bin are writable. ( #34291 )" ( #34750 )
...
This reverts commit 49449505b6
.
2019-06-19 15:37:04 -07:00
Jonah Williams
49449505b6
Check whether FLUTTER_ROOT and FLUTTER_ROOT/bin are writable. ( #34291 )
2019-06-19 09:12:43 -07:00
Zachary Anderson
3d276cc6a8
[flutter_tool] Pull the right Fuchsia SDK for the platform ( #31998 )
2019-05-02 15:26:59 -07:00
Jonah Williams
0acd3e6b04
refactor context to be implicit-downcast safe ( #31622 )
2019-04-25 15:51:08 -07:00
Jonah Williams
18e294dbd7
throw toolExit instead of rethrowing on filesystem exceptions ( #31404 )
2019-04-22 09:56:14 -07:00
Stanislav Baranov
08445c8a01
Stop precaching the artifacts for dynamic mode. ( #31282 )
2019-04-22 09:05:38 -07:00
Jonah Williams
5228a7851a
Fuchsia step 1: add SDK version file and artifact download ( #31073 )
2019-04-16 13:24:58 -07:00
Alexander Aprelev
d775908c7e
Download and handle product version of flutter patched sdk ( #31063 )
...
* Support release/debug flavors of flutter_patched_sdk
* Use [anyNamed] instead of [any] for mocking named arguments
* Fix use of local engine in release mode
2019-04-15 21:02:20 -07:00
Jonah Williams
259641c4b3
Allow downloading of desktop embedding artifacts ( #30648 )
2019-04-10 22:08:44 -07:00
Jonah Williams
ed49122aa3
register gradle wrapper as universal artifact ( #30755 )
2019-04-08 20:22:34 -07:00
Tim Sneath
529189791c
Replace flutter.io with flutter.dev ( #30562 )
2019-04-05 11:39:30 -07:00
Jonah Williams
99866f4a3d
Make timeout durations configurable ( #30053 )
2019-03-27 16:21:16 -07:00
Jonah Williams
7d678f2adc
Lazy cache 5: The Empire Strikes Back ( #29986 )
2019-03-27 13:54:09 -07:00
Jonah Williams
164dae3bf1
Revert "Lazy cache 4 ( #29785 )" ( #29985 )
2019-03-26 10:01:22 -07:00
Jonah Williams
d71f324e48
Lazy cache 4 ( #29785 )
2019-03-26 08:45:29 -07:00
Jonah Williams
44b22c7b04
Fix cache location, artifacts, and re-enable dart2js test ( #29783 )
2019-03-25 18:47:37 -07:00
Jonah Williams
5f727126ca
Download secondary SDK ( #29633 )
2019-03-20 15:41:45 -07:00
Jonah Williams
8c0cf1ddf7
Revert "Lazily download artifacts (III) ( #27903 )" ( #29064 )
...
This reverts commit 3fd36200d9
.
2019-03-08 13:31:51 -08:00
Jonah Williams
3fd36200d9
Lazily download artifacts (III) ( #27903 )
2019-03-08 13:15:50 -08:00
Alexandre Ardhuin
387f885481
Add missing trailing commas ( #28673 )
...
* add trailing commas on list/map/parameters
* add trailing commas on Invocation with nb of arg>1
* add commas for widget containing widgets
* add trailing commas if instantiation contains trailing comma
* revert bad change
2019-03-01 08:17:55 +01:00
Alexandre Ardhuin
5169ab5974
format parameter list ( #27261 )
2019-02-21 09:27:07 +01:00
Jonah Williams
a5af29e83c
Revert "Lazily download artifacts (Part II) ( #27735 )" ( #27895 )
...
This reverts commit 76061c4fa9
.
2019-02-13 11:59:51 -08:00
Jonah Williams
76061c4fa9
Lazily download artifacts (Part II) ( #27735 )
2019-02-13 11:04:28 -08:00
Jonah Williams
7cdb30fba2
Revert "Lazily download artifacts ( #27374 )" ( #27705 )
...
This reverts commit 98971f3c64
.
2019-02-08 15:50:18 -08:00
Jonah Williams
98971f3c64
Lazily download artifacts ( #27374 )
2019-02-08 15:24:09 -08:00
Alexandre Ardhuin
ef276ffea5
format initializer list of constructors ( #27111 )
2019-01-29 21:47:16 +01:00
Ian Hickson
31a9626c48
[O] Removing all timeouts (mark II) ( #26736 )
...
These are essentially self-inflicted race conditions. Instead of timeouts we're going to try a more verbose logging mechanism that points out when things are taking a long time.
2019-01-19 00:31:05 -08:00
KyleWong
87d6e93c46
Improve the intergrity checking for "gradle wrapper". ( #26069 )
2019-01-08 18:34:58 -08:00
Stanislav Baranov
4b474d61c6
Put correct VM snapshot in APK, and actually precache gen_snapshot on Mac. ( #26104 )
2019-01-07 12:22:55 -08:00
Ian Hickson
fb88a7bfd1
Update links for China help ( #25238 )
...
We have a page on the Web page now.
2018-12-21 10:12:49 -08:00
Ian Hickson
8426910a19
Revert "[O] Remove many timeouts. ( #23531 )" ( #25646 )
...
This reverts commit 76f70810e4
.
2018-12-20 18:46:36 -08:00
Ian Hickson
76f70810e4
[O] Remove many timeouts. ( #23531 )
...
* Remove many timeouts.
These are essentially self-inflicted race conditions. Instead of timeouts we're going to try a more verbose logging mechanism that points out when things are taking a long time.
* Get the attach tests to pass.
* Apply review comments from Todd
* More review comment fixes
* Put back the extended timeouts here now that I know why we have them...
2018-12-20 17:10:40 -08:00
Jonah Williams
c461e93363
Revert "Ensure that cache dirs and files have appropriate permissions" ( #25240 )
2018-12-11 15:33:57 -08:00
Todd Volkert
74ab1bfbbd
Ensure that cache dirs and files have appropriate permissions ( #24669 )
...
Fixes https://github.com/flutter/flutter/issues/24413
2018-12-10 13:39:50 -08:00
Ben Konyi
b1a23299e1
Added '--check-for-remote-artifacts' option for Flutter Doctor. ( #23543 )
...
* Added '--check-for-remote-artifacts' option for Flutter Doctor.
This option takes a Flutter engine revision and issues HEAD requests to
determine whether or not artifacts for the provided engine revision are
available from cloud storage. This functionality is needed for the Dart
SDK autoroller to avoid creating a PR to roll the engine into the
framework while artifacts haven't finished building, which would cause
Cirrus tests to fail.
2018-10-29 17:03:22 -07:00
Greg Spencer
dc2cc6375c
Simplify the version string for customer consumption. ( #23578 )
...
Fixes #21825
2018-10-26 13:21:36 -07:00
Alexandre Ardhuin
8b0de38ef8
fix upcoming lint avoid_returning_null_for_void ( #23190 )
2018-10-17 11:01:37 +02:00
Alexandre Ardhuin
2d3ff10d62
apply lint prefer_void_to_null in packages/flutter_tools ( #22686 )
2018-10-05 07:54:56 +02:00