Commit Graph

18842 Commits

Author SHA1 Message Date
Kaushik Iska
3994872073 Sample driver test working on Fuchsia (#45652)
* [flutter_driver] [fuchsia] Validate existance of cmx for driver tests

Also added an example driver test that can run on Fuchsia devices.

Fixes: https://github.com/flutter/flutter/issues/45624

* update packages for stock example

* fix licenses
2019-12-02 12:56:16 -08:00
Gary Qian
d345a3b303 Revert "Track and use fallback TextAffinity for null affinity platform TextSelections. (#44622)" (#45698)
This reverts commit 6b66d79436.
2019-11-28 19:42:06 +09:00
Emmanuel Garcia
475ee89879 Make Android log reader read any recent logs (#45743) 2019-11-27 17:52:36 -08:00
Jenn Magder
e2642fd6c0 Do not delete output directory during flutter build ios-framework (#45740) 2019-11-27 17:48:19 -08:00
Ian Hickson
f2445002b2 Make all of the driver interface public. (#45733)
We keep finding things that we've accidentally not made public. The
pattern we use elsewhere in the platform is to just export everything,
to avoid encouraging people from importing `src/` files directly.
2019-11-27 16:26:05 -08:00
Ian Hickson
449f4a6673 License update (#45373)
* Update project.pbxproj files to say Flutter rather than Chromium

Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.

* Update the copyright notice checker to require a standard notice on all files

* Update copyrights on Dart files. (This was a mechanical commit.)

* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.

Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).

* Clean up the copyrights in non-Dart files. (Manual edits.)

Also, make sure templates don't have copyrights.

* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Chris Bracken
dc49fa2140 Eliminate commented-out code (#45726)
This appears to have been inadvertently added in #37497 (333c961).

The code in question already exists in `_PlatformViewGestureMixin`, which
`PlatformViewRenderBox` (where it was added) mixes in.
2019-11-27 14:50:15 -08:00
Ian Hickson
f87c5102af Add more documentation around layers. (#45648) 2019-11-27 14:22:48 -08:00
Jonah Williams
59ca523b2c Support web-server/profile/release mode with incremental compiler support for web (#45713) 2019-11-27 13:32:45 -08:00
Jonah Williams
598f2ab0fb Cleanups to resident runner and flutter device classes (#45673) 2019-11-27 13:11:04 -08:00
Chris Bracken
b39949ff09 Fix parameter name: handlePointerEvent (#45717)
Removes an unnecessary leading underscore from a parameter name. The
parameter type is library private, but parameters cannot be 'private'.
2019-11-27 12:48:43 -08:00
liyuqian
264082f34f Print clipBehavior while debugging ClipXXXLayer (#45716)
Fixes https://github.com/flutter/flutter/issues/45587
2019-11-27 12:48:03 -08:00
Alexandre Ardhuin
5ccd4f3430 implicit-casts:false in flutter/lib/src/physics (#45622) 2019-11-27 21:28:45 +01:00
LongCatIsLooong
37f9c54116 Use RenderSliverPadding to inset SliverFillViewport (#45432) 2019-11-27 11:33:38 -08:00
Kate Lovett
1374a41313 Provide debug output for Gold uploads on post-submit (#45704) 2019-11-27 11:29:53 -08:00
Zachary Anderson
e4b809b7c8 [flutter_tool] Crash less when git fails during 'version' (#45628) 2019-11-27 10:18:43 -08:00
Takeshi Tsukamoto
876303b3f9 Fix comment (#45325) 2019-11-27 10:01:57 -08:00
Danny Tuppeny
4741e9c3fe Retry Xcode builds if they fail due to concurrent builds running (#45608)
* Retry Xcode builds if they fail due to concurrent builds running

Fixes #40576.

* Add tests for concurrent iOS launches

* Increase number of retries to account for the initial build being slow
2019-11-27 09:44:05 +00:00
Kaushik Iska
d1805aa22a update-packages after dwds updates (#45633) 2019-11-26 18:34:06 -08:00
Greg Spencer
245d1b51ce Add macOS to TargetPlatform (#43457)
This PR adds TargetPlatform.macOS to the TargetPlatform enum. This allows us to begin implementation of some adaptive UI based on which target platform is desired.

I haven't updated the tests here, that will come in a follow-up PR.
2019-11-26 18:32:34 -08:00
Jonah Williams
831163f0d0 Register memory info command on vmservice for Android devices (#45568) 2019-11-26 14:49:56 -08:00
Dan Field
2d3d220988 Implicit scrolling for pageview (#45598) 2019-11-26 14:12:34 -08:00
Jenn Magder
7d8f82051b Suggest GitHub template when flutter tool crashes (#45360)
* On flutter tool crash suggest GitHub template

* Shorten GitHub URLs

* Whitespace

* Wording tweak from @InMatrix

* Review edits
2019-11-26 14:06:31 -08:00
Albertus Angga Raharja
e1512b4dd7 Add additional properties callback in Inspector Serialization Delegate (#45531)
* Add additional properties callback in Inspector Serialization Delegate

* Rename _SerializationDelegate to InspectorSerializationDelegate and add test

* Fix indentation

* Remove trailing whitespace

* Handle case when addAdditionalPropertiesCallback returns null

* Improve docs and minor renames

* Improve docs

* Improve documentation
2019-11-26 13:57:41 -08:00
Greg Spencer
0190e40457 Keyboard scrolling of Scrollable (#45019)
This adds the ability to scroll and page up/down in a Scrollable using the keyboard. Currently, the macOS bindings use Platform.isMacOS as a check, but we'll switch that to be defaultTargetPlatform == TargetPlatform.macOS once that exists.
2019-11-26 09:56:25 -08:00
Danny Tuppeny
459c7fb884 Resume isolate before terminating tests to prevent flutter_tester leaks in integration tests (#45248)
* Resume isolate before terminating tests to prevent flutter_tester leak

* Fix lint

* Catch exceptions from resume() as well as timeout()

* Formatting fixes

* Don't try to resume if there's no vm service

* Fix handling of timeouts to not leak futures
2019-11-26 17:04:51 +00:00
Christopher Fujino
dc68d5700b Fix flutter run cache (#45267) 2019-11-26 09:02:34 -08:00
Kate Lovett
8a48a27847 Performance Improvement for SliverFillRemaining (#44471) 2019-11-26 08:04:22 -08:00
Kate Lovett
cd94cd886a SliverOffstage Fix (#45580) 2019-11-26 08:01:03 -08:00
Alexandre Ardhuin
a2c3f6c567 implicit-casts:false in flutter/lib/src/animation (#45501) 2019-11-26 16:53:14 +01:00
Alexandre Ardhuin
4055e19680 implicit-casts:false in flutter/lib/src/foundation (#45503) 2019-11-26 16:52:37 +01:00
Alexandre Ardhuin
f6dc4db2e0 implicit-casts:false in flutter/lib/src/gestures (#45504)
* implicit-casts:false in flutter/lib/src/gestures

* address review comments
2019-11-26 07:03:34 +01:00
Dan Field
e766ae740e Automatically caching viewport (#45327) 2019-11-25 21:05:46 -08:00
Jonah Williams
84ce3f6097 Serve web source maps in release runner (#45318) 2019-11-25 17:09:36 -08:00
Greg Spencer
46632f9edc Handle bare modifier flags on macOS (#45438)
This fixes an unreported bug in the macOS key handling where for some remote access situations, the modifier mask is set to the "any modifier" mask without any side specified (e.g. modifierShift bit is specified and not modifierLeftShift bit).
2019-11-25 17:06:16 -08:00
Jenn Magder
8eb6a925f9 Always compile with isysroot on iOS to point to SDK root (#45436) (#45560) 2019-11-25 12:49:18 -08:00
Kate Lovett
d0ea9ed244 SliverOffstage (#45128) 2019-11-25 12:49:10 -08:00
Kate Lovett
1160c8fd29 Re-Staged: Fixing ContinuousRectangleBorder bottom radius (#45304) 2019-11-25 12:43:58 -08:00
Jonah Williams
cf37c2cd07 Add assert for negative child count in ListView.builder (#45506) 2019-11-25 12:04:30 -08:00
Jonah Williams
1888fa3526 Allow flutter run to run release/profile x64 (#45511) 2019-11-25 12:04:17 -08:00
Alexandre Ardhuin
e6935efdf6 remove avoid_as lint for the upcoming implicit-casts: false (#45527) 2019-11-25 21:03:29 +01:00
Emmanuel Garcia
81724bd60f Fallback to protocol discovery if mdns returns null (#45439) 2019-11-25 11:51:54 -08:00
Michael Klimushyn
901eb0fc81 Add a note to generated plugins files (#45557)
There has been some confusion about whether or not
.flutter-plugins-dependencies should be tracked in version control or
not. Added a comment to both it and .flutter-plugins explaining that
it's generated and shouldn't be.

.flutter-plugins-dependencies is parsed through JSON, and the JSON spec
doesn't support comments. So unfortunately the note is living in an
arbitrary "_info" key instead of an obvious top level comment.
2019-11-25 11:47:20 -08:00
Jenn Magder
4cc10a1fb8 Revert "Always compile with isysroot on iOS to point to SDK root (#45436)" (#45555)
Analyzer warning.
2019-11-25 10:46:42 -08:00
Jenn Magder
6b11f18bc0 Always compile with isysroot on iOS to point to SDK root (#45436) 2019-11-25 10:27:22 -08:00
Alexandre Ardhuin
980f14e0c5 implicit-casts:false on flutter_tools (#45153)
* implicit-casts:false on flutter_tools

* use castStringKeyedMap

* address review comments

* address review comments

* fix issues after rebase
2019-11-24 06:54:43 +01:00
Takeshi Tsukamoto
a3eeb51a1b Fix draggable scrollable sheet scroll notification (#45083) 2019-11-22 21:48:38 -08:00
chunhtai
f15f69a8b8 Drops detached message until we can handle it properly (#45430) 2019-11-22 16:10:46 -08:00
Emmanuel Garcia
b6e92003c8 Add .flutter-plugins-dependencies to the project, which contains the app's plugin dependency graph (#45379) 2019-11-22 15:02:20 -08:00
Jonah Williams
b54bb6abbb Dont crash if the tool cannot delete asset directory during debugging (#45407) 2019-11-22 14:06:05 -08:00