Todd Volkert
df675f45ee
Fix Fuchsia build ( #7105 )
2016-11-30 10:06:48 -08:00
Todd Volkert
60b19b2035
Create abstraction layer for dart:io's Process commands ( #7100 )
...
With this change, they're run via instance methods on an object
obtained through the context. This will allow us to substitute
that object in tests with replay/record versions to allow us to
mock out the os-layer in tests.
2016-11-30 08:42:42 -08:00
John McCutchan
618030e044
More AppContext cleanups ( #7073 )
2016-11-29 11:22:48 -08:00
John McCutchan
0b737ac57b
Remove default AppContext and cleanup globals ( #6999 )
2016-11-29 07:54:20 -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
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
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
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
John McCutchan
11ca0f1ada
Support caching host filesystem symlink targets to speedup DevFS updates ( #6798 )
2016-11-10 08:31:11 -08:00
Dan Rubel
6331b6c8b5
revert args to 0.13.6 ( #6765 )
2016-11-08 17:15:11 -05:00
Dan Rubel
819ac27db3
Merge skia into screenshot ( #6623 )
...
* merge `flutter skia` into `flutter screenshot`
* improve skia failed error message
* update help text - how to find diagnostic port for skia
* improve error message if skia capture fails
2016-11-02 14:27:49 -04:00
Adam Barth
7e539fea01
Remove flutter run_mojo
( #6584 )
...
This command is no longer needed. Also, remove some stray references to Mojo.
2016-10-28 16:24:57 -07:00
Jason Simmons
022cb2d9dc
Do not buffer logs in the verbose logger ( #6465 )
...
With the old policy the most recent log would not be printed until the next
log is produced (which may be indefinitely). This change prints logs
immediately along with a time delta since the previous log.
2016-10-21 16:54:59 -07:00
Jason Simmons
1b2049eff4
Fix app refresh on Android in no-hot-reload mode ( #6435 )
...
Also remove the obsolete "flutter refresh" command
2016-10-20 12:37:04 -07:00
Todd Volkert
904d524313
Add support for --use-application-binary on iOS ( #6318 )
...
Fixes #6283
2016-10-13 16:17:50 -07:00
Dan Rubel
7745dd73c7
improve flutter tool error message for download problems ( #6238 )
2016-10-06 17:49:14 -04:00
Dan Rubel
aed056c64b
remove flutter listen ( #6198 )
2016-10-05 14:11:41 -04:00
Dan Rubel
9f673ad445
flutter analyze --watch ( #6093 )
2016-10-04 08:20:24 -04:00
John McCutchan
8da84b1c2d
Make flutter tools crash log writing fail gracefully ( #6122 )
2016-09-28 12:44:18 -07:00
Dan Rubel
133a9c35db
extract flutter watch from flutter analyze ( #6012 )
2016-09-23 09:03:23 -04:00
Dan Rubel
3f68e187f3
Help verbose show hidden options ( #5979 )
...
* show hidden flags when showing verbose help
* flutter -v show verbose help
2016-09-22 05:58:45 -04:00
Phil Quitslund
2d4d171338
Roll to Dart SDK 1.20.0-dev.5.0
. ( #5911 )
...
* Roll to Dart SDK `1.20.0-dev.5.0`.
* bumps to `1.20.0-dev.5.0`.
* updates `analyzer` API use.
* Add explicit types.
2016-09-16 16:30:34 -07:00
Dan Rubel
023b7de11f
show device list in flutter doctor output ( #5697 )
...
* show device list in flutter doctor output
fixes https://github.com/flutter/flutter/issues/5625
2016-09-01 17:55:16 -04:00
Dan Rubel
e20ec2becb
implement flutter format ( #5606 )
...
Implement flutter format, fixes https://github.com/flutter/flutter/issues/5338
2016-08-31 09:40:17 -04:00
Dan Rubel
194a9ef3c9
implement flutter packages get/upgrade command ( #5603 )
...
* implement flutter packages get/upgrade command
* alias flutter pub
* refactor findProjectRoot for use by multiple commands
fixes https://github.com/flutter/flutter/issues/4994
2016-08-25 22:37:48 -04:00
Dan Rubel
e47e937682
add flutter channel command ( #5561 )
...
* add flutter channel command
fixes https://github.com/flutter/flutter/issues/2513
* fix test
* address comments
* remove unused imports
* fix lints
2016-08-25 15:16:21 -04:00
Devon Carew
24f63e2b44
show better errors for gradle build failures ( #5374 )
2016-08-13 12:30:14 -07:00
Ian Hickson
94636bd206
Cleanup based on new lints ( #4052 )
2016-05-20 14:08:46 -07:00
pq
1a6f499bc1
Cleanup dangling comment references.
...
Quick pass at fixing a few dangling references as revealed by the new `comment_references` lint (https://github.com/dart-lang/linter/issues/240 ).
There's a bunch more to do here before we can turn it on by default (~430 lints as of now). Many of them are a simple matter of adding an import (e.g., `dart:async` for library docs that reference `Future`) but others will require a bit of thought. Probably best done by the folks writing the code. :)
2016-05-19 10:21:38 -07:00
Ian Hickson
f284c1a049
Fix tests ( #3977 )
...
Also, make sure that broken tests actually break the bots.
And add a test to make sure that keeps happening.
2016-05-17 12:45:37 -07:00
Devon Carew
52d0434bec
create a flutter setup command ( #3837 )
2016-05-10 15:04:29 -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
Devon Carew
713830964c
make the usage text more visible ( #3693 )
...
* make the usage text more visible
* update the look of the usage text
2016-05-03 15:17:30 -07:00
Devon Carew
adac927501
add google analytics to flutter_tools ( #3523 )
...
* add google analytics
* send in the run target type
* track device type targets
* use the real GA code
* review comments
* rev to usage 2.0
* rev to 2.2.0 of usage; add tests
* review comments
2016-04-26 16:25:11 -07:00
Devon Carew
1311ae6ffe
add a target for android-x64 ( #3224 )
...
* add a target for android-x64
* update armeabi-v7a to x86_64
2016-04-08 14:04:46 -07:00
Adam Barth
412ce9d295
Add flutter precache
( #3207 )
...
This command explicitly populates the flutter tool's cache of binary artifacts.
Also, teach `flutter create` to update the cache in case its the first command
that a user runs.
2016-04-08 08:51:44 -07:00
Jason Simmons
9d022ed26d
Add a command that can capture a Skia picture of a Flutter frame and send it to a file or skiaserve debugger ( #3165 )
2016-04-07 12:33:11 -07:00
Devon Carew
2383d605cd
add the dart vm version to flutter doctor
...
* add the dart vm version to flutter doctor
* drop the dart vm change
2016-04-06 15:11:54 -07:00
Devon Carew
18d29583d0
pubspec normalization; remove den
2016-04-01 08:33:22 -07:00
Devon Carew
4bdc2b872b
adjust upgrade command
2016-03-29 09:41:06 -07:00
Devon Carew
4ac186811f
fix an exception from flutter doctor
2016-03-28 16:37:25 -07:00
Devon Carew
15b9e1ddb0
add a screenshot command
2016-03-25 22:01:32 -07:00
Devon Carew
2fc8e9a110
create a crash report
2016-03-25 13:29:15 -07:00
Devon Carew
f8374cd966
consolidate build commands under the 'build' command
2016-03-17 07:22:41 -07:00
Devon Carew
8ba214daa2
minor update to flutter daemon
2016-03-15 09:27:58 -07:00
Devon Carew
4daee0cc0d
misc tool ui cleanup
2016-03-14 09:41:00 -07:00
Hixie
6795efacab
Enable always_specify_types lint
...
And fix the zillion issues that uncovered.
2016-03-12 00:37:31 -08:00
Ian Hickson
43b0104114
Revert "Merge pull request #2639 from Hixie/always_specify_types"
...
This reverts commit f41b3411da
, reversing
changes made to e33d8d9621
.
This was a bad check-in due to my mangling uploading a new version of the branch from a different machine.
This reverts https://github.com/flutter/flutter/pull/2639 and will be replaced by https://github.com/flutter/flutter/pull/2640
2016-03-12 00:34:37 -08:00
Hixie
d162d98c79
Enable always_specify_types lint
...
And fix the zillion issues that uncovered.
2016-03-11 18:27:32 -08:00