Commit Graph

20951 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
0cc0a8b668 Roll Fuchsia Mac SDK from jjxstNbgZ... to iEc1h6f3F... (flutter/engine#31412) 2022-02-11 15:35: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
6e6bcd6659 Roll Dart SDK from 6761acad2daf to afd72d6097dc (1 revision) (flutter/engine#31410) 2022-02-11 13:40: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
fb02babf4a Roll Dart SDK from a3736d4e9b1b to 6761acad2daf (2 revisions) (flutter/engine#31404) 2022-02-11 09:05:11 -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
9f60b5d70c Roll Fuchsia Mac SDK from ZA5ZzabQM... to jjxstNbgZ... (flutter/engine#31399) 2022-02-11 02:25:08 -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
skia-flutter-autoroll
dc48266ee1 Roll Dart SDK from a15d19a0d914 to a3736d4e9b1b (1 revision) (flutter/engine#31397) 2022-02-11 10:37:05 +01: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
skia-flutter-autoroll
5122e104c8 Roll Skia from 74ce095463e1 to 82d65d0487bd (1 revision) (flutter/engine#31384) 2022-02-10 18:20:11 -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
fbaeedae95 Roll Dart SDK from 0041431f5ec7 to a15d19a0d914 (2 revisions) (flutter/engine#31381) 2022-02-10 15:25:08 -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
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 66b5a1c1eb.
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