Commit Graph

13357 Commits

Author SHA1 Message Date
Jenn Magder
43e28084fc Build iOS apps using Swift Packages (#59009) 2020-06-08 13:53:01 -07:00
Per Classon
452e6b17c7 Add collapsed height param to SliverAppBar (#58593) 2020-06-08 13:18:02 -07:00
dev-aentgs
2802095104 Update animation.dart (#58971) 2020-06-08 12:42:58 -07:00
Jonah Williams
80ea454288 [flutter_tools] change service worker load to NOTICES (#58890)
update flutter_service_worker.js to NOTICES
2020-06-08 12:33:31 -07:00
Jonah Williams
0620cfa770 Revert "Send text error in JSON and print in tools (#58994)" (#59002)
This reverts commit f0174b176a.
2020-06-08 11:56:23 -07:00
Jonah Williams
ef9b77d99a fix analysis on master (#59001) 2020-06-08 11:53:17 -07:00
Jenn Magder
886313393f Support work profiles and multiple Android users for run, install, attach, drive (#58815) 2020-06-08 11:28:02 -07:00
Helin Shiah
f0174b176a Send text error in JSON and print in tools (#58994)
* Revert "Revert "Send text error in JSON and print in tools (#58284)" (#58872)"

This reverts commit c2d5e18cb2.

* Put streamListen in try/catch if extension events already listened for
2020-06-08 11:24:23 -07:00
Hans Muller
a802faa9a9 Restore some typography tests (#58843) 2020-06-08 11:24:11 -07:00
LongCatIsLooong
b64d652fd1 Add 2 new keyboard types and infer keyboardType from autofill hints (#56641) 2020-06-08 11:23:03 -07:00
Jonah Williams
70a88c3b83 [flutter_tools] fix capitalization in build commands (#58842) 2020-06-08 11:20:28 -07:00
Jonah Williams
4f88ed1d3c [flutter_tools] only restrict devices based on arch + buildMode, not emulator status (#58887)
instead of restricting profile/release mode based on whether the tool thinks the device is an emulator, restrict based on the device target architecture and the requested build mode. Notably, this enables release mode on x86_64 Android emulators, but not x86 emulators since we do not support that as an AOT target.

This does not add release mode support for simulators, since this requires us to build and upload artifacts for simulator/x86_64
2020-06-08 11:20:15 -07:00
Jonah Williams
206ccc3632 [flutter_tools] rename library to be less absurd (#58891)
Instead of targets/dart.dart -> targets/common.dart
2020-06-08 11:19:53 -07:00
Jonah Williams
64538f4d78 [flutter_tools] disable dartdev when calling snapshots directly (#58830) 2020-06-06 14:48:03 -07:00
Jonah Williams
c2d5e18cb2 Revert "Send text error in JSON and print in tools (#58284)" (#58872)
This reverts commit cce6b3c5ae.
2020-06-06 10:35:58 -07:00
Helin Shiah
cce6b3c5ae Send text error in JSON and print in tools (#58284)
* Send text error in JSON and print in tools

* Add test for error text

* Fix analysis issues

* Move streamListen to try/catch and use global.printStatus

* Extract print error fn and listen for events in web runner

* Add extension listen request to test

* Update packages/flutter_tools/lib/src/resident_runner.dart

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Rename error parsing method

* Allow crash if listen for extension stream fails

* Add test for error and non-error extension events

* Fix formatting for TextTreeRenderer

* Use shorter message for second exceptions

* Specify types for map

* Add empty JSON for resident_web_runner test

* Move stream listen to vmservice and add vmservice test

* Fix stream type

* Move structured error log definition to vmservice

* Use correct test matcher isNot

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-06-05 19:07:37 -07:00
Kabo
8b201b988b Update build doc (#58754) 2020-06-05 15:43:03 -07:00
chunhtai
5eaaad41fb fix cupertino page route dismisses hero transition when swipe to the … (#58024)
* fix cupertino page route dismisses hero transition when swipe to the edge

* add more comment

* addressing comments
2020-06-05 15:40:28 -07:00
chunhtai
afbb80b260 fix navigator observer announcement order (#57605)
* fix navigator observer announcement order

* addressing review comments

* update

* fix analyzer
2020-06-05 15:18:50 -07:00
Nils Reichardt
3e273b14e2 [web & desktop] Hide all characters in a TextField, when obscureText is true on web & desktop (#56794) 2020-06-05 15:18:01 -07:00
Jonah Williams
5722adf11d [flutter_tools] remove deprecation warning on flutter format (#58817)
So that we have a release where both are available without a deprecation warning.
2020-06-05 12:40:02 -07:00
Jonah Williams
72f81f4167 remove unused completer (#58804) 2020-06-05 11:53:01 -07:00
Jonah Williams
1e4d9f8502 [flutter_tools] add --write-sksl-on-exit to flutter drive (#58743)
Allow dumping sksl files on driver exit when a file path is provided to drive's --write-sksl-on-exit
2020-06-05 11:01:23 -07:00
Jonah Williams
d0abf7f90f [flutter_tools] don't use verbose when in doctor or help command (#58798) 2020-06-05 10:12:11 -07:00
Michel Feinstein
71a5c61907 Adds physics to the TabBar (#57416) (#57644) 2020-06-05 06:38:03 -07:00
stuartmorgan
94b7ff241e Don't require a specific Windows 10 SDK (#58713)
Current versions of the Windows desktop build files don't require a specific Windows 10 SDK version, but doctor still checks for one since vswhere doesn't allow for flexible queries. This has been a common source of issues for people setting up on Windows for the first time, because the current VS installer by default only includes a newer version of the SDK than what doctor is looking for.

This removes the vswhere SDK check, and instead uses a manual check for SDKs. Since this uses undocumented (although fairly widely used, so relatively unlikely to change) registry information, the check is non-fatal, so that builds can progress even if the SDK isn't found by doctor; in practice, it's very unlikely that someone would install the C++ Windows development workload but remove the selected-by-default SDK from the install.

Now that all requirements are default, the instructions when missing VS have been simplified so that they no longer list individual components, and instead just say to include default items.

Fixes #50487
2020-06-04 18:53:00 -07:00
Kate Lovett
3ec6978c9c Fix custom physics application in TabBarView (#58715) 2020-06-04 16:43:03 -07:00
Michael Rienstra
78c2defae4 Minor correction to documentation for buttonColor (#58117) 2020-06-04 16:38:03 -07:00
Jonah Williams
f5de6aadd4 [flutter_tools] remove zone level overrides of verbose and daemon logging (#57448)
Make it possible for all FlutterCommands to be global free, by moving instantiation to inside the Zone context. Additionally, provide VerboseLogger and NotifyLogger (daemon) at the top level and remove from command-specific overrides.

This allows removing a work around where web devices needed to look up directly from the context in non-test code.

Technically the output preferences are still zone injected, but these will be moved soon as they were not being used correctly by the top level command (the injection comes after ArgParser reads the overflow values, causing numerous wrap issues)
2020-06-04 16:35:36 -07:00
jBrennen
e9a4759947 #57730 - Support custom shapes for ListTiles (#57733) 2020-06-04 16:33:02 -07:00
Jonah Williams
395d27aa9b Revert "Collect list of Android plugins from .flutter-plugins-dependencies (#57907)" (#58732)
This reverts commit 253eb1cfbd.
2020-06-04 16:16:18 -07:00
Jonah Williams
3b0c84b906 Revert "use Expand-Archive and Compress-Archive in windows os utils (#58390)" (#58719)
This reverts commit bbe18f7580.
2020-06-04 14:22:10 -07:00
Igor Akkerman
253eb1cfbd Collect list of Android plugins from .flutter-plugins-dependencies (#57907) 2020-06-04 14:06:03 -07:00
Hans Muller
10ae8698b4 Added MaterialStateProperty overlayColor to InkWell (#58650) 2020-06-04 14:04:11 -07:00
Jonah Williams
bbe18f7580 use Expand-Archive and Compress-Archive in windows os utils (#58390)
Work towards removal of package:archive and ideally more stable unzipping of artifacts. These commands are available in Powershell 5+, which we already require for windows.
2020-06-04 14:00:33 -07:00
Jonah Williams
eae77804fe [flutter_tools] use -f when fetching tags (#58703)
use -f to overwrite local tags on master branch
2020-06-04 13:54:32 -07:00
Jonah Williams
abfb6cb7eb [flutter_tools] unbreak g3 usage of installHook (#58711) 2020-06-04 13:36:21 -07:00
Jonah Williams
3bc4a82605 [flutter_tools] avoid serving files outside of expected paths (#58653) 2020-06-04 11:53:04 -07:00
Tomohiro Hattori
03524a426f Add sample code of GestureDetector with no children (#57838) 2020-06-04 10:43:01 -07:00
Kate Lovett
b915808f63 Step 2 (#57751) 2020-06-04 10:38:02 -07:00
Kate Lovett
8ae64ef1fd Changing default opt-in (#57511) 2020-06-04 10:33:03 -07:00
chunhtai
8a19145f3e update build doc string to advocate avoiding doing tasks other than b… (#58213) 2020-06-04 10:18:02 -07:00
Jonah Williams
e934c2fc0a [flutter_tools] reland: copy dill after startup (#58455)
* [flutter_tools] only copy cached dill after startup

* shared code

* cleanup artifact directory

* do not copy if dillOutputPath is given
2020-06-04 10:17:43 -07:00
Jonah Williams
8b5326a9cf [flutter_tools] unbreak g3 roll (#58688) 2020-06-04 10:17:21 -07:00
Ming Lyu (CareF)
28138ec5e3 debug mode warning text alignment (#58655) 2020-06-03 21:33:01 -07:00
Jenn Magder
2eca1d303c Use fake command in analytics test (#58544) 2020-06-03 21:23:01 -07:00
Jonah Williams
b1d75fc99d [flutter_tools] add flag for sound-null-safety, unify with experiments (#58533)
Also combines experiments into extraGenSnapshot/ExtraFrontEndOptions. Allows providing --no-sound-null-safety to allow out of order migration and running.
2020-06-03 21:02:07 -07:00
Jenn Magder
95edf28150 Move create project build tests to permeable subshard (#58645) 2020-06-03 17:41:15 -07:00
Jenn Magder
c130aa9574 Add FakeAsync to delay tests (#58644) 2020-06-03 17:16:37 -07:00
Jim Graham
e48e2e6ab9 add rasterizer start times to timeline summaries (#58514) 2020-06-03 16:18:02 -07:00