Commit Graph

15808 Commits

Author SHA1 Message Date
Michael Goderbauer
6afbb25a48 Reject unaccepted pointers in Drag recognizer (#75943) 2021-02-16 10:26:03 -08:00
Jonah Williams
46b8ea8fe6 [flutter_tools] use temp dir for tester dill, use desktop log reader (#75922)
On windows, its not possible to run 2 integration tests using flutter-tester simultaneously. This is due to the flutter tester using a fixed location for its dill output. Use a temp dir instead.

Also replace the custom log reader in flutter-tester with the desktop log reader, and ensure stopApp waits for the process exit code.

Fixes #75534
2021-02-16 10:18:04 -08:00
stuartmorgan
13d051f2f4 Update link for missing desktop projects (#76123) 2021-02-16 09:51:03 -08:00
Ian Hickson
ce318b7b53 All arguments must be documented. (#75888) 2021-02-14 12:56:05 -08:00
Yash Johri
21b270886e [Checkbox] Adds shape property (#70171) 2021-02-13 12:06:03 -08:00
Jonah Williams
dce8f71228 [flutter_tools] do not use context logger in gradle (#75940) 2021-02-12 17:38:52 -08:00
Todd Volkert
835c7fab45 Fix FocusManager constructor (#75894)
The FocusManager constructor was registering global event handlers
on the shared RawKeyboard instance and the global pointer router.
This posed a few problems: (1) there was no way to unregister these
handlers, and (2) instantiating a second FocusManager would overwrite
the existing focus manager's RawKeyboard handler. This was manifesting
in unexpected ways, such as the fact that constructing a second
BuildOwner (for a parallel tree, for instance) was obliterating the
event handler for the main BuildOwner's focus manager, thus messing
with focus.

This change separates those global event registrations into a
dedicated method, registerGlobalHandlers(), and overrides dispose()
to properly unregister those handlers.
2021-02-12 17:19:20 -08:00
Jonah Williams
bf132435e2 [flutter_tools] delete exit immediately test (#75927) 2021-02-12 15:28:24 -08:00
Greg Spencer
266fb87c36 Update the Focus widget to update the node's onKey handler when the widget updates (#74909)
This updates the onKey handler of the FocusNode that the Focus widget manages when the widget is updated and the handler has changed. Also added a setter for onKey to the FocusNode.
2021-02-12 14:46:39 -08:00
Hidenori Matsubayashi
4cc0ab2d19 [flutter_tools] Add ARM64 Linux host and cross-building option support (#61221) 2021-02-12 14:25:30 -08:00
Jonah Williams
97a9f2ae93 [flutter_tools] move gradle helper methods into AndroidBuilder class body, split unit tests (#75931) 2021-02-12 14:24:13 -08:00
Jonah Williams
fb808b40f9 [flutter_tools] add package:http to forbidden imports test (#75925) 2021-02-12 14:23:08 -08:00
Nathan Walker
422916d201 ListTile Material Ripple and Shape Patch (#74373)
This PR replaces the ColoredBox that ListTile uses with an Ink widget. That Ink widget is given a ShapeDecoration with the ListTile's color and shape. This fixes issues where the ListTile color would obscure material ripple effects, and cause the specified shape to not be respected.
2021-02-12 14:16:51 -08:00
Jonah Williams
980880e2b6 [flutter_tools] remove package HTTP and add pub.dev head check tests (#75871) 2021-02-12 10:44:19 -08:00
Ian Hickson
5652351d54 Clean up some documentation around shader warm-up. (#75863) 2021-02-12 01:41:02 -08:00
Hans Muller
9296a527b3 Revert "Removed ButtonBar from AlertDialog (#75676)" (#75873)
This reverts commit 705cebb239.
2021-02-11 18:33:24 -08:00
Jenn Magder
ba5e237e24 Avoid duplicating Pods-Runner xcconfig #includes (#75822) 2021-02-11 14:11:15 -08:00
mx1up
cc95c972b7 properly pass on gradle exit code (#71484) (#71582) 2021-02-11 14:11:03 -08:00
Jason Simmons
236ee295bd Create an InlineSpanSemanticsInformation only if the TextSpan has text (#75666)
Fixes https://github.com/flutter/flutter/issues/75622
2021-02-11 11:46:18 -08:00
Wyte Krongapiradee
6db3d61ed4 fix(flutter_driver): Properly declare socket as nullable (#75769) 2021-02-11 10:51:04 -08:00
Yegor
e7953b3be4 [web] new service worker loading mechanism (#75535) 2021-02-11 09:16:21 -08:00
Michael Thomsen
78ce11d7e3 Remove upper Flutter constraint (#75772) 2021-02-11 07:37:57 +01:00
Kate Lovett
45c13702b3 Audit and update deprecation warnings (#75813) 2021-02-10 17:31:04 -08:00
Kate Lovett
6c83d84e34 Apply bottom margin to FABs that have been boosted into the Safe Area (#75809) 2021-02-10 17:26:05 -08:00
Sam Rawlins
408c092faf Remove "unnecessary" imports in test/widgets (#75796) 2021-02-10 17:21:03 -08:00
Sam Rawlins
dea1c46a3c Remove "unnecessary" imports. (#75637) 2021-02-10 17:06:03 -08:00
Jonah Williams
7ab8517f7e [flutter_tools] refactor devtools handler to expose single method for run/attach and restart (#75807) 2021-02-10 17:04:47 -08:00
Jonah Williams
b05d6ec8d3 [flutter_tools] catch error 32 in cache (#75719) 2021-02-10 17:04:32 -08:00
Jenn Magder
5b823cded8 Remove dead mock classes (#75757) 2021-02-10 17:01:28 -08:00
Jenn Magder
9236eefdff MockPub -> FakePub (#75759) 2021-02-10 17:01:20 -08:00
Han van Venrooij
09fd46a199 Widen getText support for RichText with multiple text spans in driver (#75603) 2021-02-10 17:01:08 -08:00
Rashid-Khabeer
a178bba5d2 Add onLongPress property to DataCell: #72609 (#75393) 2021-02-10 16:56:04 -08:00
Hans Muller
705cebb239 Removed ButtonBar from AlertDialog (#75676) 2021-02-10 16:06:50 -08:00
Miguel Beltran
3ddd77deb6 Fix for #75792 - allow use of Animator<Color?> with LinearProgressIndicator (#75794) 2021-02-10 16:06:10 -08:00
Ian Hickson
b1cc48748d Only write the pid-file while listening to SIGUSR signals. (#74533) 2021-02-10 16:06:05 -08:00
Todd Volkert
1b44133322 Move ensureVisualUpdate call to call sites in WidgetsBinding.attachRootWidget() (#75811)
This call is unnecessary and wasteful for callers that are building
parallel widget trees, since for those use cases, the caller is
generally going to build the tree synchronously immediately.
2021-02-10 16:03:48 -08:00
Todd Volkert
235927d588 Allow callers to pump a root widget with no child (#75576)
This can be useful for offscreen widget trees, where the caller
wants to completely tear down the tree (properly clean up) when
they're done with the tree, to ensure they're not leaving behind
any event listeners that could be registered by child elements
(which could lead to memory leaks and unexpected behavior).
2021-02-10 16:03:27 -08:00
Michael Goderbauer
8e87408fbe CupertinoPageTransition Optimizations (#75670) 2021-02-10 16:03:07 -08:00
Pedro Massango
a4ae59ba89 Fix "Support configurable hit test behavior on Draggable and DragTarget" (#74047) 2021-02-10 16:01:06 -08:00
xubaolin
16af4aa7eb Fix the NestedScrollView exception when rebuilding during scheduleWarmUpFrame (#75308) 2021-02-10 01:01:04 -08:00
xubaolin
6ad9f784b3 Add more checks when use Navigator 2.0 (#75624) 2021-02-10 00:56:02 -08:00
Michael Goderbauer
531870f57b Fix constraints of popupmenu (#75748) 2021-02-09 17:41:03 -08:00
Jenn Magder
8f3a6245f0 Consolidate ascii spinner stop in devtools activation (#75679) 2021-02-09 16:06:35 -08:00
Jenn Magder
88e6d46d5e MockProcessManager -> FakeProcessManager (#75544) 2021-02-09 16:05:30 -08:00
Jonah Williams
8df58eb650 [flutter_tools] use a single fake implementation of HttpClient (#75471) 2021-02-09 15:32:03 -08:00
Jonah Williams
645cb64392 [flutter_tools] do not crash if shared profile restoration fails (#75718) 2021-02-09 15:31:48 -08:00
Jonah Williams
3aece33534 [flutter_tools] refactor devtools handler into its own class (#75444) 2021-02-09 15:31:39 -08:00
Kate Lovett
29292ba428 maxEnforced fix (#75287) 2021-02-09 14:36:07 -08:00
Kate Lovett
3d2e65f713 Revert "Remove deprecated Typematcher (#73751)" (#75734)
This reverts commit fe00353590.
2021-02-09 15:56:13 -06:00
Kate Lovett
fe00353590 Remove deprecated Typematcher (#73751) 2021-02-09 13:01:02 -08:00