pq
97ba6a1e0b
Re-enable implementation_imports
lint rule.
2016-05-17 11:02:10 -07:00
Phil Quitslund
a6b8980d3e
Merge pull request #3954 from pq/summaries_off
...
Back out SDK summaries.
2016-05-17 09:03:15 -07:00
Collin Jackson
b4313b04b0
Merge pull request #3946 from collinjackson/apk
...
Make flutter run generate identical apks to flutter build apk
2016-05-17 07:30:10 -07:00
Collin Jackson
a312db482d
remove the add-files argument to flutter run
2016-05-16 18:33:59 -07:00
Chinmay Garde
0e8f26dd6c
Use the correct host toolchain when building from a local engine checkout on Mac. ( #3956 )
2016-05-16 17:05:39 -07:00
pq
fddab5d800
Back out SDK summaries.
...
Net-net: SDK summaries are not safe in the presence of SDK library embedders.
Context (and bug to track re-enablement) here: https://github.com/dart-lang/sdk/issues/26467 .
2016-05-16 15:57:45 -07:00
Collin Jackson
00e22284f2
Fix #3891 by making flutter run generate identical apks to flutter build apk
2016-05-16 15:53:18 -07:00
Ian Hickson
3252701753
Make it possible to run tests live on a device ( #3936 )
...
This makes it possible to substitute 'flutter run' for 'flutter test'
and actually watch a test run on a device.
For any test that depends on flutter_test:
1. Remove any import of 'package:test/test.dart'.
2. Replace `testWidgets('...', (WidgetTester tester) {`
with `testWidgets('...', (WidgetTester tester) async {`
3. Add an "await" in front of calls to any of the following:
* tap()
* tapAt()
* fling()
* flingFrom()
* scroll()
* scrollAt()
* pump()
* pumpWidget()
4. Replace any calls to `tester.flushMicrotasks()` with calls to
`await tester.idle()`.
There's a guarding API that you can use, if you have particularly
complicated tests, to get better error messages. Search for
TestAsyncUtils.
2016-05-16 12:53:13 -07:00
Devon Carew
483922d15c
allow per-command analytics suppression ( #3919 )
...
* allow per-command analytics suppression
* rev the usage package dep
2016-05-15 20:06:27 -07:00
Chinmay Garde
a21dedc16f
Enable targetting AOTC Android builds from Mac hosts. ( #3911 )
2016-05-13 17:03:03 -07:00
Devon Carew
cc5d1adcfc
handle an exit code from android n ( #3914 )
...
* handle an exit code from android n
* review comments
2016-05-13 16:47:30 -07:00
Yegor
15decfca6e
reenable --checked option in flutter drive ( #3916 )
2016-05-13 16:42:28 -07:00
Seth Ladd
20897c3f66
Box too big ( #3884 )
...
* shrink analytics message to < 80 chars
* catch line ending
2016-05-13 09:44:36 -07:00
Devon Carew
40c0d6ea12
Consolidate observatory code ( #3892 )
...
* rename service_protocol.dart to protocol_discovery.dart
* add a wrapper around the obs. protocol
* use json-rpc in run
* consolidate obs. code; implement flutter run --benchmark
* review comments
2016-05-12 18:15:23 -07:00
Jason Simmons
32846de9f8
Remove ArtifactStore and move flutterRoot into Cache ( #3883 )
2016-05-12 15:54:35 -07:00
Phil Quitslund
616d9e2ea8
Merge pull request #3880 from pq/void_setters
...
Turn on `avoid_return_types_on_setters` and cleanup annotated setters.
2016-05-12 12:28:15 -07:00
Jason Simmons
a590ee2671
Remove BuildConfigurations ( #3879 )
...
Artifacts from local engine builds will be found based on the --local-engine flag
2016-05-12 12:22:15 -07:00
pq
e54196d7fc
Turn on avoid_return_types_on_setters
and cleanup annotated setters.
...
It's safe to remove the unneeded `void`s from setters since the blocking issues in the
`always_declare_return_types` lint have been fixed (https://github.com/dart-lang/linter/ ). We can also safely flip the bit on `avoid_return_types_on_setters`.
2016-05-12 11:45:30 -07:00
Devon Carew
7072c8f255
Update version.dart ( #3873 )
2016-05-11 19:58:34 -07:00
Chinmay Garde
f0a8ee2a86
Use debug artifacts on mac host and update engine revision. ( #3875 )
2016-05-11 17:07:12 -07:00
Jason Simmons
0f53f7966b
Remove Toolchain and extend ToolConfiguration to locate host tools such as sky_snapshot ( #3870 )
...
Host tools can be found in the artifact cache directory for the host platform.
If a developer wants to use a local engine build instead, then provide an
--engine-build flag that selects the specific engine build variant.
2016-05-11 15:47:26 -07:00
Devon Carew
45db865079
be more lenient when looking for matching android sdk components ( #3830 )
...
* be more lenient when looking for matching android sdk components
* use a null aware operator
2016-05-11 15:34:24 -07:00
Chinmay Garde
29b8c804da
Update bucket names for each target and host build configuration. ( #3866 )
2016-05-11 14:54:51 -07:00
Chinmay Garde
915f24866a
Change bucket names for iOS and Mac based on buildbot updates. ( #3863 )
2016-05-11 13:41:44 -07:00
Devon Carew
6635f1cf9b
re-enable --checked ( #3857 )
2016-05-11 12:26:46 -07:00
Jason Simmons
82dbd43e74
Fix the paths for local engine builds targeting the host platform ( #3855 )
2016-05-11 11:11:34 -07:00
Collin Jackson
e2ab858202
Fix #3825 crash installing onto certain Android devices
2016-05-11 09:32:35 -07:00
Devon Carew
826936cd33
use vendored dart sdk; check the expected version of flutter ( #3831 )
...
* use vendored dart sdk; check the expected version of flutter
* search up directories looking for the flutter root
2016-05-10 16:21:30 -07:00
Phil Quitslund
eec3fc60f1
Merge pull request #3838 from pq/sdk_summaries
...
Turn on SDK summaries in flutter analyze.
2016-05-10 15:22:33 -07:00
Devon Carew
52d0434bec
create a flutter setup command ( #3837 )
2016-05-10 15:04:29 -07:00
pq
a8f96de47d
Removed unused import.
2016-05-10 14:37:39 -07:00
pq
d11651d293
Turn on SDK summaries in flutter analyze.
...
The latest dev build has stable summaries so we should start using them.
(Also ensures that analysis options are propogating to the SDK analysis context --- see: https://github.com/dart-lang/sdk/issues/26129 .)
2016-05-10 14:31:00 -07:00
Devon Carew
067715e302
Send exit for flutter run --resident ( #3829 )
...
* send ext.flutter.exit
* listen for help restart, quit
* refactor into a separate class
2016-05-10 13:47:00 -07:00
Todd Volkert
810b3e32a6
Fix regexp that strips invalid characters from the project identifier
...
Fixes #3835
2016-05-10 13:24:20 -07:00
Todd Volkert
43c0c52225
Fix regexp that strips invalid characters from the Uniform Type Identifier
...
Fixes #3835
2016-05-10 13:08:29 -07:00
Jason Simmons
6ab77622e4
Update flutter_tools for the "unoptimized" engine build flag and the new output directory naming scheme ( #3832 )
2016-05-10 12:02:09 -07:00
pq
18d971d492
Remove gratuitous pub resolver from flutter analysis.
...
Package mapping is already done by the `PackageDependencyTracker` so this extra check is at best not needed. (At worst could cause an unneeded and costly call to `pub list-package-dirs`!)
2016-05-09 12:21:18 -07:00
Phil Quitslund
cc93170894
Merge pull request #3798 from pq/package_map_cleanup
...
Analyze update to use in-memory package map.
2016-05-09 11:53:21 -07:00
pq
1e50745df3
Constructor ordering.
2016-05-09 11:33:52 -07:00
Hans Muller
74c3e74fba
Call it Flutter Gallery ( #3801 )
2016-05-09 11:00:54 -07:00
Devon Carew
a5b198e9b9
remove the --checked option ( #3799 )
2016-05-09 10:58:47 -07:00
pq
46d32794f9
Analyze update to use in-memory package map.
...
Updates the analyze command to pass a package map to analysis rather than a file path.
This allows us to avoid creating a needless temporary `.packages` file and host directory and saves us a trip to disk to retrieve the contents when building our URI resolvers for analysis.
2016-05-09 09:59:16 -07:00
Jason Simmons
2ea3c9471d
Fix for how flutter refresh locates the Android package manifest ( #3791 )
2016-05-09 09:31:46 -07:00
pq
c973629ed7
Fixed braces.
2016-05-06 13:43:21 -07:00
pq
96de7c4dcc
Fix analyzer error messages.
...
Will have the result of restoring `[static warning]` to `[warning]`, etc.
(This is essentially how we handle it in the analyzer CLI.)
2016-05-06 13:39:48 -07:00
pq
2df43d50d3
Merge branch 'master' into analysis_rework
2016-05-06 08:58:49 -07:00
Devon Carew
bd564a02af
avoid sending analytics on ci systems ( #3765 )
...
* avoid sending analytics on ci systems
* review comments
2016-05-05 19:51:22 -07:00
Jason Simmons
4d0e6984c2
Build tool support for Android x86 targets in 32- or 64-bit modes ( #3761 )
2016-05-05 16:04:22 -07:00
pq
eb215c14ac
Review cleanup.
2016-05-05 15:16:27 -07:00
Devon Carew
a999366482
remove the analyze --benhcmark-expected option ( #3755 )
2016-05-05 14:26:21 -07:00