Devon Carew
c98ce02417
print the dartlang atom plugin version from flutter doctor ( #4242 )
2016-05-27 13:31:55 -07:00
Chinmay Garde
989a530350
Don't avoid linking with libSystem to work around issue in dyld. ( #4241 )
2016-05-27 11:24:10 -07:00
Todd Volkert
51d4ab3324
Fix install for iOS simulator, and add ability to uninstall ( #4223 )
2016-05-27 11:05:10 -07:00
Yegor
f544abd016
modernize flutter drive
w.r.t. debug/profile/release options ( #4217 )
...
* modernize `flutter drive` w.r.t. debug/profil/release options
* make error message prettier
2016-05-27 10:02:36 -07:00
Devon Carew
ec7517766c
Flutter run restart ( #4105 )
...
* working on making a faster flutter run restart
* clean up todos; fire events on isolate changes
* use the Flutter.FrameworkInitialization event
* review comments
2016-05-26 15:26:14 -07:00
Devon Carew
646b5350d1
resolve symlinks in paths to flutter ( #4219 )
...
* resolve symlinks in paths to flutter
* review comments
2016-05-26 14:41:33 -07:00
Devon Carew
d6aed1e7c9
add a --quiet option to flutter_tools ( #4213 )
2016-05-26 13:41:29 -07:00
Todd Volkert
239a717dcc
Revert "Pass the local engine config through Xcode ( #4190 )"
...
This reverts commit 8f69cccc182481024fa2fa4f9ef932cdba91c812.
2016-05-26 11:03:08 -07:00
Adam Barth
fde55a6f6a
Update vector_math ( #4201 )
...
The new version has an API change. Also, up our SDK requirements to be a
bit more realistic.
2016-05-26 09:49:09 -07:00
Devon Carew
9cfa96608c
dissallow -release mode on emulators ( #4204 )
...
* dissallow -release mode on emulators
* have the help text print the default mode
2016-05-26 09:14:51 -07:00
Todd Volkert
92ee807a3c
Plumb --local-engine flag through to LOCAL_ENGINE in Local.xcconfig
...
Fixes #4186
2016-05-25 18:37:36 -07:00
Adam Barth
c69cff9428
Update test package ( #4198 )
2016-05-25 17:45:23 -07:00
Jason Simmons
5aa9a7fc53
Forward the observatory (but not the diagnostic server) when in profile mode ( #4183 )
2016-05-25 15:21:11 -07:00
Adam Barth
8f69cccc18
Pass the local engine config through Xcode ( #4190 )
...
This passes the information through Xcode to the `flutter build aot` call via
the environment so that it picks up the right artifacts.
Fixes #4186
2016-05-25 14:33:22 -07:00
Todd Volkert
0da58802cf
Fix aot compiler and linker args
2016-05-25 14:32:57 -07:00
Adam Barth
b1b6271683
Use "call" instead of "invoke" ( #4177 )
...
For consistency.
Fixes #4142
2016-05-24 17:53:04 -07:00
Adam Barth
e8e9d4633c
Workaround https://github.com/dart-lang/sdk/issues/26362 ( #4171 )
...
When building AOT, we now run `pub get` instead of printing an error telling
the user to run `pub get`. We can remove this code once the bug reference above
is fixed (should be a couple days).
2016-05-24 16:29:13 -07:00
Todd Volkert
cc8c78adf4
iOS tools cleanup ( #4161 )
...
* iOS tools cleanup
1) Fix `flutter install` on both device and simulator to refer to the actual
bundle and not just the .generated folder
2) Fix `flutter run` on device to actually run vs just installing
Still TODO:
1) Discovered that isAppInstalled on iOS simulator always reports true,
meaning it'll never actually try to install the app.
Fixes #3947
Fixes #1823
2016-05-24 16:25:40 -07:00
Adam Barth
2d726fc0c5
Build app.so instead of app.a on iOS ( #4168 )
...
The app.a wasn't getting pulled into the main executable because we weren't
referencing any of its symbols. Instead, create a dylib that can be packaged
with the application and loaded at runtime.
2016-05-24 15:49:53 -07:00
Adam Barth
e8a47b6d49
Add --interpreter to flutter build aot ( #4159 )
...
This patch teaches flutter build aot to build `app.a` for use with the Dart
interpreter.
2016-05-24 12:06:53 -07:00
Adam Barth
cb7a690815
Let flutter build aot select a target platform ( #4154 )
...
Currently only android-arm and ios are supported target platforms.
2016-05-24 11:21:07 -07:00
Adam Barth
f33596aacb
Teach flutter to build app.a ( #4141 )
...
On iOS, we use Xcode to build a static library that contains the precompiled
code. This code is currently unused, but it will be used by the new Xcode
harness to factor out as much complexity as possible into the flutter tool.
2016-05-24 09:49:31 -07:00
Devon Carew
4764550f9f
fail flutter analyze when there are errors ( #4117 )
2016-05-23 14:39:42 -07:00
Chinmay Garde
66fee3a622
Wire up ios-profile and ios-release. Switching between debug, profile and release starts the build process from scratch. ( #4063 )
2016-05-23 12:58:42 -07:00
Devon Carew
1ae0a76cf9
warn when flutter doesn't match the pubspec version ( #4109 )
2016-05-23 12:23:05 -07:00
Devon Carew
4962656b1d
remove old command aliases ( #4103 )
2016-05-23 12:06:49 -07:00
Devon Carew
17b9c12b80
adjust adb logcat filter ( #4104 )
2016-05-23 12:04:07 -07:00
Ian Hickson
10c861d6e9
Track number of pending dartdocs too ( #4088 )
2016-05-20 16:47:44 -07:00
Ian Hickson
94636bd206
Cleanup based on new lints ( #4052 )
2016-05-20 14:08:46 -07:00
Todd Volkert
3042da9f6d
Prefer getAdbPath(androidSdk) over androidSdk.adbPath ( #4076 )
...
For developers with the platform tools installed but no SDK, it prevents
crashing in the flutter tool in favor of more user-friendly error messages
downstream.
2016-05-20 10:45:35 -07:00
Devon Carew
3b3b0ff1bb
make sdb getprop less verbose ( #4053 )
2016-05-19 14:10:09 -07:00
Devon Carew
95f838b072
Update trace.dart ( #4055 )
2016-05-19 14:06:40 -07:00
Phil Quitslund
3693a7c303
Merge pull request #4054 from pq/overriden_field
...
Fix analyzer field overrides.
2016-05-19 13:43:27 -07:00
pq
2a9d2b5f30
Fix analyzer field overrides.
...
Cleans up 3 of the 4 violations of the `overriden_field` lint.
The last one is more interesting and I'll defer to someone closer to that code:
[lint] Do not override fields. (packages/flutter/test/rendering/rendering_tester.dart, line 91, col 14)
2016-05-19 13:12:04 -07:00
Eric Seidel
880f2f785e
flutter test now works on mac as well as linux
...
@chinmaygarde
2016-05-19 13:10:15 -07:00
Devon Carew
a48b063a10
rebuild when the build type changes ( #4032 )
...
* rebuild when the build type changes
* handle local engine builds
* also check the timestamp
2016-05-19 12:49:40 -07:00
Phil Quitslund
8109bde6e3
Merge pull request #4036 from pq/comment_refs
...
Cleanup dangling comment references.
2016-05-19 11:19:55 -07:00
Devon Carew
0b5072c2ef
fix check to ignore bots ( #4034 )
2016-05-19 10:51:31 -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
Chinmay Garde
376cb2eb38
Attach standard streams of the child sky_shell process so that logs from the shell show up. ( #4024 )
2016-05-18 16:58:46 -07:00
pq
addc888926
Update to new analyzer and linter.
...
Notably, this will allow us to play with
* the fixed `public_member_api_docs` that now checks for documented getters when checking setters (https://github.com/dart-lang/linter/issues/237 ), and
* the new `comment_references` lint that ensures identifiers referenced in docs are in scope (https://github.com/dart-lang/linter/issues/240 ).
2016-05-18 11:47:44 -07:00
pq
7163cf115d
Revert "Update to new analyzer and linter."
...
This reverts commit f91cf1c4505e1e8f20ade7aad865c938a6ac2054.
2016-05-18 11:45:25 -07:00
pq
f91cf1c450
Update to new analyzer and linter.
...
Notably, this will allow us to play with
* the fixed `public_member_api_docs` that now checks for documented getters when checking setters (https://github.com/dart-lang/linter/issues/237 ), and
* the new `comment_references` lint that ensures identifiers referenced in docs are in scope (https://github.com/dart-lang/linter/issues/240 ).
2016-05-18 11:44:43 -07:00
Jason Simmons
fc61060421
Log an error if the Android intent fails during flutter refresh ( #3988 )
2016-05-17 14:35:11 -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
Jason Simmons
c192a7e4ca
Replace the checked flag in DebuggingOptions with the build mode ( #3901 )
...
This also fixes some related problems affecting "flutter run":
* FLXes built during AndroidDevice.startApp need to match the build mode
* APKs should always be rebuilt if the build mode uses AOT compilation
2016-05-17 12:38:25 -07:00
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
Phil Quitslund
04cdf71add
Merge pull request #3955 from pq/type_annotate_public_apis_off
...
Remove redundant type annotation lint.
2016-05-17 09:02:27 -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