Commit Graph

18842 Commits

Author SHA1 Message Date
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
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
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
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
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
Masayuki Ono (mono)
606abc915f Fix title color of license detail page (#63249) 2020-08-19 09:01:06 -07:00
Jonah Williams
1b69983c6d [versions] update gallery, roll versions (#64067) 2020-08-19 08:07:15 -07:00
Rami
021cf56fc9 [Material] Relanding fix to ensure time picker input mode lays out correctly in RTL (#64097) 2020-08-19 09:30:28 -04:00
Justin McCandless
ce63f50733 Document how to size IV's child correctly, after seeing confusion in Github issues (#64100) 2020-08-18 23:51:04 -07:00
Jenn Magder
1b47759528 Revert "[null-safety] enable null assertions for framework tests (#64071)" (#64118)
This reverts commit acdb909fcb.
2020-08-18 18:08:51 -07:00
Jonah Williams
acdb909fcb [null-safety] enable null assertions for framework tests (#64071) 2020-08-18 17:21:04 -07:00
Michael Goderbauer
734a90eb3a migrate semantics to nullsafety (#64055) 2020-08-18 17:11:06 -07:00
Jenn Magder
6ca9cd7b8f Use real flutter root for finding pub in command integration test (#64021) 2020-08-18 17:09:02 -07:00
Jonah Williams
a42c56791b [flutter_tools] shrink fingerprinter API to currently used subset (#63840) 2020-08-18 17:01:06 -07:00
Jonah Williams
39c735f408 [flutter_tools] correctly forward error only stdout in non-verbose modes (#63815) 2020-08-18 16:56:05 -07:00
Ian Hickson
2122fe1fa1 Typo (#63692) 2020-08-18 16:51:06 -07:00
Greg Spencer
d1eff0b413 Hook up soft keyboard "next" and "previous" buttons so that they move the focus by default (#63592)
Focus will be moved automatically if onEditingComplete is not specified, but must
by moved manually if onEditingComplete is specified.
2020-08-18 16:46:58 -07:00
Mehmet Fidanboylu
7f122c7429 Revert "Ensure time picker input mode lays out correctly in RTL (#63599)" (#64094)
This reverts commit 1de673bcda.
2020-08-18 14:15:50 -07:00
Mehmet Fidanboylu
bd6252eb3a Revert "Prevent viewport.showOnScreen from scrolling the viewport if the specified Rect is already visible. (#56413)" (#64091)
This reverts commit 64d76f2fb7.
2020-08-18 13:55:33 -07:00
Jonah Williams
f0dd4ad530 [flutter_tools] add more info to coverage script (#64065)
Also output covered | total lines, and a summary percentage at the end + Kick tree
2020-08-18 12:18:54 -07:00
Alexander Aprelev
61362cff85 Move away from deprecated NoSuchMethodError to NoSuchMethodError.withInvocation (#63974) 2020-08-18 08:41:02 -07:00
Mehmet Fidanboylu
473744df2c Revert "fix wrap intrinsic height calculation (#63420)" (#64046)
This reverts commit 72619b8642.
2020-08-18 08:07:14 -07:00
Jonah Williams
262c48d2ea [flutter_tools] add cache busting query param (#63818) 2020-08-17 22:41:05 -07:00
Andre
9e0ad9b6b5 Fix FittedBox BoxFit.scaleDown sizing (#63668) 2020-08-17 22:36:02 -07:00
Albert Viilik
654022aecb Make deprecation notice link to website downloads (#63829) 2020-08-17 17:01:02 -07:00
Ming Lyu (CareF)
2c716c4d49 add vsync overhead to FrameTimingSummarizer (#63835) 2020-08-17 16:51:04 -07:00
Ian Hickson
8f3805f5af Build routes even less. (#62588) 2020-08-17 15:16:06 -07:00
Jonah Williams
042fa8cf66 [flutter_tools] trim trailing newline from vm service logging events (#63976) 2020-08-17 12:26:03 -07:00
Ming Lyu (CareF)
04759e8559 doc typo spelling fix (#63817) 2020-08-17 12:21:08 -07:00
Zachary Anderson
1884920e30 [flutter_tool] Handle Windows line endings in packages_test.dart (#63806) 2020-08-17 11:41:08 -07:00
LongCatIsLooong
579cab8a86 Prevent material switch from recreating its render object when it becomes disabled (#61398) 2020-08-17 11:36:02 -07:00
stuartmorgan
70bd819c52 Separate blkid in the Linux library checks (#63810) 2020-08-17 10:51:03 -07:00
Helin Shiah
3d3b5349a7 Return host and port from devtools launcher (#63795) 2020-08-17 10:46:05 -07:00
server-developer
8a4ada25cd DecoratedBoxTransition sample code (#63775) 2020-08-17 10:41:04 -07:00
chenjianguang
f45cdd57e2 Add debug flag debugProfileLayoutsEnabled. (#63652) 2020-08-17 10:36:03 -07:00
Jonah Williams
08254b2156 Revert "Remove TODOs added for HTTP abort() change in dart sdk (#63924)" (#63972)
This reverts commit b1c17313f6.
2020-08-17 10:25:01 -07:00
zichangg
b1c17313f6 Remove TODOs added for HTTP abort() change in dart sdk (#63924) 2020-08-17 09:46:08 -07:00
Ming Lyu (CareF)
c2368bdd6f bug fix for pointer id in test gestures (#63816) 2020-08-15 10:41:02 -07:00
Konstantin Scheglov
236507f058 Provide the argument for a required parameter 'data'. (#63728) 2020-08-14 16:46:03 -07:00
LongCatIsLooong
64d76f2fb7 Prevent viewport.showOnScreen from scrolling the viewport if the specified Rect is already visible. (#56413) 2020-08-14 16:41:03 -07:00
Nolan Scobie
ede1b15b76 Add viewport documentation breadcrumbs (#63192) 2020-08-14 15:56:02 -07:00
Zachary Anderson
f360d8b8e8 [flutter_tool] Fix some create_test.dart tests on Windows (#63796) 2020-08-14 15:26:29 -07:00