16821 Commits

Author SHA1 Message Date
Dan Field
ec99c09baf Soft revert of 3a0d0b6e36deebc6d477daee9a3cc4dbd09a7900 (flutter/engine#32465) 2022-04-07 09:22:08 -07:00
skia-flutter-autoroll
6253744e5b Roll Fuchsia Linux SDK from kXsU99mbx... to ry_yHNxEs... (flutter/engine#32501) 2022-04-07 09:11:04 -07:00
skia-flutter-autoroll
aa4dd58cf0 Roll Skia from e4d4c9362b98 to eabed6ac6766 (10 revisions) (flutter/engine#32500) 2022-04-07 08:56:03 -07:00
Kevin Lubick
f7b0a59a84 [skia] Fix more transitive includes (flutter/engine#32430) 2022-04-07 08:53:54 -04:00
skia-flutter-autoroll
ad04358637 Roll Skia from 072e09b26dff to e4d4c9362b98 (13 revisions) (flutter/engine#32483) 2022-04-06 23:51:03 -07:00
Chris Bracken
e0c11d4dbd Sync Android AccessibilityFeature enum and dart:ui (flutter/engine#32460) 2022-04-06 16:21:04 -07:00
skia-flutter-autoroll
bc46acb665 Roll Skia from 1341b906f67b to 072e09b26dff (7 revisions) (flutter/engine#32457) 2022-04-06 16:16:03 -07:00
joshualitt
992d922cd9 [web] Migrate Flutter Web to JS static interop - 2 (flutter/engine#32427) 2022-04-06 16:12:01 -07:00
Jason Simmons
c59cb17ab9 Warn about invalid arguments to ColorFilter.mode (flutter/engine#32269) 2022-04-06 16:11:04 -07:00
Swift Kim
72ff6875fb Sync accessibility flags in embedder.h (flutter/engine#32332)
The following enum types in `embedder.h` must match with the corresponding Dart/C++ classes in `dart:ui` but some values are missing.

- `FlutterAccessibilityFeature`
- `FlutterSemanticsAction`
- `FlutterSemanticsFlag`

The comments say

5a43c7cb8e/shell/platform/embedder/embedder.h (L83)

5a43c7cb8e/lib/ui/window.dart (L784-L785)

Issue: https://github.com/flutter/flutter/issues/101217
2022-04-06 10:01:22 -07:00
Chris Bracken
6b7a734450 Uncomment SemanticsFlag.isMultiline in enums (flutter/engine#32440)
Uncomments the Java Flag.IS_MULTILINE and C++ SemanticsFlag.kIsMultiline
enum values. While these values aren't used in the Android or iOS
embeddings, in practice we maintain the same set of enum values across
all embeddings so as to match the public API defined in dart:ui, found
in lib/ui/semantics/semantics.dart.

This also helps with automated checking that all enums across all
languages are consistent.

This will be added to the embedder API in
https://github.com/flutter/engine/pull/32332.

Issue: https://github.com/flutter/flutter/issues/101217
2022-04-06 09:59:48 -07:00
Greg Spencer
3da07b7cfa Adjust some names for consistency (flutter/engine#32433)
This just changes some of the API names for consistency with the framework APIs (and themselves).
This is a very new method channel (it went in a couple of days ago), so it's not in use yet.

Matching framework PR is flutter/flutter#101378
2022-04-06 09:43:40 -07:00
skia-flutter-autoroll
f270171a70 Roll Skia from cf7ee60638bd to 1341b906f67b (1 revision) (flutter/engine#32452) 2022-04-06 09:41:04 -07:00
skia-flutter-autoroll
6f536c0291 Roll Fuchsia Linux SDK from TnyjEJbo_... to kXsU99mbx... (flutter/engine#32451) 2022-04-06 08:41:04 -07:00
skia-flutter-autoroll
ded4d93c14 Roll Skia from f1b27ff9637b to cf7ee60638bd (1 revision) (flutter/engine#32450) 2022-04-06 06:46:04 -07:00
ColdPaleLight
ffe61d39ca Reland "Add a way to raster cache the children of a Layer (#32370)" (flutter/engine#32378) 2022-04-06 04:16:04 -07:00
skia-flutter-autoroll
09b28c6688 Roll Skia from 71c7f7961d70 to f1b27ff9637b (2 revisions) (flutter/engine#32446) 2022-04-06 00:36:01 -07:00
skia-flutter-autoroll
5038d70209 Roll Skia from fd9c66e18030 to 71c7f7961d70 (50 revisions) (flutter/engine#32439) 2022-04-05 17:21:02 -07:00
skia-flutter-autoroll
f5fa313443 Roll Fuchsia Linux SDK from PmeDIogNb... to TnyjEJbo_... (flutter/engine#32436) 2022-04-05 15:51:04 -07:00
Jim Graham
b8d19a2d36 assertion failure on empty indices in ui.Vertices constructor (flutter/engine#32434) 2022-04-05 14:56:04 -07:00
joshualitt
a90e631f77 [web] Migrate Flutter Web to JS static interop - 1. (flutter/engine#32407)
This is the first CL in a series of cls to migrate Flutter Web to JS
static interop.
2022-04-05 12:07:22 -07:00
Yegor
0679c5d5af [web] improve types using a firstWhereOrNull utility (flutter/engine#32392)
* [web] improve types using a firstWhereOrNull utility
2022-04-05 10:14:05 -07:00
skia-flutter-autoroll
b9e15a9638 Roll Fuchsia Linux SDK from WdxX5Sqix... to PmeDIogNb... (flutter/engine#32422) 2022-04-05 02:31:02 -07:00
Chris Yang
ede2fb5e11 Fix a crash when setting clipboardData to null on iOS (flutter/engine#32413) 2022-04-04 19:11:04 -07:00
Chris Bracken
9710156fe2 Fix SemanticsAction naming consistency (flutter/engine#32411)
Removes the `Index` suffix from kMoveCursorForwardByWord and
kMoveCursorBackwardByWord values in the SemanticsAction enum. These were
erroneously copied as-is from the private class members in the dart:ui
implementation in lib/ui/semantics/semantics.dart where the class
members refer to the enum index here. This removes the trailing `Index`
for consistency with the other enum members here.

This is also useful in the context of automated testing for API
consistency between these enums, the ones in dart:ui (native and web
implementations) and the embedder API.

Issue: https://github.com/flutter/flutter/issues/101217
2022-04-04 17:07:05 -07:00
Renzo Olivares
c53ab8fd7a Fix deltas when selection is active and composing begins on MacOS (flutter/engine#32412)
* Fix special character input on a selection

* Add test for composing when selection is active

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-04-04 15:13:06 -07:00
Chris Bracken
a551b91c78 Fix inconsistent enum/class private member naming (flutter/engine#32409)
Classes that model enums in dart:ui typically name fields modelling the
enum values as `_kFooIndex`. This associated value matches the enum
value from embedder.h.

In https://github.com/flutter/engine/pull/32408 we add a test that
verifies that dart:ui classes model the same set of values in the native
implementation, the web_ui implementation, and the embedder API. Testing
this is much simpler if we use consistent naming for all enum values.

Issue: https://github.com/flutter/engine/pull/32408
2022-04-04 13:17:07 -07:00
skia-flutter-autoroll
fc114a5431 Roll Skia from 5215ec1ab9cd to fd9c66e18030 (1 revision) (flutter/engine#32406) 2022-04-04 13:16:03 -07:00
skia-flutter-autoroll
9dfb18f59c Roll Fuchsia Linux SDK from 5abhmXb9Q... to WdxX5Sqix... (flutter/engine#32403) 2022-04-04 13:11:04 -07:00
fzyzcjy
a6ca392650 Create ImageFilter.dilate/ImageFilter.erode (flutter/engine#32334) 2022-04-04 13:01:02 -07:00
Jason Simmons
a0b860283e Always initialize the _weakFactory in FlutterViewController (flutter/engine#32395)
Fixes https://github.com/flutter/flutter/issues/101209
2022-04-04 12:56:35 -07:00
Alexander Biggs
e42a0ee5ac [fuchsia] Support --no-prebuilt-dart-sdk in build_fuchsia_artifacts. (flutter/engine#32311) 2022-04-04 12:56:05 -07:00
skia-flutter-autoroll
6a8898f65e Roll Fuchsia Linux SDK from pnlwVqOTT... to 5abhmXb9Q... (flutter/engine#32398) 2022-04-01 19:06:05 -07:00
skia-flutter-autoroll
c59f137025 Roll Skia from 2921f7df36f0 to 5215ec1ab9cd (3 revisions) (flutter/engine#32394) 2022-04-01 16:11:03 -07:00
skia-flutter-autoroll
3e76ec5383 Roll Skia from de6af36e6ebf to 2921f7df36f0 (1 revision) (flutter/engine#32393) 2022-04-01 14:51:04 -07:00
Chris Yang
fc54e5ecac Set iOS default frame rate to screen max. (flutter/engine#29797) 2022-04-01 14:34:47 -07:00
skia-flutter-autoroll
76577a9b88 Roll Skia from e94e2df07ac3 to de6af36e6ebf (4 revisions) (flutter/engine#32391) 2022-04-01 13:31:04 -07:00
skia-flutter-autoroll
d7c596f947 Roll Skia from a990ef91b3b5 to e94e2df07ac3 (2 revisions) (flutter/engine#32388) 2022-04-01 12:06:04 -07:00
Tong Mu
aa029368e5 [macOS, Keyboard] Derive keyboard layout using printable information from system (flutter/engine#32152)
* Impl

Remove log

add sync; clean code

Format

* Impl

* New Impl

* Fix dead key

* Rename to goals and clues

* CFRelease source

* Move to view controller

* No global

* First-phase

* No weak in dealloc

* Tests

* One more test

* Format

* Format

* Docs

* Tests

* Docs

* Format

* Fix compile

* Compile

* Add channel test

* Format

* Fix comments

* Fix keycodes

* Fix namespaces

* Format

* strlcpy
2022-04-01 11:57:21 -07:00
Kevin Lubick
cdd2946003 Fix includes of SkColorSpace et al (flutter/engine#32382) 2022-04-01 10:59:23 -07:00
skia-flutter-autoroll
c28c4a08bd Roll Skia from 10a3cc545cb5 to a990ef91b3b5 (2 revisions) (flutter/engine#32387) 2022-04-01 10:46:03 -07:00
Zachary Anderson
32a4496228 Expose a flag from tools/gn to disable deprecated API warnings (flutter/engine#32386) 2022-04-01 10:26:04 -07:00
skia-flutter-autoroll
33c5e8cb7e Roll Skia from dcd21712d81b to 10a3cc545cb5 (1 revision) (flutter/engine#32384) 2022-04-01 09:26:04 -07:00
skia-flutter-autoroll
9c65ed1180 Roll Skia from 67c163ca4842 to dcd21712d81b (1 revision) (flutter/engine#32381) 2022-04-01 07:51:03 -07:00
skia-flutter-autoroll
e90661c8ae Roll Fuchsia Linux SDK from aPVlr0n67... to pnlwVqOTT... (flutter/engine#32380) 2022-04-01 05:46:01 -07:00
Kaushik Iska
a0f03a0220 Refactor drawing to offscreen surface (flutter/engine#32338) 2022-04-01 05:40:36 -04:00
skia-flutter-autoroll
4b2dca157a Roll Skia from 421cff832005 to 67c163ca4842 (1 revision) (flutter/engine#32376) 2022-04-01 00:31:04 -07:00
skia-flutter-autoroll
cbfe7e9628 Roll Skia from 059945f229a7 to 421cff832005 (1 revision) (flutter/engine#32375) 2022-03-31 23:11:03 -07:00
ColdPaleLight
8a886fa8a5 Let FlutterActivity/Fragment/FragmentActivity support dart entrypoint args (flutter/engine#30709) 2022-03-31 22:21:01 -07:00
ColdPaleLight
31e332ee32 Tuning resource cache max bytes in lightweight engine scenarios (flutter/engine#32156) 2022-03-31 21:11:05 -07:00