Commit Graph

18842 Commits

Author SHA1 Message Date
xubaolin
543d3cfa57 Add a [valid] property of [MouseTrackerAnnotation] indicates the annotation states. (#69866) 2020-11-17 08:03:02 -08:00
Jim Graham
e803b13f01 Revert "Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70401)" (#70675)
This reverts commit 9b56241eef.
2020-11-16 22:55:59 -08:00
Jonah Williams
9618788e28 [flutter_tools] remove globals from features (#70515) 2020-11-16 15:00:37 -08:00
Jenn Magder
148ae7bf71 Always build x86 mac apps (#70649) 2020-11-16 14:53:04 -08:00
Greg Spencer
5ddc057636 Remove last references to Window in docs. (#70637)
This removes the last couple of doc references to the Window class in the framework, so that I can re-land the engine side change that removes the Window class (flutter/engine#22505).
2020-11-16 14:52:24 -08:00
Marcus Tomlinson
343577afb6 Add liblzma as an explicit dependancy on Linux (#70617) 2020-11-16 14:48:02 -08:00
Jenn Magder
b84fb90400 Remove unused host_app_editable_cocoapods template files (#70518) 2020-11-16 14:33:43 -08:00
Kate Lovett
9b56241eef Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70401) 2020-11-16 14:47:04 -06:00
Anna Gringauze
f9df1935fe [flutter_tools] Add bot configuration to run web_tool_tests for linux, mac, and windows (#70412)
* Move web integration tool tests to web.shard

Web integration tool tests depend on DDC changes in SDK. This change
moves them to a separate shard and subshard so CI bot configurations
can run them separately.

In particular, with will allow running those tests on dart CI flutter
HHH web bot instead of a non-web one, allowing early detection and easy
classification of issues caused by SDK changes as VM- or Web related.

* Enabled verbose mode for flaky web_tool_tests

* fixed local engine crash with --enable-asserts

* Disable failing tests, fix local engine with asserts

* Removed mac web_tool_tests bot

* Addressed CR comments

* Add disabled mac web_tool_tests and disable win web_tool_tests
2020-11-16 11:50:57 -08:00
Ian Hickson
6cff33832e More lints (#70500) 2020-11-16 11:07:37 -08:00
IsmailAbdirahman
9a2bf0e70f AdoptAWidget: NotificationListener (#69524)
* Added notificationListner sample code

* Fixed spacing

* fixed spacing

* Moved the variables into the Build method

* fixed typos

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>
2020-11-16 10:30:41 -08:00
Jason Simmons
a56584857f Ignore text selection boxes when assembling semantics for placeholder runs (#70487) 2020-11-16 10:28:03 -08:00
tiya
adc8a42b38 Add bottom to search bar (#68794) 2020-11-16 12:07:20 -05:00
Jonah Williams
836efaecf0 [flutter_tools] stop unit test from writing real file (#70511) 2020-11-13 21:51:04 -08:00
Jia Hao
87746c7674 [integration_test] Reland add a run method for proper reporting of test results (#70513)
* [integration_test] Reland add a `run` method for proper reporting of test results

* Changes to path resolving from previous PR
2020-11-13 19:39:05 -08:00
creativecreatorormaybenot
85f0aea87e Add stackTrace to AsyncSnapshot (#69507) 2020-11-13 17:13:02 -08:00
Greg Spencer
2d836a99b6 Remove some unnecessary casts, now that changes have rolled from the engine (#70491) 2020-11-13 16:28:06 -08:00
Jonah Williams
6e84a14294 Revert "Simplify the flutter_web_plugins plugin registration API. (#70337)" (#70505)
This reverts commit 8749d95521.
2020-11-13 16:04:53 -08:00
Anna Gringauze
d5b1cc5b9f Disable failing test due to SDK issue (#70485)
* Disable failing test due to SDK issue

* Disable failing debugger and hot reload windows tests
2020-11-13 14:15:31 -08:00
Ian Hickson
8749d95521 Simplify the flutter_web_plugins plugin registration API. (#70337)
In principle this is backwards compatible; I just merged all the classes into one and deprecated everything that became redundant as a result.
2020-11-13 14:05:34 -08:00
Jonah Williams
8436c6ab7e remove testUsingContext (#70482) 2020-11-13 13:23:03 -08:00
Jonah Williams
f98c468317 [flutter_tools] remove unused JSON schema (#70480) 2020-11-13 13:02:40 -08:00
Kate Lovett
477a4241ea Revert "Actually consume top padding in bottomsheet if scrollcontrolled (#66257)" (#70392) 2020-11-13 12:18:03 -08:00
Jonah Williams
a86dab0c40 [flutter_tools] remove automatic doctor from flutter create (#70475) 2020-11-13 11:44:10 -08:00
Michael Goderbauer
b555b1a607 Enable test after engine fix (#70469) 2020-11-13 10:13:04 -08:00
Jonah Williams
0a73ecf6df [flutter_tools] use initially parsed package config for language version, sound mode determination (#70323) 2020-11-13 09:41:11 -08:00
Jonah Williams
ed977dd6a4 Revert "[integration_test] Add a run method for proper reporting of test results (#70075)" (#70466)
This reverts commit af5eb3b987.
2020-11-13 09:01:09 -08:00
Jia Hao
af5eb3b987 [integration_test] Add a run method for proper reporting of test results (#70075) 2020-11-13 19:57:15 +08:00
Greg Spencer
9860f52ea5 Add casts to widgets_test.dart to fix the engine roll. (#70423) 2020-11-12 18:14:03 -08:00
Greg Spencer
b47126df6c Allow propagation to ancestor actions if actions lower down are disabled (#70404)
Change the semantics of Actions.invoke so that if the action it finds is disabled, then it keeps looking for an ancestor Actions widgets that has a matching intent where the action is not disabled.
2020-11-12 17:15:54 -08:00
Jonah Williams
0b88269807 [flutter_tools] remove branch migration and standardize constructor style for version interface (#70058) 2020-11-12 15:29:03 -08:00
Jenn Magder
d11859fee7 Add -miphoneos-version-min=8.0 to App framework stub (#70405) 2020-11-12 15:14:53 -08:00
Darren Austin
1c7e34bb20 Migrate flutter_localizations to null safety. (#68645)
Migrate flutter_localizations to null safety.
2020-11-12 15:13:51 -08:00
Michael Goderbauer
cca1215939 Properly initialize RestorationManager in the TestBinding (#70398) 2020-11-12 13:59:05 -08:00
Michael Goderbauer
c7f092515c Fix return type of ContextAction.invoke (#70397) 2020-11-12 13:54:03 -08:00
Jonah Williams
5fedad9173 [flutter_tools] allow using flutter test for testing the tool too (#69911) 2020-11-12 13:52:09 -08:00
Todd Volkert
f8d2f58b52 Ignore DismissIntent when barrier is not dismissible (#70156) 2020-11-12 11:45:32 -08:00
Greg Spencer
86f9ab511e Revert usages of the binding's platformDispatcher to use window instead (#70319)
This reverts usages of the binding's platformDispatcher to use window again temporarily, because there isn't a TestPlatformDispatcher yet, and so some tests were failing because they mocked the TestWindow to return certain things (locales) that were returning the real values instead of the test values.

Once I've created a TestPlatformDispatcher to allow fake data to be passed to it, we can go back to using the platformDispatcher in all of these places
2020-11-12 11:17:00 -08:00
Hans Muller
c6d4a6ef5c Update OutlinedButton default outline geometry to be backwards compatible (#70393) 2020-11-12 10:36:39 -08:00
Greg Spencer
0937207f5b Fix Platform channel errors in web tests (#70252) 2020-11-12 10:24:07 -08:00
Jonah Williams
0c79659900 [flutter_tools] make most integration tests null safe (#70334) 2020-11-12 10:23:03 -08:00
Michael Goderbauer
b5a4d08962 Intrinsic Width fixes for RenderParagraph (#70236) 2020-11-12 10:19:03 -08:00
Zachary Anderson
3fce16c329 Revert "Default Keyboard ScrollActions with PrimaryScrollController (#69795)" (#70391)
This reverts commit 1f0df54553.
2020-11-12 09:49:12 -08:00
Anna Gringauze
edf26e756d Move web integration tool tests to web.shard (#70226)
* Move web integration tool tests to web.shard

Web integration tool tests depend on DDC changes in SDK. This change
moves them to a separate shard and subshard so CI bot configurations
can run them separately.

In particular, with will allow running those tests on dart CI flutter
HHH web bot instead of a non-web one, allowing early detection and easy
classification of issues caused by SDK changes as VM- or Web related.

* Enabled verbose mode for flaky web_tool_tests

* Split out the test changes to be commited first
2020-11-11 15:42:15 -08:00
J-P Nurmi
153f3d23c3 Fix Editable(Text) shortcuts to respect read-only on desktop (#69891) 2020-11-11 15:34:05 -08:00
Jonah Williams
22ec357bc4 [flutter_tools] make getBuildInfo async (#70320) 2020-11-11 15:33:23 -08:00
Jonah Williams
0f80116a63 [flutter_tools] improve hash performance in build_system (#70065) 2020-11-11 15:31:07 -08:00
Kate Lovett
1f0df54553 Default Keyboard ScrollActions with PrimaryScrollController (#69795) 2020-11-11 15:29:05 -08:00
Omar Emara
273efff072 Correct GtkKeyHelper key codes for the Meta key (#69576) 2020-11-11 15:24:04 -08:00
Jonah Williams
a40ee8a3fb [flutter_tools] migrate .packages to package_config, partial (#70200) 2020-11-11 13:50:41 -08:00