16239 Commits

Author SHA1 Message Date
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
Filip Filmar
f3310ff103 Manual roll of ICU (flutter/engine#31132)
* [licenses] Updates ICU license regexp and URL

New file in the ICU library use the https scheme for the URL
instead of prior http to declare the license, leading to
the 'unmatched potential copyright' message.

This change removes the issue.

* [icu] Upgrades the ICU library version in use

This change brings in ICU 70.1 which is the latest and greatest of ICU releases.
It sync up with the latest ICU milestone in use in Chromium.

Issue: #flutter/97412
2022-02-09 17:07:30 -08:00
Jami Couch
9c02e9da59 Fix AccessibilityBridge crash due to invalid access during ReplaceSemanticsObject (flutter/engine#31351) 2022-02-09 16:55:10 -08:00
skia-flutter-autoroll
9a7516c1d2 Roll Skia from 9cb74e90792d to 81d4b5d5b45d (6 revisions) (flutter/engine#31360) 2022-02-09 15:35:11 -08:00
skia-flutter-autoroll
525529f80e Roll Skia from ec0af1664478 to 9cb74e90792d (4 revisions) (flutter/engine#31357) 2022-02-09 14:10:11 -08:00
b-luk
ad086c25b3 Use H5vcc CanvasKit implementation if it is detected. (flutter/engine#31191) 2022-02-09 12:45:11 -08:00
Zachary Anderson
eca60c0b90 Add clang-analyzer-* and clang-diagnostic-* to .clang-tidy (flutter/engine#31291) 2022-02-09 12:26:34 -08:00
skia-flutter-autoroll
8c0d55afc6 Roll Skia from a424b619bc40 to ec0af1664478 (6 revisions) (flutter/engine#31352) 2022-02-09 11:00:09 -08:00
skia-flutter-autoroll
7ea5be7e65 Roll Skia from 3e6e29cf2e1b to a424b619bc40 (3 revisions) (flutter/engine#31349) 2022-02-09 09:30:11 -08:00
skia-flutter-autoroll
fa9f05a64b Roll Skia from dee902ad57d5 to 3e6e29cf2e1b (1 revision) (flutter/engine#31348) 2022-02-09 07:45:08 -08:00
skia-flutter-autoroll
a68c310b15 Roll Fuchsia Linux SDK from EBLQ-d-eN... to 4VEg4eRJS... (flutter/engine#31347) 2022-02-09 06:15:02 -08:00
skia-flutter-autoroll
24da5fd00c Roll Skia from bae2cb089434 to dee902ad57d5 (5 revisions) (flutter/engine#31346) 2022-02-08 23:35:02 -08:00
Brandon DeRosier
1949da6462 De-flake CanCreateShellsWithMetalBackend (flutter/engine#31343) 2022-02-08 22:50:13 -08:00
skia-flutter-autoroll
def10e3530 Roll Fuchsia Linux SDK from Z4BViQLBV... to EBLQ-d-eN... (flutter/engine#31338) 2022-02-08 16:30:07 -08:00
godofredoc
b53488e7e1 Remove schedules from scorecards. (flutter/engine#31337) 2022-02-08 16:25:10 -08:00
skia-flutter-autoroll
b5c1d7e1b0 Roll Skia from 12b67964078f to 37a7a19d506c (6 revisions) (flutter/engine#31336) 2022-02-08 16:20:10 -08:00
cfontas
e893b8feb2 [fuchsia] Update Flatland Clipping API (flutter/engine#31311) 2022-02-08 14:30:07 -08:00
skia-flutter-autoroll
b687d20a70 Roll Skia from 1048287b5dce to 12b67964078f (5 revisions) (flutter/engine#31331) 2022-02-08 13:30:07 -08:00
Emircan Uysaler
33a23ab4bc [fuchsia] Allow multiple vsync requests before the first Present (flutter/engine#31316) 2022-02-08 12:30:03 -08:00
skia-flutter-autoroll
a9429565ff Roll Skia from 8e7c2ae4f78e to 1048287b5dce (7 revisions) (flutter/engine#31330) 2022-02-08 12:05:12 -08:00