Commit Graph

20125 Commits

Author SHA1 Message Date
Jason Simmons
7fd4a58766 Revert the latest rolls of the Fuchsia SDK (flutter/engine#30254) 2021-12-09 14:46:11 -08:00
Chris Bracken
5992275cdb Win32: Handle OnAccessibilityEvent (flutter/engine#30176)
Implements OnAccessibilityEvent, which translates events from the AXTree
into Windows MSAA event notifications.

This also eliminates the UIA root object lookup in response to
WM_GETOBJECT, since our initial implementation, like Chromium's default
implementation, is based on MSAA.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-09 14:38:24 -08:00
skia-flutter-autoroll
57ce600fd0 Roll Dart SDK from 2ace65b1b408 to 2091ff49c513 (8 revisions) (flutter/engine#30251) 2021-12-09 13:44:07 -08:00
Amanda
6819f18463 [fuchsia] Use network-legacy-deprecated pkg in embedder test (flutter/engine#30244) 2021-12-09 13:34:05 -08:00
skia-flutter-autoroll
8e78c0c606 Roll Fuchsia Mac SDK from EcjcLVqar... to 9asn8qJFp... (flutter/engine#30249) 2021-12-09 13:09:04 -08:00
Greg Spencer
3911c3d5d8 Accessibility number formatting improvements for Windows (flutter/engine#29773)
This adds some accessibility improvements for reading out numbers. Currently this code is only used on Windows.

Fixes flutter#78460
2021-12-09 13:04:00 -08:00
skia-flutter-autoroll
42e1552621 Roll Skia from c95c53ed0fcf to 44c81d149273 (2 revisions) (flutter/engine#30248) 2021-12-09 12:29:06 -08:00
skia-flutter-autoroll
30b5246022 Roll Skia from ca916f705fc5 to c95c53ed0fcf (2 revisions) (flutter/engine#30245) 2021-12-09 11:09:05 -08:00
Rulong Chen(陈汝龙)
915625716a [android] Fix unexpected behavior in |detachFromFlutterEngine|. (flutter/engine#30202) 2021-12-09 10:44:04 -08:00
skia-flutter-autoroll
23ae2eb08e Roll Fuchsia Linux SDK from 3rLypXNTd... to dNYehjXUM... (flutter/engine#30241) 2021-12-09 09:59:04 -08:00
skia-flutter-autoroll
c87595ca98 Roll Skia from 5d1d92c505c0 to ca916f705fc5 (2 revisions) (flutter/engine#30243) 2021-12-09 09:49:05 -08:00
Michael Thomsen
d3998e7a83 Roll the platform package (flutter/engine#30236) 2021-12-09 08:00:38 -08:00
skia-flutter-autoroll
1c77fd60aa Roll Skia from b4d01cbe41b1 to 5d1d92c505c0 (1 revision) (flutter/engine#30238) 2021-12-09 06:29:06 -08:00
Gary Qian
f1b058072c Merge NDK and licenses into Android dependencies script (flutter/engine#30230) 2021-12-09 01:54:04 -08:00
skia-flutter-autoroll
50b8eacafe Roll Skia from 3bcc80e9c387 to b4d01cbe41b1 (2 revisions) (flutter/engine#30233) 2021-12-08 23:19:06 -08:00
skia-flutter-autoroll
4a2fda76dc Roll Skia from d2eb1d90b3b9 to 3bcc80e9c387 (1 revision) (flutter/engine#30232) 2021-12-08 21:59:05 -08:00
eggfly
d459933b42 [Android] Fix mEditable NullPointerException in TextInputPlugin (flutter/engine#30145) 2021-12-08 20:19:05 -08:00
skia-flutter-autoroll
f77616202d Roll Skia from 4898ac10f0ac to d2eb1d90b3b9 (1 revision) (flutter/engine#30229) 2021-12-08 18:14:06 -08:00
skia-flutter-autoroll
9044b7b1c2 Roll Fuchsia Linux SDK from s03VQc7lX... to 3rLypXNTd... (flutter/engine#30228) 2021-12-08 17:49:05 -08:00
skia-flutter-autoroll
26d3a4e685 Roll Skia from 22960eb7b2a6 to 4898ac10f0ac (4 revisions) (flutter/engine#30225) 2021-12-08 16:54:05 -08:00
skia-flutter-autoroll
6c9268fa05 Roll Fuchsia Mac SDK from QeaP059wu... to EcjcLVqar... (flutter/engine#30220) 2021-12-08 16:34:05 -08:00
skia-flutter-autoroll
c0d93da7d5 Roll Skia from c307c5566d11 to 22960eb7b2a6 (1 revision) (flutter/engine#30218) 2021-12-08 14:14:01 -08:00
Jason Simmons
50425c02d3 Roll Googletest (flutter/engine#30217) 2021-12-08 13:56:15 -08:00
skia-flutter-autoroll
d98820943e Roll Skia from 3856a5854e20 to c307c5566d11 (2 revisions) (flutter/engine#30216) 2021-12-08 12:54:05 -08:00
skia-flutter-autoroll
83dc551688 Roll Skia from 21b8ccb7393c to 3856a5854e20 (6 revisions) (flutter/engine#30214) 2021-12-08 11:34:02 -08:00
William Hesse
2b3ec7a6a1 Allow overriding download of prebuilt Dart SDK in DEPS (flutter/engine#30183)
When building Flutter engine using the --no-prebuilt-dart-sdk flag, we
need to be able to check out a version of Dart SDK source without a
built version available from the Dart SDK builders.

The 'download_dart_sdk' variable in DEPS is true by default, but
can be overridden when creating a gclient solution or running
gclient sync.
2021-12-08 19:47:16 +01:00
Chris Bracken
0d41ebed6a Implement GetUniqueId on Windows node delegates (flutter/engine#30204)
`AXPlatformNodeDelegate` provides a default implementation of
`GetUniqueId()` which returns the same value (1) for all nodes.
`AXPlatformNodeWin` relies on a unique ID being returned from this
method in its `GetTargetFromChildID` method.

In the world MSAA accessibility, each `HWND` may have a root
`IAccessible` object associated with it. Events are fired by calling the
`NotifyWinEvent` Win32 call and specifying:

1. The `HWND` (in our case, the one associated with our `WindowWin32`)
2. The target object (`OBJID_CLIENT` for the root `IAccessible`
   associated with that `HWND`)
3. A child identifier that uniquely identifies the target node in the
   tree

This child identifier can be one of:

* `CHILDID_SELF` for events targeting the root `IAccessible`.
* A positive integer that specifies the index of a direct child of the
  root.
* A negative integer which, when negated, specifies the unique ID of a
  child within the tree.

On receipt of an accessibility event, `AXPlatformWin` (our `IAccessible`
implementation) looks up the target `IAccessible` from the child ID
specified on the event using its `GetTargetFromChildID` method and
delegates the appropriate method call to that object.

So, why is this implemented on our `AXPlatformNodeDelegate` subclass and
not on `AXPlatformNodeWin` itself? Because the implementation of
`AXPlatformNode::GetUniqueId()` delegates this lookup to the node
delegate.

As background, `AXUniqueId` automatically assigns itself a
globally-unique value in its constructor; it tracks all used values in
an internal static pool.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-08 09:41:46 -08:00
skia-flutter-autoroll
74095b03e2 Roll Dart SDK from 68bd3305228d to 2ace65b1b408 (5 revisions) (flutter/engine#30211) 2021-12-08 09:34:01 -08:00
skia-flutter-autoroll
7720146b12 Roll Skia from 00edeefab7f4 to 21b8ccb7393c (3 revisions) (flutter/engine#30206) 2021-12-08 02:44:02 -08:00
skia-flutter-autoroll
a60c52588e Roll Fuchsia Mac SDK from zMg5gNi2E... to QeaP059wu... (flutter/engine#30203) 2021-12-08 01:59:01 -08:00
skia-flutter-autoroll
f24e5bf2ce Roll Skia from 543b8681c7f2 to 00edeefab7f4 (1 revision) (flutter/engine#30200) 2021-12-07 21:54:01 -08:00
keyonghan
dc16a5ebbb renew cirrus key (flutter/engine#30186) 2021-12-07 20:51:23 -08:00
Chris Yang
22693e2599 [ios platform view] fix overlay zPosition (flutter/engine#29930) 2021-12-07 16:04:01 -08:00
skia-flutter-autoroll
670277d11c Roll Skia from 1c4cf27965bd to 543b8681c7f2 (1 revision) (flutter/engine#30198) 2021-12-07 15:54:00 -08:00
Chinmay Garde
1cc5084aef Roll buildroot to 430b57c643883e6090b5af09faddd8048efee57c. (flutter/engine#30197) 2021-12-07 14:54:01 -08:00
Chris Bracken
4fd686f454 Document rationale for Dart VM flag prefix match (flutter/engine#30195)
Dart VM flags are passed to Flutter via an fml::CommandLine::Option that
looks something like:

   {"dart-flags, "--max_profile_depth 1,--trace_service"}

We perform a prefix match to handle cases where Dart VM options take
arguments.

Adding the comment since in a recent review I found myself wondering why
we're using a prefix match to begin with. While the original author had
forgotten, the good news is, he wrote a test that covers this exact
case. This comment just removes one level of indirection for future
readers.
2021-12-07 14:36:33 -08:00
skia-flutter-autoroll
5c27f5db99 Roll Skia from 06f3d68627c2 to 1c4cf27965bd (2 revisions) (flutter/engine#30194) 2021-12-07 14:29:01 -08:00
Brandon DeRosier
68fde39542 Add length guard to fix Windows build with VS2019 16.11.7 headers (flutter/engine#30189)
The shell tests are failing on Windows against the latest VS2019 headers due to a new safety assert.
2021-12-07 13:28:39 -08:00
Brandon DeRosier
31e0da7a30 Update Swiftshader to dc0f131930 (flutter/engine#30188)
Buildroot PR: https://github.com/flutter/buildroot/pull/534
Resolves https://github.com/flutter/flutter/issues/94707.
2021-12-07 13:20:39 -08:00
skia-flutter-autoroll
cbb1fce944 Roll Skia from f333f5614a9b to 06f3d68627c2 (24 revisions) (flutter/engine#30192) 2021-12-07 13:04:02 -08:00
skia-flutter-autoroll
7fe64f4895 Roll Fuchsia Linux SDK from WGMjaVH60... to s03VQc7lX... (flutter/engine#30191) 2021-12-07 12:59:01 -08:00
skia-flutter-autoroll
e454bdf715 Roll Fuchsia Mac SDK from EAlr46NQ8... to zMg5gNi2E... (flutter/engine#30190) 2021-12-07 12:54:02 -08:00
Chinmay Garde
35a2ccb79a Add unconditional waits on fml::Semaphore. (flutter/engine#30165) 2021-12-07 12:49:01 -08:00
Jenn Magder
99c86eecb5 Revert "Run iOS scenario apps on iPhone 11 and iOS 14 (#30104)" (flutter/engine#30193)
This reverts commit be166e754a.
2021-12-07 12:42:21 -08:00
Chinmay Garde
03e1d792d8 Update buildroot to db6d037a778930ad9 (ToT). (flutter/engine#30171)
Includes fixes for compiled_action template and GLFW build rule updates.
2021-12-07 12:26:14 -08:00
Chris Bracken
0189aaaca1 Win32: Implement DispatchAccessibilityAction (flutter/engine#30187)
Implements DispatchAccessibilityAction: a pass-through method that
forwards to the engine, which calls through the Embedder API back to the
framework.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-07 11:07:45 -08:00
Chris Bracken
74e90fc817 Don't run curl in verbose mode when --verbose set (flutter/engine#30170)
In download_dart_sdk.py, we previously ran curl with the --verbose flag
when the --verbose flag was passed to the script. This generates vast
quantities of output that is unlikely to be valuable except if we're
attempting to debug a curl download issue. In such a case we could
perhaps pass a separate --verbose-download flag as well.

Issue: https://github.com/flutter/flutter/issues/94492
2021-12-07 11:06:58 -08:00
Chris Bracken
018966313c Add error handler for os.rmtree calls (flutter/engine#30169)
In cases wher rmtree encounters an error, attempt to fix file
permissions and re-run the failing operation.

Issue: https://github.com/flutter/flutter/issues/94492
2021-12-07 11:06:50 -08:00
Jenn Magder
be166e754a Run iOS scenario apps on iPhone 11 and iOS 14 (flutter/engine#30104) 2021-12-07 10:59:01 -08:00
Yegor
e7c4fcc17d [web] consolidate JS interop code (attempt 2) (flutter/engine#30161)
The original https://github.com/flutter/engine/pull/30007 was reverted
because it broke the framework. Turns out the framework still used the
WebExperiments code, which has been cleaned up in https://github.com/flutter/flutter/pull/94739.

This PR must land after https://github.com/flutter/flutter/pull/94739.

This reverts commit ae31d5a5d8.
2021-12-07 09:27:06 -08:00