Commit Graph

7577 Commits

Author SHA1 Message Date
Jonah Williams
cc9b614efd minor cleanup and prevent multiple exit (#39751) 2019-09-03 11:00:39 -07:00
Harry Terkelsen
d33cf11556 Automatically generated registrants for web plugins (#39628)
* WIP on web plugin registry

* WIP on registering plugins

* WIP on web plugin registration

* Only generate `package:flutter_web_plugins` imports if plugins are
defined

* Add parsing test

* Add documentation

* Fix analyzer warnings

* add license headers

* Add tests for package:flutter_web_plugins

* Run `flutter update-packages --force-upgrade`

* Fix analyzer errors

* Fix analyzer error in test

* Update copyright and remove flutter SDK constraints

* Enable tests since engine has rolled

* add flutter_web_plugins tests to bots

* Create an empty .packages file for WebFs test
2019-09-03 10:37:34 -07:00
Jenn Magder
0b93c96f52 Remove bitcode=NO from add-to-app flows (#39503) 2019-09-03 10:28:19 -07:00
Zachary Anderson
b9029c7672 [flutter_tool] Add onError callback to asyncGuard. Use it in Doctor (#39445) 2019-09-03 08:14:44 -07:00
stuartmorgan
2e058142d2 Fix macOS App.framework version symlink (#39702)
The Current->A symlink in a framework shouldn't have a trailing slash;
some versions of codesigning consider the version with a trailing slash
unsignable.
2019-09-02 16:26:15 -07:00
Emmanuel Garcia
b63cb44105 Use new Maven artifacts from Gradle (#39157) 2019-09-02 10:35:17 -07:00
Jonah Williams
f12a5ec347 dont hide build commands (#39555) 2019-09-01 23:57:11 -07:00
Jonah Williams
f5eb12cdc2 filter error message from skip build script checks (#39558) 2019-09-01 23:56:56 -07:00
Devon Carew
e468296af3 remove a period from the service protocol printout (#39545) 2019-08-31 11:39:00 -07:00
Kaushik Iska
fc05c3738c Flutter Plugin Tool supports multi-platform plugin config (#38632) 2019-08-29 21:51:31 -07:00
Jonah Williams
b2a4ebe38f Handle single unsupported device (#39541) 2019-08-29 21:39:38 -07:00
Emmanuel Garcia
6266d5f35d Log flags in build apk and appbundle (#39457) 2019-08-29 21:37:35 -07:00
Jonah Williams
2dbf0106d8 Create dart tool directory if it is missing (#39543) 2019-08-29 21:31:57 -07:00
Dan Field
eefe9d9527 keep symbols for profile (#39530) 2019-08-29 20:54:30 -07:00
Jonah Williams
359b532570 Remove run in shell and add unit test for chrome launching (#39462) 2019-08-29 19:35:06 -07:00
Dan Field
632526aab9 Update validation to support Xcode11 version (#39463) 2019-08-29 15:28:05 -07:00
Jonah Williams
4984d1a33d update packages (#39429) 2019-08-28 17:04:07 -07:00
Dan Field
cb965495d7 Reland "Relax arguments around local engine, build hello_world with bitcode" (#39434) 2019-08-28 15:19:04 -07:00
Emmanuel Garcia
4a1c62c28b Add missing files in the Gradle wrapper directory (#39145) 2019-08-28 14:52:08 -07:00
Jonah Williams
f362419601 make sure profile is forwarded through build web command (#39414) 2019-08-28 14:05:01 -07:00
Jonah Williams
393106fbf5 Revert "Relax requirements around local engine, build hello_world with bitcode (#39357)" (#39431)
This reverts commit 202c1b4224.
2019-08-28 13:12:45 -07:00
Dan Field
202c1b4224 Relax requirements around local engine, build hello_world with bitcode (#39357) 2019-08-28 10:27:01 -07:00
Zachary Anderson
b7c714e84c [flutter_tool] Use a timeout for xcode showBuildSettings (#39280) 2019-08-28 10:03:53 -07:00
xster
4640690d0f let flutter build aar use a local engine (#39312) 2019-08-27 23:46:33 -07:00
Jonah Williams
55a1ba761d Use output dir instead of specific paths in assemble rules (#39274) 2019-08-27 22:52:51 -07:00
Jonah Williams
80f96ee662 surface errors from build runner (#39358) 2019-08-27 19:08:10 -07:00
Jonah Williams
23637844a3 fix source map loading and service protocol for flutter web (#39189) 2019-08-27 19:06:48 -07:00
stuartmorgan
2476415b60 Rename macos_build_flutter_assets.sh (#39353)
The name is very misleading at this point, since it does substantially
more than build flutter_assets. Name it more generically as a wrapper
for 'assemble' for macOS builds.
2019-08-27 19:03:14 -07:00
Emmanuel Garcia
5353d5e877 Fid app bundle in Gradle 3.5 (#39126) 2019-08-27 17:08:02 -07:00
Zachary Anderson
91ae1409b9 [flutter_tool] Create a temp snapshot to run create_test.dart tests (#39338) 2019-08-27 14:28:03 -07:00
Jonah Williams
6f71ce26d6 Place terminalUi flag on terminal interface (#39214) 2019-08-27 14:20:51 -07:00
stuartmorgan
7407695816 Add profile support on macOS (#39264)
Fix some places where Debug/Release was treated as a binary switch.

Makes similar changes to Windows and Linux to simplify adding profile
support to those platforms in the future. This means `--profile` builds
will fail on Linux and Windows for now, but that's fine since they
aren't actually supported, and unlike `--release` don't provide useful
functionality at the native code level.

Also fixes 'stopApp' always using Debug on macOS, to avoid showing an
error when running Profile (or Release).

Fixes #33203
2019-08-26 16:30:30 -07:00
Jonah Williams
0f8b8c91a3 Kill resident runner on browser disconnect. (#39066) 2019-08-26 15:06:36 -07:00
Collin Jackson
a1c185f37a Fix plugin template app's tests (#39080)
* Fix plugin template

* Add test of plugin template working
2019-08-26 14:57:16 -07:00
Michael Klimushyn
e31d88f9c9 Downgrade the AndroidX warning (#39147)
Originally we wanted to cast as wide of a net and make the warning as
prominent as possible. Recently we've received feedback that the false
positives are more harmful than not, so downgrading the loud message to
a single line warning.
2019-08-26 14:30:22 -07:00
Zachary Anderson
e9bd2ef087 [flutter_tool] Some additional input validation for 'version' (#39136) 2019-08-26 12:12:50 -07:00
Christopher Fujino
d1e0273ecb refactor cocoapods validator to detect broken install (#38560) 2019-08-23 09:21:09 -07:00
Jonah Williams
b3014ff5c0 add profile mode to flutter web applications (#39073) 2019-08-23 08:47:01 -07:00
Jonah Williams
b2d19d2af5 Add support for macOS release/profile mode (3 of 3) (#38909) 2019-08-23 08:46:24 -07:00
Michael Thomsen
01a5d112d5 Make forward calls run interactively (#39052) 2019-08-23 11:16:30 +02:00
Mehmet Fidanboylu
d921098dd4 Break dependency of tools/lib/src from lib/src/commands/ (#39072) 2019-08-22 21:14:03 -07:00
Jonah Williams
9818d2df3b Add web workflow to default validators (#39006) 2019-08-22 09:30:19 -07:00
Zachary Anderson
663dc1d774 [flutter_tool] Teach crash reporter about HttpException (#39005) 2019-08-22 09:18:25 -07:00
Jonah Williams
33e7af728a Dont throw StateError when calling assemble with bad target (#39000) 2019-08-21 23:44:39 -07:00
Chris Bracken
ffa3785411 Update package versions to latest (#39013)
This fixes a breakage in fuchsia where package_config version 1.1.0 is
required but flutter_tools is currently locked to 1.05.
2019-08-21 19:15:33 -07:00
Jenn Magder
892d62f03a Clean Xcode workspace during flutter clean (#38992) 2019-08-21 18:42:56 -07:00
∂ω∂
4277f364ff flutter_tools/version: git log.showSignature=false (#38576) 2019-08-21 13:55:57 -07:00
Zachary Anderson
36e8b93d1c [flutter_tool] Only send one crash report per run (#38925) 2019-08-21 13:07:52 -07:00
Zachary Anderson
3ceef86b9a [flutter_tool] Handle crashes from doctor validators (#38920) 2019-08-21 11:15:02 -07:00
stuartmorgan
01530928f0 Add build warning for non-debug desktop builds (#38932)
When building in profile or release mode on desktop, add a prominent
warning that it's actually a debug build. This is to help address issues
with people being unaware of the current state of builds due to
following third-party guides rather than official documentation.

macOS is not included since PRs are in flight for macOS release support.
2019-08-20 20:16:29 -07:00