Commit Graph

4883 Commits

Author SHA1 Message Date
John McCutchan
ae1881e4c7 Fix handling of empty --project-assets option (#6873) 2016-11-15 13:47:57 -08:00
Ian Hickson
2b84d1ff1b Silence new analyzer warnings (#6866)
See https://github.com/flutter/flutter/pull/6861

This silences all but two of the warnings from https://travis-ci.org/flutter/flutter/builds/176055550

One of the silenced warnings was a genuine code error.

Some of the others were correct but there was no way for the analyzer to know, and I worked around them.

The remainder are problems with the analyzer, specifically https://github.com/dart-lang/sdk/issues/27827 and https://github.com/dart-lang/sdk/issues/27504.
2016-11-15 12:35:50 -08:00
Devon Carew
15ea399fdd add identifiers to progress messages (#6868) 2016-11-15 12:13:56 -08:00
Hans Muller
f496ad055a Fix GridTileBar layout (#6844) 2016-11-15 12:01:27 -08:00
Adam Barth
d8e6de8ec7 Add support for raw key events on Fuchsia (#6754)
See #6631
2016-11-15 10:33:07 -08:00
Ian Hickson
7424a7604a Cross-references (#6860) 2016-11-15 08:39:01 -08:00
John McCutchan
d54bed45f3 Support specifying a fixed list of assets on the command line (#6857) 2016-11-15 07:01:00 -08:00
Ian Hickson
fd5a08941e Clarify pub.dart messages (#6856) 2016-11-14 16:54:24 -08:00
Ian Hickson
6c93270d85 FileImage (#6853) 2016-11-14 16:36:39 -08:00
Dan Rubel
34e466f1fd Refactor flutter command exit code - part 3 of 3 (#6838)
* Remove the workaround that pinned args to v0.13.6
This reverts most of the changes in commit 6331b6c8b5
* throw exception if exit code is not an integer
* rework command infrastructure to throw ToolExit when non-zero exitCode
* convert commands to return Future<Null>
* cleanup remaining commands to use throwToolExit for non-zero exit code
* remove isUnusual exception message
* add type annotations for updated args package
2016-11-14 14:21:30 -05:00
Ian Hickson
ece851d5cd Minor improvements to the render tree dump. (#6831)
Also fixes https://github.com/flutter/flutter/issues/6510
2016-11-14 11:18:46 -08:00
Dan Rubel
e384c0d982 Refactor flutter command exit code - part 2 (#6817)
* convert pubGet to throw ToolExit on non-zero exit code
* convert commandValidator to throw ToolExit for non-zero exit code
* convert flutter commands to throw ToolExit for non-zero exit code
* use convenience method throwToolExit
* only show "if this problem persists" for unusual exceptions
2016-11-13 22:09:03 -05:00
Dan Rubel
90f7afcbcf flutter doctor show one intellij install per location (#6820) 2016-11-13 22:03:56 -05:00
Ian Hickson
df25e4899d Provide a way to override the Material border radius (#6828)
This should help a bit with people trying to make apps that have a
Material feel but don't necessarily exactly fit the Material spec.
2016-11-12 15:09:12 -08:00
Ian Hickson
661543227e Mention visitChildren in RenderObjectElement docs. (#6824) 2016-11-11 21:45:17 -08:00
Andrew Wilson
fa18423ccb Add BUILD.gn for flutter_test. (#6823) 2016-11-11 14:16:12 -08:00
John McCutchan
45c95b261d Performance fixes for hot reload when using a prebuilt loader (#6821) 2016-11-11 13:28:21 -08:00
Dan Rubel
cccd917ac2 Refactor flutter command exit code - part 1 (#6803)
* convert flutter commands to use ToolExit for non-zero exit code
* add convenience method throwToolExit
* print ToolExit message iff not null
2016-11-11 10:42:09 -05:00
Dan Rubel
b04f35e8c0 Revert "trace IntelliJ config and install locations on Linux (#6805)" (#6816)
The added printTrace statements are causing problems when running tests locally on Linux.
This reverts commit 546cef5277.
2016-11-11 09:44:08 -05:00
Chris Bracken
d0ff41ec35 Add accentTextTheme and accentIconTheme to ThemeData (#6808)
These define a TextTheme and IconTheme that contrast with the accent
colour brightness. Also adjust default accentColorBrightness to match
Material spec examples (dark text/icons on teal in Dark theme).

Update material components to use accentTextTheme, accentIconTheme:
* DatePicker selection
* Floating action button icon
* TimePicker selection
* Slider label text
2016-11-10 15:33:02 -08:00
John McCutchan
f172f0675d Miscellaneous cleanups (#6813)
- [x] Return the reload message even when paused at a breakpoint.
- [x] Only initialize context members if they aren't already initialized.
2016-11-10 15:28:19 -08:00
Jason Simmons
ca5e1f3f23 In the semantics tree, do not detach a child if it has already been assigned a new parent (#6773)
Fixes https://github.com/flutter/flutter/issues/6690

Also add a version of the Gallery smoke test that enables semantics
2016-11-10 12:55:56 -08:00
Dan Rubel
546cef5277 trace IntelliJ config and install locations on Linux (#6805) 2016-11-10 15:48:49 -05:00
John McCutchan
e908655207 Remove legacy restart support (#6801) 2016-11-10 11:12:59 -08:00
John McCutchan
83be3e599f Stop tracking time to first frame because it is unreliable. (#6800)
- [x] Stop tracking time to first frame because it is unreliable.
- [x] Track time to complete reassemble instead.
2016-11-10 10:38:11 -08:00
Todd Volkert
74e31679fb Respect the --no-codesign flag even for simulators (#6799) 2016-11-10 10:30:17 -08:00
John McCutchan
11ca0f1ada Support caching host filesystem symlink targets to speedup DevFS updates (#6798) 2016-11-10 08:31:11 -08:00
Ian Hickson
bbf98d9c6b SizedBox.expand (#6791) 2016-11-09 23:34:31 -08:00
Ian Hickson
fcd47f84d2 CustomPaint size (#6790) 2016-11-09 20:50:43 -08:00
Ian Hickson
01a8d51022 Clean up abstract node docs (#6786) 2016-11-09 18:15:51 -08:00
John McCutchan
958d2a6fb8 Abort a hot reload if we detect an error in flutter.yaml (#6787) 2016-11-09 18:13:06 -08:00
Ian Hickson
b9c3871163 Add debug info to offstage renderer (#6789) 2016-11-09 18:10:50 -08:00
Ian Hickson
f75e6074a8 Minor stylistic cleanup in flutter_tools/lib/src/dart/summary.dart (#6788)
I was in here trying to figure out why we rebuild sky_services (the
answer is, because we rebuild every package we've ever downloaded, but
that's not really a problem for new users so whatever), and while I
was here I did some cleanup.
2016-11-09 18:10:40 -08:00
John McCutchan
8c70ad43ae Remove old benchmark code from the non-hot runner. (#6762)
- [x] Remove old benchmark code from the non-hot runner.
- [x] Remove some dead code.
- [x] Fix a throw that should be a rethrow.
2016-11-09 16:48:49 -08:00
Ian Hickson
1f737f5c94 Add a table to the updateChild docs (#6782) 2016-11-09 16:28:35 -08:00
Yegor
d63430773c add driver failure test (#6776) 2016-11-09 15:28:30 -08:00
Ian Hickson
49b5701224 Minor fixes (mostly doc consistency) (#6780) 2016-11-09 15:05:56 -08:00
Ian Hickson
0db2fc3fd9 RenderObjectElement docs (#6770) 2016-11-09 13:04:16 -08:00
Chinmay Garde
1939ba12d2 Wire up checkerboarding of raster cache images in the framework and gallery. (#6749) 2016-11-09 11:36:17 -08:00
Yegor
0cd69826f5 100% doc coverage in package:flutter_driver (#6738) 2016-11-08 15:30:31 -08:00
Ian Hickson
64609588f4 Fix the hot reload colors to look better (#6753) 2016-11-08 15:16:46 -08:00
Ian Hickson
7f182dacb7 A variety of trivial fixes. (#6752) 2016-11-08 15:16:39 -08:00
Ian Hickson
106ff33255 Detailed RenderBox and RenderObject docs (#6745) 2016-11-08 15:16:33 -08:00
Ian Hickson
b9a620694c CircleAvatar docs (#6735) 2016-11-08 14:49:49 -08:00
Dan Rubel
6331b6c8b5 revert args to 0.13.6 (#6765) 2016-11-08 17:15:11 -05:00
Matt Perry
b9bff6a912 Only show the keyboard when the user explicitly focuses an Input. (#6713)
Fixes https://github.com/flutter/flutter/issues/6603
2016-11-08 14:14:15 -05:00
Dan Rubel
fb03b3137e Improve error message if update cache interrupted during download (#6740) 2016-11-08 08:02:06 -05:00
Ian Hickson
04e7446b2b Make the fire red on black-and-white terminals (#6748) 2016-11-07 15:48:50 -08:00
Dan Rubel
974da47481 send app.progress events (#6744) 2016-11-07 17:55:45 -05:00
Devon Carew
bea50b59a1 minor tweak to the text output (#6695) 2016-11-07 14:47:42 -08:00