21708 Commits

Author SHA1 Message Date
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
f9211b9570 Roll Fuchsia Mac SDK from hJaq9O7XI... to WBAQhRswX... (flutter/engine#32423) 2022-04-05 05:26:04 -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
skia-flutter-autoroll
324c47d21f Roll Fuchsia Mac SDK from m_-rjFvCk... to hJaq9O7XI... (flutter/engine#32402) 2022-04-04 13:06:01 -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
ec7747bd4f Roll Fuchsia Mac SDK from mbPpHdT-i... to m_-rjFvCk... (flutter/engine#32397) 2022-04-01 18:16:04 -07:00
skia-flutter-autoroll
a9affbcfe2 Roll Dart SDK from 2271a7948692 to 760722f8224b (1 revision) (flutter/engine#32396) 2022-04-01 17:36:04 -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
d8c885b8de Roll Dart SDK from d208e9189352 to 2271a7948692 (2 revisions) (flutter/engine#32390) 2022-04-01 13:26: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
skia-flutter-autoroll
7975b61ca0 Roll Fuchsia Mac SDK from etZVASqL8... to mbPpHdT-i... (flutter/engine#32379) 2022-04-01 05:11:04 -07:00
Kaushik Iska
a0f03a0220 Refactor drawing to offscreen surface (flutter/engine#32338) 2022-04-01 05:40:36 -04:00
skia-flutter-autoroll
c4f0fcd3f4 Roll Dart SDK from 6e5ab8a52752 to d208e9189352 (2 revisions) (flutter/engine#32377) 2022-04-01 01:06:04 -07: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
skia-flutter-autoroll
ebbfcee25d Roll Skia from fa88291aa0b2 to 059945f229a7 (1 revision) (flutter/engine#32374) 2022-03-31 21:06:05 -07:00
skia-flutter-autoroll
afe70c730f Roll Skia from 97efceededb6 to fa88291aa0b2 (1 revision) (flutter/engine#32373) 2022-03-31 19:46:04 -07:00
Tong Mu
60a3850cf5 [Linux, Keyboard] Make keyboard tests use unique_ptr and vector (flutter/engine#32372)
* Tester

* redispatched

* Correct events

* Format

* CallRecord

* nonnulaable call_records

* dispatch unique_ptr

* Remove print

* format

* Remove print

* Update shell/platform/linux/fl_keyboard_manager.h

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2022-03-31 19:34:02 -07:00
Zachary Anderson
be05bbafbf Revert "Add a way to raster cache the children of a Layer" (flutter/engine#32370) 2022-03-31 16:56:04 -07:00
skia-flutter-autoroll
835264b00c Roll Fuchsia Linux SDK from eHav0lMtf... to aPVlr0n67... (flutter/engine#32369) 2022-03-31 16:25:04 -07:00
skia-flutter-autoroll
75b321f3ce Roll Skia from 5e8f45faf194 to 97efceededb6 (1 revision) (flutter/engine#32368) 2022-03-31 16:15:03 -07:00
skia-flutter-autoroll
4ff3bd826e Roll Fuchsia Mac SDK from U5Vi1Az10... to etZVASqL8... (flutter/engine#32367) 2022-03-31 16:05:05 -07:00
skia-flutter-autoroll
5c2807d108 Roll Skia from e679a08f9a2b to 5e8f45faf194 (3 revisions) (flutter/engine#32366) 2022-03-31 14:55:03 -07:00
Matej Knopp
190cee38d1 Specify clip alignment for partial repaint (flutter/engine#31359)
* Specify clip alignment for partial repaint
2022-03-31 23:53:42 +02:00
skia-flutter-autoroll
357e1824c2 Roll Dart SDK from 808470b40bee to 6e5ab8a52752 (1 revision) (flutter/engine#32365) 2022-03-31 14:15:03 -07:00
Renzo Olivares
9f1f275090 Macos deltas composing fix (flutter/engine#32345)
* send correct composing region when composing text - deltas

* Add composing test and fix existing test

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-03-31 13:51:17 -07:00
utzcoz
35632b233b Replace TestUtil#setApiVersion with Robolectric's sdk in Config (flutter/engine#32137) 2022-03-31 13:50:04 -07:00