19498 Commits

Author SHA1 Message Date
Dan Field
d5c36f87f5 Revert "Android Background Platform Channels (#29147)" (flutter/engine#29344)
This reverts commit c40f7670e7aff3a42be2cbac0df067009278d639.
2021-10-26 14:52:13 -07:00
skia-flutter-autoroll
af0a43db41 Roll Dart SDK from 216e673af260 to 7b67e7a70d36 (2 revisions) (flutter/engine#29342) 2021-10-26 13:23:01 -07:00
Ian Hickson
7fc8ee9773 ensure web_ui and ui have the same toString methods for StringAttributes (flutter/engine#29323) 2021-10-26 13:08:01 -07:00
skia-flutter-autoroll
9cf67ac182 Roll Skia from 215b48dc23e6 to 97284f255bcc (3 revisions) (flutter/engine#29341) 2021-10-26 13:03:02 -07:00
skia-flutter-autoroll
d8db940e25 Roll Skia from f6fb3db1dc9e to 215b48dc23e6 (3 revisions) (flutter/engine#29338) 2021-10-26 11:38:02 -07:00
Jenn Magder
ca2ad8ef8b Make mirror GitHub workflow not run on forks (flutter/engine#29336) 2021-10-26 11:08:03 -07:00
godofredoc
ae68d0409b Update documentation links to point to main branch. (flutter/engine#29326) 2021-10-26 10:48:02 -07:00
skia-flutter-autoroll
d6d8db43e6 Roll Skia from 643bd0fc8fd7 to f6fb3db1dc9e (7 revisions) (flutter/engine#29335) 2021-10-26 10:13:01 -07:00
skia-flutter-autoroll
21f1c5353b Roll Dart SDK from 56c3e28096a6 to 216e673af260 (1 revision) (flutter/engine#29334) 2021-10-26 08:53:01 -07:00
skia-flutter-autoroll
e527fb7bad Roll Skia from 0d3f184582ee to 643bd0fc8fd7 (3 revisions) (flutter/engine#29332) 2021-10-26 08:48:02 -07:00
Tong Mu
056234966b [macOS] Clearing overridden channel should not affect the latest channel (flutter/engine#29242)
If a class contains a channel, recreating an instance of this class will lead to the following scenario:

- The new channel is created with the same name and assigned with a callback (which overrides the earlier channel's)
- The earlier class is deallocated, deallocating the earlier channel

This PR fixes the problem where the second channel's callback will be cleared by the first channel's deallocation.
2021-10-26 01:45:50 -07:00
skia-flutter-autoroll
641bca6a4c Roll Dart SDK from 2aad12948249 to 56c3e28096a6 (2 revisions) (flutter/engine#29328) 2021-10-26 00:28:02 -07:00
skia-flutter-autoroll
dad51b07ff Roll Skia from a21aacf7c76d to 0d3f184582ee (1 revision) (flutter/engine#29327) 2021-10-25 23:08:01 -07:00
Alexander Biggs
028874e7b9 [fuchsia] fidl::InterfaceHandle<T> -> THandle. (flutter/engine#29305)
This is harmless, as THandle is an alias for
fidl::InterfaceHandle<T>: https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlgen_hlcpp/codegen/natural_types_protocol.tmpl;l=12;drc=875a5a40770ff14f716427f9bf1002a7378096bf

```sh
$ sed -i -E "s/fidl::InterfaceHandle<(.+)>/\1Handle/" shell/platform/fuchsia/flutter/*.h
$ sed -i -E "s/fidl::InterfaceHandle<(.+)>/\1Handle/" shell/platform/fuchsia/flutter/*.cc
```

Tested: Built the JIT runner.
2021-10-25 23:26:38 -04:00
skia-flutter-autoroll
782c2c7d4c Roll Skia from e167dda4244f to a21aacf7c76d (3 revisions) (flutter/engine#29322) 2021-10-25 20:03:01 -07:00
skia-flutter-autoroll
56eb40c372 Roll Dart SDK from 6e43eba8b51e to 2aad12948249 (1 revision) (flutter/engine#29319) 2021-10-25 16:43:01 -07:00
skia-flutter-autoroll
ab4cfeee0b Roll Skia from 2e20e7674cc0 to e167dda4244f (3 revisions) (flutter/engine#29315) 2021-10-25 14:38:01 -07:00
skia-flutter-autoroll
f61574a0aa Roll Skia from 52aee23ded91 to 2e20e7674cc0 (1 revision) (flutter/engine#29314) 2021-10-25 13:13:01 -07:00
Jim Graham
7d144cb994 add flow events to the timeline to track the lifecycle of cache images (flutter/engine#29298) 2021-10-25 13:03:01 -07:00
skia-flutter-autoroll
db192c6afe Roll Dart SDK from 56fa1c638f3d to 6e43eba8b51e (1 revision) (flutter/engine#29312) 2021-10-25 12:13:01 -07:00
skia-flutter-autoroll
6a1fdc354a Roll Skia from c00c888db123 to 52aee23ded91 (1 revision) (flutter/engine#29311) 2021-10-25 11:48:01 -07:00
Wu Zhong
c50d640a58 [iOS] Using application delegate window as fallback for textinput plugin (flutter/engine#29108) 2021-10-25 11:23:01 -07:00
skia-flutter-autoroll
61633f8207 Roll Skia from 2b0935b71a47 to c00c888db123 (1 revision) (flutter/engine#29310) 2021-10-25 09:33:01 -07:00
skia-flutter-autoroll
d6607d3088 Roll Dart SDK from 1dce95867df2 to 56fa1c638f3d (1 revision) (flutter/engine#29309) 2021-10-25 07:43:01 -07:00
skia-flutter-autoroll
eace1e820b Roll Skia from d8e8681c98c6 to 2b0935b71a47 (2 revisions) (flutter/engine#29308) 2021-10-25 00:38:02 -07:00
Jia Hao
f9c5d19215 Fix undefined symbol (flutter/engine#29307) 2021-10-25 00:30:21 -07:00
skia-flutter-autoroll
c706f12c98 Roll Skia from 8dd1f50a65fd to d8e8681c98c6 (1 revision) (flutter/engine#29306) 2021-10-24 23:13:01 -07:00
skia-flutter-autoroll
977212e476 Roll Skia from 05ac1b86adbb to 8dd1f50a65fd (26 revisions) (flutter/engine#29304) 2021-10-24 13:03:01 -07:00
skia-flutter-autoroll
0b6f674849 Roll Dart SDK from ba3ccf09afa3 to 1dce95867df2 (1 revision) (flutter/engine#29302) 2021-10-23 19:13:01 -07:00
skia-flutter-autoroll
5ca5eb37fb Roll Dart SDK from 70c57ad7db0b to ba3ccf09afa3 (1 revision) (flutter/engine#29301) 2021-10-23 15:03:32 -07:00
skia-flutter-autoroll
86ca79f691 Roll Dart SDK from 64f7ed6aa45a to 70c57ad7db0b (2 revisions) (flutter/engine#29297) 2021-10-22 11:21:31 -07:00
skia-flutter-autoroll
2f1dba0fad Roll Dart SDK from 84c74548e30a to 64f7ed6aa45a (11 revisions) (flutter/engine#29292)
https://dart.googlesource.com/sdk.git/+log/84c74548e30a..64f7ed6aa45a

2021-10-22 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-244.0.dev
2021-10-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-243.0.dev
2021-10-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-242.0.dev
2021-10-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-241.0.dev
2021-10-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-240.0.dev
2021-10-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-239.0.dev
2021-10-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-238.0.dev
2021-10-20 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-237.0.dev
2021-10-20 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-236.0.dev
2021-10-20 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-235.0.dev
2021-10-20 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.15.0-234.0.dev

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2021-10-21 22:59:20 -07:00
Dan Field
f1dae7ad34 Delay default font manager to run concurrently with isolate setup (flutter/engine#29291)
* Delay default font manager to run concurrently with isolate setup

* test
2021-10-21 16:20:32 -07:00
Alexander Biggs
8abfaf3edf [fuchsia] Add missing protocols to V2 runner. (flutter/engine#29290) 2021-10-21 16:11:31 -07:00
gaaclarke
c40f7670e7 Android Background Platform Channels (flutter/engine#29147) 2021-10-21 16:08:02 -07:00
moko256
463e6ff6e1 Fully inplement TaskRunner for UWP (flutter/flutter#70890) (flutter/engine#28013) 2021-10-21 16:03:02 -07:00
Kaushik Iska
dc905faa2d VSyncWaiter on Fuchsia will defer firing until frame start time (flutter/engine#29287)
* VSyncWaiter on Fuchsia will defer firing until frame start time

The common vsync waiter implementation expects this invariant to be
held.

* Add a test for vsync_waiter
2021-10-21 18:56:19 -04:00
Wu Zhong
b9c37424dc [iOS] Fixes FlutterUIPressProxy leaks (flutter/engine#29156) 2021-10-21 13:14:56 -07:00
Wu Zhong
69b26c89ec [iOS] Fixes key press related memory leaks (flutter/engine#29127) 2021-10-21 13:14:33 -07:00
Junpeng
30bcce9a86 Correct spelling of "DispatchPlatformMessage" in comment of HandlePlatformMessage method (flutter/engine#29097) 2021-10-21 13:12:41 -07:00
Chris Bracken
9d6070dd18 Win32: Enable semantics on accessibility query (flutter/engine#29269)
Windows does not provide a system notification the embedder can
subscribe to to determine when a screen reader or other assistive
technology that requires the semantics tree has been enabled. [1]

In the absence of such a notification, we watch for queries for the
IAccessible COM object representing the root node of the semantics tree,
and on receipt of such queries we enable the semantics tree. For the
time being, we assume that if accessiblity is enabled, it will be
enabled for the duration of the application lifetime. In a future patch
we can optimise this by adopting the approach taken by Chromium, which
is to disable semantics if we haven't received a query within some
reasonable timeout.

This patch enables Flutter's semantics tree; a follow-up patch wires in
the AccessibilityBridge which maintains the AXTree of COM objects that
is the Windows representation of the Flutter SemanticsTree.

Issue: https://github.com/flutter/flutter/issues/77838

[1]: https://docs.microsoft.com/en-us/windows/win32/winauto/screen-reader-parameter
2021-10-21 11:42:45 -07:00
Chris Bracken
8af486c93a Use accessibility_config for accessibility/ax (flutter/engine#29275)
//flutter/third_party/accessiblity/ax/ax_event_generator.cc includes the
AXEventGenerator::Iterator class which subclasses std::iterator, which
triggers an MSVC C++17 deprecation warning. This warning, can be
suppressed by defining _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING
which is already done in the accessibility_config config.

Also updates the TODO to reference the issue tracking the cleanup and
removal of that definition.

Issue: https://github.com/flutter/flutter/issues/92229
2021-10-21 09:42:57 -07:00
Emircan Uysaler
0dac69cfbd [fuchsia] Keep track of all child transforms in FlatlandExternalViewEmbedder (flutter/engine#29184)
* [fuchsia] Keep track of all child transforms in FlatlandExternalViewEmbedder

(cherry picked from commit 0adc38c375cbc982c481771e76b0a464ce95ee79)

* [fuchsia] HandleRemoveview cleanup
2021-10-21 08:13:05 -07:00
skia-flutter-autoroll
213a3cd098 Roll Skia from 9cb20400599b to 05ac1b86adbb (2 revisions) (flutter/engine#29285) 2021-10-21 08:11:31 -07:00
skia-flutter-autoroll
73e737530d Roll Skia from d252ff3f66f6 to 9cb20400599b (3 revisions) (flutter/engine#29279) 2021-10-21 00:23:01 -07:00
Chris Bracken
746ed52a12 Add FlutterWindowsEngine::DispatchSemanticsAction (flutter/engine#29278)
Adds method for dispatching a semantics action received from the OS to
the matching node in Flutter's semantics tree.

Issue: https://github.com/flutter/flutter/issues/77838
2021-10-20 23:33:19 -07:00
skia-flutter-autoroll
e8133209b9 Roll Skia from e3ff9b178358 to d252ff3f66f6 (1 revision) (flutter/engine#29277) 2021-10-20 23:01:32 -07:00
Rich Kadel
22f6d50d25 Adding missing snapshot to the fuchsia package in AOT builds (flutter/engine#29268)
The initial implementation tried to leverage the fuchsia.git approach to
adding resources via GN template, but the GN SDK does not use the same
format or approach. This PR adds the snapshot resource in the way the
GN SDK expects.
2021-10-20 19:20:37 -07:00
Jaeheon Yi
44761762e3 [fuchsia] Implement fuchsia.ui.pointer.MouseSource (flutter/engine#29034)
fxbug.dev/64381
fxbug.dev/64377
2021-10-20 19:13:12 -07:00
skia-flutter-autoroll
33162ca143 Roll Skia from b19be6381025 to e3ff9b178358 (1 revision) (flutter/engine#29274) 2021-10-20 18:21:31 -07:00