Commit Graph

21075 Commits

Author SHA1 Message Date
Jonah Williams
86c6b7fa6c Revert "update packages (#68569)" (#68622)
This reverts commit 5bee809409.
2020-10-20 09:09:30 -07:00
Dan Field
5bee809409 update packages (#68569) 2020-10-20 08:27:02 -07:00
engine-flutter-autoroll
dde20448f7 Roll Engine from bcc557f1ba42 to ea2aea1c6102 (4 revisions) (#68557)
* 6fdcdd99c Forward font collection APIs to the SkParagraph font collection (flutter/engine#21734)

* 25d8fa5a7 Define SK_VULKAN for clang-tidy runs (flutter/engine#21927)

* 0c7c47724 Revert "[ios] Refactor IOSSurface factory and unify surface creation (#21877)" (flutter/engine#21970)

* ea2aea1c6 Roll Fuchsia Linux SDK from ZJHmp3INU... to dcMRY8S12... (flutter/engine#21976)
2020-10-19 21:59:56 -07:00
Yegor
ff9082cf6d Refactor command utilities for tests (#68324)
* refactor command running utilities for tests

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-10-19 20:56:25 -07:00
engine-flutter-autoroll
03b5825d1e Roll Engine from d03b759d049e to bcc557f1ba42 (34 revisions) (#68554)
* eba7a1c90 Roll Dart SDK from e655b9a3839e to b58cfe5ab24e (1 revision) (flutter/engine#21919)

* 512154980 Roll Dart SDK from e655b9a3839e to b58cfe5ab24e (1 revision) (flutter/engine#21920)

* 977537b03 Roll Skia from 418eda2c599a to f9c7b2803461 (3 revisions) (flutter/engine#21923)

* 5bd7260a1 Enable loading snapshots with sound null safety enabled. (flutter/engine#21820)

* 787b9c537 Break the reference cycle between the surface factory and the external view embedder (flutter/engine#21918)

* 9b752790f Revert "[fuchsia] External view embedder will be shared with platform view (#21850)" (flutter/engine#21924)

* 04bf8791f Add plumbing to grab dart entrypoint args on macOS (flutter/engine#21789)

* b8fd0013a Update FLUTTER_NOLINT uses to include issue link (flutter/engine#21921)

* 869d3c8c7 Set strokeCap, strokeJoin, and strokeMiter when resurrecting Paint (flutter/engine#21926)

* 18357a858 Roll Skia from f9c7b2803461 to f60a76e2ac01 (4 revisions) (flutter/engine#21929)

* 49c35b617 Eliminate unnecessary linter opt-outs (flutter/engine#21935)

* 2df836f6e Require that FLUTTER_NOLINT include issue link (flutter/engine#21922)

* f6b8a50ab Roll Skia from f60a76e2ac01 to be8004d2fb6c (1 revision) (flutter/engine#21936)

* 34832cb78 Roll the process_runner package used by the formatter script (flutter/engine#21937)

* 2874fccbb Roll Dart SDK from b58cfe5ab24e to aaab579579be (1 revision) (flutter/engine#21938)

* cac04c4cf Add FML_UNREACHABLE to declare points in code that should never be reached. (flutter/engine#21941)

* fabcc2de2 Roll Fuchsia Mac SDK from _FaRRt69Z... to XZSNobQCT... (flutter/engine#21944)

* 20d3a0764 Collect logs in the background. (flutter/engine#21828)

* 815a1f386 Roll Dart SDK from aaab579579be to 42a0bf548ea3 (1 revision) (flutter/engine#21946)

* 890f01620 [web] Implement ClipOp.difference (flutter/engine#21901)

* 3ea02776e Roll Dart SDK from 42a0bf548ea3 to 675c7165c071 (1 revision) (flutter/engine#21948)

* 56d3da33b Roll Fuchsia Mac SDK from XZSNobQCT... to 9mMCqUXkF... (flutter/engine#21950)

* 1c35cc641 [null-safety] fix type declaration of Picutre._toImage (flutter/engine#21942)

* e9a43c15b Roll Dart SDK from 675c7165c071 to 5c59a47beda7 (1 revision) (flutter/engine#21952)

* 499a70f5e Restore missing call to RuntimeDelegate.OnRootIsolateCreated (flutter/engine#21953)

* f7da9d687 Roll Fuchsia Mac SDK from 9mMCqUXkF... to MR_bRfe8I... (flutter/engine#21955)

* e66e3f535 Roll Skia from be8004d2fb6c to 27f7fe32f49b (1 revision) (flutter/engine#21956)

* d4ac8e6cb Temporarily disabled tests that were using latin and arabic characters (flutter/engine#21971)

* f854cbbfa Specify the Noto Naskh Arabic font to get consistent results in tests using Arabic characters (flutter/engine#21974)

* 43b618e4b Added keyEvent support for iOS 13.4+  (flutter/engine#20972)

* a6857802b Fix the initialization of AndroidSurfaceFactoryImpl (flutter/engine#21977)

* 895940081 [null-safety] fix types of layer code (flutter/engine#21959)

* 9946be45a FlTextInputPlugin: fix memory leaks (flutter/engine#21879)

* bcc557f1b Add multi-step input method support for Linux (flutter/engine#21897)
2020-10-19 20:30:19 -07:00
Jenn Magder
d81691d0f4 Revert "Build iOS apps using Swift Packages (#68361)" (#68546)
This reverts commit dd9323bdfb.
2020-10-19 17:57:32 -07:00
Jonah Williams
938fae9c99 remove --machine flag (#68538) 2020-10-19 17:06:28 -07:00
Jonah Williams
a152c0f429 [devicelab] reland: reduce iterations of startup test, use application binary (#68532)
These devicelab tests are incredibly flaky. Currently they will build & install the same application 15 times. This causes the temp storage to fill up on android, and has a good chance of flaking on iOS due to install issues.

The change from 3 to 15 increased total test time for 2 -> 12 minutes on iOS, or roughly 5 more test equivalents for every single iOS test. Reduce the iteration count back to 5

Uninstall the app after each run so temp storage does not fill up.
2020-10-19 16:51:28 -07:00
Yegor
ea3b08f333 Respond to HTTP POST requests with 404 in WebAssetServer (#68492)
* Respond to POST with 404 in WebAssetServer
2020-10-19 16:21:39 -07:00
Yuqian Li
91a5a1e7f9 Mark e2e ios32 warmup test as nonflaky (#68511) 2020-10-19 15:52:05 -07:00
Jenn Magder
dd9323bdfb Build iOS apps using Swift Packages (#68361) 2020-10-19 15:47:04 -07:00
Jonah Williams
4a3e2a1af5 Revert "[devicelab] reduce iterations, uninstall at end, and use --application-binary in all startup tests (#68516)" (#68531)
This reverts commit a4c2075a45.
2020-10-19 15:05:46 -07:00
Jonah Williams
8262f808ba Revert "[devicelab] fix flutter gallery app name (#68528)" (#68530)
This reverts commit 0f69f8e53b.
2020-10-19 15:05:10 -07:00
Jonah Williams
0f69f8e53b [devicelab] fix flutter gallery app name (#68528) 2020-10-19 14:48:05 -07:00
Jenn Magder
5e17a240bd Generate only requested platform directories on create (#68376) 2020-10-19 14:17:43 -07:00
Jonah Williams
a4c2075a45 [devicelab] reduce iterations, uninstall at end, and use --application-binary in all startup tests (#68516)
These devicelab tests are incredibly flaky. Currently they will build & install the same application 15 times. This causes the temp storage to fill up on android, and has a good chance of flaking on iOS due to install issues.

The change from 3 to 15 increased total test time for 2 -> 12 minutes on iOS, or roughly 5 more test equivalents for every single iOS test. Reduce the iteration count back to 5

Uninstall the app after each run so temp storage does not fill up.
2020-10-19 14:16:04 -07:00
Hans Muller
98c519dbe2 Updated one reference to FlatButton in real_tests/extension_test.dart (#68505) 2020-10-19 13:12:17 -07:00
Casey Hillers
1c35091a13 [devicelab] Cocoon client (#68333) 2020-10-19 13:12:04 -07:00
Jonah Williams
e8dc7a2e17 [devicelab] update hostonly tests to use flutter directly or precache deps (#68487)
Fixes #67370

By running most of these executions through flutter, we get the benefit of the flutter error handling and precaching. IN the test where this is not feasible, call pre-cache directly.
2020-10-19 13:01:50 -07:00
YeungKC
c706abf075 Fix error cursor position for left and right arrow event after text selection (#68402) 2020-10-19 12:42:03 -07:00
Jonah Williams
03db9bf918 [devicelab] migrate defines test to DriverTest (#68407)
Removes one-off handling for defines test and forces it to run through the DriverTest interface
2020-10-19 12:28:43 -07:00
Jonah Williams
223df0c351 [devicelab] split end to end tests into driver targets (#68410)
Split the integration_ui target into individual driver tests. Remove disabled screenshot tests
2020-10-19 12:28:13 -07:00
Greg Spencer
8c03ff8c1d Mark keys that match a shortcut, but have no action defined as "not handled". (#67359)
- - When I added notification of key events before processing them as text, it made it so that shortcut key bindings like the spacebar would prevent spaces from being inserted into text fields, which is obviously not desirable (and so that change was reverted). At the same time, we do want to make it possible to override key events so that they can do things like intercept a tab key or arrow keys that change the focus.

This PR changes the behavior of the Shortcuts widget so that if it has a shortcut defined, but no action is bound to the intent, then instead of responding that the key is "handled", it responds as if nothing handled it. This allows the engine to continue to process the key as text entry.

This PR includes:

- Modification of the callback type for key handlers to return a KeyEventResult instead of a bool, so that we can return more information (i.e. the extra state of "stop propagation").
- Modification of the ActionDispatcher.invokeAction contract to require that Action.isEnabled return true before calling it. It will now assert if the action isn't enabled when invokeAction is called. This is to allow optimization of the number of calls to isEnabled, since the shortcuts widget now wants to know if the action was enabled before deciding to either handle the key or to return ignored.
- Modification to ShortcutManager.handleKeypress to return KeyEventResult.ignored for keys which don't have an enabled action associated with them.
- Adds an attribute to DoNothingAction that allows it to mark a key as not handled, even though it does have an action associated with it. This will allow disabling of a shortcut for a subtree.
2020-10-19 11:26:50 -07:00
Jonah Williams
e422d5c724 [flutter_tools] reland: --no-android-gradle-daemon in devicelab (#68491)
Remove devicelab specific code for shutting down gradle daemon, add --android-gradle-daemon option to build/run/drive`. Avoids need for un-tested devicelab specific handler. There are also some feature requests for this, so 2 birds one stone.

Example:

flutter build apk --no-android-gradle-daemon will pass --no-daemon on to gradle
2020-10-19 10:27:58 -07:00
Kate Lovett
8df0c5e158 Deprecate old SnackBar methods (#67947) 2020-10-19 10:17:03 -07:00
Jonah Williams
19f363029e [flutter_tools] increase devFS sync timeout to 60 seconds (#68488)
The current timeout is too short for some remote workflows. The existing unit test require hitting a real timeout so I've removed it.

See b/171005910
2020-10-19 10:14:37 -07:00
Jonah Williams
ed5482de19 Revert "[flutter_tools] add --android-gradle-daemon option, use in devicelab (#68409)" (#68489)
This reverts commit ddab72e79f.
2020-10-19 09:33:52 -07:00
Jonah Williams
ddab72e79f [flutter_tools] add --android-gradle-daemon option, use in devicelab (#68409)
Remove devicelab specific code for shutting down gradle daemon, add --android-gradle-daemon option to build/run/drive`. Avoids need for un-tested devicelab specific handler. There are also some feature requests for this, so 2 birds one stone.

Example:

flutter build apk --no-android-gradle-daemon will pass --no-daemon on to gradle
2020-10-19 09:12:21 -07:00
Nobuhiro Tabuki
4e2f82cf93 [flutter_tools] change the IntelliJ plugin detection logic. (#68020)
This PR suggests improving the IntelliJ plugin "jar" detection logic.

Previously:
The IntelliJ Flutter plugin was contained flutter-intellij.jar.
Currently:
It is named flutter-intellij-X.Y.Z.jar and does not contain META-INF/plugin.xml.
META-INF/plugin.xml is included in flutter-idea-X.Y.Z.jar.

So this PR changes the rules for searching the plugin's jar file.
Concretely, it looks for the jar file containing META-INF/plugin.xml in the plugin's package directory and reads the package version from its META-INF/plugin.xml.

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-10-19 08:19:48 -07:00
Michael Thomsen
c97ea71798 Adjust constraints (#68437) 2020-10-19 17:17:13 +02:00
Ayush Bherwani
ca84cc235c [MergeSemantics] added code snippet (#68123) 2020-10-19 08:17:03 -07:00
Xavier Chrétien
f26fbb6bdd Set slider semantics flag for sliders (#68019) 2020-10-19 08:12:03 -07:00
Jonah Williams
804c3ff31f Revert "Roll Engine from d03b759d049e to 499a70f5e21b (25 revisions) (#68424)" (#68479)
This reverts commit a837557634.
2020-10-19 07:05:20 -07:00
engine-flutter-autoroll
a837557634 Roll Engine from d03b759d049e to 499a70f5e21b (25 revisions) (#68424) 2020-10-18 03:12:02 -07:00
Ming Lyu (CareF)
92f82c7b88 Transport e2e based perforamnce test to integration_test and remove duplicate watchPerformance (#67594) 2020-10-17 20:37:03 -07:00
nt4f04uNd
4a32e52460 SpringDescription parameter for the AnimationController fling method (#65057) 2020-10-17 20:32:03 -07:00
xster
3302a12b20 Let Flutter SDK use cupertino_icons 1.0.0 (#65087) 2020-10-16 22:36:01 -07:00
Marcin Jeleński
d2d072199b Flutter Driver: command extensions and extension feature cleanup (#67916) 2020-10-16 22:29:47 -07:00
engine-flutter-autoroll
4aa1154b09 Roll Engine from 5355f270ba99 to d03b759d049e (6 revisions) (#68357) 2020-10-16 16:17:05 -07:00
Lau Ching Jun
583db83865 request.mainUri should be fileUri (#68329) 2020-10-16 15:23:54 -07:00
Jonah Williams
198e40c9eb [flutter_tools] retry the driver launch of the application up to 3 times. (#68334)
We'd like to see how many of these flakes are transient and how many involve the device/machine getting temporarily wedged. Add a retry with no delay to see if it is possible to add sufficient error handling to startApp/installApp to handle this.
2020-10-16 15:07:23 -07:00
Hamdi Kahloun
7b04435a16 Date Picker jumps back to initialDatePickerMode after day selection (#67926)
Date Picker jumps back to initialDatePickerMode after day selection.
2020-10-16 13:31:20 -07:00
YeungKC
50a7da85f7 Fix text field label width on outline input border (#67736) 2020-10-16 13:12:04 -07:00
Alexandre Ardhuin
c0176c9ee5 use_is_even_rather_than_modulo (#68301) 2020-10-16 20:20:00 +02:00
Lau Ching Jun
3393566b56 Use multiroot scheme for initial compilation in ResidentRunner recompile (#68280) 2020-10-16 10:54:19 -07:00
Jonah Williams
dd93ee301f [flutter_tools] drive uses correct application package for prebuilt (#68309)
Both start and stop app create an application package, but only start app used the application binary. Create the application package once and pass it to both start and stop app.
2020-10-16 09:40:08 -07:00
engine-flutter-autoroll
8d730429ca Roll Engine from 1bc025d6cbf1 to 5355f270ba99 (5 revisions) (#68307) 2020-10-16 09:02:05 -07:00
Martin Kustermann
6fae89c8b5 Update package:stack_trace dependency to 1.10.0-nullsafety.4 (#68132) 2020-10-16 16:35:20 +02:00
Alexandre Ardhuin
31925d91fd fix the tree (#68287) 2020-10-16 11:52:37 +02:00
LongCatIsLooong
438c4ff21c Reland "More EditableText docs (#66864)" (#68043) 2020-10-16 01:52:04 -07:00