Commit Graph

18842 Commits

Author SHA1 Message Date
Jenn Magder
805fffd11b Swap Mocks to Fakes in build_fuchsia_test (#76266) 2021-02-17 19:37:31 -08:00
Jonah Williams
db1e9f053f update all packages (#76254) 2021-02-17 17:33:56 -08:00
Jonah Williams
555721de24 [flutter_tools] remove mock process manager from gradle tests (#76252) 2021-02-17 17:00:12 -08:00
Ian Hickson
00630d0980 Remove some `dynamic's. (#76239) 2021-02-17 16:46:03 -08:00
LongCatIsLooong
c66e6947ae minor ui.TextStyle toString test improvement (#76181) 2021-02-17 15:16:06 -08:00
Chinmoy
bb43d2c632 Added checkboxHorizontalMargin to DataTable and PaginatedDataTable (#71217) 2021-02-17 15:11:52 -08:00
Roshan Prakash Raut
19990c2d42 added debugDisableShadows usage explaination (#72008) 2021-02-17 14:50:22 -08:00
Abhishek Ghaskata
424a122e56 Refactor Hero example (#75895) 2021-02-17 14:46:05 -08:00
Jason Simmons
6757c7dd47 Use a null default skip value in testWidgets so it can inherit the group's skip flag (#76174) 2021-02-17 14:31:03 -08:00
Jonah Williams
93e7d34dc4 [flutter_tools] Remove globals/mocks from GradleUtils (#76020) 2021-02-17 14:26:57 -08:00
Ren You
3c77c432f6 Revert "Remove some `dynamic's. (#75820)" (#76232)
This reverts commit 2d9a01a848.
2021-02-17 14:02:26 -08:00
Danny Tuppeny
74b6ce9abb Pass --run-skipped through to package:test (#76133) 2021-02-17 12:51:02 -08:00
xubaolin
a3dd5aeaad ScrollController.jumpTo zero should not trigger the refresh indicator (#75764) 2021-02-17 11:11:02 -08:00
Hans Muller
fe0ceeb80d Reland: Removed ButtonBar from AlertDialog #75676 (#76167) 2021-02-17 11:02:02 -08:00
Abhishek Ghaskata
200c23c139 Added OutlinedButton code sample (#76013) 2021-02-17 10:26:04 -08:00
Alexandre Ardhuin
b54d72cf66 deprecated consistency (#75903) 2021-02-17 10:21:02 -08:00
Abhishek Ghaskata
cf72a21aa5 Added TextButton code sample (#75519) 2021-02-17 10:11:04 -08:00
David Reveman
7a6af0cf2c Reland: Timer based pointer event resampling (#76195)
This reverts #76179 and relands #73042 with an active timer check fix.

Co-authored-by: David Reveman <reveman@google.com>
2021-02-17 13:09:19 -05:00
Jia Hao
9e55af5246 [flutter_tools] Decouple FlutterPlatform from Process (#74236) 2021-02-17 10:06:04 -08:00
Jenn Magder
50897c98fc Revert "Timer based pointer event resampling (#73042)" (#76179)
This reverts commit 9133deb9a7.
2021-02-16 20:13:53 -08:00
David Reveman
9133deb9a7 Timer based pointer event resampling (#73042)
Timer based pointer event resampling

This provides two improvements to pointer event resampling:

1. PostFrameCallbacks are used instead of scheduling frames. This
avoids unnecessary rendering work when resampling is used.

2. Resampling continues when frames are not produced. I.e. input
events keep being delivered at a fixed frequency even if frame
production is taking a long time.

This fixes #72924

Co-authored-by: David Reveman <reveman@google.com>
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2021-02-16 21:29:59 -05:00
Sam Rawlins
c4400008b2 Remove "unnecessary" imports in test/services (#75707) 2021-02-16 16:46:03 -08:00
Sam Rawlins
9e28f61549 Remove "unnecessary" imports in flutter_driver (#76158) 2021-02-16 16:41:05 -08:00
omerlevran46
75c853c8e7 [fuchsia] - update getting local host address logic (#75981) 2021-02-16 16:36:03 -08:00
Sam Rawlins
894fdea860 Remove "unnecessary" imports in test/widgets (#75952) 2021-02-16 16:21:04 -08:00
Sam Rawlins
fcad4e2efe Remove "unnecessary" imports in flutter_test (#76157) 2021-02-16 16:01:05 -08:00
Jonah Williams
7088c5ba2a Update all packages (#76143) 2021-02-16 15:29:12 -08:00
Sam Rawlins
3aee0c73a2 Remove "unnecessary" imports. (#75950) 2021-02-16 14:01:02 -08:00
Sam Rawlins
d69845b17f Remove "unnecessary" imports in test/widgets (#75949) 2021-02-16 13:56:04 -08:00
Jonah Williams
65599e2825 [flutter_tools] use less path manipulation in the Android SDK (#75930) 2021-02-16 13:54:44 -08:00
Ian Hickson
2d9a01a848 Remove some `dynamic's. (#75820) 2021-02-16 13:51:06 -08:00
Kate Lovett
2e9e1772be Fix for VelocityTracker deprecation (#75649) 2021-02-16 13:36:04 -08:00
Jonah Williams
820fb0bf2b [flutter_tools] stop using throttled print for service extensions (#76022) 2021-02-16 12:11:57 -08:00
Greg Spencer
f8cd24de95 Revert "ListTile Material Ripple and Shape Patch (#74373)" (#76134)
This reverts commit 422916d201 because it causes unexpected changes in the rendering of the background of a ListTile.
2021-02-16 11:24:17 -08:00
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