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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
25f332d8d7
re-work the doctor command
2016-03-23 21:12:29 -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
Devon Carew
1d20a90cad
change how we calculate the temp dir
2016-03-22 12:22:30 -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
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
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
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
Hixie
797e27edd3
Add @override annotations to flutter framework
2016-03-14 14:02:26 -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
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
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
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
e939b152af
rename the platform constants
2016-03-12 11:08:21 -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
Hixie
d162d98c79
Enable always_specify_types lint
...
And fix the zillion issues that uncovered.
2016-03-11 18:27:32 -08:00
Devon Carew
29df9f5582
show the error code in flutter analyze --watch
2016-03-11 15:59:20 -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