Zachary Anderson
57dd045cef
[flutter_tools] Handle empty gzip file on Windows ( #54679 )
...
* [flutter_tools] Handle empty gzip file on Windows
* Update packages/flutter_tools/test/general.shard/base/os_test.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* Update packages/flutter_tools/test/general.shard/base/os_test.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* Update packages/flutter_tools/test/general.shard/base/os_test.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-04-14 09:42:26 -07:00
Zachary Anderson
090fc5cc53
[flutter_tools] Use gzip level 1 for devfs transfer compression ( #54123 )
2020-04-08 09:07:02 -07:00
Zachary Anderson
733fc20073
[flutter_tool] Use unzip -t instead of zip -T to verify zip files ( #52331 )
2020-03-10 12:22:53 -07:00
Zachary Anderson
6c408a0567
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #52021 )
...
* Reland: [flutter_tool] Where possible, catch only subtypes of Exception
* Add armv7f to getIOSArchForName
2020-03-06 10:22:12 -08:00
Jenn Magder
cbbb7ec5a7
Revert "Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )" ( #51960 )
...
This reverts commit 57c6721cd5
.
2020-03-04 12:40:15 -08:00
Flutter GitHub Bot
57c6721cd5
Reland: [flutter_tool] Where possible, catch only subtypes of Exception ( #51774 )
2020-03-04 11:41:02 -08:00
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
Jonah Williams
238dac141b
Revert "[flutter_tools] More Linux version detail ( #50739 )" ( #50840 )
...
This reverts commit c725f107a1
.
2020-02-14 16:10:47 -08:00
Zachary Anderson
c725f107a1
[flutter_tools] More Linux version detail ( #50739 )
2020-02-13 14:49:11 -08:00
Zachary Anderson
92f7e16312
[flutter_tools] Make OperatingSystemUtils context-free ( #49740 )
2020-01-29 17:51:31 -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
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
Jonah Williams
106b8eb9c0
Revert "Reduce some direct package:archive usage ( #44608 )" ( #45291 )
...
This reverts commit 6b5634fed3
.
2019-11-20 14:45:32 -08:00
Jonah Williams
6b5634fed3
Reduce some direct package:archive usage ( #44608 )
2019-11-20 13:32:14 -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
Alexandre Ardhuin
df4bf453ab
more UI-as-code ( #35516 )
2019-09-17 16:23:44 +02:00
Zachary Anderson
e2340c641d
[flutter_tool] Use curly braces around single statment control structures ( #40446 )
2019-09-13 14:51:35 -07:00
Zachary Anderson
73c10e8ced
[flutter_tool] process.dart cleanup ( #39899 )
2019-09-11 18:20:42 -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
Zachary Anderson
94ce956f0a
[flutter_tool] Adds support for 'run' for Fuchsia devices ( #32849 )
2019-05-21 08:49:43 -07:00
Jonah Williams
0acd3e6b04
refactor context to be implicit-downcast safe ( #31622 )
2019-04-25 15:51:08 -07: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
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
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods ( #22096 )
2018-10-01 21:29:08 +02:00
Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Alexandre Ardhuin
eda03e2586
re-re-enable lint unnecessary_const ( #20103 )
2018-08-02 12:02:32 +02:00
Todd Volkert
00aac68e2d
Revert flutter/flutter#19592 ( #19861 )
...
It was causing problems rolling Flutter into Fuchsia
2018-07-27 08:44:39 -07:00
Alexandre Ardhuin
27018359d2
re-enable lint unnecessary_const ( #19592 )
...
* re-enable lint unnecessary_const
* remove trailling whitespaces
* remove unnecessary const (after merge)
2018-07-23 08:31:48 +02:00
Ian Hickson
f630f90d6d
Revert "enable lint unnecessary_const ( #19342 )" ( #19423 )
...
This reverts commit cc1cf13eec
.
2018-07-16 13:30:27 -07:00
Alexandre Ardhuin
cc1cf13eec
enable lint unnecessary_const ( #19342 )
2018-07-16 21:43:48 +02:00
Alexandre Ardhuin
09276bea25
enable lint prefer_equal_for_default_values ( #18156 )
2018-06-05 08:50:40 +02:00
Vyacheslav Egorov
f6fb982d5c
Fix strong mode issue in _PosixUtils._which. ( #17192 )
...
ProcessResult.stdout has static type dynamic so for
inference to infer proper type argument for the map
invocation we need to cast stdout to String explicitly.
Fixes #17163
2018-05-02 17:49:30 +02:00
Todd Volkert
8d11f5c763
Make AppContext immutable and race-free ( #15984 )
...
This updates AppContext per the recommendations in #15352
Fixes #15352
2018-03-28 10:58:28 -07:00
Alexandre Ardhuin
c02b6a8bcf
some whitespace cleanup ( #14443 )
2018-02-02 23:27:29 +01:00
jcollins-g
a6e5de2176
Make artifact downloading more robust for flaky networks, take two ( #14084 )
...
* Revert "Revert "Make artifact downloading more robust for flaky networks" (#13995 )"
This reverts commit 33d8a03545
.
* Use subdirectories to organize cached files
* Fix unauthorized import
2018-01-16 08:07:37 -08:00
jcollins-g
33d8a03545
Revert "Make artifact downloading more robust for flaky networks" ( #13995 )
...
* Revert "Change github readme links to be served by github (#13929 )"
This reverts commit fd516d9538
.
* Revert " Rename SemanticsFlags to SemanticsFlag (#13994 )"
This reverts commit 24e3f70536
.
* Revert "Make artifact downloading more robust for flaky networks (#13984 )"
This reverts commit 4d37e03e1d
.
2018-01-09 12:15:58 -08:00
jcollins-g
4d37e03e1d
Make artifact downloading more robust for flaky networks ( #13984 )
...
* First version
* Add a clarifying comment
* Add verify to ZipDecoder.decodeBytes call
* Review comments
* Need OS Error for missing files
* FileSystemException, not OSError.
2018-01-09 10:30:42 -08:00
Alexandre Ardhuin
1fce14a31c
enable lint prefer_single_quotes ( #12665 )
2017-10-22 18:11:36 +02:00
Mikkel Nygaard Ravn
c5999c74c0
Add gradle wrapper to project template ( #10928 )
2017-06-26 12:47:43 +02:00
Ian Hickson
0f1a703a6b
More documentation ( #10589 )
2017-06-08 17:13:03 -07:00
Jason Simmons
f44ba8b9c9
Add a flutter doctor --android-licenses command that locates and runs the Android SDK license manager ( #9892 )
...
See https://github.com/flutter/flutter/issues/8438
2017-05-09 10:18:45 -07:00
Alexandre Ardhuin
8bcf302e23
use conditional assignment ( #9252 )
2017-04-07 21:41:17 +02:00
Alexandre Ardhuin
189028a958
Separate the 'if' expression from its statement ( #9177 )
2017-04-04 21:45:50 +02:00
Michael Goderbauer
3f4cb1fe8c
Report detailed OS version string to analytics ( #8934 )
2017-03-22 13:11:05 -07:00