21030 Commits

Author SHA1 Message Date
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
skia-flutter-autoroll
708ff69f9f Roll Dart SDK from a9cfcc289ed4 to 0041431f5ec7 (1 revision) (flutter/engine#31372) 2022-02-10 10:55: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
skia-flutter-autoroll
4a33ab43e7 Roll Fuchsia Mac SDK from 5CmPcHTb1... to ZA5ZzabQM... (flutter/engine#31370) 2022-02-10 06:05:02 -08:00
eyebrowsoffire
ed1eba6982 Change link to felt documentation (flutter/engine#31312) 2022-02-10 05:30:10 -08:00
skia-flutter-autoroll
049a3e02e2 Roll Dart SDK from 7e3310bbe1ed to a9cfcc289ed4 (1 revision) (flutter/engine#31369) 2022-02-10 03:30:02 -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
d923fcdc78 Roll Dart SDK from b7eea441d7d1 to 7e3310bbe1ed (2 revisions) (flutter/engine#31365) 2022-02-09 20:45:10 -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
79ff6d6d1a Roll Skia from 81d4b5d5b45d to 1f813e4c7f6d (1 revision) (flutter/engine#31362) 2022-02-09 16:45:08 -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
skia-flutter-autoroll
6a8f775a99 Roll Fuchsia Mac SDK from 5_CZ81mTD... to 5CmPcHTb1... (flutter/engine#31356) 2022-02-09 14:05:10 -08:00
skia-flutter-autoroll
2584a1906b Roll Dart SDK from 55c93c732da9 to b7eea441d7d1 (4 revisions) (flutter/engine#31353) 2022-02-09 12:55: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
skia-flutter-autoroll
90badeb713 Roll Fuchsia Mac SDK from Ba1d6e-yV... to 5_CZ81mTD... (flutter/engine#31345) 2022-02-08 22:55:09 -08:00
Brandon DeRosier
1949da6462 De-flake CanCreateShellsWithMetalBackend (flutter/engine#31343) 2022-02-08 22:50:13 -08:00
skia-flutter-autoroll
bbbe494167 Roll Skia from 37a7a19d506c to bae2cb089434 (1 revision) (flutter/engine#31340) 2022-02-08 17:30:11 -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
Zachary Anderson
a88fe80181 Revert "Roll Dart SDK from 55c93c732da9 to 2c49460fac88 (1 revision) (#31327)" (flutter/engine#31332)
This reverts commit 173b8af40eee5fe48b4271346ada226a1b1b36ca.
2022-02-08 13:52:41 -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
George Wright
4d958f025f Enable DisplayList benchmarks to be built on Android (flutter/engine#31268) 2022-02-08 11:00:09 -08:00
skia-flutter-autoroll
85ab0365ee Roll Skia from 8d646c127a7b to 8e7c2ae4f78e (10 revisions) (flutter/engine#31329) 2022-02-08 10:40:10 -08:00
skia-flutter-autoroll
63f47bb7ea Roll Skia from 26e128593295 to 8d646c127a7b (5 revisions) (flutter/engine#31328) 2022-02-08 09:15:10 -08:00
skia-flutter-autoroll
173b8af40e Roll Dart SDK from 55c93c732da9 to 2c49460fac88 (1 revision) (flutter/engine#31327) 2022-02-08 08:05:02 -08:00