20156 Commits

Author SHA1 Message Date
Ian Hickson
39be8a40b5
More restoration documentation (#63438) 2020-08-21 10:51:05 -07:00
Ian Hickson
c7ebb2b75f
Trivial typo fixes to snippets documentation (#63436) 2020-08-21 10:46:05 -07:00
Jonah Williams
714dd2febc
[null-safety] remove mockito from network tests (#64284)
More work towards removal of mockito to facilitate strong null safety tests.

#62886
2020-08-21 10:43:57 -07:00
Todd Volkert
dae720bef4
Remove remaining uses of childToSlot (#64273)
The remaining uses of this pattern were all due to wanting to have
the child's slot when `Element.forgetChild()` was called. However,
when that method is called, the child's `slot` value is still valid
in the context of the parent, so the uses can just use `child.slot`.

This is the final round of cleanup from the fallout of #63269
2020-08-21 10:41:05 -07:00
LongCatIsLooong
90908b0beb
Revert "Prevent material switch from recreating its render object when it becomes disabled (#61398)" (#64062) 2020-08-21 10:34:08 -07:00
Dan Field
eef4220a87
Make large jumpTo recommend deferred loading (#64271) 2020-08-20 17:46:07 -07:00
stuartmorgan
8489d460a4
Update Windows template for wrapper file change (#64173)
* Minor adjustment for engine change, and rev template version

* whitespace fix
2020-08-20 17:36:46 -07:00
stuartmorgan
ca0ddbbc94
Add WindowProc delegation to Windows template (#64166)
This wires up the new WindowProc delegation system that allows plugins
to handle top-level window messages (e.g., to control resize behavior).

Fixes #53168
2020-08-20 17:36:10 -07:00
keyonghan
c98a64f554
Add run_if property for existing LUCI try builders (#64180)
* add run_if property for existing try builders

* update

* update readme
2020-08-20 17:28:12 -07:00
godofredoc
1cd6694ab9
Remove windows_docs. (#64277) 2020-08-20 17:26:04 -07:00
timekone
f777ead154
Clip image of BoxDecoration to circle when shape is BoxShape.circle (#63352) 2020-08-20 17:21:05 -07:00
Yuqian Li
a1de2a22fb
Mark e2e version of ios32 transition test nonflaky (#64269) 2020-08-20 15:16:06 -07:00
Kate Lovett
618ab7d275
Fix floating snackbar Y (#64268) 2020-08-20 15:11:07 -07:00
Ming Lyu (CareF)
0f4d24819d
Revert "run the test longer time (#64185)" (#64255) 2020-08-20 15:06:08 -07:00
Ming Lyu (CareF)
c8c575c894
update TimelineStream in flutter_driver (#64258) 2020-08-20 15:01:10 -07:00
LI DONGZE
abbd5b149a
Add native stacktrace field for PlatformException. (#64199) 2020-08-20 15:01:06 -07:00
Ian Hickson
c3a47b3449
Remove more timeouts (#63433) 2020-08-20 14:56:05 -07:00
xster
a2e5e074ab
Move Android doctor SDK check to 29 and Cirrus images to 30 (#63517) 2020-08-20 11:06:32 -07:00
Jim Graham
9e86e9fb1e
report list of detail files so devicelab can save them (#64009) 2020-08-20 10:58:25 -07:00
Todd Volkert
2d0634eb32
Remove childToSlot pattern (#64217) 2020-08-20 10:57:15 -07:00
Christopher Fujino
0fa1de3c78
Restore docs linux post submit cirrus (#64214) 2020-08-20 09:35:50 -07:00
engine-flutter-autoroll
9e32a4f598
Roll Engine from 81027ab0cc0e to 4dc866283d13 (2 revisions) (#64229) 2020-08-20 08:56:04 -07:00
Todd Volkert
4d8934af48
Re-apply "(insert|move|remove)ChildRenderObject Deprecation: Step 1 (#64189)" (#64254)
This reverts commit ce40de69b7b4f89c66d19c8dbd3bd86ae30f1bc6.

(this re-applies #64189 by reverting #64249)
2020-08-20 08:19:34 -07:00
Mehmet Fidanboylu
ce40de69b7
Revert "(insert|move|remove)ChildRenderObject Deprecation: Step 1 (#64189)" (#64249)
This reverts commit 21cfed34d478d6a1c0223557a7935b69b15613bb.
1.22.0-1.0.pre
2020-08-20 07:31:50 -07:00
engine-flutter-autoroll
d9188c19f6
81027ab0c Reland: Add android scenarios presubmit task. (#64218) 2020-08-19 22:41:04 -07:00
Paul Berry
32464aa38a
Ignore unnecessary casts that can go away soon. (#64200) 2020-08-19 22:36:05 -07:00
xster
e1ae4dfcae
Move v1 embedding migration warning from plugin consumers to all apps (#64181) 2020-08-19 22:32:08 -07:00
TheBirb
a1097d70ed
Added tests (#62635) 2020-08-19 22:31:05 -07:00
engine-flutter-autoroll
bebd7944d5
Roll Engine from 74d32ecdbd46 to 89f506ed626b (10 revisions) (#64213) 2020-08-19 19:36:04 -07:00
Tong Mu
fb0b982324
Change MouseTracker's interface for clarity. Simplify MouseRegion's implementation. (#64119)
* Redesigns the interface between MouseTracker and RendererBinding&RenderView.
* Simplifies the structure of RenderMouseRegion.
* Extracts the common utility code between mouse_tracker_test and mouse_tracker_cursor_test.
2020-08-19 18:51:56 -07:00
Ming Lyu (CareF)
1fc3a5e439
run the test longer time (#64185) 2020-08-19 21:23:59 -04:00
Christopher Fujino
d6e308c578
Don't fail docs-linux on release branches (#64203) 2020-08-19 18:16:05 -07:00
Todd Volkert
21cfed34d4
(insert|move|remove)ChildRenderObject Deprecation: Step 1 (#64189)
* (insert|move|remove)ChildRenderObject Deprecation: Step 1

This deprecates the following methods:

* RenderObjectElement.insertChildRenderObject
* RenderObjectElement.moveChildRenderObject
* RenderObjectElement.removeChildRenderObject

...and replaces them with the following methods:

* RenderObjectElement.insertRenderObjectChild
* RenderObjectElement.moveRenderObjectChild
* RenderObjectElement.removeRenderObjectChild

The reason for the deprecation is to provide the `oldSlot` argument to
the `moveRenderObjectChild` method (such an argument was missing from
the now-deprecated `moveChildRenderObject` method) and the `slot`
argument to the `removeRenderObjectChild` method (such an argument was
missing from the now-deprecated `removeChildRenderObject` method). While
no argument was added to `insertRenderObjectChild`, the name change (and
corresponding deprecation) was made to maintain naming parity with the
other two methods.

This initial step does not update or remove any of the `slotToChild`
patterns that exist in the framework. This work is being separated
into two commits in case something needs to be reverted to minimize
the scope of each commit.

See https://github.com/flutter/flutter/issues/63269 for more info
2020-08-19 17:39:07 -07:00
Jonah Williams
04f7c9d52e
[flutter_tools] update dwds, roll to null-safe file and process (#64195)
Update to latest dwds, file-nullsafety, and process-nullsafety for #62886
2020-08-19 16:59:52 -07:00
chunhtai
31e881f3a8
remove ununsed deprecated field (#64076) 2020-08-19 16:26:05 -07:00
Jimmy Robert
d69ae36398
Fix tooltip position. (#60479) 2020-08-19 16:11:06 -07:00
engine-flutter-autoroll
357ed4e6b9
Roll Engine from 81779371338a to 74d32ecdbd46 (2 revisions) (#64193) 2020-08-19 15:56:04 -07:00
Jonah Williams
829ef147d1
[null-safety] roll to null-safe platform (#64160) 2020-08-19 15:47:08 -07:00
Greg Spencer
041a3eaa84
Standardize the nullability of arguments to raw key data constructors. (#63523)
This standardizes the handling of nullability for the LogicalKeyboardKey.keyLabel and RawKeyEventData.keyLabel accessors so that they are non-nullable, but can be empty.

Before this change, the keyLabel could be either null or an empty string to indicate that there wasn't a label, which makes it harder to test for, since both need to be checked for. Since an empty string is sufficient, there is no need for it to be nullable.

Also, in raw_keyboard.dart, the web and Windows implementations wouldn't accept null values for parameters in the Map coming from the message, but tests were supplying null for some of them. This makes web and Windows creation of events match the other platforms, and makes the migration of tests to non-nullability easier.
2020-08-19 15:03:17 -07:00
Jonah Williams
69fd5c50a2
[flutter_tools] null assertions off by default for web (#64186)
Like Android/iOS, only enable --null-assertions if asked. Previously this was enabled by default for web, but in general this has proved to be too breaking to enable by default.

#61042
2020-08-19 14:52:47 -07:00
Tong Wu
ae4b3ba2d1
Reorder issue templates. (#64174) 2020-08-19 14:51:07 -07:00
Jonah Williams
4954a46ff0
[flutter_tools] shrink API surface of Android SDK (#63867)
Attempt to simplify the Android SDK interface ahead of refactoring it. The locateAndroidSdk static method is called at startup to locate the android SDK, returning null if it cannot be found. These helper methods attempted to first look up the AndroidSDK if it was already null - which could only cover the case where someone installed the Android SDK while flutter was running (possibly through an IDE)
2020-08-19 14:44:56 -07:00
Zachary Anderson
6f78131474
WIP: [flutter_tool] Fix amberctl host address (#64020) 2020-08-19 14:41:05 -07:00
Justin McCandless
ec24a819ea
ClipboardStatusNotifier should handle errors in Clipboard.getData (#64012) 2020-08-19 14:36:08 -07:00
engine-flutter-autoroll
d981fafe8b
Roll Engine from dcbe3d3d3dff to 81779371338a (4 revisions) (#64171) 2020-08-19 13:41:08 -07:00
Darren Austin
2735a661f9
Changes to initialDate for CalendarDatePicker should update the state. (#64115) 2020-08-19 13:36:06 -07:00
Mouad Debbar
2b67846aab
Make SelectableText work better on web (#63786) 2020-08-19 13:31:06 -07:00
Rami
414f8b5950
Remove unused copyWith arguments in TimePickerThemeData (#64167) 2020-08-19 13:26:10 -07:00
Yuqian Li
6eb45d35da
Rename needsMeasureCpuGpu to measureCpuGpu (#64000) 2020-08-19 13:26:07 -07:00
Jonah Williams
38e0c25823
[flutter_tools] reland: enable --null-assertions for flutter framework tests (#64120)
Reland of acdb909 with fixes to semantics.dart

#61042
2020-08-19 13:25:42 -07:00