16258 Commits

Author SHA1 Message Date
skia-flutter-autoroll
343db669a5 Roll Skia from 14a623c86984 to c94eb30c6e19 (22 revisions) (flutter/engine#31460) 2022-02-14 16:05:12 -08:00
Tong Mu
6370d313bb [Win32, Keyboard] Unify key changes in keyboard tests (flutter/engine#31299) 2022-02-14 15:40:11 -08:00
skia-flutter-autoroll
dab3613162 Roll Fuchsia Linux SDK from mtwYrvsxl... to HTSptZeSv... (flutter/engine#31447) 2022-02-14 12:50:02 -08:00
skia-flutter-autoroll
7a8eecdb14 Roll Skia from 407563760529 to 14a623c86984 (3 revisions) (flutter/engine#31445) 2022-02-14 12:45:09 -08:00
Chris Bracken
495467648f [win32] Disable a11y UIA unit tests (flutter/engine#31452)
Chrome's implementation of UI Automation support was only
partially-complete at the time we forked //third_party/accessibility. We
don't use UIA in Flutter, but rely instead entirely on the MSAA
accessiblity implementation.

Disabling these tests for now, rather than deleting, since we'll need to
make a decision on whetheer to port the updates from the Chromium tree,
or write our own simpler UIA implementation.

Issue: https://github.com/flutter/flutter/issues/98427
Related issue: https://github.com/flutter/flutter/issues/94782
2022-02-14 12:07:45 -08:00
skia-flutter-autoroll
6023b60818 Roll Skia from 0e48516aae7e to 407563760529 (1 revision) (flutter/engine#31444) 2022-02-13 22:05:11 -08:00
Christopher Crawford
029c1f8aac Refactor SPIR-V transpiler. (flutter/engine#31430) 2022-02-13 15:20:01 -08:00
skia-flutter-autoroll
cbe8777da9 Roll Skia from 139ffa19d965 to 0e48516aae7e (3 revisions) (flutter/engine#31442) 2022-02-13 14:15:11 -08:00
skia-flutter-autoroll
c8cefb9363 Roll Skia from 80f272b62cda to 139ffa19d965 (1 revision) (flutter/engine#31439) 2022-02-13 12:25:01 -08:00
skia-flutter-autoroll
56abc0d63b Roll Fuchsia Linux SDK from vFVpCoTX6... to mtwYrvsxl... (flutter/engine#31438) 2022-02-13 12:20:02 -08:00
Jim Graham
6842d97557 fix the bounds of nested save layers with a mix of clips and transforms (flutter/engine#31437) 2022-02-13 10:46:53 -08:00
Zachary Anderson
7990f3dee5 Revert "Improve platform views performance (#31198)" (flutter/engine#31431)
This reverts commit 9ee76a65723d1d75af55ba8a58b70b8bef7a6536.
2022-02-12 16:22:58 -08:00
Chris Bracken
81c662ef3d Enable a11y unittests on Windows (flutter/engine#31387)
This enables accessibility unittests on Windows as part of our CI testing.

It also corrects two unit tests which were fixed by
https://github.com/flutter/engine/pull/29773, which fixed
https://github.com/flutter/flutter/issues/78460.

Finally it disables an AXFragmentRoot test that times out. We don't use
AXFragmentRoot in Flutter as it's only used with UI Automation APIs,
which Flutter does not use (we use MSAA).

Issue: https://github.com/flutter/flutter/issues/98225
2022-02-12 12:51:01 -08:00
skia-flutter-autoroll
42257f66ca Roll Skia from e4d3d3947caa to 80f272b62cda (1 revision) (flutter/engine#31428) 2022-02-12 11:20:08 -08:00
skia-flutter-autoroll
77b97caadc Roll Fuchsia Linux SDK from xWi8FO2Tf... to vFVpCoTX6... (flutter/engine#31427) 2022-02-12 05:05:02 -08:00
Emmanuel Garcia
9ee76a6572 Improve platform views performance (flutter/engine#31198) 2022-02-11 21:15:10 -08:00
skia-flutter-autoroll
dafb66d3cd Roll Skia from 1542db1a9b9f to e4d3d3947caa (1 revision) (flutter/engine#31423) 2022-02-11 19:45:10 -08:00
Jason Simmons
94ce103fb5 Fix initialization of ThreadHost name prefix (flutter/engine#31420) 2022-02-11 18:35:09 -08:00
Jason Simmons
957f52c55c Guard the Flutter Skia event tracer category flags with a lock (flutter/engine#31416) 2022-02-11 16:45:11 -08:00
skia-flutter-autoroll
524ac132d5 Roll Skia from 007fd156a033 to 503f2b7f71e0 (4 revisions) (flutter/engine#31414) 2022-02-11 15:55:11 -08:00
skia-flutter-autoroll
79b944f1be Roll Fuchsia Linux SDK from UHV3HWM3d... to xWi8FO2Tf... (flutter/engine#31413) 2022-02-11 15:45:10 -08:00
skia-flutter-autoroll
da29bf6fe2 Roll Skia from 0d36473ebc04 to 007fd156a033 (3 revisions) (flutter/engine#31411) 2022-02-11 14:30:09 -08:00
Callum Moffat
8a1f4d07f3 Reland: Trackpad gesture PointerData types (flutter/engine#31402)
This commit adds support to the engine core for encoding trackpad gestures for to the framework. Original PR was #28571
2022-02-11 14:02:09 -08:00
skia-flutter-autoroll
a78197e8a0 Roll Skia from 40d742634582 to 0d36473ebc04 (6 revisions) (flutter/engine#31409) 2022-02-11 13:05:01 -08:00
Emmanuel Garcia
ddc22d32df Detach from GL context before attaching (flutter/engine#31390) 2022-02-11 12:30:04 -08:00
skia-flutter-autoroll
71b6ab2db9 Roll Skia from 9c111af64b0c to 40d742634582 (3 revisions) (flutter/engine#31405) 2022-02-11 10:10:09 -08:00
skia-flutter-autoroll
fcf461ce15 Roll Skia from 82d65d0487bd to 9c111af64b0c (10 revisions) (flutter/engine#31403) 2022-02-11 08:25:11 -08:00
skia-flutter-autoroll
6dcb46ef68 Roll Fuchsia Linux SDK from yDo1mhBKz... to UHV3HWM3d... (flutter/engine#31398) 2022-02-11 02:25:02 -08:00
JsouLiang
493cfd9601 Define thread priority enum and set thread priority for all threads in Engine (flutter/engine#30605)
* Define thread priority enum and set thread priority for all threads in Engine

* Split out the thread data and the thread data set operator
2022-02-10 21:14:54 -08:00
godofredoc
85d903b80d Move recipes to repository folders. (flutter/engine#31367) 2022-02-10 17:15:10 -08:00
Yegor
74937f458c [web] PathRef: do not use == with doubles in assertions (flutter/engine#31382) 2022-02-10 17:00:02 -08:00
skia-flutter-autoroll
03477f17b0 Roll Skia from e1e2a858205f to 74ce095463e1 (2 revisions) (flutter/engine#31383) 2022-02-10 16:35:10 -08:00
skia-flutter-autoroll
7a8ebe1fa5 Roll Skia from b6dfd97c5290 to e1e2a858205f (3 revisions) (flutter/engine#31380) 2022-02-10 15:10:10 -08:00
gaaclarke
ec8454b875 Renamed the scenario tests target to be generic emulator tests. (flutter/engine#28919) 2022-02-10 15:00:08 -08:00
Chris Bracken
8d99a8bc53 [fml] Use common FML string encoding utils (flutter/engine#31378)
General UTF8/UTF16 string conversion utility functions were recently
added to FML. This migrates calls in the Android JNI utils to the common
implementations.

No additional tests added since we're just dropping one implementation
of UTF8/UTF16 functions and making use of an equivalent set that already
has unit tests of its own. The rest of the Android-related code is
already covered by existing unit tests.

Issue: https://github.com/flutter/flutter/issues/98061
Related PR: https://github.com/flutter/engine/pull/31334
2022-02-10 14:13:59 -08:00
Renzo Olivares
6f60286aa9 TextEditingDelta Support for the Web (flutter/engine#28527)
* Initial implementation of TextEditingDeltaState for the web

* Capture composing region through compositionupdate and handle cases where there is an edit that occurs before the current cursor position

* clean up unused code

* clean up rest of logs

* Make sure we initialize oldText in beforeInput

* Clean up comments

* more defaults

* Add more comments

* Move delta inferrence logic to TextEditingDeltaState

* Add new listeners to rest of strategies

* Fix existing tests

* Fix tests

* Add lastTextEditingDeltaState to test

* fix tests

* Add some preliminary tests for TextEditingDeltaState

* Send as list to framework

* Add composing region test

* Address nits

* Update tests

* Try to fix tests

* Prefer const with constant constructors

* Clean up comments

* Specify types

* fix tests

* Specify type annotations

* batchDeltas -> deltas

* Make eventData nullable so we dont compare with a 'null' string

* Make TextEditingDeltaState mutable to avoid multiple copies

* Fix analyzer

* Fix test

* Use safe browser api instead of directly accessing js_util

* remove last prefix from editingDeltaState

* Remove logs

* fix merge

* fix whitespace

* revert composing changes

* update comments

* remove trailing whitespace

* Add docs for TextEditingDeltaState

* Normalize delta naming and use a copy instead of modifying function arguments

* Update selection of delta in inferDeltaState instead of onChange

* Fix tests, previously the selection was not set in inferDeltaState, now it
is so the tests should reflect this change

* Make a copy of delta instead of modifying function arguments

* remove whitespace

* Move some logic into inferDeltaState

* whitespace

* analyzer fix

* Revert "analyzer fix"

This reverts commit 786a52810cf59ed2e06be7100314d779807863d7.

* Revert "whitespace"

This reverts commit 98fad4709b9f153e47bc56ef6a2606f99e37eee2.

* Revert "Move some logic into inferDeltaState"

This reverts commit a600e9e567a7ef78bb9bb8dd3e5c86c06076f098.

* pass _editingDeltaState instead of editingDeltaState to onChange for clarity

* Add docs for beforeinput

* Add docs for inferDeltaState

* whitespace

* Add more docs

* update docs

* update docs

* Fix for insertion of a period following a double space within old text bounds

* Fix accent insertion

* clean up comments

* Address comments for clarity aand regexp

* Make composing and selection nullable

* update docs

* whitespace

* address comments

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-02-10 13:40:42 -08:00
Chris Bracken
d232131bf0 [a11y] Delegate UTF8ToUTF16 to FML (flutter/engine#31376)
Delegates string encoding conversions between UTF-8 and UTF-16 strings
in //third_party/accessibility/base to our existing implementations in
FML.

Issue: https://github.com/flutter/flutter/issues/98061
2022-02-10 13:25:10 -08:00
skia-flutter-autoroll
deb1b024df Roll Skia from c5d3326d767d to b6dfd97c5290 (10 revisions) (flutter/engine#31377) 2022-02-10 13:20:15 -08:00
skia-flutter-autoroll
953fb7e060 Roll Fuchsia Linux SDK from YGS2LvlDy... to yDo1mhBKz... (flutter/engine#31374) 2022-02-10 11:30:02 -08:00
skia-flutter-autoroll
4ca487e682 Roll Skia from 21a92dff8fdc to c5d3326d767d (7 revisions) (flutter/engine#31373) 2022-02-10 11:25:10 -08:00
Camille Simon
147d162382 [Android] Show deprecation warnings for Android tests (flutter/engine#31246) 2022-02-10 10:50:10 -08:00
eyebrowsoffire
d953d54b1d Fix html gradient rendering (https://github.com/flutter/flutter/issues/97762) (flutter/engine#31355) 2022-02-10 09:50:12 -08:00
Ben Konyi
56afd34216 Change support for VM service message from "The Dart VM Service is listening" to "The Dart VM service is listening" (flutter/engine#31361)
See https://github.com/dart-lang/sdk/issues/46756
2022-02-10 09:45:28 -08:00
Tong Mu
367cff931a Revert "Add trackpad gesture PointerData types (#28571)" (flutter/engine#31375)
This reverts commit 66b5a1c1eb5b20fe22b87ae1de19b6ade2bb19f8.
2022-02-10 08:41:03 -08:00
eyebrowsoffire
ed1eba6982 Change link to felt documentation (flutter/engine#31312) 2022-02-10 05:30:10 -08:00
skia-flutter-autoroll
e52f476018 Roll Skia from 5a2135af5623 to 21a92dff8fdc (3 revisions) (flutter/engine#31368) 2022-02-09 23:40:10 -08:00
Chris Bracken
3e6137c8ec Migrate string encoding conversions to FML (flutter/engine#31334)
We've implemented UTF-8/UTF-16 string encoding conversions in multiple
places, from FML to //flutter/shell/platform/common, to the individual
embedders. This migrates these conversions to FML and adds tests.

Windows APIs use wchar_t-based strings and as a result, we continue to
keep Windows-specific functions in fml/platform/win/wstring_conversion.h.

We break out string_conversions into its own source set since FML brings
with it some Dart dependencies (e.g. dart_timestamp_provider.cc) that
are unused by some targets such as uwptool.exe in the Windows UWP
embedding.

Issue: https://github.com/flutter/flutter/issues/98061
2022-02-09 22:59:48 -08:00
skia-flutter-autoroll
e1cbf4fada Roll Skia from 1f813e4c7f6d to 5a2135af5623 (1 revision) (flutter/engine#31366) 2022-02-09 22:05:10 -08:00
Callum Moffat
66b5a1c1eb Add trackpad gesture PointerData types (flutter/engine#28571)
* Implement trackpad gestures in engine

* Remove the platform implementations

* Add new device type for trackpad

* Add back the necessary changes for Android

* Address feedback

* Fix doc typos
2022-02-09 21:50:40 -08:00
skia-flutter-autoroll
3cd99767cc Roll Fuchsia Linux SDK from 4VEg4eRJS... to YGS2LvlDy... (flutter/engine#31364) 2022-02-09 19:35:10 -08:00