15557 Commits

Author SHA1 Message Date
skia-flutter-autoroll
39149ec636 Roll Skia from fa183572bfd3 to d3399178196e (17 revisions) (flutter/engine#30047) 2021-12-01 12:44:03 -08:00
Chris Bracken
679e34a3e3 Eliminate hardcoded scale factor in a11y scroll (flutter/engine#30013)
When performing an accessibilty scroll, the default scroll distance is
kSmallScrollIncrement (40 pixels). This value is then multiplied by the
system scale factor, as set in the display settings drop-down in the Windows
system settings.

When we imported the AX tree from Chromium, we hard-coded the system
scale factor to 1.0 due to a fair amount of abstraction of the scale
factor lookup in their code. This fills it back in.

Issue: https://github.com/flutter/flutter/issues/78798
2021-12-01 12:32:32 -08:00
Ryan Macnak
b0eb8bca65 Run Dart VM tasks on the engine's ConcurrentMessageLoop instead the VM's separate thread pool. (flutter/engine#29819)
Bug: https://github.com/dart-lang/sdk/issues/44228
2021-12-01 11:53:27 -08:00
eggfly
6b1d2dcdbc Share the io_manager between parent and spawn engine (flutter/engine#29915) 2021-12-01 10:34:01 -08:00
Harry Terkelsen
ec599ab8d9 Fix sceneElement analysis error (flutter/engine#30038) 2021-12-01 10:31:37 -08:00
Tong Mu
fdc78e4146 [Win32, keyboard] Fix dead key events that don't have the dead key mask (flutter/engine#30004)
This PR fixes flutter/flutter#92654, a rare case where dead key events are not properly handled.
2021-12-01 00:49:44 -08:00
Tong Mu
2626d453ff [macOS] MacOS Keyboard properly handles multi-char characters (flutter/engine#30005)
* Attempt

* Write my own decode

* Doc

* Format

* Fix comment and log

* Update FlutterEmbedderKeyResponder.mm
2021-12-01 00:49:19 -08:00
Harry Terkelsen
83631d17ee Non painting platform views (flutter/engine#30003) 2021-11-30 17:39:20 -08:00
Emmanuel Garcia
f0d3d31b08 Use WindowInfoTracker.Companion.getOrCreate instead of the short version (flutter/engine#30012) 2021-11-30 17:24:01 -08:00
skia-flutter-autoroll
fc8b354366 Roll Skia from a0ad6db14184 to fa183572bfd3 (24 revisions) (flutter/engine#30010) 2021-11-30 16:49:03 -08:00
Filip Filmar
e769683b1d [fuchsia] Fix unset key and present key meaning (flutter/engine#29995) 2021-11-30 15:59:02 -08:00
Greg Spencer
e50f896589 Fix text height behavior macros (flutter/engine#30006) 2021-11-30 15:55:12 -08:00
Yegor
f9cd41081d [web] DomRenderer becomes FlutterViewEmbedder (flutter/engine#29994)
* [web] move useful utilities out DomRenderer
* [web] rename DomRenderer to FlutterViewEmbedder
2021-11-30 14:55:44 -08:00
gaaclarke
5b1174940a Removed the email warning about notifications entitlement (flutter/engine#29996) 2021-11-30 14:51:08 -08:00
Chase Latta
1324bac660 Stamp fuchsia packages with api level (flutter/engine#29998)
BUG: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=87813

As part of the fuchsia platform versioning we are stamping all of
our packages with a target api level which can be read by our assembly
tools. We would like to be able to update the target api level with a
roller so I added a file which can is read by the gn tool. I am open
to suggestions about how to change this is we do not want to add
file read calls to our gn script.
2021-11-30 11:40:44 -08:00
godofredoc
3ddef3e9ad Update the token used by mirroring workflows. (flutter/engine#30000) 2021-11-30 10:59:01 -08:00
eggfly
b841b405e2 Add a comment in Image.toByteData to limit more encoders (flutter/engine#29962) 2021-11-30 00:04:09 -08:00
eggfly
2f9a4fba3f Remove remaining usages of getUnsafe() (flutter/engine#29941) 2021-11-29 21:24:01 -08:00
Filip Filmar
e2dbdf16bd [fuchsia] Fixes the HID usage handling (flutter/engine#29815)
The old code stripped the USB hid usage page value from the Fuchsia
key.  It shouldn't be doing that.  This change fixes the issue,
and adds tests that rely on the key constants to verify that the
change indeed does what it is supposed to do.

In the process of fixing this, filed a few known issues and marked them
as TODO. These issues should be handled in separate PRs.

Fixes: https://github.com/flutter/flutter/issues/93890
2021-11-29 15:41:17 -08:00
Chris Bracken
22c822564d Win32: add test of native a11y tree nodes (flutter/engine#29993)
Adds AddSemanticsNodeUpdateWithChildren, which tests that the native
tree of IAccessible COM objects is an accurate representation of the
platform-agnostic accessibility tree.

Issue: https://github.com/flutter/flutter/issues/77838
2021-11-29 15:34:05 -08:00
Callum Moffat
8877397345 Remove iPadOS mouse pointer if no longer connected (flutter/engine#28319) 2021-11-29 14:47:01 -08:00
Chris Bracken
f8dfe2fab4 Win32 a11y bridge and platform node delegates (flutter/engine#29829)
* Win32 a11y bridge and platform node delegates

This is the third in a series of patches adding accessibility support
for the Windows embedder. This patch wires in the Accessibility bridge,
and lands the core structure of the Windows FlutterPlatformNodeDelegate
and AccessibilityBridgeDelegate classes, including:

* Instantiating the AccessibilityBridge when the semantics tree is
  enabled.
* Creating FlutterPlatformNodeDelegate wrappers for semantics tree
  nodes.
* Handling custom action updates.
* Building and updating the accessibility tree on semantics updates.
* Returning the native IAccessible objects when queried.

Breaking this out so that the follow-up patches can be reviewed and
landed in smaller, independent chunks.

Issue: https://github.com/flutter/flutter/issues/77838
Issue: https://github.com/flutter/flutter/issues/93928
2021-11-29 13:23:42 -08:00
Mouad Debbar
b44dfd45b3 [web] Use fuzzy matching in Gold (flutter/engine#29847) 2021-11-29 16:07:33 -05:00
skia-flutter-autoroll
cde08a7f21 Roll Skia from 288ddb98b751 to a0ad6db14184 (1 revision) (flutter/engine#29989) 2021-11-29 11:27:02 -08:00
Chris Bracken
5b6219cb49 [Win32] Use mock macro for UpdateSemanticsEnabled (flutter/engine#29976)
Previously, we'd mocked out UpdateSemanticsEnabled using a simple
lambda. Due to the embedder API's C ABI, we were unable to make use of
lambda captures. This patch instead uses MOCK_ENGINE_PROC so we can make
the test variable a local and rely on lambda capture.

Issue: https://github.com/flutter/flutter/issues/77838
2021-11-29 10:39:54 -08:00
skia-flutter-autoroll
a151e55d29 Roll Skia from e2a038f956ff to 288ddb98b751 (3 revisions) (flutter/engine#29987) 2021-11-29 10:02:03 -08:00
eggfly
b87bbe9bc9 Fix typo and clean some includes (flutter/engine#29940) 2021-11-29 09:34:38 -08:00
Yegor
d9e349481c [web] clean-up dom_renderer.dart (flutter/engine#29934) 2021-11-29 09:26:53 -08:00
skia-flutter-autoroll
148dac4f98 Roll Skia from bf6149669fa0 to e2a038f956ff (1 revision) (flutter/engine#29985) 2021-11-29 08:37:05 -08:00
skia-flutter-autoroll
b72b51e102 Roll Fuchsia Linux SDK from tZrSWtryA... to Fi9OzLVMX... (flutter/engine#29983) 2021-11-29 06:17:01 -08:00
skia-flutter-autoroll
075b359e92 Roll Skia from f46611ebdef9 to bf6149669fa0 (1 revision) (flutter/engine#29982) 2021-11-29 06:12:06 -08:00
skia-flutter-autoroll
06c576d291 Roll Skia from d542729c23fb to f46611ebdef9 (1 revision) (flutter/engine#29981) 2021-11-29 03:57:06 -08:00
skia-flutter-autoroll
c14191f039 Roll Skia from 072677d6276c to d542729c23fb (3 revisions) (flutter/engine#29978) 2021-11-29 00:47:01 -08:00
skia-flutter-autoroll
0559dfc2b6 Roll Skia from 93b47a527a2e to 072677d6276c (1 revision) (flutter/engine#29977) 2021-11-28 21:57:01 -08:00
Robert Ancell
0e891a3c1d Update functions to be consistent with other code. (flutter/engine#29176)
Helper functions first, then callbacks/implementations, then public functions.
Add function comments.
Use consistent function naming.
Remove unnecessary protoypes.
Make a function static that wasn't.
2021-11-29 15:40:08 +13:00
skia-flutter-autoroll
db95e346d5 Roll Fuchsia Linux SDK from SOb9xSggS... to tZrSWtryA... (flutter/engine#29974) 2021-11-28 13:22:01 -08:00
skia-flutter-autoroll
acd7a9c6d3 Roll Skia from adca722569b1 to 93b47a527a2e (1 revision) (flutter/engine#29972) 2021-11-28 05:02:01 -08:00
skia-flutter-autoroll
7ede054818 Roll Fuchsia Linux SDK from eOELh_zdk... to SOb9xSggS... (flutter/engine#29970) 2021-11-28 00:02:01 -08:00
skia-flutter-autoroll
82a87ec553 Roll Skia from db3c48b16b2d to adca722569b1 (1 revision) (flutter/engine#29969) 2021-11-27 23:22:02 -08:00
skia-flutter-autoroll
8d70825f74 Roll Fuchsia Linux SDK from KJElo7NCv... to eOELh_zdk... (flutter/engine#29961) 2021-11-27 10:43:01 -08:00
skia-flutter-autoroll
531a4ad694 Roll Fuchsia Linux SDK from hoo-CDDP6... to KJElo7NCv... (flutter/engine#29959) 2021-11-26 21:23:00 -08:00
skia-flutter-autoroll
f14c0f4b99 Roll Fuchsia Linux SDK from ZfCMJBPs8... to hoo-CDDP6... (flutter/engine#29955) 2021-11-26 08:03:04 -08:00
skia-flutter-autoroll
fc15ff6154 Roll Skia from dfb80747e328 to db3c48b16b2d (4 revisions) (flutter/engine#29949) 2021-11-25 23:13:02 -08:00
skia-flutter-autoroll
c449d5e7ac Roll Skia from 8803d93aeb6f to dfb80747e328 (1 revision) (flutter/engine#29946) 2021-11-25 17:13:02 -08:00
skia-flutter-autoroll
b67bff43c7 Roll Fuchsia Linux SDK from bbim-9rQl... to ZfCMJBPs8... (flutter/engine#29944) 2021-11-25 16:08:01 -08:00
skia-flutter-autoroll
46b0694b3d Roll Fuchsia Linux SDK from a0KPnn-pS... to bbim-9rQl... (flutter/engine#29937) 2021-11-25 02:48:01 -08:00
skia-flutter-autoroll
42249fa865 Roll Skia from 55106dc0eea7 to 8803d93aeb6f (4 revisions) (flutter/engine#29936) 2021-11-24 23:13:01 -08:00
Yegor
608953bf4f [web] remove unused --unit-tests-only flag (flutter/engine#29906) 2021-11-24 18:08:40 -08:00
skia-flutter-autoroll
3a02032e7d Roll Skia from 2014d006f55c to 55106dc0eea7 (1 revision) (flutter/engine#29932) 2021-11-24 17:23:01 -08:00
skia-flutter-autoroll
37dc5d7333 Roll Skia from 17667b00b942 to 2014d006f55c (1 revision) (flutter/engine#29931) 2021-11-24 16:03:01 -08:00