John McCutchan
a80e5c20f3
Add a doctor check for host executable compatibility ( #8798 )
...
Fixes #6207
2017-03-15 15:22:54 -07:00
Todd Volkert
12ebb66d9e
Allow FlutterVersion to be overridden in the context ( #8801 )
2017-03-15 14:01:45 -07:00
Chris Bracken
bd15e8dd76
Emit macOS version information in doctor ( #8772 )
...
macOS counterpart to c670cd9e64
.
2017-03-14 12:11:09 -07:00
Michael Goderbauer
c670cd9e64
add windows version to flutter doctor ( #8771 )
2017-03-14 11:42:52 -07:00
Jakob Andersen
60c0c3d323
Revert "Eliminate CocoaPods install step ( #8694 )" ( #8705 )
...
* Revert "Eliminate CocoaPods install step (#8694 )"
This reverts commit f4a13bc72b
.
If the developer is relying on CocoaPods and hasn't done a pod install, we will do it for them. This is needed for a smooth native plugin experience, similar to what Gradle is doing on the Android side.
There's no hard dependency on CocoaPods. We only run pod install if the project uses CocoaPods, so developers are still free to use alternatives if they prefer (and if they don't want to use native plugins).
Fixes #8685
Fixes #8657
Fixes #8526
* Require CocoaPods 1.0.0 or newer.
And make sure we don't get a crash if running `pod install` fails.
* Address review feedback
2017-03-10 13:43:57 +01:00
Chris Bracken
7a09316cd0
Declare locals final where not reassigned (flutter_tools) ( #8570 )
2017-03-03 17:50:46 -08:00
Michael Goderbauer
bb1dea7440
change messaging around Windows ( #8549 )
2017-03-02 20:06:23 -08:00
Devon Carew
e85d3792f0
fix a doctor check for webstorm ( #8450 )
...
* fix a doctor check for webstorm
* fix a missing reference
2017-02-28 06:27:30 -08:00
Devon Carew
adf3b90df2
check installed IDES for webstorm ( #8422 )
2017-02-27 07:53:41 -08:00
Alexandre Ardhuin
8c043d06de
fix lints for directives_ordering rule ( #8382 )
2017-02-23 13:37:26 -08:00
Jakob Andersen
77efc38b67
Teach flutter tools to find gradle ( #8241 )
...
* Teach flutter tools to find gradle
Flutter tools will now use Gradle from Android Studio, which is now found automatically.
flutter doctor will verify that Android Studio has been installed, and that the included Gradle is at least version 2.14.1.
It is still possible to manually configure the path to Android Studio (flutter config --android-studio-dir=XXX) or Gradle (flutter config --gradle-dir=XXX), but this should only be necessary if they're installed somewhere non-standard.
Only tested on Linux and macOS for now.
Fixes #8131
2017-02-20 11:02:50 +01:00
Michael Goderbauer
071efec271
Implements WindowsStdoutLogger ( #8189 )
...
Replaces unprintable characters with alternative symbols.
2017-02-15 13:20:17 -08:00
Michael Goderbauer
5e54fd54d9
Ban package:path from Flutter Tools ( #8119 )
2017-02-13 17:45:50 -08:00
Chris Bracken
67462b4355
Update IntelliJ plugins link ( #8068 )
...
Replace version-specific link with a version-independent URL.
2017-02-10 14:21:37 -08:00
Luke
646d7404cb
Fix issues with flutter doctor ( #7808 )
...
* fix issue detecting ios-deploy. fix issue matching IntelliJ Ultimate on Mac
* refactor directory navigation code
2017-02-02 00:19:10 -08:00
Michael Goderbauer
c234d405af
Replace bin/flutter.ps1 with bin/flutter.bat ( #7713 )
...
fixes https://github.com/flutter/flutter/issues/7654
2017-01-27 23:12:33 -08:00
Todd Volkert
417c2f25fc
Migrate flutter_tools to use package:platform ( #7642 )
2017-01-25 16:06:41 -08:00
Michael Goderbauer
c47069a6b1
Tiny improvement to flutter doctor output on Windows. ( #7629 )
...
Follow-up to #7625
2017-01-24 17:29:06 -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
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
Dan Rubel
ba309b2668
degrade gracefully if flutter doctor cannot read directory ( #7167 )
2016-12-06 08:28:40 -08:00
Dan Rubel
a3caafe83c
update flutter doctor to display versions for installed IntelliJ plugins ( #7125 )
2016-12-02 18:16:04 -05:00
John McCutchan
0b737ac57b
Remove default AppContext and cleanup globals ( #6999 )
2016-11-29 07:54:20 -08:00
Dan Rubel
90f7afcbcf
flutter doctor show one intellij install per location ( #6820 )
2016-11-13 22:03:56 -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
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
Dan Rubel
546cef5277
trace IntelliJ config and install locations on Linux ( #6805 )
2016-11-10 15:48:49 -05:00
Devon Carew
b9e7ee88d8
Remove atom check ( #6605 )
...
* remove the validator check for atom
* remove the atom launch config
* review comments
2016-11-01 11:46:30 -07:00
Dan Rubel
abb0a14ace
remove Atom from the list of IDE support to install ( #6556 )
2016-10-27 22:23:19 +01:00
Dan Rubel
310b805335
remove WebStorm from list of supported IDEs ( #6519 )
2016-10-25 15:37:10 +01:00
Dan Rubel
28384787d1
search for IntelliJ on Mac in /Application and sub folders 1 level deep ( #6419 )
2016-10-20 12:01:29 -04:00
Dan Rubel
e20ee045ba
Flutter doctor detect IntelliJ on Mac ( #6262 )
...
* cleanup obtaining user home directory path
* refactor doctor and detect IntelliJ on Mac
* fix detect Flutter plugin for IntelliJ
2016-10-13 10:44:20 -04:00
Dan Rubel
3136620427
Flutter doctor detect intellij on Linux ( #6227 )
2016-10-05 18:00:30 -04:00
Devon Carew
95fa9e3c55
Less chatty ( #6213 )
...
* make flutter create less chatty
* output generated file count; mention lib/main.dart
2016-10-05 08:26:17 -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
Devon Carew
7ab48f4ef6
tweak the --version text ( #5420 )
2016-08-16 08:38:19 -07:00
Devon Carew
c98ce02417
print the dartlang atom plugin version from flutter doctor ( #4242 )
2016-05-27 13:31:55 -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
99114cd414
show more errors on missing jarsigner ( #3626 )
2016-04-28 22:48:01 -07:00
Devon Carew
ace1a64bfd
don't print installing device twice ( #3520 )
2016-04-25 09:25:47 -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
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
c3eec6ec4f
several fixes to the doctor command
2016-03-24 14:17:49 -07:00
Devon Carew
d4185802cd
print the os from flutter doctor
2016-03-24 00:00:37 -07:00
Devon Carew
25f332d8d7
re-work the doctor command
2016-03-23 21:12:29 -07:00
Hixie
797e27edd3
Add @override annotations to flutter framework
2016-03-14 14:02:26 -07:00
Devon Carew
c54d54b7be
improve the atom validation
2016-03-03 12:06:30 -08:00
Devon Carew
4d93c376c9
improve verbose output
2016-02-27 23:36:02 -08:00