15125 Commits

Author SHA1 Message Date
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
Dan Field
4984087a5e Remove stray log (flutter/engine#29273) 2021-10-20 17:28:01 -07:00
skia-flutter-autoroll
75cc2480e1 Roll Skia from 6dcb6b44e9d9 to b19be6381025 (1 revision) (flutter/engine#29271) 2021-10-20 16:58:01 -07:00
Jason Simmons
6e16f8ecd2 Call rapidjson::ParseResult::IsError to check for JSON parsing errors (flutter/engine#29270) 2021-10-20 16:53:01 -07:00
skia-flutter-autoroll
d3504ac447 Roll Skia from aaa70658c277 to 6dcb6b44e9d9 (3 revisions) (flutter/engine#29267) 2021-10-20 15:31:31 -07:00
Brandon DeRosier
546f244afe Fix bug where native image decoders aren't working in release mode (flutter/engine#29254) 2021-10-20 14:46:25 -07:00
skia-flutter-autoroll
2915221176 Roll Skia from dd07eb01c8dd to aaa70658c277 (2 revisions) (flutter/engine#29264) 2021-10-20 14:08:01 -07:00
skia-flutter-autoroll
4fb51e0b62 Roll Skia from cb3c02005c97 to dd07eb01c8dd (5 revisions) (flutter/engine#29261) 2021-10-20 12:46:31 -07:00
skia-flutter-autoroll
123e94e653 Roll Skia from 0edd2c33d31e to cb3c02005c97 (1 revision) (flutter/engine#29260) 2021-10-20 11:23:01 -07:00
skia-flutter-autoroll
27ded90055 Roll Skia from 8582724780d8 to 0edd2c33d31e (2 revisions) (flutter/engine#29258) 2021-10-20 09:58:01 -07:00
skia-flutter-autoroll
a5dbed7923 Roll Skia from d62b7ef97056 to 8582724780d8 (1 revision) (flutter/engine#29255) 2021-10-20 08:33:02 -07:00
Mouad Debbar
92a7a6b10f [web] Fix keyboard popping up unexpectedly on iOS (flutter/engine#29246) 2021-10-20 10:21:43 -04:00
skia-flutter-autoroll
ed6e9cd857 Roll Skia from 40b143c1743b to d62b7ef97056 (4 revisions) (flutter/engine#29252) 2021-10-20 00:43:00 -07:00
skia-flutter-autoroll
9fc8ca41cf Roll Skia from c9b917447577 to 40b143c1743b (2 revisions) (flutter/engine#29250) 2021-10-19 21:53:01 -07:00
utzcoz
824d6575f6 Refactor FlutterViewTest with extracting common test code to methods (flutter/engine#29226) 2021-10-19 21:18:01 -07:00
skia-flutter-autoroll
cb193fa5e1 Roll Skia from 2fceb21cb7ce to c9b917447577 (1 revision) (flutter/engine#29249) 2021-10-19 20:18:02 -07:00
Rich Kadel
b4e2f34518 Improving support for AOT builds of Fuchsia packages
The integration test works in debug/jit mode only, and building in
`profile` and `release` modes was not working, breaking some builders.

The workaround was to disable the test.

This PR will enable release/aot mode so it will build, and unblock both
the debug-mode version of the test (tested by CI) and release mode
builds of the repo.

Due to the request to unblock, this PR does not yet build packages in
`profile` mode that will run in Fuchsia, but it should at least build
without errors. Ongoing work is in progress to also support running in
release mode.
2021-10-19 17:06:29 -07:00
Rich Kadel
be6e1a27a9 Avoid masking the root build directory, masked by .gitignore rule 2021-10-19 17:06:29 -07:00
Mouad Debbar
dedd0625e3 [web] Implement TextAlign.justify (flutter/engine#29158) 2021-10-19 18:11:59 -04:00
Callum Moffat
cd18e95d73 [iOS] Fix duplicated keys when typing quickly on HW keyboard (flutter/engine#29113)
* [iOS] Fix duplicated keys when typing quickly on HW keyboard

* Address review (refactor constant)

* Change message loop constant name

* Apply suggestions from code review

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

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2021-10-19 14:57:11 -07:00
skia-flutter-autoroll
42d7e2b450 Roll Skia from e1bfa18fc512 to 2fceb21cb7ce (2 revisions) (flutter/engine#29247) 2021-10-19 14:28:01 -07:00
skia-flutter-autoroll
9fa1a15f81 Roll Skia from 835345aaa349 to e1bfa18fc512 (33 revisions) (flutter/engine#29243) 2021-10-19 13:06:33 -07:00
skia-flutter-autoroll
37aa055192 Roll Skia from a0c98f770f91 to 835345aaa349 (1 revision) (flutter/engine#29228) 2021-10-19 11:23:01 -07:00
Jason Simmons
e4bfa79de7 Remove Robolectric and add androidx.tracing to the android_embedding_dependencies package (flutter/engine#29233) 2021-10-19 11:13:01 -07:00
Mouad Debbar
0443ca6469 [web] Add support for textScaleFactor (flutter/engine#29028) 2021-10-19 10:33:54 -04:00
Dan Field
5ad9715fc9 Update firebase_testlab.py (flutter/engine#29239)
Use Pixel 5. Pixel 4 is becoming less available/deprecated on FTL.
2021-10-18 23:53:42 -07:00
LongCatIsLooong
7102d778c1 [ios key handling] Return the correct physical key when the keycode isn't mapped (flutter/engine#29197) 2021-10-18 18:03:02 -07:00
Dan Field
59847e64bd Do not serialize on UI/Raster threads for Shell::OnCreatePlatformView (flutter/engine#29145)
* Do not serialize on UI/Raster threads for Shell::OnCreatePlatformView
2021-10-18 14:46:46 -07:00
Yegor
e49a357627 [web] implement decodeImageFromPixels for CanvasKit (flutter/engine#29223)
* [web] implement decodeImageFromPixels for CanvasKit
2021-10-18 11:32:32 -07:00
skia-flutter-autoroll
c41dcf2e74 Roll Skia from 4021b947f7b0 to a0c98f770f91 (1 revision) (flutter/engine#29227) 2021-10-17 05:18:01 -07:00
skia-flutter-autoroll
2722471044 Roll Skia from 5bf1b51e61ce to 4021b947f7b0 (1 revision) (flutter/engine#29224) 2021-10-16 00:38:01 -07:00
skia-flutter-autoroll
ab7c664c00 Roll Skia from c41ac91167e3 to 5bf1b51e61ce (2 revisions) (flutter/engine#29221) 2021-10-15 23:16:31 -07:00
skia-flutter-autoroll
2161d69d76 Roll Skia from 409bb0195f9e to c41ac91167e3 (1 revision) (flutter/engine#29219) 2021-10-15 15:23:01 -07:00
Casey Hillers
6d1d8d490c [ci.yaml] Disable framework tests on release branches (flutter/engine#29213) 2021-10-15 13:33:04 -07:00
skia-flutter-autoroll
4eba172f4a Roll Skia from 0e55a137ddaa to 6a24fe4825b7 (2 revisions) (flutter/engine#29212) 2021-10-15 11:48:01 -07:00
Yegor
15e599d74d [web] add FlutterConfiguration, use it to supply local CanvasKit files (flutter/engine#29056)
* [web] add FlutterConfiguration, use it to supply local CanvasKit files in tests
2021-10-15 11:23:18 -07:00
skia-flutter-autoroll
b5e79d8195 Roll Skia from a750dfcce25c to 0e55a137ddaa (1 revision) (flutter/engine#29209) 2021-10-15 10:26:32 -07:00
skia-flutter-autoroll
414ef3bfc1 Roll Skia from b24bad31dc05 to a750dfcce25c (1 revision) (flutter/engine#29207) 2021-10-15 08:13:02 -07:00
Mouad Debbar
2e5df188fe [web] Add goldctl as a dependency in LUCI (flutter/engine#29168) 2021-10-15 10:05:45 -04:00