Commit graph

14911 commits

Author SHA1 Message Date
Tekeshwar Singh 5511abd90f
AdoptAWidget: Tooltip (#69518) 2020-11-01 02:43:03 -08:00
Shi-Hao Hong 4996f60b20
[gen_l10n] Fix unintended use of raw string in generateString (#69382)
* Fix failing tests from introducing raw string generation in gen_l10n tool
2020-10-31 19:24:53 +08:00
Greg Spencer c0ef94780c
Fix spelling errors (#69451)
My yearly pass to fix spelling errors in the API dartdocs.
2020-10-31 03:12:27 -07:00
najeira 72267a6cd0
Add HeroMode widget (#48223) 2020-10-30 21:23:02 -07:00
Michael Goderbauer f2a25c5bd2
Make Directionality.of non-null (#69060) 2020-10-30 15:43:03 -07:00
Dwayne Slater 1fad8acb10
Fix crash when a MultiFrameImageStreamCompleter is disposed during frame decoding (#69219) 2020-10-30 15:33:03 -07:00
Jonah Williams 324b78eb12
[null-safety] enable null safety (#69440)
* [null-safety] enable null safety

* opt expression evaluation web test out of null safety
2020-10-30 15:26:22 -07:00
Jenn Magder de5bf09e7a
Show macOS arm64 architecture in doctor and devices list (#69245) 2020-10-30 13:48:04 -07:00
Jonah Williams 3e41962dff
[null-safety] update tests and tool auto-detection for null safe dart (#69405)
Disable null safety auto-detection for the web
2020-10-30 13:42:54 -07:00
Michael Goderbauer c83dd3cc75
Fix build (#69426) 2020-10-30 11:34:18 -07:00
Jonah Williams 22724370cb
[flutter_tools] do not delete web directory during flutter build web (#69115) 2020-10-30 11:00:24 -07:00
Jacek Marchwicki 32b9af6996
Use the correct pleace for the system navigation bar color adjustment (#68102) 2020-10-30 10:48:03 -07:00
Jonah Williams a0860f6e87
[flutter_tools] retry sever socket setup (and port selection if port is unspecified) (#69351)
Fixes #69348

If the web development server fails to bind, then retry up to 5 times. If a port was not provided, select a new free port each time.
2020-10-29 20:07:34 -07:00
Jonah Williams 44d0e52d20
[flutter_tools] remove fallback discovery and observatory timeout (#68756)
The flutter run failures are cause by the application occasionally taking a long time to start up. This caused the ios fallback discovery to kick in, which will always fail if the application hasn't started. Solution: remove the iOS fallback discovery and wait up to 30 seconds.

This has not proven to reduce the flakes, but it does at least remove one error case and removes code that will no longer work without the mDNS fallback.
2020-10-29 18:43:47 -07:00
George Wright e48446af17
Send command line arguments through to the Flutter Engine on Windows (#68931) 2020-10-29 18:08:04 -07:00
George Wright 678f3cb4fb
Update Linux template app to pass through command line arguments to the Dart entrypoint (#68535) 2020-10-30 12:26:16 +13:00
Jonah Williams ca47b4e12c
[flutter_tools] disable failing gen l10n test (#69340) 2020-10-29 15:04:46 -07:00
Angjie Li 3056f4194a
Fix issue with --web-renderer. (#69319) 2020-10-29 14:43:06 -07:00
Yegor 2fa03438de
add web_long_running_tests shard containing long-running web tests (#67324) 2020-10-29 14:23:02 -07:00
Shi-Hao Hong 7b0f38b117
Remove intl_translation from tool integration test (#69155) 2020-10-29 14:05:39 -07:00
Shi-Hao Hong a2b93b86f6
[gen_l10n] Add base method code comments for improved discoverability (#69016) 2020-10-29 14:03:05 -07:00
Greg Spencer fa3d2e2116
Remove nullOk parameter from Focus.of, FocusTraversalOrder.of, and FocusTraversalGroup.of (#68917)
This removes the nullOk parameter from Focus.of, FocusTraversalOrder.of and FocusTraversalGroup.of, and creates maybeOf equivalents for each. The of methods now return non-nullable values, and the maybeOf equivalents return nullable values.
2020-10-29 14:02:09 -07:00
Greg Spencer 4fa5fe5f0b
Remove nullOk from Scaffold.of and ScaffoldMessenger.of, create maybeOf for both (#68908) 2020-10-29 14:01:32 -07:00
Greg Spencer e5f7726c7b
Remove nullOk parameter from AnimatedList.of and SliverAnimatedList.of (#68925)
This removes the nullOk parameter from AnimatedList.of and SliverAnimatedList.of, and creates maybeOf equivalents for each. The of methods now return non-nullable values, and the maybeOf equivalents return nullable values.
2020-10-29 14:01:05 -07:00
Greg Spencer 85a252569b
Remove nullOk parameter from Router.of and make it return a non-nullable value (#68910)
This removes the nullOk parameter from Router.of, and createsRouter.maybeOf. Router.ofnow returns a non-nullable value, and the Router.maybeOf returns a nullable value.
2020-10-29 14:00:47 -07:00
Greg Spencer 4f586fa355
Remove nullOk parameter from Shortcuts.of, Actions.find, and Actions.handler (#68921)
This removes the nullOk parameter from Shortcuts.of, Actions.find and Actions.handler and created Shortcuts.maybeOf and Actions.maybeFind. Shortcuts.of and Actions.find now return non-nullable values, and the maybe versions return a nullable value. I didn't create a non-nullable version of Actions.handler, since it needs to be able to return null if an action is not enabled, but I did remove the nullOk parameter, effectively setting it to true permanently, since setting it to false doesn't make much sense if the function can still return null when the action is not enabled.
2020-10-29 13:59:36 -07:00
Mateus Felipe C. C. Pinto 70d253b9a6
Remove references to CupertinoDialog (#68508) 2020-10-29 13:58:04 -07:00
Ian Hickson 5317330904
Remove the defaults for textBaseline (#68646) 2020-10-29 13:13:06 -07:00
Jonah Williams 246bf60fb3
[flutter_tools] allow default driver log to fail due to IO error (#69316) 2020-10-29 12:52:30 -07:00
Jonah Williams 470346f775
[flutter_tools] Reland: Stage web tests (#69264)
Enable web tool integration tests: expression evaluation, stepping, and basic hot restart
2020-10-29 09:56:28 -07:00
Jonah Williams f68911ee1d
[framework] increase threshold for compute to 50Kb (#69307) 2020-10-29 09:34:33 -07:00
Yegor 46b1b67797
fix stack frame parser (#69253) 2020-10-28 19:27:04 -07:00
Sarbagya Dhaubanjar e5c4c4b27a
replaced null check with hasContentDimensions (#69164) 2020-10-28 19:22:03 -07:00
Jonah Williams 2ceb34e6fb
Revert "[flutter_tools] enable web integration tests (#69114)" (#69261)
This reverts commit d0cdfa4176.
2020-10-28 18:22:41 -07:00
Jonah Williams 7629758ed7
[flutter_tools] measure driver success and failure (#69226)
Currently we only have a test that measures if flutter drive can fail. Unfortunately it has been failing for multiple years based on the fact that the error is due to a missing Gradle config.

Add a smoke success test case, and update both tests to use the test API and the tester-device.
2020-10-28 18:15:23 -07:00
Darren Austin 69d7637796
Revert "Updated SearchDelegate to follow custom InputDecorationTheme (#55209)" (#69241) 2020-10-28 17:52:05 -07:00
Sam Rawlins 68a87ee791
Ignore "unused" analysis for dart:ui imports for web-only API. (#68814) 2020-10-28 17:47:04 -07:00
Danny Lin 62741337b8
Fix links to GitHub bug template (#68374) 2020-10-28 17:42:05 -07:00
Ian Hickson 01201b5faf
Add documentation talking about ScrollPhysics.applyTo(null) (#67585) 2020-10-28 17:37:06 -07:00
Michael Goderbauer 396cd24770
Allow adding/removing onTap/onDismiss to Semantics (#69230) 2020-10-28 17:32:12 -07:00
Angjie Li 2bbd004682
Support --web-renderer options which would allow user to specify which rendering backend to use. (#68848) 2020-10-28 17:32:09 -07:00
Jonah Williams ed5d8718c4
[flutter_tools] conditionally invoke pub run test for drive scripts based on presence of dependency (#69246)
* [flutter_tools] conditionally invoke pub run test for drive scripts based on presence of dependency
2020-10-28 17:32:05 -07:00
Jonah Williams d0cdfa4176
[flutter_tools] enable web integration tests (#69114)
* [flutter_tools] stage web integration tests
2020-10-28 17:31:44 -07:00
Jonah Williams 735f6eec2c
[flutter_tools] support ws scheme in use-existing-app (#69244) 2020-10-28 15:09:46 -07:00
David Reveman 4aad058a49
Improve resampling of up and remove events. (#69096)
* Improve resampling of up and remove events.

This improves resampling of these events by searching
for them until the next approximate sample time.

Co-authored-by: David Reveman <reveman@google.com>
2020-10-28 17:02:37 -04:00
Jonah Williams d306c37bc4
[flutter_tools] fix --use-existing-app (#69237) 2020-10-28 13:55:29 -07:00
xubaolin 58a74af8a6
Revert "Revert "change TextEditingController.clear() behavior (#68775)" (#68920)" (#69156)
(Reland) Fixes a bug where keyboard capitalization behavior was reset by TextEditingController.clear.
2020-10-28 13:51:21 -07:00
Jacob MacDonald 506d0f09c0
opt out the listener.dart generated file (#69223) 2020-10-28 12:52:04 -07:00
Jonah Williams 8b9e9680d2
[flutter_tools] use throwToolExit in flutter drive (#69220)
* [flutter_tools] use throwToolExit

* Update drive.dart
2020-10-28 11:40:39 -07:00
xubaolin 91ab73ab23
Mouse drag should not show selection handles (#69101)
Fixes a bug where selection handles sometimes showed on web.
2020-10-28 11:24:46 -07:00