648 Commits

Author SHA1 Message Date
Dan Field
e5527c55a9 Revert "SceneBuilder.addPicture returns the layer (#26074)" (flutter/engine#26133) 2021-05-13 15:44:02 -07:00
Felipe Archondo
2043d0839a [fuchsia] rename SessionConnection to DefaultSessionConnection (flutter/engine#26104)
In preparation for #25551, rename SessionConnection to
DefaultSessionConnection. The plan is to have SessionConnection be an
interface we can create a fake of for testing purposes.
2021-05-13 17:59:16 -04:00
Dan Field
51f1eb4284 SceneBuilder.addPicture returns the layer (flutter/engine#26074) 2021-05-11 20:11:30 -07:00
Jason Simmons
4d71fc5b8b Ensure that AutoIsolateShutdown drops its reference to the DartIsolate on the intended task runner (flutter/engine#25899) 2021-05-06 20:24:02 -07:00
Dan Field
5a4efab2a4 Get FTL test running again (flutter/engine#25771) 2021-04-26 22:09:02 -07:00
Chinmay Garde
e9527be661 Ensure stdout and stderr from failed test runs are reported from run_tests.py. (flutter/engine#25758) 2021-04-24 19:29:01 -07:00
George Wright
6978395603 Add Metal to the FlutterCompositor struct in the Embedder API (flutter/engine#25612) 2021-04-23 15:52:54 -07:00
Dan Field
ea35899927 Provide a stub platform view embedder for tester to avoid emitting errors (flutter/engine#25661) 2021-04-21 13:04:01 -07:00
David Worsham
f3cd053795 Revert "[fuchsia] Use scenic allocator service (#25385)" (flutter/engine#25655)
This reverts commit f0cf6ac1a8488f12722a5be77f0ef5fe8d0d4411.
2021-04-19 15:06:58 -07:00
LongCatIsLooong
fe01e1acbb [libTxt] resolve null leading distribution in dart:ui. (flutter/engine#25510) 2021-04-19 13:49:01 -07:00
chandarrengoog
62f12e5fbc Update gtest_filters to disable TimeSensitiveTest. (flutter/engine#25649)
Fix typo.
2021-04-19 10:22:38 -07:00
David Reveman
f0cf6ac1a8 [fuchsia] Use scenic allocator service (flutter/engine#25385)
Switch to scenic allocator and Image3 API.

Co-authored-by: David Reveman <reveman@google.com>
2021-04-16 17:12:48 -04:00
Dan Field
446b6a6a61 Support SKP captures in flutter_tester (flutter/engine#25566) 2021-04-14 09:39:01 -07:00
gaaclarke
e5a0923572 Made sure not to delete handles of dart objects if the isolate has been deleted (flutter/engine#25506) 2021-04-13 17:42:28 -07:00
Emmanuel Garcia
1bad6de1da Reland Dart plugin registrant (flutter/engine#25496) 2021-04-12 13:30:01 -07:00
chandarrengoog
26574f5de2 Update gtest_filters. (flutter/engine#25309)
Account for https://flutter-review.googlesource.com/c/recipes/+/11700.
2021-04-02 14:32:55 -07:00
Wu Zhong
4450368e6a [iOS][Test] Update scenario test tutorial (flutter/engine#25324) 2021-04-01 14:59:01 -07:00
Chris Bracken
9b4a0264d5 Correct typos throughout the engine/embedder (flutter/engine#25346)
Used the the `misspell` tool available at
https://github.com/client9/misspell, then applied hand-corrections. It's
possible we could adopt this as a presubmit, but there are still enough
false positives that it may not be worth the effort.
2021-04-01 11:08:19 -07:00
Emmanuel Garcia
c34705f5dd Reland: "Fix memory leak and bug in the RunsOnCreationTaskRun" (flutter/engine#25317) 2021-03-31 15:16:38 -07:00
Yilong Li
eaaa732b80 fuchsia: Allow access to system services in tests. (flutter/engine#25303)
Per https://fuchsia.dev/fuchsia-src/concepts/testing/v1_test_component,
in order to access non-basic system services like Vulkan loader and
sysmem allocator, we need to add "system-services" field to the cmx
metadata file.

Unittests like "shell_test" requires Vulkan to run properly, so we
add Vulkan loader and sysmem services; for Flutter runner tests,
we also need to add fuchsia.ui.scenic.Scenic since the test needs
to create a Scenic session as well.

TEST=shell_tests (SkpWarmupTest.Basic/SkpWarmupTest.Image)
     flutter_runner_tests (EngineTest.SkpWarmUp) on FEMU
2021-03-31 13:43:33 -07:00
Alexander Brusher
3ebaf4f764 [fuchsia][a11y] Adds isKeyboardKey semantics flag. (flutter/engine#25167)
This change introduces a semantics flag to indicate whether a node
represents a virtual keyboard key.
2021-03-30 13:26:56 -07:00
chandarrengoog
b730d4b621 Copy gtest_filters from femu_test.py. (flutter/engine#25300)
Start migrating away from hard-coded gtest_filters in femu_test.py
2021-03-30 10:35:15 -07:00
Michael Goderbauer
d627e66bcf remove ignores (flutter/engine#25131) 2021-03-25 10:19:01 -07:00
gaaclarke
4ce633698f started cleaning scenario tests before running them (flutter/engine#25222) 2021-03-24 22:49:01 -07:00
Michael Goderbauer
5d4faf7368 Sync analyzer_options.yaml (flutter/engine#25129) 2021-03-23 17:51:01 -07:00
Wu Zhong
0fc1ff7bc1 [iOS] Fixes platform view clipped when FlutterView has non-zero offset (flutter/engine#24893) 2021-03-23 10:01:01 -07:00
Kaushik Iska
40c0b51d5e [macos] [metal] Fix use after free in FlutterExternalTextureMetal (flutter/engine#24995)
* [macos] [metal] Fix use after free in FlutterExternalTextureMetal

This also adds a test for the said failure

Fixes: https://github.com/flutter/flutter/issues/78056

* fix review comments
2021-03-16 13:55:28 -07:00
Jenn Magder
f229eff91d Set automatic simulator rotation in scenario test (flutter/engine#24985) 2021-03-15 15:50:39 -07:00
Jason Simmons
8c6f4a36de Signal an error if an Isolate.spawnUri call uses an unsupported URI (flutter/engine#24583) 2021-03-10 16:45:02 -08:00
Ren You
4885af8ae3 Revert "Fix memory leak and bug in the RunsOnCreationTaskRunner check (#24690)" (flutter/engine#24874)
This reverts commit e0a475111216cf4775e08441100c0b6a24fd8b84.
2021-03-09 06:29:42 -08:00
Chris Bracken
13cf185e1c Correct setup-related typos (flutter/engine#24846)
Corrects uses of setup as a verb to 'set up', leaves noun/noun-phrase
forms of setup as 'setup'. Also settles on 'teardown' as opposed to
tear-down for consistency across the codebase.

A few other minor comment/wording corrections.
2021-03-08 17:31:10 -08:00
chunhtai
92d11213ff Adds set text action for voice access (flutter/engine#24734) 2021-03-04 17:44:01 -08:00
Emmanuel Garcia
e0a4751112 Fix memory leak and bug in the RunsOnCreationTaskRunner check (flutter/engine#24690) 2021-03-02 12:39:02 -08:00
LongCatIsLooong
deec3a0d07 Reland "TextStyle level leadingDistribution (#24025)" reverted in #24665 (flutter/engine#24668) 2021-03-01 14:55:03 -08:00
LongCatIsLooong
b82a309954 Revert "TextStyle level leadingDistribution (#24025)" (flutter/engine#24665) 2021-02-26 12:41:01 -08:00
LongCatIsLooong
e10becadf3 TextStyle level leadingDistribution (flutter/engine#24025) 2021-02-25 11:46:02 -08:00
Jason Simmons
b27a922c38 Propagate image decode errors to the future returned by Codec.getNextFrame (flutter/engine#24336) 2021-02-11 14:51:03 -08:00
Yuqian Li
f8860ab806 Upgrade metrics_center (flutter/engine#24185)
So we'll no longer write into the legacy datastore.
2021-02-03 15:52:16 -08:00
Michael Reed
7ef5d67e1b Use sampling instead of (deprecated) filter-quality (flutter/engine#24101) 2021-02-01 00:16:02 -08:00
Yuqian Li
478675129c Upgrade metrics_center to write into GCS buckets (flutter/engine#24022) 2021-01-29 11:09:51 -08:00
Tong Mu
ee1cc9f5ab Hardware keyboard: Web, embedder, and dart:ui (flutter/engine#23466) 2021-01-28 17:19:02 -08:00
xster
888728a804 Load FlutterLoader when creating FlutterEngineGroup (flutter/engine#23980) 2021-01-27 13:30:23 -08:00
Ian Hickson
b26007da3e Continue filling in the list of FontFeatures (flutter/engine#23730) 2021-01-27 02:49:02 -08:00
Dan Field
e778949043 Reland path vol tracker (flutter/engine#23840)
This time making sure to deref the native object on GC.
2021-01-21 16:03:43 -08:00
Dan Field
cb57183325 revert path volatility tracker (flutter/engine#23822) 2021-01-21 08:34:02 -08:00
Yuqian Li
6d57116ac3 Migrate to use the published metrics_center (flutter/engine#23767)
This change shouldn't affect anything except for the "Linux benchmarks" LUCI post-submit bot.

We'll closely monitor the LUCI bot to see if this works as intended. If so, we'll continue the migration in Cocoon (https://github.com/flutter/cocoon/pull/1062) to cut the dependency on the old Cocoon datastore and Tong's desktop.

Related issue: https://github.com/flutter/flutter/issues/73872
2021-01-20 09:36:33 -08:00
Tong Mu
640ad94161 ci: Print output in case of compile error (flutter/engine#23522)
* Print compile error

* Better comment

* Update run_tests.py
2021-01-19 23:04:53 -08:00
xster
8b90c7869e FlutterEngineGroup for Android (flutter/engine#23675) 2021-01-19 12:29:02 -08:00
Kaushik Iska
8a4b31934c [metal] Disable image comparison for gradient_metal test (flutter/engine#23540)
See:  https://github.com/flutter/flutter/issues/73590
2021-01-08 17:48:10 -08:00
Michael Reed
9de62b433a Update virtual to take sampling (flutter/engine#23476) 2021-01-07 15:49:03 -08:00