Commit graph

716 commits

Author SHA1 Message Date
Mikkel Nygaard Ravn c2e1bc0322
Revert "Move plugin injection to just after pub get (#14560)" (#14734)
This reverts commit b3e4976ca2.
2018-02-15 22:55:36 +01:00
Mikkel Nygaard Ravn b3e4976ca2
Move plugin injection to just after pub get (#14560) 2018-02-15 22:17:12 +01:00
Alexander Aprelev a448994543
Use the Dart SDK built from Flutter engine rather than from dartlang.org (#14610)
* Use engine-built dart sdk

* Download dart-sdk from engine

* Move up deps to fix dart sdk constraint problem

* Update update_dart_sdk.ps1 for Windows

* Fix tests so they pass analysis

* More types for tests

* Roll engine

* Update dart sdk stamp location in flutter.bat

* Add newline
2018-02-14 07:18:25 -08:00
Todd Volkert 556a33a368
Allow upstream repo name to be configurable in roll-dev.dart (#14608) 2018-02-13 19:39:32 -08:00
Filip Hracek 10144fa5f9
Update description on docs (#14660) 2018-02-13 10:49:47 -08:00
xster d45c8fdedb
Push to stores only on dev and beta branches (#14618) 2018-02-13 00:50:17 -08:00
Ian Hickson e142d8dccb
Prepare docs scripts for beta (#14606)
This sets things up so that when we next roll a dev build to beta, it updates the docs.
This means that for a while (until we publish a beta) the dev docs will not be updating.
2018-02-12 21:52:42 -08:00
Yegor e3eaf04c6c
Document how to read the dashboard (#14577)
* Document how to read the dashboard

* address comments
2018-02-12 16:51:25 -08:00
Chris Bracken be60996a99
Add a space to the Flutter SDK path on Travis (#14613)
Ensures we don't regress https://github.com/flutter/flutter/issues/6577.
2018-02-10 13:42:55 -08:00
Chris Bracken 70ed718f89
Eliminate hardcoded SDK path name from test (#14628)
Eliminates the assumption that the flutter SDK is installed in a
directory named "flutter" from ticker_expectation.txt.
2018-02-10 12:52:47 -08:00
xster 248919fa9f
More Travis deploy script fixes (#14549)
* More restricted versioning on iOS

* Escape the key base64 and don't echo it back on travis

* Have match not print back the cert url
2018-02-09 18:29:14 -08:00
Greg Spencer 97e779328d
Fix MIME type of uploaded packages. (#14596)
When uploading, gsutil is guessing wrong about our desired MIME types. This makes it explicit.
2018-02-09 15:42:51 -08:00
jcollins-g e11e44205c
Upgrade dartdoc to 0.16.0. (#14602) 2018-02-09 13:39:30 -08:00
Vyacheslav Egorov f5bbc5bb76
Upgrade packages (#14588)
We need to pull in Dart 2 compliant mockito

Fixes #14532
2018-02-09 11:16:58 +01:00
Danny Tuppeny 0885866265
Mark run_machine_concurrent_hot_reload as flaky (#14563)
Sometimes fails writing to stdout as flutter terminates. Marking as
flaky until resolved.
2018-02-08 19:03:13 +00:00
Greg Spencer 88e0d33c27
Fix the build by removing offending test. (#14530)
I wanted to run a "real command" as part of the test, but in the interest of fixing the build, I'm just removing the test.
2018-02-07 13:47:34 -08:00
Greg Spencer df791279ab
Fix process running during package creation (#14508)
There were some problems I introduced with the last PR for this. It passed the test, but failed in practice.

This adds tests for those failure cases, adds a "--help" and fixes the test so that it doesn't try and actually download MinGit as part of the Windows test.

I added package:platform as a dependency, so I did a force upgrade on the packages.

Also, re-enabling 'create package' in the cache warming code, now that #14448 is fixed.
2018-02-07 12:21:14 -08:00
Danny Tuppeny efb88a0380 Reject requests for hot reload if a hot reload is already in progress. (#14494)
* Reject requests for hot reload if a hot reload is already in progress.

Fixes #14184

* Implement TODO, verifying further hot reloads complete sucessfully.

* Fix year on new file.

* Add missing type annotations to fix lints

* Add run_machine_concurrent_hot_reload to manifest for CI

* Reformat document

... but undo things that cause lints (like single-line ifs)

* Extract std stream transformations

* Make inProgressHotReload private

* Disallow all types of reload while hot reload in progress

* Simplify code handling in-progress hot reloads
2018-02-07 08:58:23 -08:00
Greg Spencer 8a2df39662
Create packages only for release builds, and publish when created. (#14476)
This changes the publishing of archives so that it happens on the chrome_infra bots when they build a packaged branch instead of as part of the dev_roll process.

It uses the tagged version in the branch, and leaves the git repo that it clones checked out on the branch and hash used to build the package.

It updates metadata located at gs://flutter_infra/releases/releases_.json (where is one of macos, linux, or windows) once published, since it would be complex to do the proper locking to keep them all in one shared .json file safely.

A separate [change to the chrome_infra bots](https://chromium-review.googlesource.com/c/chromium/tools/build/+/902823) was made to instruct them to build packaged for the dev, beta, and release branches (but not master anymore).
2018-02-06 15:32:19 -08:00
xster 0f7d442892
Keep the intermediate APK signed the same way before going to the play store (#14484)
* Keep the intermediate APK signed the same way before going to the play store

* Don't run on PRs
2018-02-06 11:32:35 -08:00
xster 1c5ed9613b
Don't install google could sdk on Travis when not needed (#14481) 2018-02-06 01:08:48 -08:00
xster 0b5c1dacc2
Bundle install before running fastlane on Travis (#14470) 2018-02-05 15:00:30 -08:00
Alexandre Ardhuin 3c379aaf43
whitespace cleanup (#14458) 2018-02-05 22:20:21 +01:00
xster 5b46e0a4be
Let Travis build the gallery and push to TestFlight / Play Store (#14408)
* iOS works

* Works on Android

* Take in commit number in iOS also. Get rid of image upload for Android. It's just a waste of bandwidth

* Tweak to fix on Travis
2018-02-05 12:00:24 -08:00
jcollins-g 06386d4be3
Add optional arguments to dartdoc.dart for Dartdoc's grinder and travis (#14440)
* Add arguments to dartdoc.dart for Dartdoc's grinder and travis

* Fix bug in filter
2018-02-05 09:31:18 -08:00
Alexandre Ardhuin c02b6a8bcf
some whitespace cleanup (#14443) 2018-02-02 23:27:29 +01:00
Devon Carew 688a571c71
update doc styles for 'implementation' sections (#14441) 2018-02-02 12:36:03 -08:00
Alexandre Ardhuin 12ceaefb18
work around const lints (#14416)
* work around const lints

* update nonconst doc
2018-02-02 08:06:42 +01:00
jcollins-g 08823595b0
Fix devicelab tests broken by #14173 (#14420) 2018-02-01 20:23:40 -08:00
Alexandre Ardhuin 841d5d7bd5
prefer_const_declarations on local variables (#14358) 2018-02-01 07:51:26 +01:00
Ian Hickson 217bcfe261
Update the roll dev script to actually work (#14376) 2018-01-31 12:24:10 -08:00
xster 82ddabd32a
Fastlane instructives for tool publishing the Gallery (#14347)
* first round fastlane working on Android

* clean up and start ios

* Partial iOS

* Got a fastfile that works on iOS

* Finalize Android push instructions

* Finalize instructions for iOS

* Extra cleanup and optipng

* Disable readme autogen and add a default readme
2018-01-31 11:21:37 -08:00
Vyacheslav Egorov 340d9e00cf
Fix various strong mode issues. (#14284) 2018-01-31 08:21:32 +01:00
Ian Hickson 6379fe0bba
Release script should tag with vX.Y.Z (#14351) 2018-01-30 10:05:39 -08:00
Ian Hickson 45e81140c3
Actually update docs on dev branch (#14357) 2018-01-30 09:00:57 -08:00
Ian Hickson 6e87292bba
Fix "extracing" typo (#14356) 2018-01-30 09:00:45 -08:00
Greg Spencer ddfc322de8
Creates a package publishing script to publish packages as part of the dev roll process. (#14294)
This script will update release metadata in the cloud, and copy the already-built package to the right location and name on cloud storage.

The release metadata will be located in gs://flutter_infra/releases/releases.json, and the published packages will end up in gs://flutter_infra/releases/<channel>/<platform>/flutter_<platform>_<version><archive suffix>, where <channel>, <platform>, <version>, and <archive suffix> are determined by the script.

At the moment, it only supports dev rolls, but (once we know how those will work) should easily support beta rolls as well.
2018-01-29 23:15:57 -08:00
Ian Hickson a9c1399243
Improve test.dart output (#14333)
It adds lines like `SHARD=analyze` to each shard, and a message like `Contents of packages/flutter_localizations/lib/src/l10n/localizations.dart matches output of gen_localizations.dart script.`  to the analysis shard.
2018-01-29 21:14:41 -08:00
amirh 85b5b88e0b
Add more animated icon assets (#14328) 2018-01-29 10:36:59 -08:00
amirh 492e311c3c
Add a manual test app for animated icons (#14272) 2018-01-29 09:19:53 -08:00
Ian Hickson 64e2e00d6f
Attempt to make flutter compatible with more git versions (#14273)
Fixes https://github.com/flutter/flutter/issues/14232

(I haven't tested this with older versions of git, I'm just going on
what @jason-simmons wrote in the bug.)
2018-01-26 16:59:56 -08:00
Vyacheslav Egorov c23509e9fd
Unpin test and upgrade packages (#14282)
* Unpin package:test and upgrade packages

* Update packages/flutter/test/foundation/stack_trace_test.dart

* Also add packages/flutter_tools/test/data/asset_test/font/.dartignore to ensure that update-packages --force-upgrade does not crash.
2018-01-26 10:40:03 -08:00
Alexandre Ardhuin 10f721c8a5
use const instead of final with const declarations (#14253) 2018-01-25 19:28:22 +01:00
Ian Hickson a29d723c59
[H] Move the splitting of licenses to an isolate (#14160)
* Move the splitting of licenses to an isolate

This improves (from horrific to terrible) the performance of the
license screen. It also introduces a feature in the foundation layer
to make using isolates for one-off computations easier.

The real problem that remains with this, though, is that transfering
data between isolates is a stop-the-world operation and can take an
absurd amount of time (far more than a few milliseconds), so we still
skip frames.

More work thus remains to be done.

* - Add profile instrumentation to the isolate compute() method
- Add profile instrumentation to the LicensePage
- Add profile instrumentation to the scheduleTask method
- Make scheduleTask support returning a value
- Make the license page builder logic use scheduled tasks so that it doesn't blow the frame budget
2018-01-20 01:42:55 -08:00
Ian Hickson 7cdfe6fa0e
Prepare docs.sh for new release process (#14195) 2018-01-20 00:36:00 -08:00
Sam Rawlins 7ffcce84a2 Bump async, http, and vm_service_client packages (#14136) 2018-01-19 14:59:16 -08:00
jcollins-g 460dd00b72
Make automated_tests mostly ignore extraneous error messages (#14170)
* Ignore extraneous error messages outside of one skipped test

* Fix analysis error
2018-01-18 14:06:35 -08:00
Ian Hickson 9e42e4b88f
New release process (#14061)
Generate the "version" file from git tags.
Remove the old VERSION file and mentions of versions in pubspec.yaml files.
Replace the old update_versions.dart script with a new roll_dev.dart script.
Update "flutter channel".
Update "flutter upgrade", including making it transition from alpha to dev.
Update "flutter --version" and "flutter doctor".
2018-01-18 07:59:06 -08:00
Ian Hickson 18c60d3301
Fix import statements in flutter_tools (#13911) 2018-01-17 10:17:52 -08:00
Hans Muller e63a63784c
Fix dartdoc errors in generated localization code and RenderEditable (#14132) 2018-01-17 08:37:02 -08:00