4579 Commits

Author SHA1 Message Date
gaaclarke
e41c775200 Removed instances of unnecessary values (flutter/engine#36221) 2022-09-26 21:28:04 +00:00
Alexander Markov
1dac15b35e Use vm_common set of core libraries in libraries.yaml files (flutter/engine#36414) 2022-09-26 13:04:13 -07:00
Dan Field
63e8e223aa [Impeller] toImageSync for Impeller (flutter/engine#36365) 2022-09-23 20:31:03 +00:00
Nayuta403
4cf8312021 fix typo (flutter/engine#36271) 2022-09-22 22:11:51 +00:00
Matej Knopp
f56c06b371 [macOS] Do not block main thread during resizing if there is no content (flutter/engine#35409)
* [macOS] Do not block main thread during resizing if there is no content

Fixes: https://github.com/flutter/flutter/issues/92673
2022-09-22 22:45:43 +02:00
Joel Winarske
93a55ddeeb Enable cross compile of Linux GTK embedder (flutter/engine#36056) 2022-09-22 13:03:47 -07:00
Ben Bergkamp
4fcf481fb3 [fuchsia] Write trace profiles for v2 components (flutter/engine#36186) 2022-09-22 14:46:38 -05:00
Ben Bergkamp
fcf779e801 [fuchsia] enable dart null safety in fuchsia.dart files (flutter/engine#36303) 2022-09-22 14:41:00 -05:00
Alexander Biggs
6751734343 [fuchsia] Add run_unit_tests.sh script. (flutter/engine#36308)
This is a convenience script for running unit tests locally.

To make this script work, I had to move several test exclusions
from test_suites.yaml (which controls running tests on CQ)
to the tests themselves. I think this is for the best because
it makes running the tests locally with behavior that matches
CQ easier.

Also added fuchsia_tests to build_and_copy_to_fuchsia.sh
so it builds the unit tests .far packages by default.

Tested: Ran `run_unit_tests.sh`, all tests pass. Ran
`build_and_copy_to_fuchsia.sh`, it still builds.
2022-09-21 10:40:20 -07:00
Alexander Biggs
aff2fac56a Revert "Revert "fxbug.dev/94000: Set Opacity and Scale Flatland Values for Flatland Embedder (#36109)" (#36305)" (flutter/engine#36323)
This reverts commit 938b7349cc70fd80b8fe6df053acfa53cfc91ae3.

The tryjob failure is not related to this PR. https://github.com/flutter/flutter/issues/112014
2022-09-21 10:40:06 -07:00
Alexander Biggs
bef70aabc1 [fuchsia] Disable flaking shell test on Fuchsia. (flutter/engine#36320) 2022-09-21 17:28:50 +00:00
Shivesh Ganju
0976e7ab55 [fuchsia][scenic] Call GetViewRef once per view in flatland platform (flutter/engine#36304)
view.

Currently flatland platform view recursively calls GetViewRef to watch
for ViewRef changes. Since re-linking of views will not be supported by
flatland, GetViewRef should be called only once per view.

Test: ffx test run "fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cm"

Bug: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=109948
2022-09-21 11:55:24 -04:00
gaaclarke
6b2a14d348 Isolate platform channels for desktop (flutter/engine#35893) 2022-09-20 23:56:04 +00:00
gaaclarke
938b7349cc Revert "fxbug.dev/94000: Set Opacity and Scale Flatland Values for Flatland Embedder (#36109)" (flutter/engine#36305)
This reverts commit b4602ed641e3c8b2651b2b16f0d340a0a6835d35.
2022-09-20 15:55:16 -07:00
cfontas
b4602ed641 fxbug.dev/94000: Set Opacity and Scale Flatland Values for Flatland Embedder (flutter/engine#36109)
This PR makes a few changes to flatland_external_view_embedder as part of fxbug.dev/94000 to enable flatland on smart display.

- Add Opacity

- Add Scale

= Update flatland_external_view_embedder_unittests to verify changes.

Bug: https://fxbug.dev/94000
2022-09-20 15:22:16 -07:00
Shivesh Ganju
f73cf637fd [fuchsia][scenic] Add support for viewConnected and viewDisconnected (flutter/engine#36298)
signals in flatland.

This PR adds support for sending 'View.viewConnected' platform message
when a view gets created and 'View.viewDisconnected' signal when a view
gets destroyed.

Test: ffx test run "fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cm"

Bug: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=93452
2022-09-20 17:53:27 -04:00
yaakovschectman
74ec47aa10 Modify assert keyboard condition on Windows to account for violation of invariant (flutter/engine#36129)
* Skip assert on critical keys

* Comment motivation

* Update shell/platform/windows/keyboard_key_embedder_handler.cc

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

* Unit test keyboard change

* Format

* Ditto

* Update shell/platform/windows/keyboard_unittests.cc

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

* Update shell/platform/windows/keyboard_key_embedder_handler.cc

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Discard repeat keyup messages

* Initial

* Post synchronization

* Explain assertion

* Reassess pressing records

* Formatting

* Update shell/platform/windows/keyboard_key_embedder_handler.cc

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* One space

* Update shell/platform/windows/keyboard_key_embedder_handler.cc

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>

* Comment spacing

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2022-09-20 17:00:55 -04:00
Jia Hao
2e404ea083 Fix inverted setSystemUIChangeCallback (flutter/engine#36248) 2022-09-20 15:37:11 +00:00
Chris Yang
885e9a081a Clear platform view caches at begin frame in unittest (flutter/engine#36214) 2022-09-19 18:33:09 +00:00
Loïc Sharma
422d88f217 [A11y] Fix ReorderableListView crash on desktop (flutter/engine#36160) 2022-09-17 01:27:47 +00:00
Jia Hao
c858509095 Mention the need to rebuild before running tests (flutter/engine#36191) 2022-09-16 23:59:05 +00:00
Jason Simmons
a4543ccec9 Use a linker script to export only the required symbols in the Linux embedder library (flutter/engine#36187) 2022-09-16 22:09:09 +00:00
Jason Simmons
89369a1402 Fix flakiness in ShellTest.PushBackdropFilterToVisitedPlatformViews (flutter/engine#36212) 2022-09-16 19:39:54 +00:00
Callum Moffat
0a5737e441 Properly throw Dart error from PluginUtilities.getCallbackHandle FFI (flutter/engine#36032) 2022-09-16 17:11:08 +00:00
Jia Hao
abbff8407e Reland "Avoid vsync scheduling delay" (flutter/engine#36197) 2022-09-16 15:41:39 +00:00
yaakovschectman
ef3bc43183 Communicate switch status to semantics on Windows (flutter/engine#36177)
* Switch semantics

* Test native role
2022-09-15 18:02:12 -04:00
Ben Bergkamp
c3db8d1dc8 Enable dart null-safety (flutter/engine#36154) 2022-09-15 14:32:59 -05:00
Emircan Uysaler
b0c1e2aca2 [fuchsia] Use the newly added viewinset field (flutter/engine#35974) 2022-09-14 16:45:59 -04:00
Camille Simon
5439d57c7b Hook iOS FlutterSpellCheckPlugin to Framework (flutter/engine#35742) 2022-09-14 18:55:09 +00:00
Bruno Leroux
2342279c09 [Android] Fix a crash related to zeroed scanCode (flutter/engine#35924) 2022-09-14 07:12:04 +00:00
Alexander Biggs
a9dd7de3d4 [fuchsia] Remove Dart CF v1 runner. (flutter/engine#36029) 2022-09-13 21:58:44 +00:00
Jia Hao
c626fcbe65 Revert "Avoid vsync scheduling delay" (flutter/engine#36091) 2022-09-13 11:10:36 +00:00
gaaclarke
77d178e919 Started handling messages from background isolates for Android (flutter/engine#35804) 2022-09-13 01:43:22 +00:00
stuartmorgan
3eb6e7f4c3 Allow Hybrid Composition fallback for Android platform views (flutter/engine#35233) 2022-09-12 16:23:49 +00:00
Gary Qian
218fb443b9 Reland "Support basic back navigation in Android 13/API 33 #35678" (flutter/engine#36051) 2022-09-12 15:52:05 +00:00
Niklas Schulze
9501668cf3 Windows: Cleanup: Eliminate ExternalTexturePixelBufferState (flutter/engine#36074) 2022-09-10 21:08:22 +00:00
Jason Simmons
6e87e08277 Populate dart_library_sources_kernel in the embedder library in JIT mode (flutter/engine#36059) 2022-09-10 00:20:02 +00:00
LongCatIsLooong
d50e7db44b [macOS] Fix text input plugin editable transform (flutter/engine#35979) 2022-09-09 19:33:56 +00:00
Niklas Schulze
c579e02c31 Windows: Texture Registrar: Destroy textures on raster thread (flutter/engine#33688) 2022-09-09 16:22:40 +02:00
stuartmorgan
d49e749f10 Remove context assertion from Android platform views using Virtual Display (flutter/engine#35997) 2022-09-09 11:40:30 +00:00
Niklas Schulze
b83034aa90 Windows: Client wrapper: Support querying the graphics adapter chosen by ANGLE (flutter/engine#29294) 2022-09-09 10:38:20 +02:00
Nayuta403
603e316036 Surface will be created again after the front and back switches (flutter/engine#35767) 2022-09-09 07:28:11 +00:00
Dan Field
08312a825e Lint and fix bugprone-use-after-move violations (flutter/engine#35978) 2022-09-09 02:41:03 +00:00
Casey Hillers
ca247a24c8 Revert "Support basic back navigation in Android 13/API 33" (flutter/engine#36001) 2022-09-09 01:11:55 +00:00
gaaclarke
42c469183e Started handling messages from background isolates for iOS (flutter/engine#35174) 2022-09-08 00:03:27 +00:00
Dan Field
4f14c3d127 Use the frame size to cull (flutter/engine#35973) 2022-09-07 23:18:10 +00:00
luckysmg
f1878b0f90 [iOS] Avoid jitter and laggy when user is dragging on iOS Promotion devices (flutter/engine#35592) 2022-09-07 22:36:21 +00:00
Loïc Sharma
0c2a1361e6 Remove noisy log from startup (flutter/engine#35954) 2022-09-07 21:18:22 +00:00
moko256
fc23f4971c [Windows] Fix system theme integration. (flutter/engine#35902)
The #35019 didn't merge SettingsPluginWin32's constructor and destructor. This PR adds them and fix SettingsPlugin to re-enable it to watch the theme changes.

This PR is part of flutter/flutter#110700.

No changes in the flutter/tests repo.
2022-09-07 12:27:12 -07:00
Alexander Biggs
aece90bdaa [fuchsia] Port text-input-test, part 1. (flutter/engine#35957)
Part 1 sets up the test to run but the UI has not been
ported yet so the test hangs.

This is mostly a straight port from
https://cs.opensource.google/fuchsia/fuchsia/+/main:src/ui/tests/integration_input_tests/text-input/

There were some nuances:

- Some FIDL APIs are not available in the SDK and have to be
  referenced by name instead (vulkan.Loader, scheduler.ProfileProvider).
- Some subtle differences between the GN rules in fuchsia.git
  vs. engine (e.g. fuchsia_component doesn't append .cm by default to
  CFv2 output).
- Moved shared logic from embedder test into a utils/ folder to
  facilitate writing new tests in the future.

Part 2 will port over the UI to dart:ui.
2022-09-07 11:57:12 -07:00