Commit Graph

19982 Commits

Author SHA1 Message Date
Greg Spencer
a344fb1e2c Update prepare_package.dart to use the process_runner package instead having duplicate code. (#62710)
Updates the prepare_package.dart script to use the process_runner package (which is where the ProcessRunner implementation was moved to).
2020-08-11 14:44:57 -07:00
Greg Spencer
54095e1b61 Make modifier key side handling consistent among platforms (#63417)
This makes the processing of RawKeyboardEventData.getModifierSide consistent among the platforms.

Before this change, some platforms (Android) didn't handle the case where the "either" flag was set, but no side flag was set (e.g. "shift" was set, but not "shift left"), and instead said that no keys were down by returning null (which was wrong).

Some platforms (Linux, Windows) also returned KeyboardSide.any from getModifierSide, when the contract says that it will never return KeyboardSide.any. Those methods now return KeyboardSide.all in the case where no side is specified, as macOS and Fuchsia already did.

Now, all platforms will return KeyboardSide.all from getModifierSide when it's not clear which side the key was on.
2020-08-11 14:44:40 -07:00
Jonah Williams
49fac9a885 [flutter_tools] add more error context to tree shaker failure (#63446) 2020-08-11 11:44:03 -07:00
Hans Muller
d06c8fa54e Updated old button references in dev/integration_tests/flutter_gallery ... full_screen_dialog_demo (#63491) 2020-08-11 11:39:20 -07:00
Jonah Williams
c86d090e6f [flutter_tools] add --null-assertions flag for debugging with null safety (#63416) 2020-08-11 11:36:03 -07:00
guolinaileen
cbe0999d1f Introduce onAppPrivateCommand to TextField (#62712) 2020-08-11 11:31:02 -07:00
Pragya
8c795e3e07 Updated Row API doc for RTL in textDirection (#61323) 2020-08-11 10:06:03 -07:00
Hans Muller
e13b929e61 Updated old button references in dev/integration_tests/flutter_gallery ... transformation_demo (#63432) 2020-08-11 10:05:19 -07:00
Michael Goderbauer
7dfb997e41 Add dispose to restoration example (#63497) 2020-08-11 10:04:33 -07:00
Hans Muller
c13b354a02 Updated old button references in dev/integration_tests/flutter_gallery leave_behind_demo (#63430) 2020-08-11 10:03:34 -07:00
Greg Spencer
0ec0bf505e Make RawKeyboard assert when no keys are in keysPressed when sending a key down event. (#63426)
This adds an assert in RawKeyboard that catches the case where it tries to send a key down event, but (after synchronizing modifiers) there are no keys in keysPressed. This state can occur if the modifier flags are not set properly for the platform.

Also prevents shortcuts attempting to handle a key down when no keys are pressed at the moment (which was causing a crash in release mode).
2020-08-11 09:37:30 -07:00
Ian Hickson
e3c7fb5bef Fix RangeMaintainingScrollPhysics (#63146)
It now uses the scroll metrics as they stood at the end of the last frame.

It previously used a weird combination of the old extents and the newish position, which led to some weird effects when the position had been changed in expectation of a viewport or content dimension change.
2020-08-11 08:59:20 -07:00
engine-flutter-autoroll
6d6056e2f3 9b4ce4e3a Roll Fuchsia Linux SDK from 8zNNVrRJr... to FeukZ89D0... (flutter/engine#20403) (#63489) 2020-08-11 08:46:03 -07:00
godofredoc
1731609c59 Enable builds in presubmit and remove old ones. (#63439)
Framework tests got replaced with a new version using shards. This pr is
enabling the new builders in presubmit and removing the old ones.

Bug:
  https://github.com/flutter/flutter/issues/63258
  https://github.com/flutter/flutter/issues/63242
  https://github.com/flutter/flutter/issues/63241
2020-08-11 08:22:21 -07:00
Hans Muller
6667c05243 Updated old button references in dev/integration_tests/flutter_gallery ... drawer_demo (#63404) 2020-08-11 07:46:37 -07:00
Hans Muller
5a5332a7c7 Updated old button references in dev/integration_tests/flutter_gallery ... banner_demo (#63402) 2020-08-11 07:46:23 -07:00
Hans Muller
0ea5e00276 Updated old button references in dev/integration_tests/flutter_gallery ... cards_demo (#63400) 2020-08-11 07:45:57 -07:00
engine-flutter-autoroll
9a10d295ca Roll Engine from 235e389d293c to 9655af326c1e (5 revisions) (#63476) 2020-08-11 07:41:03 -07:00
Rami
fafeb6c647 Ensure cupertino time picker positions hours and minutes correctly for RTL (#63405) 2020-08-11 10:35:16 -04:00
Alexandre Ardhuin
e8c942104b migrate part of painting to nullsafety (#62951) 2020-08-11 07:16:03 -07:00
engine-flutter-autoroll
2c1b95b9e7 Roll Engine from a62703778b3b to 235e389d293c (15 revisions) (#63453) 2020-08-11 06:31:03 -07:00
Jenn Magder
0fe1adadd2 Pin iOS module test plugin versions (#63445) 2020-08-11 06:26:05 -07:00
Ming Lyu (CareF)
b09dee59bf add FrameTimingSummarizer (#63434) 2020-08-11 06:21:04 -07:00
Paul Berry
a4254c788f Ignore dead_code hints for weak-only null checks. (#63007)
* Ignore dead_code hints for weak-only null checks.

When https://github.com/dart-lang/sdk/issues/41985 is fixed, the
analyzer will begin detecting dead code due to "unnecessary" null
checks.  Since we want to retain null checks in Flutter even when they
appear unnecessary (in order to preserve runtime behavior in weak
mode), we need to suppress these dead code hints.

* Add comments explaining why we're ignoring dead_code hints
2020-08-11 06:18:39 -07:00
Ian Hickson
d7883e3fb0 Clean up some test formatting and comments (#63306) 2020-08-11 06:16:03 -07:00
engine-flutter-autoroll
c8d051295a Roll Engine from c9ca3b866902 to a62703778b3b (8 revisions) (#63421) 2020-08-10 21:26:02 -07:00
Ming Lyu (CareF)
2965d81ae9 update for WidgetTester.move and WidgetTester.fling doc (#63390) 2020-08-10 21:21:03 -07:00
Rustom Ichhaporia
111f76b6a4 Small documentation typo fix (#63313) 2020-08-10 21:16:03 -07:00
Panmari
9542a47e44 Fixing code snippet example for meetsGuideline. (#63273) 2020-08-10 21:11:04 -07:00
James D. Lin
ec58182b3b [flutter tools] Make SizeAnalyzer support .apk files that don't use libapp.so (#63250) 2020-08-10 21:06:05 -07:00
Michael Goderbauer
25de941927 Make Scrollables restorable (#63131) 2020-08-10 21:01:10 -07:00
Francesco Iapicca
a84e39029f ISSUE_TEMPLATE changes (#62904) 2020-08-10 20:56:04 -07:00
Jenn Magder
31dfaa0c7e Temporarily turn off module_test_ios during investigation (#63448) 2020-08-10 19:08:35 -07:00
Jonah Williams
f4e442fe80 Revert "Add native stacktrace field for PlatformException (#62828)" (#63431)
This reverts commit 74b5051cd6.
2020-08-10 15:16:29 -07:00
LI DONGZE
74b5051cd6 Add native stacktrace field for PlatformException (#62828)
* Add native stacktrace field for PlatformException

* Mute the readValue check for stacktrace.

* polish

* Add unit test and further polish

* Added more comments

* remove unnecessary import

* fill in stacktrace to JSONMethodCodec and fix tests

Co-authored-by: Ben Li <libe@google.com>
2020-08-10 13:29:58 -07:00
Ian Hickson
a49ba95af8 Some minor improvements to the AsyncSnapshot API (#63347) 2020-08-10 11:11:02 -07:00
Ming Lyu (CareF)
65d9faa1b4 Prepare macrobenchmarks' e2e tests for firebase test lab (#63197) 2020-08-10 11:01:02 -07:00
Ming Lyu (CareF)
fb544659a7 update for frametiming (#62933) 2020-08-10 10:56:03 -07:00
Michael Klimushyn
cb69bbb4d5 Remove unused l and --isolate-filter tools (#63336) 2020-08-10 10:51:04 -07:00
xubaolin
ba92cbedd8 fix SingleChildScrollView clip bug (#63054) 2020-08-10 10:46:04 -07:00
Hans Muller
94319c7a62 Fixed an ElevatedButton API doc typo (#63396) 2020-08-10 10:43:55 -07:00
engine-flutter-autoroll
578b842968 Roll Engine from c6b4048a9de7 to c9ca3b866902 (5 revisions) (#63391) 2020-08-10 09:31:03 -07:00
engine-flutter-autoroll
f2926aab06 c6b4048a9 Roll Fuchsia Linux SDK from sZle8xzx7... to Vltz7Q2Se... (flutter/engine#20363) (#63343) 2020-08-10 08:26:03 -07:00
engine-flutter-autoroll
7c6f9dd239 Roll Engine from ece904289bea to 6d86e67f04d8 (3 revisions) (#63327) 2020-08-09 07:31:03 -07:00
engine-flutter-autoroll
bc079c162c Roll Engine from d7c98913ed9c to ece904289bea (7 revisions) (#63309) 2020-08-08 21:56:01 -07:00
Hans Muller
4500a451dc Enable InkWell to sync its hovered state when its enabled or disabled (#62913) 2020-08-08 18:21:45 -07:00
Hans Muller
e86caf7a08 Updated use of OutlineButton in FocusTraversalPolicy API doc (#63236) 2020-08-08 18:21:25 -07:00
Hans Muller
f1bf6cf9f9 Updated old button references in dev/integration_tests/android_semantics_testing (#63232) 2020-08-08 18:21:09 -07:00
Hans Muller
73ce3f21d0 Updated old button references in packages/flutter_test (#63230) 2020-08-08 18:20:53 -07:00
Hans Muller
61349ca6c5 Updated old button references in dev/integration_tests/hybrid_android_views (#63215) 2020-08-08 18:20:34 -07:00