Commit Graph

15617 Commits

Author SHA1 Message Date
Todd Volkert
5584fce36e Switch global key registry to be owned by the build owner. (#74701)
This gets away from the extra static map for global key registrations
in favor of the data structures being instance properties of the build
owner. This still allows for semantically-equivalent static access through
the binding (which in turn gives access to the build owner).

This also adds a `BuildOwner.globalKeyCount` getter to get the count
of global keys associated with widgets currently in the tree.
2021-01-26 14:28:58 -08:00
Dan Field
e4c8498795 no more mockito for fuchsia remote debug protocol (#74755) 2021-01-26 13:44:03 -08:00
Jonah Williams
fa8bf67cb6 [flutter_tools] catch errors when getting cwd (#74744) 2021-01-26 12:49:03 -08:00
xster
00143388a2 default CupertinoSliverNavigationBar's stretch to false (#74669) 2021-01-26 09:24:04 -08:00
Dan Field
d1538320d2 Roll packages to null safe (vm_service, test, etc.) (#74671) 2021-01-26 09:15:54 -08:00
Jia Hao
22f1700427 [flutter_tools] Make setting of CWD consistent for flutter test (#74622) 2021-01-25 22:34:03 -08:00
Greg Spencer
2eeeba9c09 Remove nullOk from Actions.invoke, add Actions.maybeInvoke (#74680)
This removes the nullOk parameter from Actions.invoke, and adds an Actions.maybeInvoke function. The difference is that invoke will now always (in debug mode) throw if an enabled action isn't found, and maybeInvoke will return null if an enabled action isn't found. The invoke function can still return null as the result of the invocation, though, so I purposely didn't change the return value to Object from Object?.
2021-01-25 20:52:30 -08:00
Daniel
fbc3683b18 ChoiceChip's default "selected" style in dark mode theme is unreadable #49984 (#74610) 2021-01-25 20:04:03 -08:00
Yurii Cherniavskyi
6d9e3c3fa9 Expose insetPadding and clipBehavior in SimpleDialog (#73571) 2021-01-25 19:44:05 -08:00
Jenn Magder
754bc4a594 Move android_plugin_example_app_build_test from devicelab to tool integration tests (#74685) 2021-01-25 19:23:53 -08:00
Mouad Debbar
47f8e956d3 Swap the Shortcuts widget with its child in TextField (#74683) 2021-01-25 19:19:04 -08:00
Alexandre Ardhuin
bd69fa5935 use predefined constants (#74627) 2021-01-25 18:59:05 -08:00
Darren Austin
efe8a397a8 Added some tests and comments from Shi-Hao for the ReorderableLists. (#74689) 2021-01-25 18:54:10 -08:00
xubaolin
1e7f3955ce fix a RenderBox.size access exception (#74402) 2021-01-25 18:54:05 -08:00
Greg Spencer
8f10a262c9 Remove vestigal nullOk parameter from Localizations.localeOf (#74657)
This removes the nullOk parameter on the Localizations.localeOf method. This was already changed to have a maybeLocaleOf method, but the nullOk parameter wasn't removed because some third party tests failed. Those have been updated, so this can go in now.
2021-01-25 15:04:47 -08:00
Shi-Hao Hong
c17be7194e Update localizations (#74635) 2021-01-25 14:46:07 -08:00
Jonah Williams
efcf2c664e [flutter_tools] check if process manager can find adb (#74672) 2021-01-25 14:15:23 -08:00
Jenn Magder
35000147e6 Re-add tool test general per-test timeout (#74531) 2021-01-25 12:47:01 -08:00
Ben Konyi
92427f260a Handle 'Existing VM service clients' error from old VM service instances (#74665) 2021-01-25 12:29:05 -08:00
Romain Rastel
30cf0d4a16 [integration_test] fix zip command (#74473) 2021-01-25 12:16:06 -08:00
Jonah Williams
9ba06b4d3b [flutter_tools] handle waitForExtension having no isolates (#74664) 2021-01-25 11:54:03 -08:00
Ian Hickson
5d8dfa44b6 Don't crash on narrow window widths (#74365) 2021-01-25 11:39:45 -08:00
Michael Goderbauer
b400534dc7 remove some stray nullOK mentions from docs (#74661) 2021-01-25 11:34:04 -08:00
Jenn Magder
c8e8d55365 Allow tests to override _DevFSHttpWriter._startWrite throttle time (#74545) 2021-01-25 10:58:26 -08:00
Jenn Magder
9baca0c3d7 Fail ColdRunner.attach() eagerly when device connection fails (#74543) 2021-01-25 10:54:05 -08:00
YeungKC
e623d93d2b Fix dropdown menu overscroll (#73654) 2021-01-25 10:49:04 -08:00
Chinmoy
76d411433f Added padding property to NavigationRail items (#69404) 2021-01-25 10:44:05 -08:00
Kenzie Schmoll
c89d649847 Add connectedVmServiceUri service extension and set from flutter_tools (#74534)
* Add connectedVmServiceUri service extension and set from flutter_tools
2021-01-25 10:40:14 -08:00
Zachary Anderson
2007186d2e Reland: Handle more cases where the tool receives RPCError 112 (#74602)
* Reland: Handle more cases where the tool receives RPCError 112

* Add null-aware access
2021-01-24 12:54:00 -08:00
Zachary Anderson
6be4d1c8bf Revert "Handle more cases where the tool receives RPCError 112 (#74574)" (#74601)
This reverts commit c87f15fe09.
2021-01-24 09:52:27 -08:00
Zachary Anderson
c87f15fe09 Handle more cases where the tool receives RPCError 112 (#74574) 2021-01-23 23:11:15 -08:00
Darren Austin
8529e5a05c New Reorderable list widgets (#74299)
Introduced new widget/ReorderableList and widget/SliverReorderableList widgets.
2021-01-22 21:44:13 -08:00
Jonah Williams
c2cd4ef35c [flutter_tools] ensure unstable compiler features are not available on stable (#74526) 2021-01-22 18:11:59 -08:00
Jonah Williams
fa0880c309 [flutter_tools] test toggle debugPaintsize (#74464) 2021-01-22 18:11:37 -08:00
Justin McCandless
f3947ea0cd Autocomplete (Material) (#73753)
* Material Autocomplete widget
2021-01-23 10:02:30 +08:00
Justin McCandless
d9a69e3b72 Desktop keys: up/down + line modifier (#74425)
up/down arrows + cmd (optionally + shift) works on desktop to jump selection to beginning/end of field
2021-01-22 17:56:18 -08:00
Ben Konyi
35b9288e13 Handle RPCError when VM service disappears while invoking VmService.getIsolate (#74528)
* Handle RPCError when VM service disappears while invoking `VmService.getIsolate`

* Add test
2021-01-22 17:21:39 -08:00
Mouad Debbar
e204eb2fca Space and arrow keys in a text field shouldn't scroll (#74454) 2021-01-22 16:39:04 -08:00
Paul Berry
177fd261bb Remove workaround now that type promotion accounts for local boolean variables. (#74449) 2021-01-22 16:34:06 -08:00
Kenzie Schmoll
0b3162bd9c Create custom DiagnosticsNode type for DevTools deep links. (#74455)
* Create custom DiagnosticsNode type for DevTools deep links.
2021-01-22 16:29:42 -08:00
Kate Lovett
74e5182147 Remove span deprecations (#73747) 2021-01-22 16:29:02 -08:00
Kate Lovett
5af0429fa5 Remove API (#73746) 2021-01-22 16:24:04 -08:00
Dan Field
1b373f45b7 Remove unused bigquery code and deps (#74532) 2021-01-22 16:21:01 -08:00
Shi-Hao Hong
5801f0e5fe Expose DialogRoutes for state restoration support (#73829) 2021-01-22 16:20:44 -08:00
Shi-Hao Hong
3f37d86fff Document TableRowInkWell and DataTable interactions better (#73018) 2021-01-22 16:19:06 -08:00
Jonah Williams
e599cdd414 [flutter_tools] fix web messaging (#74513) 2021-01-22 11:07:08 -08:00
Jonah Williams
1d3f697160 [flutter_tools] flag flip (#74444) 2021-01-22 09:29:57 -08:00
Zain Ur Rehman
46b0797b58 Expose AnimationController property to showBottomSheet/showModalBottomSheet (#72541)
* Expose AnimationController property to showBottomSheet/showModalBottomSheet (#72541)
ong <shihaohong@google.com>

Co-authored-by: Kate Lovett <katelovett@google.com>
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2021-01-22 17:48:49 +08:00
Jonah Williams
32db0fe791 [flutter_tools] provide correct sources and metadata for different base hrefs (#74452) 2021-01-21 23:04:03 -08:00
Ben Konyi
08068fd94c Handle service disappeared RPCError when VM service connection disappears (#74424)
* Handle service disappeared RPCError when VM service connection
disappears while invoking a service extension registered by the
framework

* Add unit test, handle non-trivial cases
2021-01-21 22:51:03 -08:00