Collin Jackson
57d6e8514b
Merge pull request #3701 from collinjackson/assets
...
Support for putting assets in android/assets folder (like ios/Resources)
2016-05-03 14:08:47 -07:00
Ian Hickson
4b6af7a42f
Provide framework-only timing information ( #3699 )
...
This makes it easier to generate charts that show the engine time and
the framework time separately.
2016-05-03 13:51:22 -07:00
Collin Jackson
80ef81422d
Support for putting assets in android/assets folder (like ios/Resources)
2016-05-03 13:32:35 -07:00
Devon Carew
00062761be
filter an assertiond log message from ios ( #3692 )
2016-05-03 12:46:46 -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
Eric Seidel
f58fa766c3
Add note about explicit pub get
needed.
...
@devoncarew @jason-simmons
2016-05-02 16:14:35 -07:00
Jason Simmons
30d8dc1399
Check the adb install output for errors and stop "flutter run" if package installation fails ( #3672 )
2016-05-02 14:11:40 -07:00
Jason Simmons
f161f239ef
Download Android AOT tools to the artifacts cache and build APKs using these tools ( #3649 )
...
Also update the engine to a build where these tools have been uplaoded
2016-05-02 11:40:32 -07:00
Adam Barth
21f1827bad
Add a sensible error message when jarsigner is missing ( #3665 )
...
Fixes #3624
2016-05-02 10:27:34 -07:00
Devon Carew
66c868e492
Update pubspec.yaml
...
Pick up a bug fix to the `usage` package.
2016-04-30 08:19:36 -07:00
Jason Simmons
01a27ca4ae
Build ahead-of-time compiled snapshots and incorporate them into Android APKs ( #3592 )
...
This currently requires a local build of the engine.
Run "flutter build aot" to build an AOT snapshot.
Run "flutter build apk --profile" to build a "profile mode" APK that uses AOT.
2016-04-29 13:44:01 -07:00
Devon Carew
60755f6d9c
fix an issue parsing adb output ( #3629 )
2016-04-29 09:52:44 -07:00
Devon Carew
99114cd414
show more errors on missing jarsigner ( #3626 )
2016-04-28 22:48:01 -07:00
Yegor
81af593745
[tools] download traces only from non-resident runs ( #3615 )
2016-04-28 13:35:32 -07:00
Devon Carew
50b1b16db6
rev test to 0.12.13+1 to support 1.17.0-dev dart sdks ( #3613 )
2016-04-28 12:56:55 -07:00
Adam Barth
b7fd5426b5
Enable avoid_as lint ( #3612 )
...
Related to #3608
2016-04-28 11:07:39 -07:00
Devon Carew
26ed1e71f9
simplify the analysis benchmarking code ( #3588 )
...
* simplify the analysis benchmarking code
* review comments
2016-04-28 10:25:26 -07:00
Yegor
c2cccc7b3b
[tools] teach flutter run to get startup trace info ( #3589 )
2016-04-27 17:58:20 -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
b0ebc71695
clean up git commits ( #3578 )
2016-04-27 10:47:52 -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
c69f4396e3
add a benchmarking mode to flutter analyze ( #3569 )
...
* add a benchmarking mode to flutter analyze
* change arg names
2016-04-26 14:09:16 -07:00
Jason Simmons
07951ee90f
Add a profile build mode flag for building APKs with AOT compilation ( #3526 )
...
This is currently hidden for development use. It will select artifacts from
the android_{Debug,Release}_Deploy output in a local engine build.
2016-04-25 13:36:31 -07:00
Ian Hickson
b1e684ea63
Fix crash in analyzer if preamble isn't set. ( #3525 )
2016-04-25 11:25:29 -07:00
Devon Carew
86723ab99e
Better devices text ( #3519 )
...
* improve text for devices
* nit
* tweak text
2016-04-25 10:14:38 -07:00
Devon Carew
4e2657d25a
exclude files from build/ when looking for asset variants ( #3512 )
...
* exclude files from build/ when looking for asset variants
* exclude some dirs when creating flx files
2016-04-25 10:14:31 -07:00
Devon Carew
ace1a64bfd
don't print installing device twice ( #3520 )
2016-04-25 09:25:47 -07:00
Jason Simmons
cf56caa708
Add a flag to "flutter build apk" that can package additional files into the APK ( #3474 )
2016-04-21 16:02:08 -07:00
Devon Carew
731c5903c2
cache the source lines when running analyze ( #3436 )
2016-04-20 11:26:24 -07:00
Devon Carew
435fdbff25
move driver create test to the flutter_tools package ( #3433 )
...
* move driver create test to the flutter_tools package
* review comments
2016-04-20 10:48:27 -07:00
Ian Hickson
1b9476c4d9
Hide routes from the API when they're not needed. ( #3431 )
...
The 'routes' table is a point of confusion with new developers. By
providing a 'home' argument that sets the '/' route, we can delay the
point at which we teach developers about 'routes' until the point where
they want to have a second route.
2016-04-20 09:33:28 -07:00
Devon Carew
80fabfd3dd
allow flutter create to re-gen over an existing project ( #3419 )
...
* allow flutter create to re-gen over an existing project
* add a regression test
2016-04-19 19:30:49 -07:00
Devon Carew
dd2bde1918
add a service extension for repaint rainbow ( #3409 )
...
* add a service extension for repaint rainbow
* review comments
2016-04-19 12:57:10 -07:00
Devon Carew
6f0bb20658
rename deploy to release ( #3407 )
2016-04-19 11:17:00 -07:00
Jason Simmons
8451b669c8
Collect trace data through the observatory HTTP interface ( #3393 )
2016-04-19 10:38:49 -07:00
Yegor
e7657b9462
[driver] "waitFor" command in place of broken "exists" ( #3373 )
...
* [driver] "waitFor" command in place of broken "exits"
* [driver] wait using frame callback
2016-04-19 09:49:22 -07:00
Devon Carew
1c0a966384
rename the --develop option to --debug ( #3384 )
...
* rename the --develop option to --debug
* fail if both --debug and --deploy are specified
2016-04-18 16:41:15 -07:00
Ian Hickson
a9eddd4860
Also analyze the driver host entry points. ( #3395 )
2016-04-18 16:33:03 -07:00
Ian Hickson
424a6b1d6a
Handle files disappearing during analysis ( #3390 )
2016-04-18 15:19:32 -07:00
Devon Carew
29fdc7a464
rename the --release and --debug flags ( #3382 )
2016-04-18 13:04:59 -07:00
Devon Carew
325354f6be
add a temporary .analysis_options for flutter_tools ( #3376 )
2016-04-18 09:50:19 -07:00
Phil Quitslund
246a2cb055
Merge pull request #3375 from pq/sdk_opt
...
Analyze CLI option to specify a custom Dart SDK.
2016-04-18 09:44:05 -07:00
pq
26519aab23
Fixed spacing.
2016-04-18 09:25:17 -07:00
pq
4ff0e842e2
Analyze CLI option to specify a custom Dart SDK.
...
Handy for testing against specific local SDK builds.
(Note that the option is hidden.)
2016-04-18 09:03:31 -07:00
Devon Carew
12cac94cda
Use arm deploy ( #3374 )
...
* download android-arm-deploy
* wire up --deploy to android-arm-deploy
* fix interpolation
2016-04-18 09:01:43 -07:00
Devon Carew
f132acaf1d
use the new cache code to locate more artifacts ( #3361 )
...
* use the new cache code to locate more artifacts
* add todo
* review comments
2016-04-15 21:08:03 -07:00
Devon Carew
4678c12098
find all repo packages ( #3368 )
...
* find all repo packages
* .dartignore
2016-04-15 20:25:57 -07:00
Yegor
9ce995f65e
[driver] refactor API to finder objects ( #3365 )
2016-04-15 16:57:35 -07:00
Eric Seidel
711bf72620
Make update-packages cover dev/benchmarks.
...
update-packages only looks one level down, instead of
changing that, I'm just adding dev/benchmarks explicitly.
This will unbreak the bots which are dying trying to
flutter drive dev/benchmarks/complex_layout without
pub get having been run there.
@yjbanov @devoncarew
2016-04-15 12:35:02 -07:00
pq
de25ea22f7
Adding @optionalTypeArgs
.
...
With the new dev build we've got the updated linter and so can use the `@optionalTypeArgs` annotation (in `meta 0.12.0`).
Bonus: this lets us clean up one more Regexp in the `analyze` command! :)
2016-04-14 10:03:46 -07:00
Devon Carew
b172dd5a1a
run pub for analyze and test ( #3310 )
...
* run pub for analyze and test
* don't run pub when doing repo analysis
* move logic for when to run pub into the commands
* re-write ternary expression
2016-04-13 19:55:28 -07:00
Eric Seidel
341bd47624
Move flutter drive to use 8183 to not conflict with diagnostic server
...
When @jason-simons added the diagnostic server on Android this
happened to conflict with flutter drive's usage of 8182.
We really should fix both of these port users to be dynamic
but this fixes https://github.com/flutter/flutter/issues/3291
for now.
@yjbanov
2016-04-13 11:22:38 -07:00
Adam Barth
d9b73a2b7a
Improve docs about why we pin analyzer ( #3254 )
2016-04-12 12:42:14 -07:00
Devon Carew
8849cd6b2d
add a --deploy flag to build apk ( #3249 )
...
* add a --deploy flag to build apk
* update command description
* use an enum instead of a bool param for build variants
* rename buildForDeploy flag to buildVariant
* review comments
2016-04-12 09:21:17 -07:00
Devon Carew
b4173e20d4
fix to showing a progress display for long tasks ( #3265 )
2016-04-12 08:39:24 -07:00
pq
f270c3d069
Migrate enable-strict-call-checks
flag to options file.
...
As per https://github.com/dart-lang/sdk/issues/25723 , moves last command-line flag to `.analysis_options`.
2016-04-11 14:05:44 -07:00
Phil Quitslund
9b2d2ad9d2
Merge pull request #3245 from pq/lint_fixes
...
Analyze Command lint cleanup.
2016-04-11 13:17:59 -07:00
pq
937f0eaf12
Analyze Command lint cleanup.
...
The push to dev-4 allows us to cleanup a few more bits:
* `api_docs` lint message special casing (lint fixed)
* `allowedIdentifiersPattern` (lint fixed)
2016-04-11 11:18:15 -07:00
Devon Carew
2a33e3f0c0
make flutter upgrade less verbose ( #3237 )
...
* more terse flutter upgrade
* fix an issue when updating and the engine update code has changed
* call flutter precache; add a --no-color hidden option
* fix a lint related to getters/setters
2016-04-11 11:17:09 -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
26906240e5
fix an issue parsing adb devices ( #3235 )
2016-04-11 07:50:03 -07:00
stevemessick
8847b86681
Add validity checks to create ( #3215 )
...
* Add validity checks to create
* Adjust indent
2016-04-08 20:37:50 -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
e456d86327
Update engine ( #3214 )
...
Also, update hello_android to use the new Java class names.
2016-04-08 10:25:41 -07:00
Devon Carew
c00d61f6ec
have flutter precache print if there's no work to do ( #3213 )
...
* have flutter precache print if there's no work to do
* tweak precache
2016-04-08 10:25:30 -07:00
Devon Carew
750796846c
move services to using cache.dart ( #3211 )
2016-04-08 10:23:47 -07:00
Adam Barth
65b36f131d
Remove pub package version skew ( #3212 )
...
We need to pin the version of package:analyzer we use to avoid version skew
within our project.
2016-04-08 10:08:13 -07:00
Jason Simmons
f7b1799a62
Do not check for an existing package map if a command is going to run "pub get" to update the package map ( #3202 )
...
Also remove a redundant check for the --pub option in the run command
2016-04-08 09:34:42 -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
Adam Barth
dd5831cb36
Run pub get
if flutter_tools.stamp changes ( #3206 )
...
This will help folks run pub get after they upgrade their flutter.git
revision.
2016-04-08 07:19:25 -07:00
Seth Ladd
84acea3627
Make analyzer happy, remove incorrect instruction ( #3181 )
...
Closes https://github.com/flutter/flutter/issues/3149
Closes https://github.com/flutter/flutter/issues/3148
2016-04-07 14:03:49 -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
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
34a67329fd
use --no-precompile ( #3175 )
...
* use --no-precompile
* use the flutter bin cache's sdk
2016-04-07 11:06:38 -07:00
Devon Carew
40598449ad
add cache.dart to help manage the cache dir ( #3168 )
...
* add cache.dart to help manage the cache dir
* sp
2016-04-07 09:15:58 -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
39efe4afef
have flutter build emit better help text
2016-04-06 14:29:54 -07:00
Ian Hickson
798dfa2bc9
Fix analyzer warnings
...
Fix some legit uses of GlobalKey to specify the type they want.
Fix some sketchy uses of GlobalKey in tests to fake it with "as
dynamic".
Remove some extraneous imports that made the build red.
2016-04-06 14:14:34 -07:00
Chinmay Garde
b930f0d4ff
Update engine and temporarily get rid of custom build directories in flutter build ios
2016-04-06 12:55:48 -07:00
Chinmay Garde
0bf68cc5cb
Merge pull request #3140 from chinmaygarde/master
...
Add a `--no-codesign` option to `ios build` to disable code signing.
2016-04-06 12:33:03 -07:00
Devon Carew
9a4c2c681f
add a dev/dartdoc.dart script to generate docs for the packages/ packages
...
* add a dev/dartdoc.dart script to generate docs for the packages/ packages
* remove description
* rename readme
* change to using --include-external
* move docs to dev/docs
2016-04-05 12:33:12 -07:00
Devon Carew
e9a24510bd
fast fail update-packages
2016-04-05 10:22:36 -07:00
Devon Carew
653566dd23
simplify toolchain setup
2016-04-04 13:10:56 -07:00
Ian Hickson
5291b37fc7
Track how many public Flutter members lack docs
...
* Enable the lint require documentation.
* Track how many public Flutter members lack docs
* Rename the .analysis_options file
This makes Atom happier in the flutter_tools package.
2016-04-04 12:18:13 -07:00
Jason Simmons
379c563b62
Merge pull request #3034 from jason-simmons/gradle_flx_refresh
...
Support "flutter refresh" in the Gradle-based sample project
2016-04-01 12:39:04 -07:00
Devon Carew
18d29583d0
pubspec normalization; remove den
2016-04-01 08:33:22 -07:00
Adam Barth
d645bc74d7
Be explicit about the theme in the starter app
...
This gives developers a breadcrumb they can follow to customize the
theme of their app. Previously, some customers were trying to set a
theme by manually configuring the colors of all their widgets.
Fixes #2980
2016-03-30 23:05:48 -07:00
Collin Jackson
040ff9b037
Merge pull request #3009 from collinjackson/services
...
add services to schema
2016-03-30 12:54:01 -07:00
Collin Jackson
638304467c
add services to schema
2016-03-30 12:20:55 -07:00
Devon Carew
dd0b832a33
fix image loading
2016-03-30 11:27:26 -07:00
Devon Carew
d5cccf5cd6
rev mockito; remove deprecated uses
2016-03-30 09:10:50 -07:00
Devon Carew
89143313cb
Merge pull request #2981 from devoncarew/no_symlinks
...
run pub with --no-package-symlinks
2016-03-29 19:25:04 -07:00
Devon Carew
fe37825fd5
run pub with --no-package-symlinks
2016-03-29 19:02:14 -07:00
Yegor Jbanov
bfa16b2b5d
[driver] fix observatory port # and timeline data extraction
...
The way we pick observatory port # has changed and we have broken
logic that handles port 8181. To fix the buildbot, switch to port
8182. We can later figure out what we want to do when we clean up
port handling.
The old VM extention for extracting the timeline data is gone.
Switch to the new '_getVMTimeline' API.
2016-03-29 13:53:40 -07:00
Devon Carew
4bdc2b872b
adjust upgrade command
2016-03-29 09:41:06 -07:00
Adam Barth
055268eae5
Merge pull request #2965 from abarth/rm_analyze_regexp
...
Remove two `flutter analyze` regular expressions
2016-03-28 17:18:46 -07:00
Devon Carew
1826fb95e6
Merge pull request #2964 from devoncarew/fix_doctor_exception
...
fix an exception from flutter doctor
2016-03-28 16:47:11 -07:00
Devon Carew
4ac186811f
fix an exception from flutter doctor
2016-03-28 16:37:25 -07:00
Adam Barth
522030bdda
Remove two flutter analyze
regular expressions
...
We can work around these in code rather than by post-processing the analyzer
output.
2016-03-28 16:33:39 -07:00
Yegor Jbanov
28b5186746
[driver] propagate exit code from package:test
...
Driver returns exit code 0 even when tests fail. This commit fixes it by
propagating the exit code set by `package:test`.
2016-03-28 16:19:20 -07:00
Adam Barth
2e062dfab4
Use --packages rather than --package-root
...
The .packages file is replacing the packages directory of symlinks.
2016-03-28 15:01:25 -07:00
Adam Barth
3824e88df7
flutter upgrade
needed twice if sky_services dependencies change
...
Now we run `flutter --version` to update our local cache of packages before
running `pub upgrade`, which reads from that cache.
Fixes #2953
2016-03-28 12:16:19 -07:00
Jason Simmons
d4bc6d5e0c
Add all variants of the Roboto font as assets to Material Design apps
2016-03-28 09:53:16 -07:00
Devon Carew
7b694ddd42
upgrade to test 0.12.13
2016-03-27 13:36:01 -07:00
Adam Barth
2a0f691c9f
Add a Key to FlutterDemo widget
...
It's a good practice to let clients supply a key for every widget.
Fixes #2910
2016-03-26 14:00:25 -07:00
Devon Carew
15b9e1ddb0
add a screenshot command
2016-03-25 22:01:32 -07:00
Chinmay Garde
8cbeb2e983
Merge pull request #2916 from chinmaygarde/master
...
Add: flutter build ios [--[no-]simulator]
2016-03-25 15:56:51 -07:00
Chinmay Garde
66e1006193
Xcodebuild takes an extra parameter for the build directory.
2016-03-25 15:36:45 -07:00
Chinmay Garde
3f9dcfe144
Add: flutter build ios [--[no-]simulator]
...
This allows the user to build an iOS application bundle from the command line even if no device is attached to the workstation.
2016-03-25 14:17:55 -07:00
Devon Carew
2fc8e9a110
create a crash report
2016-03-25 13:29:15 -07:00
Jason Simmons
03830d5676
Merge pull request #2896 from jason-simmons/yaml_schema
...
Validate flutter.yaml against a JSON schema
2016-03-25 10:14:58 -07:00
Jason Simmons
c2b4ac9c3c
Validate flutter.yaml against a JSON schema
2016-03-24 17:49:23 -07:00
krisgiesing
cef24293b7
Merge pull request #2839 from krisgiesing/offscreen_layout
...
Allow independent rendering pipelines
2016-03-24 16:26:36 -07:00
Kris Giesing
bb5a82a726
Allow independent rendering pipelines
...
Fixes #2723
2016-03-24 14:59:21 -07:00
Devon Carew
c3eec6ec4f
several fixes to the doctor command
2016-03-24 14:17:49 -07:00
Jason Simmons
f17b68d2d3
Add embedded font assets to the asset list
...
Any font asset referenced in the fonts section of flutter.yaml will now be
included in the FLX assets. It's no longer necessary to separately list the
font in the assets section.
2016-03-24 11:20:11 -07:00
Alhaad Gokhale
ae7734ee12
Merge pull request #2861 from alhaad/run_mojo_with_url
...
Allow run_mojo command to run an app at a URL.
2016-03-24 10:10:31 -07:00
Alhaad Gokhale
58edc7ed9b
In run_mojo, rename bundlePath -> targetApp since it may not be a path.
2016-03-24 10:01:00 -07:00
Devon Carew
7940e26b04
Merge pull request #2862 from devoncarew/less_noisy_android
...
filter some noisy messages from adb logcat
2016-03-24 09:20:20 -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
Devon Carew
017f0271b7
filter some noisy messages from adb logcat
2016-03-23 21:12:04 -07:00
Alhaad Gokhale
35e30235f0
In run_mojo command, parse Uri scheme to decide whether app is on local
...
filesystem or not.
2016-03-23 19:11:04 -07:00
Alhaad Gokhale
c4da1da20c
Allow run_mojo command to run an app at a URL.
...
Fixes #2113
2016-03-23 17:13:47 -07:00
Ian Hickson
87eb34240b
Port to crypto 0.9.2
2016-03-22 21:54:34 -07:00
Devon Carew
1d20a90cad
change how we calculate the temp dir
2016-03-22 12:22:30 -07:00
Chinmay Garde
fb427a1e5f
Merge pull request #2823 from chinmaygarde/master
...
Use the artifacts store for iOS assets
2016-03-21 17:42:07 -07:00
Chinmay Garde
68a3aa70bf
Use the artifacts store for iOS assets
2016-03-21 16:25:58 -07:00
Chinmay Garde
931d4be5ba
Merge pull request #2821 from chinmaygarde/master
...
Dont differentiate between ios_arm and ios_x64 in flutter_tools
2016-03-21 15:02:59 -07:00
Chinmay Garde
c8377d7428
Dont differentiate between ios_arm and ios_x64 in flutter_tools
...
All artifacts for iOS are universal.
2016-03-21 14:41:26 -07:00
Devon Carew
e31395fba1
Merge pull request #2811 from devoncarew/drive_start
...
don't wait for the observatory if the app didn't start
2016-03-21 13:45:21 -07:00
Chinmay Garde
adf48bef7e
Merge pull request #2819 from chinmaygarde/master
...
Bump engine revision and ensure the Xcode project setup expects assets at the archive root.
2016-03-21 13:42:22 -07:00
Chinmay Garde
3a9956fb4e
Bump engine revision and ensure the Xcode project setup expects assets at the archive root.
2016-03-21 13:24:53 -07:00
pq
8b321d7de0
Remove analyze
tear-off regexp.
...
In the spirit of https://github.com/flutter/flutter/issues/1220 , remove the tear-off regexp in favor of in-line suppressions (if needed).
2016-03-21 11:28:11 -07:00
Devon Carew
f1cdf6df39
refactor; fix apk warning
2016-03-21 09:24:56 -07:00
Devon Carew
73d3acd5fd
don't wait fot the observatory if the app didn't start
2016-03-21 09:22:53 -07:00
Ian Hickson
a7016062bc
Improve flutter create help text.
2016-03-20 20:06:30 -07:00
Hixie
ce4e9cd690
Only require documentation for libraries.
2016-03-18 11:16:12 -07:00
Devon Carew
99b70dab62
handle android n in the android sdk
2016-03-17 15:30:47 -07:00
John McCutchan
83e6ee36a0
Sniff service protocol port from device
2016-03-17 11:44:16 -07:00
Devon Carew
882f849ccd
update listen to work w/ ios devices
2016-03-17 10:42:48 -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
Yegor Jbanov
225686b1a7
[ios] improve test device naming
...
The new name format is "DEVICE_TYPE_NAME (Flutter)". For example:
iPhone 6 (Flutter)
iPhone 6s Plus (Flutter)
The names are taken from `xcrun simctl list --json devicetypes`.
Fixes #2682
2016-03-14 22:33:39 -07:00
Phil Quitslund
5ca0307329
Merge pull request #2686 from pq/regexp_cleanup
...
More flutter analyze regexp cleanup
2016-03-14 15:53:41 -07:00
pq
370840ef1f
More flutter analyze regexp cleanup
...
Runs clean on the repo. Moving ahead, we can manage exceptions via `.analysis_options` or specific source-level ignores.
2016-03-14 15:02:55 -07:00
Adam Barth
b1bc660c48
Add @override to starter template
2016-03-14 15:02:06 -07:00
Hixie
797e27edd3
Add @override annotations to flutter framework
2016-03-14 14:02:26 -07:00
Adam Barth
d8b4a4a31e
Merge pull request #2619 from abarth/remove_prebuilt_apk
...
Stop using a prebuilt APK
2016-03-14 13:41:16 -07:00
Devon Carew
0fbb76a351
Merge pull request #2667 from devoncarew/add_more_types
...
add more type annotations
2016-03-14 13:39:54 -07:00
Adam Barth
e2744e9a30
Stop using a prebuilt APK
...
Instead, require an AndroidManifest.xml and always build an APK.
Fixes #2517
2016-03-14 13:32:00 -07:00
Hixie
74b117fe8b
Update .analysis_options to link to blocking bugs
...
Also, some minor cleanup in activity.dart, though much more is
needed (see https://github.com/flutter/flutter/issues/2668 ).
2016-03-14 12:28:06 -07:00
Devon Carew
d44a70bc85
add more type annotations
2016-03-14 12:06:19 -07:00
Hixie
4e6b287881
Remove some more 'dynamic's
2016-03-14 11:11:41 -07:00
Ian Hickson
bedd8e9131
Merge pull request #2650 from Hixie/always_always_specify_types
...
Even more types
2016-03-14 10:44:05 -07:00
Devon Carew
5fb315141b
Merge pull request #2658 from devoncarew/drive_command
...
change the description of the drive command
2016-03-14 10:27:01 -07:00
Devon Carew
d0afabc358
change the description of the drive command
2016-03-14 09:48:02 -07:00
Ian Hickson
d745e20853
Even more types
2016-03-14 09:41:54 -07:00
Devon Carew
4daee0cc0d
misc tool ui cleanup
2016-03-14 09:41:00 -07:00
Adam Barth
ede5dfce30
[rename fixit] ToolBar -> AppBar
...
* left -> leading (Removes an LTR bias)
* center -> title (Widget was actually centered)
* right -> actions (Removes an LTR bias, asymmetric with leading)
Fixes #2348
2016-03-12 18:33:47 -08:00
Adam Barth
9b9ad3db17
[rename fixit] RouteBuilder -> BuildContext
...
Fixes #2353
2016-03-12 17:18:31 -08:00
Devon Carew
f13314867c
Merge pull request #2645 from devoncarew/platform_constants
...
rename the platform constants
2016-03-12 12:46:55 -08:00
Adam Barth
bb0d11be38
Merge pull request #2646 from abarth/rename_fixit
...
Execute rename fixit
2016-03-12 12:41:14 -08:00
Adam Barth
95fc5ae070
[rename fixit] *Component* -> *Widget*
...
This patch renames StatelessComponent to StatelessWidget and
StatefulComponent to StatefulWidget.
Fixes #2308
2016-03-12 12:34:05 -08:00
Devon Carew
3ce1685d6d
update comments for android abi
2016-03-12 11:47:50 -08:00
Devon Carew
79d6bf6d08
Merge pull request #2644 from devoncarew/project_creation
...
add an atom launch config to the starter app
2016-03-12 11:12:07 -08:00
Devon Carew
e939b152af
rename the platform constants
2016-03-12 11:08:21 -08:00
Devon Carew
5b383a0353
Merge pull request #2643 from devoncarew/fix_adb_forward
...
fix a regression in adb forward
2016-03-12 11:00:08 -08:00
Devon Carew
ce9111b591
fix a regression in adb forward
2016-03-12 10:41:34 -08:00
Devon Carew
e67b67680b
Merge pull request #2631 from devoncarew/fix_app_delete
...
fix a launch issue when the user has deleted the app
2016-03-12 10:34:56 -08:00
Devon Carew
6d19fd1fce
add an atom launch config to the starter app
2016-03-12 07:09:07 -08: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
Ian Hickson
f41b3411da
Merge pull request #2639 from Hixie/always_specify_types
...
Almost enable always_specify_types lint
2016-03-12 00:20:51 -08:00
Hixie
d162d98c79
Enable always_specify_types lint
...
And fix the zillion issues that uncovered.
2016-03-11 18:27:32 -08:00
Hixie
bb3874dc7f
Enable strong mode again.
2016-03-11 16:34:47 -08:00
Devon Carew
f3dc82abda
Merge pull request #2616 from devoncarew/show_error_code
...
show the error codes in flutter analyze --watch
2016-03-11 16:01:41 -08:00
Ian Hickson
1d8117e2d0
Merge pull request #2625 from Hixie/conflictingNamePattern
...
flutter analyze test
2016-03-11 15:59:25 -08:00
Devon Carew
29df9f5582
show the error code in flutter analyze --watch
2016-03-11 15:59:20 -08:00
Devon Carew
ad7a666a3e
fix a launch issue when the user has deleted the app
2016-03-11 15:44:24 -08:00
pq
0aa07baf70
Migrate flutter analyze config to options.
...
More groundwork to get `analyze` and IDE output to agree.
See: https://github.com/dart-lang/sdk/issues/25723
2016-03-11 14:52:07 -08:00
Hixie
e6b82b6fa9
flutter analyze test
...
Test that flutter analyze catches no error if two imported libraries
have the same name.
Also, make tests know how to find the flutter root and fix style in one
test to be consistent with the rest of the file.
2016-03-11 14:26:38 -08:00
Phil Quitslund
b9f28e6f75
Merge pull request #2615 from pq/analyze_cleanup
...
Analyze command cleanup.
2016-03-11 14:25:24 -08:00
Jason Simmons
68e71146a7
Run "pub get" if needed in the flutter build command
2016-03-11 14:10:42 -08:00
pq
a2dac85f87
Re-added conflictingNamesPattern.
2016-03-11 13:12:07 -08:00
Devon Carew
5ad6a57007
remove some references to DeviceStore
2016-03-11 11:25:03 -08:00
Devon Carew
94157c91e9
regenerate the i18n files
2016-03-11 10:58:30 -08:00
pq
aedef5139b
Analyze command cleanup.
...
Removing some special-casing in pursuit of aligning `flutter analyze` output with that provided by server/IDEs. Specifically:
* strong-hints (stale, no longer supported)
* "analyzer says" comment handling in favor of `//ignore`s
* `conflictingNamePattern` --- no longer needed
Next up some of the error filter regexps...
2016-03-11 10:35:17 -08:00
John McCutchan
5e140b7533
Add DevicePortForwarder with adb fix
2016-03-11 09:26:17 -08:00
Ian Hickson
1b9cd52081
Enable ALL THE LINTS
...
Well, all the easy ones, anyway.
For some reason `// ignore:` isn't working for me so I've disabled
lints that need that. Also disabled those that require a ton of work
(which I'm doing, but not in this PR, to keep it reviewable).
This adds:
- avoid_init_to_null
- library_names
- package_api_docs
- package_names
- package_prefixed_library_names
- prefer_is_not_empty
- sort_constructors_first
- sort_unnamed_constructors_first
- unnecessary_getters_setters
2016-03-10 23:15:31 -08:00
Hixie
1d03522857
Remove the _EquationMember.hashCode override
...
Since we removed our operator== overload, we can now allow people to put
these in collections again.
Also, turn on two more analyzer lints: avoid_empty_else and hash_and_equals.
2016-03-10 17:27:02 -08:00
Devon Carew
83caeb35ed
Merge pull request #2584 from devoncarew/redux_analysis_options
...
move the analysis_options to a file
2016-03-10 14:37:58 -08:00
Eric Seidel
37f0b5dd98
Revert "Add DevicePortForwarder"
2016-03-10 14:23:39 -08:00
Devon Carew
b9fafc1765
adjust a regex for intl files
2016-03-10 14:21:23 -08:00
Yegor
96db7c0a5a
Merge pull request #2580 from yjbanov/lower-xcode-version-requirement
...
[ios] reduce xcode version requirement to 7.0
2016-03-10 14:08:48 -08:00
Devon Carew
780e4e6212
move the analysis_options to a file
2016-03-10 13:47:20 -08:00
John McCutchan
5fcaebbf51
Merge pull request #2506 from johnmccutchan/device_port_forward
...
Add DevicePortForwarder
2016-03-10 13:23:40 -08:00
Yegor Jbanov
23e634a613
[ios] reduce xcode version requirement to 7.0
...
Build bots only have 7.0.
2016-03-10 13:08:58 -08:00
John McCutchan
131359f4bc
Add DevicePortForwarder
2016-03-10 12:49:07 -08:00
Jason Simmons
3b5fba4022
Merge pull request #2578 from jason-simmons/flx_working_dir
...
Add an option to specify a working directory for the FLX builder
2016-03-10 12:43:35 -08:00
Yegor
c2b175d1db
Merge pull request #2575 from yjbanov/ios-device-discovery
...
[ios] look for the best available devicetype/runtime when booting
2016-03-10 11:25:56 -08:00
Yegor Jbanov
9383466dd5
[ios] look for the best available devicetype/runtime when booting
2016-03-10 11:04:02 -08:00
Eric Seidel
3e2a4d9b4d
flutter run
should fail if pub get
fails.
...
Previously we were ignoring the return code and continuing.
@devoncarew
2016-03-10 09:36:09 -08:00
Hixie
c7339de6bc
Enable always_declare_return_types lint
...
And fix a zillion omissions this uncovered.
2016-03-09 17:57:39 -08:00
Hixie
8950d3ccc4
Make flutter analyze useful for package conflicts
...
Also, resolve our package conflict, since reflectable has been fixed.
2016-03-09 17:41:05 -08:00
Hixie
5810cd80bd
Avoid 'as' keyword
...
It has performance implications in release mode.
We'll enable the lint once https://github.com/dart-lang/linter/issues/195 is fixed.
2016-03-09 15:00:55 -08:00
Jason Simmons
5108a6cc58
Add an option to specify a working directory for the FLX builder
...
This allows building an FLX without leaving any temporary files in the app's
source directory
2016-03-09 14:59:40 -08:00
Alhaad Gokhale
5faf84c3fa
Merge pull request #2528 from alhaad/depsfile_hook
...
Add `flutter_tools build` hooks to also generate depfile.
2016-03-09 12:29:31 -08:00
Alhaad Gokhale
b8d64ffe68
Add flutter_tools build
hooks to also generate depfile.
...
Fixes #1942 .
2016-03-09 11:24:47 -08:00
Devon Carew
2e9fef8c46
fix a regression in flutter logs
2016-03-09 10:48:34 -08:00
Devon Carew
ee5c5970dc
fix npe in lastLogcatTimestamp
2016-03-08 19:04:49 -08:00
Adam Barth
e4b1eab854
Remove //examples/widgets
...
Most of the remaining widget examples are actually manual tests. This patch
moves them into //dev/manual_tests. A couple are examples of using services,
which I've moved to //examples/layers/services. The remainder are out-dated and
are removed by this patch.
2016-03-08 16:37:32 -08:00
John McCutchan
9cb7001a39
Add ServiceProtocolDiscovery
2016-03-08 15:13:48 -08:00
John McCutchan
8803cecea1
Refactor DeviceLogReader
2016-03-08 10:38:22 -08:00
Devon Carew
52efc7fb68
implement --watch for flutter analyze
2016-03-07 13:46:42 -08:00
Devon Carew
b52fa986b6
fix rebase
2016-03-07 10:36:04 -08:00
Steve Messick
913315bc87
Improve the error message when a target is specified but not found.
...
https://github.com/flutter/flutter/issues/2368
2016-03-07 08:53:33 -08:00
Steve Messick
8cc5312054
Merge remote-tracking branch 'upstream/master'
2016-03-07 05:17:13 -08:00
Devon Carew
93b31a41df
fix flutter create
2016-03-04 18:56:26 -08:00
Steve Messick
cea21fb7b1
Merge remote-tracking branch 'upstream/master'
2016-03-04 14:38:55 -08:00
Steve Messick
2e878746a3
Improve message when target not found
2016-03-04 14:36:32 -08:00
Devon Carew
c1caa26989
fix a mac test
2016-03-04 13:10:51 -08:00
Ian Hickson
047276a666
Random fixes to dartdocs, http lib, analyzer
...
This is a variety of trivial fixes that I collected while going through the dartdocs.
This does contain some non-comment changes.
2016-03-03 23:56:40 -08:00
Yegor
cd0ddce963
Merge pull request #2402 from yjbanov/use-xcrun
...
[ios] use xcrun to launch simulator instead of hardcoded path
2016-03-03 17:14:13 -08:00
Yegor Jbanov
e69f6562ed
[ios] use xcrun to launch simulator instead of hardcoded path
2016-03-03 16:58:16 -08:00
Adam Barth
9b7ee3b7cc
Merge pull request #2377 from abarth/rm_test
...
Remove test dependency from package:flutter
2016-03-03 16:53:22 -08:00
Yegor Jbanov
58b2c630ab
[ios] generate flx on first ios launch
2016-03-03 16:10:03 -08:00
Devon Carew
6ab1ff3511
Merge pull request #2398 from devoncarew/fix_zip
...
fix the zip tool when building for ios
2016-03-03 15:28:33 -08:00
Devon Carew
361893b180
fix the zip tool when building for ios
2016-03-03 15:18:32 -08:00
Devon Carew
f68d86dab2
show stdout on xcode failures
2016-03-03 15:10:45 -08:00
Devon Carew
8283ce87e2
fix the stop command tests
2016-03-03 13:58:49 -08:00
Adam Barth
41cdd600df
Remove test dependency from package:flutter
...
The mojo_sdk has cleaned up its dependencies, so we no longer need to depend on
package:test from package:flutter.
2016-03-03 12:26:58 -08:00
Adam Barth
932b09c33a
Merge pull request #2048 from abarth/test2
...
Switch from hack_load_vm_file_hook to PlatformPlugin
2016-03-03 12:11:53 -08:00
Devon Carew
6868d24f37
Merge pull request #2380 from devoncarew/atom_validation
...
Atom validation
2016-03-03 12:10:30 -08:00
Devon Carew
e1f476b6d0
Merge pull request #2378 from devoncarew/refactor_stop
...
refactor the stop command to not use DeviceStore
2016-03-03 12:06:57 -08:00
Devon Carew
c54d54b7be
improve the atom validation
2016-03-03 12:06:30 -08:00
Adam Barth
96ec5316b8
Switch from hack_load_vm_file_hook to PlatformPlugin
...
This patch switches us from using our previous hacking approach to integrating
with package:test to using the new PlatformPlugin interface.
2016-03-03 11:23:36 -08:00
Devon Carew
d911aaa6d0
refactot the stop command to not use DeviceStore
2016-03-03 00:22:40 -08:00
Devon Carew
0fb288c575
refactor to move an ios specific class out of globals.dart
2016-03-02 21:14:11 -08:00
Eric Seidel
e802858b49
Merge pull request #2329 from chinmaygarde/master
...
iOS Simulator: Attempt 'sideloading' the updated Flutter application if the application runner is already up
2016-03-02 13:06:27 -08:00
Devon Carew
d9d94b1691
Merge pull request #2328 from devoncarew/no_dashes
...
clean the project names used for flutter create
2016-03-02 12:36:56 -08:00
Devon Carew
4c569195f1
clean the project names used for flutter create
2016-03-02 12:36:37 -08:00
Chinmay Garde
9f4fdcb866
iOS Simulator: Attempt 'sideloading' the updated Flutter application if the application runner is already up
...
* This makes the turnaround times < 2 seconds on the iOS simulator.
* Also bumps the engine to use the new engine required to support the flags.
2016-03-02 11:40:10 -08:00
Adam Barth
870894fc68
Switch Material Design icons to using the iconfont
...
Rather than managing all the Material Design icons manually, we now
manage them using an icon font. The icon font contains glyphs for each
icon in an efficient vector format.
This patch updates the FLX tooling to include the MaterialIcons font and
updates the Icon widget to use the font instead of asset images.
Fixes #2313
Fixes #2218
Fixes #2009
Fixes #994
2016-03-02 09:32:02 -08:00
Devon Carew
ebf1ecc5bd
valdate project names in create
2016-03-01 11:03:59 -08:00
Adam Barth
bf97313afb
Merge pull request #2276 from abarth/detached_head
...
Flutter --version can't handle detached HEAD
2016-02-29 17:08:14 -08:00
Yegor Jbanov
6d35481cfa
add smoke driver test; find by tooltip; retry predicate
2016-02-29 16:50:47 -08:00
Adam Barth
18a2525fc8
Flutter --version can't handle detached HEAD
...
Handle this error condition better and tweak some of the formating for the
version string.
Fixes #2162
2016-02-29 16:25:44 -08:00
Adam Barth
ad718a8d1e
Teach flutter logs to show only new logs
...
After this patch, the flutter logs command on Android shows only log messages
since the command was run. Previously, it showed historical logs, which was
confusing.
Fixes #2013
2016-02-29 12:05:07 -08:00
Devon Carew
4d93c376c9
improve verbose output
2016-02-27 23:36:02 -08:00
Devon Carew
f9adbcf23d
update a todo
2016-02-27 19:56:20 -08:00
Devon Carew
d326991b97
add back a call to device.stop() from the run command
2016-02-27 19:32:02 -08:00
Devon Carew
4e10bf596c
improve startup time
2016-02-27 08:19:19 -08:00
Hixie
ba918fea26
flutter analyze: handle missing files
2016-02-26 18:59:07 -08:00
Hixie
a9040433ad
Handle lines getting shorter during analysis
2016-02-26 15:37:43 -08:00
Devon Carew
3298f874f7
Merge pull request #2226 from devoncarew/remove_connected
...
remove the isConnected() method from device
2016-02-26 14:43:08 -08:00
Adam Barth
11fa94cd6b
Simplify demo template
...
We don't need these keys. Also, improve style in several places.
Fixes #2225
2016-02-26 13:42:25 -08:00
Devon Carew
022047f5eb
remove the isConnected() method from device
2016-02-26 13:23:48 -08:00
Devon Carew
240e499bc0
Merge pull request #2219 from devoncarew/speed_up_start
...
some performance optimizations for starting apps
2016-02-26 12:21:42 -08:00
Devon Carew
8c95500ea1
some performance optimizations for starting apps
2016-02-26 12:01:41 -08:00
Ian Hickson
c04b4c7580
Merge pull request #2206 from Hixie/analyzer-messages
...
Handle conflicting 'library' identifiers
2016-02-26 11:06:51 -08:00
Adam Barth
44ffb6f453
Merge pull request #2196 from abarth/update_packages
...
Move update_packages.dart to `flutter update-packages`
2016-02-26 11:03:48 -08:00
Hixie
a33e256ab8
Handle conflicting 'library' identifiers
...
Also, handle the new directory structure of the flutter repo.
2016-02-26 10:58:39 -08:00
Devon Carew
58f69e7f97
Merge pull request #2211 from devoncarew/flx_times
...
add timing info for flx creation
2016-02-26 10:44:45 -08:00
Devon Carew
9c9bda23bb
string interpolation
2016-02-26 10:22:54 -08: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
ee8f325bc0
add timing info for flx creation
2016-02-26 10:03:42 -08:00
Adam Barth
357fbf8a42
Move update_packages.dart to flutter update-packages
...
Now that we don't require the Dart SDK to be in your path, it's hard to run
./dev/update_packages.dart. Instead, you can now run `flutter update-packages`.
Fixes #1906
2016-02-25 16:27:56 -08:00
Phil Quitslund
ba7c992861
Merge pull request #2180 from flutter/error_codes
...
Ignore `flutter analyze` errors via analysis options.
2016-02-25 14:03:38 -08:00
pq
fdb2819e1e
Ignore errors via analysis options.
...
Migrates error suppression from regexps to analysis options.
* Ignore TODOs.
* Ignore strong mode field and method overrides (see `InvalidFieldOverride` and `InvalidMethodOverride` in `strong/info.dart`.
* Remove stale regexp to capture refs to dead `dart:ui_internals` URI.
* Remove stale regexp to capture dead strong mode "will need runtime check to cast to type" error (https://github.com/dart-lang/sdk/issues/24542 ).
5 regexp downs, another small handful (~4) to go! :)
2016-02-25 13:49:05 -08:00
Jason Simmons
23641c2d7e
Do not create a font manifest if the app has no flutter.yaml
2016-02-25 13:17:05 -08:00
Devon Carew
80d6130463
Update android_workflow.dart
2016-02-25 11:36:17 -08:00
Devon Carew
6e0c4f0fcf
Update android_workflow.dart
...
fix https://github.com/flutter/flutter/issues/2157
2016-02-25 09:25:06 -08:00
Devon Carew
4860e63f44
Merge pull request #2153 from devoncarew/add_android_icon
...
add an android icon to the starter app
2016-02-25 00:40:49 -08:00
Devon Carew
c6dcac15d5
remove templates/create/.analysis_options.tmpl
2016-02-25 00:38:31 -08:00
Devon Carew
5ee1cba149
fix a regression in the android manifest
2016-02-24 23:40:00 -08:00
Devon Carew
f57afa762f
add an android icon to the starter app
2016-02-24 23:12:33 -08:00
Devon Carew
dc0e97e51a
Merge pull request #2139 from devoncarew/doctor_create
...
run flutter doctor as part of create
2016-02-24 19:21:27 -08:00
Devon Carew
bc8e560779
run flutter doctor as part of create
2016-02-24 19:07:19 -08:00
yjbanov
54194a9075
wait for text to change in the sample driver test
2016-02-24 13:58:31 -08:00
Devon Carew
dc4830b0fa
Merge pull request #2123 from devoncarew/device_commands
...
additional validation for device commands
2016-02-24 12:54:28 -08:00
Chinmay Garde
21057de9ae
Merge pull request #2118 from chinmaygarde/develop
...
Remove all inline templates and provide a way to specify templates as resources
2016-02-24 12:47:37 -08:00
Chinmay Garde
038367ad24
Remove all inline templates and provide a way to specify templates as resources
2016-02-24 11:33:07 -08:00
Devon Carew
37290d866e
additional validation for device commands
2016-02-24 11:11:23 -08:00
Phil Quitslund
1062c44f4a
Merge pull request #2094 from flutter/analyze_fixes
...
Enumerate lints for analysis in synthesized options file.
2016-02-23 16:36:09 -08:00
pq
b69d249460
Enumerate lints for analysis in synthesized options file.
...
This enables us to exclude `library_names` pending a new stable SDK push (see notes: https://github.com/flutter/flutter/pull/1996 ). Also excluded are a few lints who's feedback was just getting regexp'ed out. Moving forward, this will allow us to selectively enable specific lints of interest as well.
2016-02-23 15:07:55 -08:00
Ian Hickson
8a53753427
Merge pull request #2107 from Hixie/flutter-tool
...
Fix --debug
2016-02-23 12:55:15 -08:00
Collin Jackson
263e2e7ff3
Merge pull request #2109 from collinjackson/no_material
...
Remove redundant Material from start project
2016-02-23 12:33:14 -08:00
Collin Jackson
8ab9a8fe03
Remove redundant Material from project created by flutter create
2016-02-23 11:29:55 -08:00
Hixie
71c8a96fb9
Fix --debug
...
...and some style nits.
2016-02-23 11:10:52 -08:00
Devon Carew
9367b86abe
add a validator for Atom
2016-02-23 10:25:14 -08:00
Yegor
3301ae7d09
Merge pull request #2097 from yjbanov/flutter-driver-create
...
"flutter create" can generate a basic driver test; "flutter drive" gains new options
2016-02-22 17:18:54 -08:00
yjbanov
278630e688
"flutter create" can generate a basic driver test
...
"flutter create" adds option `--with-driver-test` that adds
dependencies to `flutter_driver` in `pubspec.yaml` and creates
a basic driver test runnable via `flutter drive
--target=test_driver/e2e.dart`
"flutter drive" new options:
- `--keep-app-running` tells the driver to not stop the app after tests
are done
- `--use-existing-app` tells the driver to not start a new app but use
an already running instance
2016-02-22 17:10:31 -08:00
Devon Carew
a49e45106d
fix a checked mode assertion
2016-02-22 13:09:22 -08:00
Devon Carew
3463d89cf6
remove iosSimulator field from ApplicationPackageStore
2016-02-22 12:37:08 -08:00
Devon Carew
896246ad14
Merge pull request #2079 from devoncarew/more_specific_logging
...
log for specific adb devices
2016-02-22 12:12:05 -08:00
Chinmay Garde
2b70fda196
Merge pull request #2081 from chinmaygarde/master
...
Address issues raised in PR #2047
2016-02-22 12:10:54 -08:00
Chinmay Garde
d299b05ab3
Fix linter error regarding extra braces in string interpolation in devices.dart
2016-02-22 11:51:35 -08:00
Chinmay Garde
7e59a9e82e
Address issues raised in PR #2047
2016-02-22 11:43:52 -08:00
Chinmay Garde
6ab25977c5
Merge pull request #2080 from chinmaygarde/master
...
Update status messages when unsupported devices are detected by the tools
2016-02-22 11:33:47 -08:00
Chinmay Garde
f7d94fef8f
Update status messages when unsupported devices are detected by the tools
2016-02-22 11:33:17 -08:00
Devon Carew
16f9e38769
check to see if the xcode eula has been signed
2016-02-21 00:41:14 -08:00
Devon Carew
488e5dcd6c
log for specific adb devices
2016-02-21 00:23:13 -08:00
Devon Carew
67046f933d
add the ability to start and stop device polling
2016-02-20 22:00:11 -08:00
Adam Barth
ec0ec75b26
Improve the style in the starter app
...
Fixes #2011
2016-02-20 15:48:55 -08:00
Adam Barth
4aae718f85
Download sky_engine and sky_services from cloud storage
...
Downloading these packages from cloud storage simplifies our deployment
story because we can upload to cloud storage automatically from the
buildbot.
This patch also switches the responsibility for downloading the engine
artifacts to update_engine.sh. Centralizing this responsibility ensures
that the packages and the binaries are always in sync.
2016-02-20 13:25:01 -08:00
Yegor
38a72a444a
Merge pull request #2054 from yjbanov/flutter-drive-cmd
...
"flutter drive" command
2016-02-19 18:17:52 -08:00
yjbanov
a2b1bd4673
"flutter drive" command
...
Runs a test app and a driver test simultaneously, then stops the app.
Usage:
```
flutter drive --target=/path/to/test/app.dart
```
This command will look for `/path/to/test/app_test.dart` by
convention. We will expand into other ways of discovering tests in the
future.
2016-02-19 18:11:53 -08:00
Chinmay Garde
d797995632
tvOS, watchOS and old simulators are blacklisted in the tools
2016-02-19 16:29:41 -08:00
Chinmay Garde
83f10bd8ae
Fix typo in the _xcodeVersionSatisfactory
and rename the check
2016-02-19 13:38:28 -08:00
Chinmay Garde
5658640128
Fix lint errors
2016-02-19 13:34:16 -08:00
Chinmay Garde
c5056b957e
iOS: In case Xcode is installed but the version is too old. Advise the user to update.
2016-02-19 13:30:57 -08:00
Adam Barth
a6f0c97a22
Merge pull request #2046 from abarth/background_compilation
...
Enable background compilation
2016-02-19 13:10:10 -08:00
Adam Barth
b7ee5980ea
Enable background compilation
2016-02-19 13:06:55 -08:00
Chinmay Garde
f6a2477dce
Always generate legal UTIs for project identifiers.
2016-02-19 12:30:18 -08:00
Chinmay Garde
9ed4e417d0
Fix flutter_tools tests
2016-02-19 11:48:39 -08:00
Chinmay Garde
b37112af2a
Rewrite Local.xcconfig per build
...
In case the user changes the path of the Flutter project on disk, the Dart SDK or the Flutter repository itself, the old Xcode paths would be invalid. Now, we rewrite them when we build the project.
2016-02-19 11:37:05 -08:00
Chinmay Garde
df946dd875
iOS: Treat the initial Info.plist string as a mustache template.
...
Use the project name to initialize the bundle name and identifier
2016-02-19 11:37:05 -08:00
Jason Simmons
59351a79e4
Generate a font manifest JSON file from flutter.yaml
2016-02-19 10:05:14 -08:00
Devon Carew
0da7463ef0
make the '-o' option in create optional
2016-02-18 14:33:59 -08:00
Devon Carew
d5a6fceee5
add a summary option to the doctor class
2016-02-17 09:33:45 -08:00
Devon Carew
6a6b6539c8
Merge pull request #1947 from devoncarew/less_ios
...
make the ios development path less mandatory
2016-02-17 00:48:00 -08:00
Devon Carew
7ae6f7f391
make the ios development path less mandatory
2016-02-17 00:38:47 -08:00
Adam Barth
90d53adea9
Revert "iOS: Treat the initial Info.plist string as a mustache template and use the project name to initialize the bundle name and identifier"
...
This reverts commit dd4361bcb3
.
We still use the hard-coded name in a number of places, including
launching the app on the iOS simulator.
Fixes #1950
2016-02-16 21:20:00 -08:00
Chinmay Garde
9f0e6537fb
Update the regex used to filter out Flutter specific logs
2016-02-16 18:07:00 -08:00
Chinmay Garde
36a7c6576c
Perform an engine version check on start and update the Xcode project if necessary
2016-02-16 17:47:25 -08:00
Chinmay Garde
77103c01cd
Merge pull request #1941 from chinmaygarde/master
...
iOS: Treat the initial Info.plist string as a mustache template and use the project name to initialize the bundle name and identifier
2016-02-16 17:42:42 -08:00
Chinmay Garde
dd4361bcb3
iOS: Treat the initial Info.plist string as a mustache template and use the project name to initialize the bundle name and identifier
2016-02-16 17:29:36 -08:00
Adam Barth
db7294206a
Merge pull request #1940 from abarth/improve_android_sdk
...
Improve error message when Android SDK not found
2016-02-16 17:11:14 -08:00
Adam Barth
bef8d081ed
Improve error message when Android SDK not found
...
Also, look for the Android SDK in the default locations.
2016-02-16 17:02:52 -08:00
Eric Seidel
6159c67d2c
Merge pull request #1932 from eseidelGoogle/hide_run_mojo
...
Hide flutter run_mojo
2016-02-16 16:07:32 -08:00
Eric Seidel
f784fb8ce6
Hide flutter run_mojo
2016-02-16 16:06:39 -08:00
Adam Barth
0bb8d21bd2
Remove flutter ios command
...
All the functionality of this command has been integrated into other commands.
2016-02-16 16:01:59 -08:00
Chinmay Garde
c2f5044099
Refactor: Rename initialize_xcode.dart to setup_xcodeproj.dart
2016-02-16 15:35:59 -08:00
Chinmay Garde
5cebf70da4
flutter start
initializes the Xcode project if the user has not already done so.
2016-02-16 15:18:47 -08:00
Chinmay Garde
d38bfee62b
Tooling updates for dealing with native services distributed in pub packages
2016-02-16 13:10:12 -08:00
Adam Barth
cf8116368d
flutter run should run pub get automatically
...
This removes a step that can cause trouble.
Fixes #1904
2016-02-16 11:16:34 -08:00
Devon Carew
b7b06c2a27
fixes found when running through the getting started process
2016-02-15 14:06:23 -08:00
Devon Carew
cc72bbc7ec
rename list->devices, start->run
2016-02-13 23:50:20 -08:00
Devon Carew
dcf0b7bae6
allow any android sdk version
2016-02-13 14:37:41 -08:00
Devon Carew
8baf7694cb
update gitignore and analysis_options
2016-02-12 13:13:05 -08:00
Devon Carew
1cbd61d3b9
Merge pull request #1824 from devoncarew/use_revision_ios
...
use the REVISION file when building ios apps
2016-02-12 13:04:29 -08:00
Devon Carew
576bf7df60
use the REVISION file when building ios apps
2016-02-12 12:21:04 -08:00
Jason Simmons
42be77b7a9
Try to locate the toolchain in the output layout used by the Flutter Linux target
2016-02-12 11:09:22 -08:00
Todd Volkert
5d496143ba
Review
2016-02-12 08:27:47 -08:00
Chinmay Garde
62fb32d458
Merge pull request #1792 from chinmaygarde/master
...
Allow users to upgrade their iOS engines without removing their edits to the Xcode project
2016-02-11 21:17:30 -08:00
Adam Barth
2a1b0f6c22
Merge pull request #1793 from abarth/version_code
...
Add versionCode and versionName to default Android manifest
2016-02-11 20:11:35 -08:00
Adam Barth
0ae17bc3b3
Add versionCode and versionName to default Android manifest
...
These are required to upload to the store.
Fixes #1006
2016-02-11 19:43:39 -08:00
Adam Barth
8b94b9e9c6
Merge pull request #1784 from devoncarew/rename_apk_dir
...
rename the apk/ directory to android/
2016-02-11 19:37:44 -08:00
Chinmay Garde
23c632ab87
iOS: Write a default .gitignore file for the "Generated" directory
2016-02-11 18:40:54 -08:00
Chinmay Garde
3d25df3f99
iOS: Update path to the application Xcode project to point to the generated subdirectory
2016-02-11 17:48:56 -08:00
Chinmay Garde
5f6e9cb39c
iOS: Generate the initial set of user editable files if these are not already present
2016-02-11 17:44:04 -08:00
Chinmay Garde
978973fac9
iOS: Inflate the Xcode project into a "Generated" subdirectory
2016-02-11 17:13:06 -08:00
Chinmay Garde
94e9795b0b
Merge pull request #1788 from chinmaygarde/master
...
Write a REVISION file in the ios directory to aid in version checks
2016-02-11 15:54:01 -08:00
Chinmay Garde
0e9f8e4069
Write a REVISION file in the ios directory to aid in version checks
2016-02-11 15:46:09 -08:00
Chinmay Garde
3af3b23607
Merge pull request #1786 from chinmaygarde/master
...
Explicitly specify the sdk and arch when building for an iOS device
2016-02-11 15:25:18 -08:00
Chinmay Garde
97e41f5757
Explicitly specify the sdk and arch when building for an iOS device
2016-02-11 15:18:29 -08:00
Devon Carew
de8d11e714
rename the apk/ directory to android/
2016-02-11 13:28:24 -08:00
Adam Barth
78c19d22eb
Teach run_mojo about Mozart
...
Instead of running the FLX directly, we need to run mojo:launcher and have it
run the FLX.
2016-02-11 12:16:04 -08:00
Devon Carew
4ed79454ac
wait for flutter start to return until the obs. port is available
2016-02-11 10:18:39 -08:00
Devon Carew
aa66a7720c
fix an NPE when the flutter.yaml file is missing
2016-02-10 15:41:57 -08:00
Matt Perry
a02d583d02
Refactor service-related code to be shared between android and IOS.
...
The IOS code is totally untested. Need a Mac to test it.
2016-02-10 14:52:17 -05:00
Collin Jackson
5cd9d5b214
Upgrade command shouldn’t validate project, fixes #1745
2016-02-10 10:04:35 -08:00
Devon Carew
244239d982
Merge pull request #1753 from devoncarew/fix_logging_ios
...
fix an issue with logging ios simulator output
2016-02-10 09:24:55 -08:00
Devon Carew
2dbceafbc6
introduce globals scoped to the app's context
2016-02-09 22:03:13 -08:00
Devon Carew
05113d5829
fix an issue with logging ios simulator output
2016-02-09 21:21:02 -08:00
Devon Carew
a9a445b19d
Merge pull request #1743 from devoncarew/ignore_io_build
...
ignore derived resources in ios/build
2016-02-09 16:24:08 -08:00
Jason Simmons
8baffeb9a6
Merge pull request #1724 from jason-simmons/refresh_update_snapshot
...
Add a refresh command that rebuilds the snapshot and reloads it on th…
2016-02-09 16:22:51 -08:00
Devon Carew
427bc1e392
ignore derived resources in ios/build
2016-02-09 15:41:45 -08:00
Devon Carew
36b6210c93
filter offline devices from notifications
2016-02-09 13:30:21 -08:00
Jason Simmons
bf1246d881
Add a refresh command that rebuilds the snapshot and reloads it on the device
...
This provides a fast way to iterate on changes to a Flutter app that only
involve updates to Dart code and do not require a full build and install
of the FLX and APK
2016-02-09 13:08:19 -08:00
Adam Barth
3c8cbef973
Rationalize RenderViewport and RenderVirtualViewport
...
These classes now share more code and have feature parity.
2016-02-09 10:30:52 -08:00
Matt Perry
1cf36da1e1
Fix flutter stop
to stop the right Android activity.
...
Previously we'd always stop org.domokit.sky.shell. If an
AndroidManifest.xml exists, we'll use the activity specified in there
instead.
2016-02-09 11:53:37 -05:00
Eric Seidel
91c2255894
Skip flutter_simple in create_test on Mac for now
...
Returns 69 instead of 0 in the `create --out` part.
https://github.com/flutter/flutter/issues/1709
@devoncarew
2016-02-09 05:26:21 -08:00
Chinmay Garde
db4016c633
Merge pull request #1699 from chinmaygarde/master
...
Use the same flags as Android on iOS while starting on the simulator
2016-02-08 15:51:12 -08:00
Chinmay Garde
495c53335e
Use the same flags as Android on iOS
2016-02-08 15:44:24 -08:00
Devon Carew
e96f6600e3
start the simulator with -arch x86_64
2016-02-08 14:59:11 -08:00
Chinmay Garde
26b657019d
iOS Sim: Wire in launch arguments to simctl
2016-02-08 13:56:12 -08:00
Collin Jackson
9ec12824aa
Make flutter create generate a manifest that is similar to SkyShell.apk, fixes #1587
2016-02-08 11:11:25 -08:00
Devon Carew
9e6d45cb03
general refactoring around device management
...
remove the device factory methods as well as the device cache
2016-02-06 11:49:48 -08:00
Devon Carew
ebd8078b06
two fixes for checked mode
2016-02-05 20:57:41 -08:00
Devon Carew
67124dc3a5
refactor to parse xcrun simctl list as json
...
add device notifications for the simulator
2016-02-05 19:04:47 -08:00
Todd Volkert
60b6b79319
Create flutter_tools.dart to represent public tools API
2016-02-05 14:20:20 -08:00
Todd Volkert
f0379df5c7
Refactor flx.build() to allow for external toolchain hooks.
...
This splits flx.build() into two methods, flx.build() and
flx.assemble(). builD() now does the following:
1) constructs the manifest map by reading the manifest from the
file system
2) "compiles" the dart code into the snapshot file
3) Invokes assemble()
This allows external build toolchains to construct their own
manifest map (possibly using a different manifest syntax)
and create their own snapshot file
2016-02-04 15:44:03 -08:00
Devon Carew
f423951cc2
Merge pull request #1619 from devoncarew/device_names
...
get the adb device name when using the adb server
2016-02-04 14:04:45 -08:00
Devon Carew
4ff43bf418
get the adb device name when using the adb server
2016-02-04 14:03:16 -08:00
Devon Carew
27ae6c8b40
remove an extraneous line of output when launching the simulator
2016-02-04 13:31:20 -08:00
Matt Perry
fbe6779f4f
Merge pull request #1539 from mpcomplete/start
...
'flutter start' calls 'flutter apk' if necessary.
2016-02-03 13:13:52 -08:00
Matt Perry
5d2281b69b
'flutter start' calls 'flutter apk' if necessary.
...
flutter start no longer depends on a pre-built SkyShell.apk. It builds a
new one, as long as an AndroidManifest.xml exists.
We rebuild the .apk every time either AndroidManifest.xml or
flutter.yaml changes.
2016-02-03 12:21:20 -08:00
Devon Carew
cbb2761e5f
Merge pull request #1560 from devoncarew/target_option
...
normalize -t --target option
2016-02-03 11:49:23 -08:00
Devon Carew
bfb89195c3
add a hidden flag for backwards compatibility
2016-02-03 02:19:10 -08:00
Devon Carew
33874eb71f
update arg reference
2016-02-03 01:07:40 -08:00
Devon Carew
b6e8118e2d
normalize -t --target option
2016-02-03 00:52:07 -08:00
Devon Carew
4200378d3c
add docs for -h -v
2016-02-03 00:13:12 -08:00
Devon Carew
2981fc404d
Merge pull request #1526 from devoncarew/start_paused
...
add --start-paused,--debug-port flags
2016-02-02 12:05:12 -08:00
Devon Carew
b780c07622
add --start-paused,--debug-port flags
2016-02-02 11:38:56 -08:00
Collin Jackson
3094348ad4
Merge pull request #1483 from collinjackson/engine_safety
...
In addition to checking for the existence of the engine, ensure that it’s the correct version
2016-02-01 16:10:03 -08:00
Collin Jackson
beaffecb7b
fix #1443 ensure engine is the correct version
2016-02-01 13:11:30 -08:00
Devon Carew
78e05884ed
refactor flutter logs
2016-02-01 12:56:46 -08:00
Devon Carew
a08c201996
Merge pull request #1481 from devoncarew/patch_ios_logs
...
fix a regex in the ios logs command
2016-01-30 22:55:18 -08:00
Devon Carew
d631ebe597
fix a regex in the ios logs command
...
fixed sub-process stdout parsing; added todos
2016-01-30 22:48:28 -08:00
Devon Carew
d6b4759fee
tweak the output for the analyze command
2016-01-30 22:06:26 -08:00
Devon Carew
09cca3b34c
massage the help text
2016-01-29 14:32:12 -08:00
Devon Carew
864b7f47d7
add the engine revision to --version
2016-01-29 10:45:59 -08:00
krisgiesing
1b75de1b16
Merge pull request #1295 from krisgiesing/resolution_awareness
...
Add support for asset variants; add resolution aware asset image management
2016-01-28 18:19:32 -08:00
Kris Giesing
9572b4969f
Add support for asset variants and resolution-aware images
2016-01-28 18:11:32 -08:00
Devon Carew
a4b0c3d584
make the output from create more terse
2016-01-28 15:18:25 -08:00
Devon Carew
5ff2b1a19b
Merge pull request #1444 from devoncarew/work_on_test
...
test command checks for test dir
2016-01-28 15:03:38 -08:00
Devon Carew
5b2005d4ff
Merge pull request #1452 from devoncarew/start_command
...
make --device-id work with ios devices too
2016-01-28 15:03:21 -08:00
Devon Carew
c46ad29cfb
test commands checks for test fir
2016-01-28 15:02:50 -08:00
Devon Carew
2065483a1c
make --device-id work with ios devices too
2016-01-28 14:43:57 -08:00
Devon Carew
be2862debc
update description text for the trace command
2016-01-28 14:40:33 -08:00
Jason Simmons
12419d6bcf
Merge pull request #1446 from jason-simmons/app_process_restart
...
Add a --full-restart flag to the start command that controls whether …
2016-01-28 14:23:01 -08:00
Jason Simmons
0eb970f7f0
Add a --full-restart flag to the start command that controls whether we stop the application process
...
SkyActivity now allows reloading application Dart code within an existing
activity. If a SkyActivity instance is already running, then passing
--no-full-restart will restart the Dart code without killing and restarting
the SkyShell application.
(full-restart will remain the default until the engine
that supports this is rolled out)
Also remove the obsolete --poke flag
2016-01-28 14:13:42 -08:00
Devon Carew
d7fbf5302d
use status(), error(), and trace() for logging
...
rename to printTrace(), printStatus(), and printError()
2016-01-28 12:44:17 -08:00
Devon Carew
55c333f583
tweaks to the ios code
2016-01-28 08:25:23 -08:00
Devon Carew
76d069f9c0
rename the init command to create
2016-01-27 14:37:29 -08:00
Devon Carew
7ac4e6248f
refactor the list command
2016-01-27 14:03:41 -08:00
Jason Simmons
f0a62d6453
Merge pull request #1410 from jason-simmons/tracing_pull
...
Allow collection of trace files when adbd is not running as root
2016-01-27 11:04:22 -08:00
Jason Simmons
58ba5129e3
Allow collection of trace files when adbd is not running as root
...
Also fix a bug where the trace command may capture the wrong file
if multiple trace file paths are in the Android log buffer.
Previously we found a lower bound timestamp for the trace path log
by running the date command on the device and parsing the result on
the host. This could yield an inaccurate result if the device and
host are using different time zones.
The command will now obtain the most recent timestamp in the device's
time format by running logcat.
2016-01-27 10:57:13 -08:00
Chinmay Garde
594e7000a9
Merge pull request #1396 from chinmaygarde/master
...
iOS: Make the error message on `flutter ios --init` more descriptive
2016-01-26 14:08:23 -08:00
Chinmay Garde
c66e00f4a7
iOS: Make the error message on flutter ios --init
more descriptive
2016-01-26 14:07:39 -08:00
Chinmay Garde
95ac9b3e05
Merge pull request #1393 from chinmaygarde/master
...
iOS: Update log prefix for device logs. We don't use SkyShell anymore
2016-01-26 13:50:16 -08:00
Chinmay Garde
bf3594c3ee
iOS: Update log prefix for device logs. We don't use SkyShell anymore
2016-01-26 13:49:54 -08:00
Chinmay Garde
4bd35cdbe9
Minor update to the message logged when multiple devices are connected with no device ID specified
2016-01-26 12:10:46 -08:00
Chinmay Garde
9e089f237f
Avoid launching Xcode after "flutter ios --init"
2016-01-26 11:56:29 -08:00
Adam Barth
4a01299827
flutter start shouldn't log xcodebuild output
...
Xcodebuild produces a lot of output that isn't relevant to developers. We
should hide it by default.
2016-01-25 14:09:11 -08:00
Devon Carew
080896a305
improve device notification support
2016-01-25 13:50:59 -08:00
Matt Perry
b43bd0b1ec
Merge pull request #1365 from mpcomplete/apk2
...
Support local paths to third-party jars in flutter apk.
2016-01-25 16:10:30 -05:00
Adam Barth
91e6b21ea6
Improve error messages for iOS workflow
...
We now check that you've got an "ios" directory and that you have the proper
version of Xcode.
2016-01-25 12:21:13 -08:00
Matt Perry
6610b7ea04
Support local paths to third-party jars in flutter apk.
...
Also improve the error message a bit if a download fails.
2016-01-25 15:05:06 -05:00
Seth Ladd
fa91b3ff75
get a bug fix for multi-line command descriptions
2016-01-25 09:28:42 -08:00
Ian Hickson
5494323db9
Move us to HashSet to avoid the overhead of tracking the order
2016-01-23 18:13:13 -08:00
Eric Seidel
7f3ae43b7f
Make flutter list
not crash on linux.
...
Turns out linux does have an ideviceinstaller package
however it doesn't contain idevice_id or any of the
other tools we use. Furthermore we don't have
xcrun or the rest of xcode on linux so we can't
manipulate simulators either.
No sense in printing out a warning that ios isn't supported
every time on linux, so I wrapped that block in osx only.
@chinmaygarde @devoncarew
2016-01-22 14:58:13 -08:00
Devon Carew
5bce2fbdec
refactor platform specific code out of device.dart
...
remove device type specific checks
2016-01-22 10:51:49 -08:00
Matt Perry
dcbb4960eb
'flutter apk' now supports dynamically registered services.
...
Third-party libraries can now provide their own mojo services. They do
so by adding a config.yaml file to their pub package which contains
- a list of service names and java classes which handles that service's
registration.
- a list of pre-built .jar files to statically link with the app's shell
when building the app.
2016-01-22 13:20:54 -05:00
Devon Carew
5daf58ce1e
refactor commands to move out re-usable functionality
2016-01-21 09:38:46 -08:00
Devon Carew
a14c2d219e
parse out the ios simulator device name
2016-01-20 22:01:57 -08:00
Eric Seidel
f9c7a8f606
Make flutter start
not report erroneous failure
...
Was failing when starting in the iOS Simulator
@chinmaygarde
2016-01-20 17:57:28 -08:00
Devon Carew
70fb49fb14
refactor build command into two files
2016-01-20 15:45:34 -08:00
Devon Carew
5ac6f9313d
Merge pull request #1305 from devoncarew/device_notification
...
Device notification
2016-01-20 10:03:56 -08:00
Devon Carew
87e6b9a082
name and grammar tweaks
2016-01-20 08:38:50 -08:00
Devon Carew
8bb8e1d9e7
add device notifications to the daemon command
2016-01-19 21:29:20 -08:00
Devon Carew
386c351884
improve the failure mode when run from a non-flutter project
...
fix an issue where errors were printed twice
2016-01-19 20:56:23 -08:00
Chinmay Garde
477530f309
Merge pull request #1249 from chinmaygarde/master
...
First take on `flutter start` for iOS devices
2016-01-19 14:59:05 -08:00
Devon Carew
e5beea64d2
add tests
2016-01-19 14:33:02 -08:00
Devon Carew
2727954d0e
review comments
2016-01-19 13:15:58 -08:00
Devon Carew
077ee32ea5
guard against npe
2016-01-19 12:15:11 -08:00
Devon Carew
677a80c16b
add a wrapper around the adb command
2016-01-19 11:31:20 -08:00
Adam Barth
7019e92f38
Skip "list of devices" header from adb
...
Sometimes "adb devices" prints a header. We should skip over the header
instead of complaining that we don't recognize it.
Fixes #1293
2016-01-18 11:26:29 -08:00
Ian Hickson
62673cf67b
Merge pull request #1286 from Hixie/better-analyze
...
Make 'flutter analyze' support analyzing arbitrary files
2016-01-17 22:34:13 -08:00
Ian Hickson
1f6ed67bd9
Make 'flutter analyze' support analyzing arbitrary files
...
Before we didn't know how to find the packages of random files. Now we do.
2016-01-16 13:38:47 -08:00
Ian Hickson
9eb978443b
Prepare flutter analyze for dart 1.14
2016-01-16 11:28:13 -08:00
Chinmay Garde
c8672a40c1
Fix Dart analyzer warning
2016-01-15 11:51:45 -08:00
Chinmay Garde
602a35617a
Update flutter start
for iOS simulator
2016-01-15 11:51:45 -08:00
Chinmay Garde
02f423f5d3
Minor: Remove unnecessary continue
2016-01-15 11:51:45 -08:00
Chinmay Garde
e98b7f4c48
Make picking of either an iOS or Android device from a configuration follow a common code path
2016-01-15 11:51:45 -08:00
Chinmay Garde
53ea61942b
Invoke Device::startApp on the specific device
2016-01-15 11:51:45 -08:00
Chinmay Garde
fbef955cb9
Update IOSDevice::startApp for precompilation
2016-01-15 11:51:45 -08:00
Chinmay Garde
b7e388c5dd
Allow preconfigured packages for iOS simulator and devices
2016-01-15 11:51:45 -08:00
Chinmay Garde
9fd1711b43
Add configurations for prebuilt iOS and iOS simulator targets
2016-01-15 11:51:45 -08:00
Seth Ladd
59fde0b45c
clarify that start defaults to checked
2016-01-13 08:53:46 -08:00
Devon Carew
babfb0ac4f
Merge pull request #1215 from devoncarew/dev_analysis
...
fixes to flutter analyze for the latest dev sdk
2016-01-12 20:18:41 -08:00
Devon Carew
4ad838f65b
don't listen for chromium messages to the adb log
2016-01-12 19:09:12 -08:00
Devon Carew
0f55ebe503
fixes to flutter analyze for the latest dev sdk
2016-01-12 19:04:19 -08:00
Eric Seidel
9257682b01
Remove stray period added from web editor.
2016-01-12 17:09:15 -08:00
Eric Seidel
a6e8fccb90
Correct display error for flutter analyze
timing
...
Fixes #1213 .
2016-01-12 17:08:38 -08:00
Seth Ladd
42d90c00cc
starter app now has a button that does something
2016-01-12 10:28:40 -08:00
Eric Seidel
001c107858
Teach analyze how to print out the total time spent
...
Makes it more obvious that flutter analyze takes a long time.
@Hixie
2016-01-12 09:20:36 -08:00
Adam Barth
2303188614
Handle trying to upgrade Flutter with no upstream
...
Fixes #1084
2016-01-07 10:57:48 -08:00
Adam Barth
3615827f0e
flutter start
crashes when port 8181 is in use
...
Catch the error and log a warning.
Fixes #1050
2016-01-07 09:56:44 -08:00
Eric Seidel
330c08199e
Revert "Make flutter listen
exit nicely when missing dependencies"
2016-01-06 17:17:16 -08:00
Eric Seidel
3a2aa89064
Make flutter listen
exit nicely when missing dependencies
...
Previously it died with a confusing exception.
@chinmaygarde
2016-01-06 17:07:36 -08:00
Chinmay Garde
e1b16729bf
Merge pull request #1093 from chinmaygarde/master
...
Download the Xcode artifacts for the current engine revision
2016-01-06 13:40:35 -08:00
Devon Carew
854f9f717d
Merge pull request #1090 from devoncarew/log_stderr
...
have flutter logs log stderr
2016-01-06 13:39:11 -08:00
Chinmay Garde
f5f9440a2d
Download the Xcode artifacts for the current engine revision
2016-01-06 13:38:43 -08:00
Eric Seidel
0d783718ba
Teach flutter trace stop
to use time on the device.
...
This is yet another hack on top of adb log handling.
This is fragile, but w/o this if you device time is out
of sync, you can't trace.
@abarth
2016-01-06 13:29:32 -08:00
Devon Carew
ed215fb842
have flutter logs log stderr
2016-01-06 13:29:24 -08:00
Devon Carew
782f505fb8
clear logs on app launch
2016-01-05 11:02:49 -08:00
Jason Simmons
3a37c36cea
Add flags for signing an APK with a custom keystore
...
Fixes #1010
2016-01-04 13:59:01 -08:00
Adam Barth
eecb8012af
flutter init should gitignore .atom
...
We now create a .atom folder to hold settings for the Atom project. We
should gitignore that folder our project template.
2016-01-01 19:44:39 -08:00
Devon Carew
fc0b18c7f1
update the min api level in the generated android manifest; use constants for the android version name
2015-12-30 21:37:39 -08:00
Ian Hickson
4fe10dbf7e
Refactor listen in terms of start.
...
Fixes #1034 , at least for start and listen.
2015-12-28 17:57:47 -08:00
Devon Carew
ff74ba812d
remove noSuchMethod hints
2015-12-21 14:57:20 -08:00
Chinmay Garde
56d6476049
Merge pull request #986 from chinmaygarde/master
...
Fix travis builds and linter warnings
2015-12-17 15:31:55 -08:00
Chinmay Garde
8231f57984
Fix travis builds and linter warnings
2015-12-17 15:25:59 -08:00
Chinmay Garde
98f10bc6eb
Merge pull request #983 from chinmaygarde/master
...
Add a 'flutter ios --init' command that fetches the Xcode project from the cloud and configures it for a given flutter project
2015-12-17 14:59:26 -08:00
Chinmay Garde
08fdf99fea
Add a 'flutter ios --init' command that fetches the Xcode project from the cloud and configures it for a given flutter project
2015-12-17 14:58:39 -08:00
Eric Seidel
dd440d0c21
Fix flutter apk
to work with resources
...
I screwed up my last change, turns out the package command
is sensitive about having all of its flags before args.
Also made it possible to control the resources directory
from the command line per the review comments in the previous change.
@jason-simmons
2015-12-16 16:18:02 -08:00
Eric Seidel
64bec53646
Add support for bundling apk resources
...
I also made it so that `flutter apk -v` showed what
commands it was running by moving off of a custom _run
function onto the base/process.dart runChecked shared
by other commands.
@jason-simmons
2015-12-16 15:33:33 -08:00
Ian Hickson
7151fdd054
Move flutter tests from packages/unit to packages/flutter/test
2015-12-16 08:00:57 -08:00
Hixie
0a6b0f9b0b
Always import our packages when analyzing.
2015-12-14 12:56:31 -08:00
Hixie
889a1e8eb3
Analyze more tests.
2015-12-14 11:06:42 -08:00
Jason Simmons
cb6eef70e8
Upgrade the test package (needed by the latest mojo roll)
2015-12-10 16:25:12 -08:00
Adam Barth
4fa9e57185
Merge pull request #872 from abarth/build_errors
...
Improve error messages when build fails
2015-12-10 12:00:30 -08:00
Adam Barth
8eb9763569
Improve error messages when build fails
...
Instead of failing with a cryptic error message about app.flx, we now fail with
an explicit message about the compiler.
Releated to #865
2015-12-10 11:25:19 -08:00
Adam Barth
fd68f08b7c
Recognize offline status in adb
...
Fixes #858
2015-12-10 11:16:40 -08:00
Adam Barth
2b6b781c7a
Switch over to the Travis-built artifacts
...
We've been bulding these binaries using Travis for a while. We can start using
them now.
2015-12-08 15:01:44 -08:00
Ian Hickson
0290622bc6
Analyzer improvements
...
- strengthen analyzer against error messages that point past the
bottom of the file.
- ignore any errors in intl's auto-generated files.
2015-12-03 19:52:23 -08:00
Eric Seidel
7d4feaa71a
Workaround logcat -c not working
2015-12-03 16:13:10 -08:00
Eric Seidel
5e2bc90daf
Make it possible to specify the saved path for trace --stop
...
@chinmaygarde
2015-12-03 14:44:59 -08:00
Eric Seidel
4eee2e4c1d
Add support for passing --trace-startup on Android
...
iOS takes a different codepath and will need more work.
@chinmaygarde
2015-12-03 12:23:52 -08:00
Adam Barth
fb98a387aa
Support flutter test
with prebuilt binaries
...
Now you can run tests with and without --flutter-repo with a prebuilt binary on
Linux.
Fixes #307
2015-12-03 10:05:57 -08:00
Eric Seidel
95eac98fac
Merge pull request #681 from eseidelGoogle/trace
...
Make trace --stop fail if the adb pull fails.
2015-12-02 12:00:01 -08:00
Eric Seidel
5b2cc1ae67
Make trace --stop fail if the adb pull fails.
...
@chinmaygarde
2015-12-02 11:27:27 -08:00
Jason Simmons
bbd84bce93
Merge pull request #660 from jason-simmons/apk_output_label
...
Add output to "flutter apk" indicating where the APK file was written
2015-12-01 15:50:52 -08:00
Jason Simmons
01ff4ef6bc
Add output to "flutter apk" indicating where the APK file was written
2015-12-01 15:44:15 -08:00
Jason Simmons
76ced91388
Generate an Android manifest in "flutter init"
2015-12-01 15:28:19 -08:00
Adam Barth
f41869f639
Update package:test to the latest version
2015-11-30 18:41:10 -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
Adam Barth
3821560841
Merge pull request #611 from abarth/rm_build_sky_apk
...
Remove build_sky_apk.dart
2015-11-28 19:32:39 -08:00
Adam Barth
c477b1250b
Remove build_sky_apk.dart
...
This script has been subsumed by `flutter apk`.
2015-11-28 19:16:23 -08:00
Ian Hickson
92a6212007
dev/update_packages.dart --upgrade
...
Add an --upgrade flag to the dev/update_packages.dart flag which runs
'pub upgrade' instead of 'pub get'. Tell people to use this when using
'flutter analyze' since 'pub get' doesn't have the same guarantee of
getting everything in sync.
2015-11-27 20:01:13 -08:00
Devon Carew
13fbafdabf
Merge pull request #591 from devoncarew/log_time
...
print logging timestamps to profile app launch
2015-11-25 12:54:49 -08:00
Devon Carew
e36b07f7b5
print logging timestamps to profile app launch
2015-11-25 12:47:25 -08:00
Devon Carew
559ea9d08d
allow logs to work from any location
2015-11-25 12:39:33 -08:00
Devon Carew
8500aca7ad
fix analysis errors; add missing icon
2015-11-24 23:19:25 -08:00
Adam Barth
ae585eb12e
Remove start_test
...
This test was a bad mock-based test that hasn't ever caught a bug but has
required a lot of maintenance. Currently its broken because its mock doesn't
match the real interface.
2015-11-24 17:44:15 -08:00
Adam Barth
860547c1d4
Add support for system-level routing
...
Now you can supply a route argument to flutter start:
$ flutter start --route /foo
which will start the app at /foo instead of /.
2015-11-24 16:13:20 -08:00
Adam Barth
58f056da68
Pin package:test
to an exact revision
...
We use a number of non-public APIs in the test package, which makes our
dependency quite fragile. This patch pins a specific, known-good version. We
should update to the lastest version in a follow-up patch.
2015-11-24 09:22:11 -08:00
Adam Barth
b0470e31fb
Improve unauthorized regexp
...
Fixes https://github.com/flutter/flutter.github.io/issues/101
2015-11-23 19:09:43 -08:00
krisgiesing
1a351a6598
Merge pull request #478 from krisgiesing/run_mojo_android
...
Allow run_mojo --android to specify location of flutter engine
2015-11-23 14:19:28 -08:00
Kris Giesing
02510dd866
Allow run_mojo --android to specify location of flutter engine
2015-11-23 14:11:51 -08:00
Adam Barth
c7e00449a8
Make it possible to run tests outside the Flutter repo
...
This patch still requires a locally built engine. I'll remove the need for a
locally built engine in a future patch.
Fixes #278
2015-11-23 13:42:04 -08:00
Seth Ladd
c675ec7d6e
Merge pull request #530 from sethladd/more-error-message
...
more verbose error message
2015-11-23 09:50:29 -08:00
Seth Ladd
84cfcde1f7
tweaking message
2015-11-23 09:24:20 -08:00
Adam Barth
99d51f5f5a
Fix analyzer warnings
...
Should make Travis green again. Also, add better logging to
dev/update_packages.dart.
2015-11-21 13:39:45 -08:00
Jason Simmons
ae7c97160a
Merge pull request #533 from jason-simmons/apk_artifact_cache
...
Build APKs without a local copy of the engine sources
2015-11-20 16:43:14 -08:00
Jason Simmons
854db78466
Build APKs without a local copy of the engine sources
2015-11-20 16:22:18 -08:00
Seth Ladd
9496de7c80
more verbose error message
...
undo auto format
2015-11-20 15:34:28 -08:00
Adam Barth
0d3c2d9336
flutter build --engine-src-dir=<garbage> produces poor error message
...
This patch improves the error message.
Fixes #468
2015-11-20 15:09:04 -08:00
Adam Barth
19fe92e35d
Merge pull request #521 from abarth/fix_analyzer
...
Fix analyzer warnings in updater package
2015-11-20 14:14:39 -08:00
Adam Barth
4cd1fb177a
Fix analyzer warnings in updater package
...
This class was renamed to MojoEventSubscription.
2015-11-20 13:12:27 -08:00
Adam Barth
dc23af9ff1
Merge pull request #513 from abarth/improve_build_help
...
Be more specific about what `flutter build` does
2015-11-20 12:57:36 -08:00
Jason Simmons
1f83018f86
Download build artifacts from a zip file
...
This updates the Flutter tools to match the proposed new packaging of artifacts
in the engine release script.
* The GCS URL for artifacts is now gs://mojo/flutter/$revision/$platform
* Categories have been removed from the Artifact class
* All artifacts for a given platform now live in a zip file. If an artifact
is not present in the local cache, then the zip will be downloaded and
extracted.
Note that darwin-x64 artifacts go through a different process that (for now)
continues to use the old format.
2015-11-20 10:27:18 -08:00
Adam Barth
18763e5609
Be more specific about what flutter build
does
...
Fixes #512
2015-11-20 09:14:48 -08:00
Eric Seidel
847df52860
Point to Github issues instead of flutter.io
...
Fixes #489 .
@sethladd
2015-11-19 10:29:29 -08:00
Adam Barth
fd6bc856a7
Merge pull request #458 from abarth/adb_errors
...
Handle adb error cases more gracefully
2015-11-18 08:17:24 -08:00
Adam Barth
3027497f85
Handle adb error cases more gracefully
...
We now print a sensible message if we can't find `dart` or `adb`. Also, we
print a sensible message if the device isn't authorized.
Fixes #380
Fixes #358
2015-11-17 23:23:30 -08:00
Adam Barth
b20a1f4a15
Merge pull request #457 from abarth/asset_error
...
Improve error message for non-existent asset
2015-11-17 23:07:27 -08:00
Adam Barth
7b75d15d46
Improve error message for non-existent asset
...
Now we print the name of the asset and the base directory where we looked for
the error instead of throwing a null pointer exception.
Fixes #296
2015-11-17 22:56:00 -08:00
Adam Barth
cada8b3faa
Import path.dart as path rather than p
...
Fixes #311
2015-11-17 22:44:54 -08:00
Adam Barth
f6bd26a3f3
Make flutter run_mojo imply flutter build
...
This makes run_mojo more similar to flutter start.
2015-11-17 16:19:55 -08:00
Adam Barth
0760c8be7f
Merge pull request #446 from abarth/improve_version
...
Improve flutter --version output
2015-11-17 16:05:08 -08:00
Jason Simmons
ba10546889
Merge pull request #437 from jason-simmons/apk_package
...
Add a Flutter command that builds an APK using a local build of the e…
2015-11-17 15:27:34 -08:00
Adam Barth
835e7f25fc
Improve flutter --version output
...
Sample output:
```
Flutter
Repository: git@github.com:flutter/flutter.git
Branch: master
Revision: 7be58b1ae0
(62 minutes ago)
```
Fixes #433
2015-11-17 15:24:25 -08:00
Jason Simmons
07556429f2
Add a Flutter command that builds an APK using a local build of the engine
...
Example:
cd flutter/examples/stocks
flutter --engine-src-path /path/to/engine/src apk -o Stocks.apk -m apk/AndroidManifest.xml
2015-11-17 14:54:25 -08:00
Adam Barth
b8e16d7c09
Switch flutter run_mojo over to flutter.mojo
...
The new flutter.mojo is ready for use.
2015-11-17 14:16:20 -08:00
Hixie
56b9245b1a
Allowing us to have a single error seems silly.
2015-11-17 11:08:46 -08:00
Adam Barth
a35b214d89
Merge pull request #421 from abarth/icon_sizes
...
Add all the icon sizes to the FLX
2015-11-16 23:01:02 -08:00