John McCutchan
31dc3c4722
Try all possible Android SDK locations before giving up ( #8730 )
...
Fixes #8618
2017-03-13 11:21:34 -07:00
Todd Volkert
1ada132ee8
Add first replay test ( #8628 )
2017-03-09 12:58:31 -08:00
Chris Bracken
7a09316cd0
Declare locals final where not reassigned (flutter_tools) ( #8570 )
2017-03-03 17:50:46 -08:00
Todd Volkert
f60410fa9d
Add --bug-report flag ( #8435 )
...
This adds support for a `--bug-report` flag, which is a recording
that:
- includes the arguments that were passed to the command runner
- is zipped up for easy attachment in Guthub issues
2017-02-27 15:38:47 -08:00
Todd Volkert
0d2c9670fd
Resolve TODOs to migrate from OperatingSystemUtils to Platform ( #8314 )
2017-02-21 15:11:49 -08:00
Michael Goderbauer
5e54fd54d9
Ban package:path from Flutter Tools ( #8119 )
2017-02-13 17:45:50 -08:00
Michael Goderbauer
cff7dc5444
Bump package:process version ( #8073 )
2017-02-10 16:54:51 -08:00
Ian Hickson
576b4e1179
Change --debug-port to --observatory-port ( #7675 )
...
...and add --diagnostic-port.
...and document port 0.
2017-01-26 16:42:48 -08:00
Todd Volkert
417c2f25fc
Migrate flutter_tools to use package:platform ( #7642 )
2017-01-25 16:06:41 -08:00
Michael Goderbauer
aaaf0dac19
Teach Flutter Tools about IntelliJ and Android SDK on Windows. ( #7622 )
...
Required for https://github.com/flutter/flutter/issues/138
2017-01-24 16:53:20 -08:00
Todd Volkert
9ba607862e
Update to package:process v1.0.1 ( #7607 )
2017-01-24 10:09:29 -08:00
Todd Volkert
016b5ab0cc
Force all dart:io usage to go through 'base/io.dart' ( #7390 )
...
This ensures that accidental usages of dart:io's
file API don't creep in over time.
2017-01-09 08:37:00 -08:00
Todd Volkert
8bb270342e
Update flutter_tools to use package:file throughout ( #7385 )
...
This removes direct file access from within flutter_tools
in favor of using `package:file` via a `FileSystem` that's
accessed via the `ApplicationContext`.
This lays the groundwork for us to be able to easily swap
out the underlying file system when running Flutter tools,
which will be used to provide a record/replay file system,
analogous to what we have for process invocations.
2017-01-06 16:51:44 -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
Devon Carew
8f0f19a5e2
increase the port check iteration count ( #6301 )
2016-10-12 23:48:08 -07: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
Devon Carew
74446d78fc
don't resolve symlinks as part of which ( #5531 )
...
* don't resolve symlinks as part of which
* update method dartdoc
2016-08-22 14:35:19 -07:00
John McCutchan
4c1dde8d67
Add a control pipe that can trigger reloads / restarts ( #5282 )
2016-08-09 07:11:24 -07:00
Devon Carew
c9010c91f6
fix analysis errors ( #3677 )
...
* fix analysis errors
* review comments; fix test
* re-add an export for debugPrint
2016-05-03 09:09:00 -07:00
Devon Carew
b0dca79671
Flutter run ( #3553 )
...
* rework flutter run
* fix npe with --debug-port
* connect to obs and exit when that conneciton closes
* update todos
2016-04-27 14:43:42 -07:00
Devon Carew
7ad1e38eac
Fix windows crash ( #3236 )
...
* better messaging about windows support
* fix lints
2016-04-11 08:34:01 -07:00
Devon Carew
a729b02f1a
move the engine download code to dart ( #3180 )
...
* move the engine download code to dart
* fix populating the bin/cache/pkg dir
2016-04-07 13:31:44 -07:00
Hixie
797e27edd3
Add @override annotations to flutter framework
2016-03-14 14:02:26 -07:00
Yegor Jbanov
677e63b79d
decouple flutter drive
from flutter start
...
flutter start's method of finding devices to run the app on is not suitable for flutter drive.
This commit also refactors several tool services to allow mocking in unit tests.
2016-02-26 10:18:24 -08:00
Devon Carew
dcf0b7bae6
allow any android sdk version
2016-02-13 14:37:41 -08:00
Devon Carew
b780c07622
add --start-paused,--debug-port flags
2016-02-02 11:38:56 -08:00
Adam Barth
9662d49e12
Clean up code organization in flutter_tools
...
1) Moved basic utility code into base/ directory to make it clear which code
doesn't depend on Flutter-specific knowldge.
2) Move the CommandRunner subclasses into a runner/ directory because these
aren't commands themselves.
2015-11-28 21:16:55 -08:00