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
73330e1241
Remove compilation trace and dynamic support code ( #34529 )
2019-06-18 15:22:04 -07:00
Keerti Parthasarathy
eae67f05df
Make const available for classes that override AssetBundle ( #31807 )
2019-04-30 09:10:04 -07:00
Jonah Williams
4ff467191b
make FlutterProject synchronous ( #31757 )
2019-04-29 08:21:32 -07:00
Jonah Williams
0acd3e6b04
refactor context to be implicit-downcast safe ( #31622 )
2019-04-25 15:51:08 -07:00
Jonah Williams
8220f8f4e3
add missing test case and handle wildcard removal ( #30205 )
2019-03-29 14:26:56 -07:00
Jonah Williams
bafe7cbbb4
Watch wildcard directories in addition to asset bundle ( #29883 )
2019-03-26 21:40:53 -07:00
Jonah Williams
377f4451ca
fix asset reloading ( #29469 )
2019-03-21 09:03:28 -07:00
Phil Quitslund
802eca29d2
set literal conversions ( #27811 )
2019-03-06 11:05:16 -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
91fd89e8b3
Wrap dart:convert to track utf8 decode failures ( #26650 )
2019-01-25 16:16:26 -08:00
Jonah Williams
61291aeeaf
ensure lastBuildTimestamp is set before early return ( #25058 )
2018-12-10 15:57:52 -08:00
Alexandre Ardhuin
2ea1d81cdc
sort_constructors_first ( #22575 )
2018-10-04 07:28:07 +02: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
Leaf Petersen
32f94443cc
Remove uses of deprecated constants and change int.parse to int.tryParse ( #19575 )
...
* Remove uses of deprecated constants
* Change int.parse to int.tryParse where appropriate
2018-07-20 15:07:24 -07: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
Devon Carew
9d9836f080
adjust declared types to work with dart 2 typing at runtime ( #19007 )
...
* adjust declared types to work with dart 2 typing at runtime
* review comments
* update packages/flutter_tools/lib/src/ios/simulators.dart
2018-07-09 12:22:46 -07:00
Alexandre Ardhuin
09276bea25
enable lint prefer_equal_for_default_values ( #18156 )
2018-06-05 08:50:40 +02:00
fmatosqg
197d4315a9
Scan assets from disk ( #16413 )
...
Scan folders when asset specified finishes with `/`
2018-05-20 17:52:33 -07:00
Greg Spencer
3c5a7a3005
Make non-global constants have consistent naming (with just _ instead of _k) ( #17584 )
...
Our style guide says the k's are not necessary, and it seems like a good idea to make all the code be consistent on this.
Only naming changes to private vars: no logic changes.
2018-05-17 23:04:41 -07:00
Todd Volkert
d820e5f3b1
Use deprecated io constants ( #17278 )
...
The new values are not ready for use yet inside Google
2018-05-03 22:27:29 -07:00
Yegor
b2c98f9a4e
Roll engine to e976be13c51448f89107d082ec81e2b6731671fa ( #17266 )
...
* Roll engine to e976be13c51448f89107d082ec81e2b6731671fa
* move away from deprecated constants
2018-05-03 19:24:48 -07:00
Todd Volkert
c83d24d547
Always add a DevFS asset entry for the font manifest ( #16650 )
...
The engine expects it to always be there.
2018-04-16 21:48:21 -07:00
Sarah Zakarias
4443e4d4cf
Cleanup FLX related code ( #16416 )
2018-04-12 10:12:26 +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
Jason Simmons
466d15433f
Use Dart 2 camel case constants ( #15360 )
2018-03-12 11:06:32 -07:00
Todd Volkert
1686b6d56d
Remove fixed asset bundles - they're no longer used. ( #14729 )
2018-02-16 10:22:52 -08:00
jensjoha
5ccd5a1e75
[kernel/flutter] Improve speed of first hot reload ( #13699 )
...
* [kernel/flutter] Improve speed of first hot reload
* [kernel/flutter] Improve speed of first hot reload
* Revert "[kernel/flutter] Improve speed of first hot reload"
This reverts commit f3dc133878
.
* Revert "[kernel/flutter] Improve speed of first hot reload"
This reverts commit f7bcb082b0
.
* Revert "Revert "[kernel/flutter] Improve speed of first hot reload""
This reverts commit 73c7a1a8e8
.
* [kernel/flutter] Improve speed of first hot reload
Do so by not evicting unnecessary paths (while still evicting paths
that was changed between the generation of the package file and the
initial upload).
* Fix grammar in method name
* Fix bad merge
* Add method to super class
2018-01-31 07:39:58 -08:00
Todd Volkert
1859e82a3d
Extensibility improvements to flutter_tools ( #14299 )
...
* Make the current command injected into the AppContext, allowing
other classes to inject the current command.
* Introduce `AssetBundleFactory`, an injected factory class for
spawning instances of `AssetBundle`. This allows other run contexts
to use custom asset bundling logic.
* Clean up RunCommand by removing a 'packages' argument that duplicated
a global argument by the same name (and for the same purpose).
Duplicate arguments are confusing and error-prone.
2018-01-29 09:40:28 -08:00
Michael Goderbauer
84580b545a
Make Assets more robust across platforms ( #14246 )
2018-01-24 13:16:23 -08:00
Michael Goderbauer
733bd04904
Fix custom fonts on Windows ( #14191 )
...
Fixes https://github.com/flutter/flutter/issues/13870 .
2018-01-22 10:00:27 -08:00
Jason Simmons
cb2cfac0eb
Check for presence of an asset directory before accessing it ( #12790 )
...
Fixes https://github.com/flutter/flutter/issues/12460
2017-10-30 17:04:30 -07:00
Alexandre Ardhuin
28366002d9
enable lint prefer_foreach ( #12674 )
...
* enable lint prefer_foreach
* fix tests
2017-10-25 08:25:44 +02:00
Sarah Zakarias
3cbbbf0617
Allow empty pubspec file when building asset bundle ( #12269 )
2017-09-26 23:14:20 +02:00
Sarah Zakarias
49ba974710
Factor out flutter manifest logic ( #12237 )
2017-09-26 14:48:52 +02:00
Sarah Zakarias
ec2d1c9116
Add support for shared fonts in packages. ( #12142 )
2017-09-19 14:04:51 +02:00
Sarah Zakarias
e5aead03cc
Comments to PR #12032 ( #12045 )
2017-09-12 12:53:03 +02:00
Sarah Zakarias
0b95e9c278
Support transitive asset dependency ( #12032 )
2017-09-12 09:13:41 +02:00
Sarah Zakarias
02c10b78d2
Bundle assets used in packages ( #11751 )
2017-09-05 09:42:24 +02:00
Hans Muller
680d581db7
Correct handling of assets when no main asset is present ( #11564 )
2017-08-09 16:04:57 -07:00
Hans Muller
b55441a027
Do not require main asset files if variants are provided ( #10901 )
2017-06-22 16:45:57 -07:00
Ian Hickson
0f1a703a6b
More documentation ( #10589 )
2017-06-08 17:13:03 -07:00
Alexandre Ardhuin
189028a958
Separate the 'if' expression from its statement ( #9177 )
2017-04-04 21:45:50 +02:00