Dan Rubel
cd65b7902c
switch to package:mustache ( #6273 )
2016-10-11 17:44:12 -04:00
Ian Hickson
dd34b28f7d
Upgrade web_socket_channel dependency. ( #6153 )
...
Turns out the lowest version allowed here isn't compatible with
flutter_tools' usage of this package.
2016-09-30 12:50:05 -07:00
Phil Quitslund
fffde14f64
Update tools to use analyzer
from vended Dart SDK. ( #5900 )
...
* Update tools to use `analyzer` from vended Dart SDK.
* updates `flutter_tools` and `flutter_test` to use the SDK-vended `analyzer` package
* tweaks dependency tracking logic to only record the SDK-vended `analyzer` so as not to crash on spurious conflicts (due to transitive dependencies)
* Review fixes.
2016-09-16 11:06:17 -07:00
Yegor
1ba1562293
move CI tests into the main repo ( #5758 )
2016-09-14 13:22:53 -07:00
Adam Barth
157ffaac35
Update Dart package dependencies ( #5832 )
2016-09-12 16:00:12 -07:00
Phil Quitslund
d2fda677e1
Update to Dart 1.20.0-dev.1.0
. ( #5689 )
...
* Udpate to Dart `1.20.0-dev.1.0`.
Udpate to Dart `1.20.0-dev.1.0` and corresponding `analyzer` package.
* Added `--no-packages-dir`.
* Revert extension to master.
* Added ignores.
* Review nits.
* More nits.
2016-09-08 13:14:08 -07:00
Phil Quitslund
0fe82c3a6f
Update Dart SDK to 1.19.0-dev.4.0
. ( #5329 )
2016-08-10 16:21:58 -07:00
Chris Bracken
a1fa7c94e3
Support passing a custom coverage formatter to finalizeCoverage() ( #5208 )
2016-08-03 16:58:47 -07:00
Phil Quitslund
408e4240d0
Lint updates in flutter analysis options. ( #5130 )
...
* Adds `empty_statements` (new in `0.1.21`).
* (Re)enables `iterable_contains_unrelated_type` (fixed in linter#245).
2016-07-28 22:50:40 -07:00
pq
13c3f9d946
Update Dart (1.19.0-dev.0.0) and analyzer (0.27.4-alpha.19).
2016-07-27 10:44:44 -07:00
Yegor
2f77a07940
log the contents of .packages and pubspec.lock on buildbots ( #4989 )
2016-07-21 13:27:49 -07:00
pq
cb4f01ae3d
Bump Dart SDK to 1.18.0-dev.4.0
.
...
Last dev push for `1.18`.
2016-07-06 14:43:40 -07:00
pq
a417786d77
Update to latest analyzer (w/ cleanup).
...
Bye-bye `@protected `trampolines! :)
2016-06-30 10:39:45 -07:00
Adam Barth
f20546a1d7
Remove drudge spam ( #4724 )
...
Stop spamming the console about drudge by pinning an earlier version of
json_scheme that doesn't spam.
2016-06-23 15:37:51 -07:00
Adam Barth
7b99ecff35
Use relative paths in lcov.info ( #4722 )
...
Using relative paths makes it easier to share lcov.info files across machines.
2016-06-23 15:29:54 -07:00
Phil Quitslund
55b51ee549
Merge pull request #4697 from pq/analyzer_0.27.4-alpha.14
...
Update to latest analyzer (0.27.4-alpha.14) and misc. analysis fixes.
2016-06-23 10:03:49 -07:00
Adam Barth
ed2c24ba2b
Add coveralls support to Travis ( #4690 )
...
This patch causes us to upload a coverage report to coveralls.io.
2016-06-22 14:47:41 -07:00
pq
352e2f573b
Update to latest analyzer (0.27.4-alpha.14) and misc. analysis fixes.
...
* brings in analyzer version (`0.27.4-alpha.14`) corresponding to current Dart SDK (`1.18.0-dev.2.0`).
* updates analysis to use prefered API for embedder URI resolution
* adds trampolines to `State` and `StatelessWidget` to allow for warning-free within-library @protected access (needed since we closed off access to @protected closures from outside subclasses).
* turns off cache dependency tracking for analysis (in DDC this amounted to a 10% speed improvement).
2016-06-22 14:34:30 -07:00
Adam Barth
b094fa6dd3
Add support for --coverage to flutter test ( #4679 )
...
We need https://github.com/dart-lang/coverage/issues/100 to be fixed before
this will be useful.
Fixes #2342
2016-06-22 12:22:01 -07:00
Devon Carew
415324f2f0
bump our dep on the test package ( #4625 )
...
* bump out dep on the test package
* add other pubspecs
2016-06-19 08:10:03 -07:00
Jason Simmons
d89823be2a
Remove packages/flx and the FLX code signing scheme ( #4612 )
2016-06-17 12:35:30 -07:00
pq
3e9067a4ec
Dead code and switch cleanup (continued).
...
Prep to get us ready to pull in a new dev SDK and bump our analyzer DEP.
* updates `crypto` (required by fresh analyzer)
* fixes newly flagged dead code warnings
* fixes switches that fall through and don't return
2016-06-16 09:45:37 -07:00
pq
985a7b91cf
Update analyzer dep to 0.27.4-alpha.9
...
Update analyzer dep to 0.27.4-alpha.9 to enjoy analyzer perf improvements (https://codereview.chromium.org/2011183004/ ) (and keep in sync with the SDK).
(This is a revisit to https://github.com/flutter/flutter/pull/4253 .)
2016-05-31 06:59:56 -07:00
Adam Barth
fde55a6f6a
Update vector_math ( #4201 )
...
The new version has an API change. Also, up our SDK requirements to be a
bit more realistic.
2016-05-26 09:49:09 -07:00
Adam Barth
c69cff9428
Update test package ( #4198 )
2016-05-25 17:45:23 -07:00
pq
addc888926
Update to new analyzer and linter.
...
Notably, this will allow us to play with
* the fixed `public_member_api_docs` that now checks for documented getters when checking setters (https://github.com/dart-lang/linter/issues/237 ), and
* the new `comment_references` lint that ensures identifiers referenced in docs are in scope (https://github.com/dart-lang/linter/issues/240 ).
2016-05-18 11:47:44 -07:00
pq
7163cf115d
Revert "Update to new analyzer and linter."
...
This reverts commit f91cf1c4505e1e8f20ade7aad865c938a6ac2054.
2016-05-18 11:45:25 -07:00
pq
f91cf1c450
Update to new analyzer and linter.
...
Notably, this will allow us to play with
* the fixed `public_member_api_docs` that now checks for documented getters when checking setters (https://github.com/dart-lang/linter/issues/237 ), and
* the new `comment_references` lint that ensures identifiers referenced in docs are in scope (https://github.com/dart-lang/linter/issues/240 ).
2016-05-18 11:44:43 -07:00
Devon Carew
483922d15c
allow per-command analytics suppression ( #3919 )
...
* allow per-command analytics suppression
* rev the usage package dep
2016-05-15 20:06:27 -07:00
pq
71203e9a89
Analyzer dep commentary fix.
2016-05-05 12:15:26 -07:00
pq
a59a713f75
Analysis re-work to use analyzer APIs.
...
Introduces a new Dart analysis wrapper that works directly with the analyzer API (in favor of shelling out to a separate process).
Some consequences:
* we no longer need to fear parts (simplifying our dart file gathering)
* we can filter by error code (when needed), rather than by error strings
* no more IO scraping
* no need to generate `main()` or to run with `--package-warnings`
* we now specify an analyzer (and linter) version in the pubspec (we’ll want to make sure this doesn’t diverge too far from the analyzer shipped with the SDK but it does give us some room to play with experimental builds)
* no more (re)scanning of error source files (and so no more source cache)
* should generally be a bit simpler and easier to maintain
* runs a bit faster :)
2016-05-05 12:08:58 -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
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
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
Jason Simmons
8451b669c8
Collect trace data through the observatory HTTP interface ( #3393 )
2016-04-19 10:38:49 -07:00
Adam Barth
d9b73a2b7a
Improve docs about why we pin analyzer ( #3254 )
2016-04-12 12:42:14 -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
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
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
18d29583d0
pubspec normalization; remove den
2016-04-01 08:33:22 -07:00
Devon Carew
d5cccf5cd6
rev mockito; remove deprecated uses
2016-03-30 09:10:50 -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
Devon Carew
7b694ddd42
upgrade to test 0.12.13
2016-03-27 13:36:01 -07:00
Jason Simmons
c2b4ac9c3c
Validate flutter.yaml against a JSON schema
2016-03-24 17:49:23 -07:00
Ian Hickson
87eb34240b
Port to crypto 0.9.2
2016-03-22 21:54:34 -07:00
Ian Hickson
a7016062bc
Improve flutter create help text.
2016-03-20 20:06:30 -07: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
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
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
Devon Carew
dcf0b7bae6
allow any android sdk version
2016-02-13 14:37:41 -08:00