Commit Graph

19636 Commits

Author SHA1 Message Date
Jonah Williams
07caa0fbfe [flutter_tools] Add plumbing for widget cache (#61766)
To support #61407 , the tool needs to check if a single widget reload is feasible, and then conditionally perform a fast reassemble.

To accomplish this, the FlutterDevice class will have a WidgetCache injected. This will eventually contain the logic for parsing the invalidated dart script. Concurrent with the devFS update, the widget cache will be updated/checked if a single widget reload is feasible. If so, an expression evaluation with the target type is performed and the success is communicated through the devFS result. An integration test which demonstrates that this works is already present in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/test/integration.shard/hot_reload_test.dart#L86

Finally, when actually performing the reassemble the tool simply checks if this flag has been set and calls the alternative reassemble method.

Cleanups:

Remove modules, as this is unused now.
2020-07-20 14:03:44 -07:00
Ming Lyu (CareF)
aa4b4d35e1 LiveTestWidgetsFlutterBinding support for non-touch event (#61872) 2020-07-20 17:02:59 -04:00
chunhtai
3577da53ff Revert "fix intrinsic height and width for widget span (#61485)" (#61876)
This reverts commit fc09119d0a.
2020-07-20 09:54:50 -07:00
Alexandre Ardhuin
3f79310204 restore nullability of FlutterError.onError (#61844) 2020-07-20 18:45:04 +02:00
Helin Shiah
5b9ce492f3 Skip printing rendered error text in machine mode (#61684) 2020-07-20 09:41:03 -07:00
Jenn Magder
c4bfa4c7ab Inject iproxy into context (#61762) 2020-07-20 07:46:05 -07:00
Jonah Williams
78a975444a [flutter_tools] revert dart format changes (#61760) 2020-07-20 07:41:05 -07:00
engine-flutter-autoroll
1059b4abf6 dcc9a4048 Roll Fuchsia Mac SDK from UAgiE... to fu1KK... (flutter/engine#19840) (#61759) 2020-07-20 07:36:04 -07:00
Michael Goderbauer
13ac541a00 Remove TODO arround deprecation (#61672) 2020-07-20 07:31:04 -07:00
Jason Simmons
27b306a3da Track used Android pointer IDs and reuse IDs after a pointer is released (#61668) 2020-07-20 07:26:05 -07:00
Christopher Fujino
f8a82feb0b add new docker_attach.sh script and update README (#61363) 2020-07-20 07:21:04 -07:00
Ming Lyu (CareF)
54c9441723 benchmarkLive: a new LiveTestWidgetsFlutterBindingFramePolicy for benchmark on device (#61388)
* add benchmarkLive flag and tests

* update handlePointerEventRecord doc

* using e2e 0.6.1
2020-07-17 18:56:12 -04:00
chunhtai
09dfca6f5d add static method to create material hero controller (#61662) 2020-07-17 14:26:03 -07:00
Jimmy Wei
14dcbb2d84 Fix overflow issue caused by a long title/subtitle for the vertical stepper (#61623) 2020-07-17 14:21:03 -07:00
Chris Yang
30e556ddc5 Add no-op callbacks to platform view gesture recognizer when necessary (#61671)
After #31935, Some one sequence gesture recognizers requires at least one callback to be able to compete in the arena. This PR adds the a no-op callback in the gesture recognizer in the platform view when the gesture recognizer does not have any callbacks. This way, all the gesture recognizers in the platform view can compete in the arena.
2020-07-17 12:13:22 -07:00
engine-flutter-autoroll
99ef90472a Roll Engine from 1493883bf0fc to d32782863249 (18 revisions) (#61743) 2020-07-17 12:01:02 -07:00
Ming Lyu (CareF)
7bef51acc9 cleanup macrobenchmark duplicate files (#61621)
* cleanup macrobenchmark duplicate files
2020-07-17 14:34:33 -04:00
engine-flutter-autoroll
2a063fc6c0 Roll Engine from d3b81f19fc98 to 1493883bf0fc (30 revisions) (#61658) 2020-07-17 09:51:01 -07:00
godofredoc
87cb964a9d Use device-finder instead of dev_finder is flutter code. (#61646) 2020-07-17 09:46:03 -07:00
Jenn Magder
55176c4d6f Show device diagnostic messages in doctor (#61585) 2020-07-17 09:41:03 -07:00
Todd Volkert
1d47859774 Mark smoke_catalina_start_up_ios as flaky (#61737)
https://github.com/flutter/flutter/issues/61736
2020-07-17 09:40:10 -07:00
Konstantin Scheglov
741e9675e7 Remote returns for function expression inferred return type void. (#61582) 2020-07-17 09:36:03 -07:00
Todd Volkert
1840b7121a Make scrollbar thickness and radius customizable (#61401)
* Make scrollbar thickness and radius customizable

https://github.com/flutter/flutter/issues/29576
https://github.com/flutter/flutter/issues/36412

* Add docs for constants

* No more magic numbers in test
2020-07-16 23:15:23 -07:00
Todd Volkert
5587ca17e8 Add assert in PictureLayer.addToScene() (#61655)
SceneBuilder.addPicture() is implemented in C++, and if `picture`
is null, it will seg-fault. This catches the problem before that
happens.
2020-07-16 23:14:56 -07:00
Todd Volkert
7ea710c56e Fix Border.symmetric: phase 2 (#61666)
This updates the default value of the `invertMeaningOfVerticalAndHorizontal`
argument from true to false.

https://github.com/flutter/flutter/issues/61470
2020-07-16 23:14:44 -07:00
Todd Volkert
b0c146c51b Mark flutter_gallery_ios32__transition_perf as flaky (#61698)
https://github.com/flutter/flutter/issues/60559
2020-07-16 22:50:12 -07:00
Christopher Fujino
df542b6831 update packages and update template (#61678) 2020-07-16 18:32:46 -07:00
Ming Lyu (CareF)
8badf93609 Revert "update packages (#61647)" (#61674)
This reverts commit b7b60a2d2c.
2020-07-16 20:13:18 -04:00
Emmanuel Garcia
1c55445b25 Update dependencies in test (#61675) 2020-07-16 16:50:36 -07:00
Michael Goderbauer
1b406159f2 Give better error message for describeEnum (#61581) 2020-07-16 16:21:05 -07:00
Emmanuel Garcia
293a2bf8e8 Android views using hybrid composition e2e driver test (#61507) 2020-07-16 16:19:49 -07:00
Ming Lyu (CareF)
b7b60a2d2c update packages (#61647) 2020-07-16 18:55:42 -04:00
Chris Yang
6a525b9aa5 Revert "Reland "Branch out android platform view perf testing (#60238)" (#61554)" (#61642) 2020-07-16 13:14:52 -07:00
Ben Konyi
38fe887342 Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61633)" (#61641)
This reverts commit 594c3541aa.
2020-07-16 11:43:54 -07:00
Sam Rawlins
45e097da16 Remove unused parameter from private method in widget_inspector (#61572) 2020-07-16 11:41:03 -07:00
Ben Konyi
594c3541aa Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61633)
This reverts commit a1a5a8f635.
2020-07-16 11:38:17 -07:00
engine-flutter-autoroll
d98f66016c Roll Engine from 774ae0313d26 to d3b81f19fc98 (4 revisions) (#61571) 2020-07-16 11:36:03 -07:00
Christopher Fujino
f796e047fd Verbose process exceptions (#61552) 2020-07-16 11:31:03 -07:00
Bogdan Lukin
9ef8192760 Fix/decoration equality (#61551) 2020-07-16 11:26:04 -07:00
Chris Yang
63ceeb8f15 Reland "Branch out android platform view perf testing (#60238)" (#61554) 2020-07-16 11:23:52 -07:00
Darren Austin
c78578417d Updated date pickers to use the new TextButton in place of FlatButton. (#61489) 2020-07-16 11:21:04 -07:00
Jonah Williams
859fce9010 [flutter_tools] add feature for iOS, android, and fuchsia (#61481)
Add feature flags for android, ios, and fuchsia (on by default). After updating the g3 rollers, the fuchsia feature will be turned off by default. Creates a simpler base type of feature flags for g3 to extend.

Updates android, ios, fuchsia workflows to use feature flags check.
Removes concept of stable artifacts and checks on flutter version.

Fixes #58999
#52859
#12768
2020-07-16 09:51:59 -07:00
Jonah Williams
045f3a54f5 [flutter_tools] turn down flutter generate (#61475)
complete removal of all generate functionality

Fixes #61508
2020-07-16 09:51:22 -07:00
Todd Volkert
e2cdc9f981 Allow transparent barrierColor in showDialog methods (#61516)
`showDialog()` and `showGeneralDialog()` were allowing transparent
colors but then triggering an assertion down the stack while building
the modal barrier. The assertion existed to keep from animating from
transparent to transparent, but there's no need for the assertion,
since we can just treat the transparent case as the same as the null
case -- no animation necessary.
2020-07-16 09:43:47 -07:00
Darren Austin
681395e888 Updated time pickers to use the new TextButton in place of FlatButton. (#61492) 2020-07-16 09:43:16 -07:00
Kate Lovett
16d5dd9b13 Fix NestedScrollView inner ballistic activity for 0 velocity (#61386) 2020-07-16 09:41:04 -07:00
Hans Muller
563afe381c Updated obsolte button references in Scaffold, IconButton (#61578) 2020-07-16 09:40:26 -07:00
Hans Muller
d90a246461 Corrected splash color for TextButton, ElevatedButton, OutlinedButton (#61576) 2020-07-16 09:40:11 -07:00
chunhtai
fc09119d0a fix intrinsic height and width for widget span (#61485) 2020-07-16 09:36:09 -07:00
Kate Lovett
d877ad8616 Update Table docs for horizontal scrolling (#61268) 2020-07-16 09:36:05 -07:00