3684 Commits

Author SHA1 Message Date
Emircan Uysaler
ea8305d95f fuchsia: Add child views to flatland engine (flutter/engine#28811) 2021-09-27 12:13:01 -07:00
Chris Yang
c9f351741d backdrop_filter_layer only pushes to the leaf_nodes_canvas (flutter/engine#28500) 2021-09-27 11:33:01 -07:00
moko256
00ca12c712 [UWP] Add modifier keys support (flutter/engine#28724)
Implement GetModsForKeyState in keyboard_key_channel_handler.cc
2021-09-27 11:19:29 -07:00
LongCatIsLooong
047a8acf2d [iOSTextInput] remove floating cursor asserts (flutter/engine#28868) 2021-09-27 11:08:16 -07:00
Jaeheon Yi
482c08216e fuchsia.ui.pointer.TouchSource implementation for fuchsia platform view (flutter/engine#28242) 2021-09-26 07:43:05 -07:00
Alexander Biggs
2e9689d1a3 [fuchsia] Remove unused deps on fidl optional.h. (flutter/engine#28863)
Removed in https://fuchsia-review.googlesource.com/c/fuchsia/+/585444
making our SDK roll fail in #28862.
2021-09-26 09:49:08 -04:00
chunhtai
c10d96d6c9 Fixes FlutterSemanticsScrollView to not implement accessibility container API (flutter/engine#28846) 2021-09-24 14:59:42 -07:00
Alexander Biggs
6dd9777440 [Fuchsia] Notify Shell when memory becomes low. (flutter/engine#28821) 2021-09-24 12:23:01 -07:00
Gary Qian
98716a1274 Fix deprecated WindowManager INCORRECT_CONTEXT_USAGE and VsyncWaiter takes FPS float (flutter/engine#28774) 2021-09-23 16:38:40 -07:00
ColdPaleLight
b5b786f13a Delete is_background_view from FlutterJNI (flutter/engine#28566) 2021-09-23 13:58:01 -07:00
Yuhui Huang
1b2b1cae4c Linux texture support (flutter/engine#24916) 2021-09-23 13:53:02 -07:00
Jason Simmons
3aaefc576f Make DartExecutor.IsolateServiceIdListener public (flutter/engine#28806) 2021-09-23 07:38:01 -07:00
Jenn Magder
f9f6708037 Set MinimumOSVersion in iOS Info.plist based on buildroot setting (flutter/engine#28743) 2021-09-22 14:38:02 -07:00
Chris Bracken
d50ad5051d Disable failing unit tests on UWP (flutter/engine#28785)
In order to enable all the currently-passing Windows UWP unit tests and
prevent any regressions, I've disabled currently-failing tests so we can
enable the passing unit tests as part of presubmit.

Most of the failures fall into one of the following categories:
* threading issues (accessing an object from the wrong thread)
* filesystem sandboxing issues (trying to access a path outside the sandbox)
* network issues (trying to connect to sandboxed vm service)
2021-09-22 10:02:47 -07:00
Jenn Magder
47865c93b8 Set MinimumOSVersion to iOS 9 in Info.plist (flutter/engine#28783) 2021-09-21 19:08:01 -07:00
Emmanuel Garcia
4cb3bf45b2 Replace jcenter() for mavenCentral() (flutter/engine#28777) 2021-09-21 14:09:08 -07:00
Darren Chan
b82554ae4a Implement a default font manager for Fuchsia. (flutter/engine#28673)
This helps us get rid of our hacky font switch after engine initialization.

See https://fxbug.dev/76406 and https://github.com/flutter/flutter/issues/82202.
2021-09-21 12:33:37 -07:00
Alexander Biggs
7da9095bfb [fuchsia] Fix missing function in V2 dart runner. (flutter/engine#28734) 2021-09-20 18:21:22 -04:00
Kaushik Iska
3ea49f1530 Reland "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28726) 2021-09-20 15:13:02 -07:00
Jason Simmons
5cca7e4f66 Do not share the GrDirectContext across engine instances on Android (flutter/engine#28694) 2021-09-17 17:43:01 -07:00
David Worsham
877ab26be3 fuchsia: Use buffer_collection_x extension (flutter/engine#28683) 2021-09-17 15:31:26 -07:00
Rulong Chen(陈汝龙)
3c7cce85f0 [android] Fix black and blank screen issues on the platform view page. (flutter/engine#28277) 2021-09-17 11:25:06 -07:00
David Worsham
6e7589fc42 fuchsia: Add FuchsiaExternalViewEmbedder tests (flutter/engine#28144) 2021-09-16 22:10:38 -07:00
Zachary Anderson
75c1fbccc7 Don't use Dart's application_snapshot() rule (flutter/engine#28361) 2021-09-16 13:37:01 -07:00
Emmanuel Garcia
294895d132 Don't use Build.VERSION_CODES.S in test (flutter/engine#28667) 2021-09-16 13:27:01 -07:00
Niklas Schulze
fec4d526e3 Windows: FlutterDesktopPixelBuffer: Add optional release callback (flutter/engine#28298) 2021-09-16 13:07:02 -07:00
Brandon DeRosier
7b6fa075a7 Flip on leak detector and suppress or fix remaining leak traces (flutter/engine#28625)
Patch/suppress the remaining leaks and flip on the leak detector to start catching new leaks in CI.
2021-09-16 12:58:56 -07:00
Renzo Olivares
6b8c6b6711 TextEditingDelta support for iOS (flutter/engine#28418) 2021-09-16 10:07:02 -07:00
Renzo Olivares
b2b2f705de TextEditingDelta support for Android (flutter/engine#28175)
* Add new channel updateEditingStateWithDelta

* Fix formatting

* Fix formatting

* Fix formatting

* Add equality case

* formatting

* Implement TextEditingDelta class to encapsulate delta logic

* Formatting

* Also send new composing/selection along with delta

* Utilize an ArrayList of TextEditingDeltas to take into account batch editing

* clear batch deltas when editing state is updated by framework, we don't want to collect deltas from the framework because they have already been applied to the value on the framework side

* fix formatting

* formatting

* formatting

* Add enableDeltaModel flag to choose between updateEditingValue and updateEditingValueWithDeltas

* Add autofill support for delta model

* formatting

* update

* Fix issues with composing region

* formatting

* Remove

* Fix out of bounds error when textfield is initialized with text

* Clean up logs

* formatting

* update licenses

* Fix deletion issues

* formatting

* delta -> deltaType

* updates

* formatting

* formatting

* Fix logs

* Add tests for TextEditingDelta

* formatting fixes

* remove unused imports

* Fix return type for getDeltaType

* Fix tests

* Fix ListenableEditingStateTest

* formatting

* Fix typo

* Add test for deltas when setComposingText

* formatting

* Updates to test

* fix typo

* formatting

* Verify all properties of delta for test

* formatting

* Add VisibleForTesting import

* fix test

* fix formatting

* fix tests

* fix tests

* fix tests

* updates for tests

* remove ide made file

* Fix more tests

* Fix TextEditingDelta tests

* Add test for verifying delta is generated on setComposingText

* Add TextInputPlugin tests for replacement and deletion deltas

* formatting

* formatting

* Capture delta on setSpan and clear deltas when generated from the framework and when we skip updating the framework

* fix formatting

* update tests to reflect new clear batch delta calls

* Make deletion inline with platform

* fix tests

* Address reviewer comments

* formatting

* fix tests

* fix tests

* move delta inference to framework

* update tests

* formatting

* fix tests

* Formatting

* get -> extract

* More tests and address reviewer comments

* clean up logs

* Address reviewer comments

* formatting

* formatting

* Remove testing constructor

* send as deltas
2021-09-15 13:41:21 -07:00
Konstantin Scheglov
463ebf640f Fix UNNECESSARY_TYPE_CHECK_TRUE (flutter/engine#28611)
* Fix UNNECESSARY_TYPE_CHECK_TRUE

* Fix two more places.
2021-09-15 08:22:24 -07:00
xxrl
df1529f94e Delay matrix call in Preroll of picture layer (flutter/engine#28380) 2021-09-14 23:22:03 -07:00
Alexander Biggs
66fe4ff7d1 [fuchsia] Create DartComponentController for CFv2. (flutter/engine#28613)
Bug: fxb/79871

The code is still using the CFv1 implementation, so this should not affect the existing behavior.

For this version of the PR, I forked the existing DartComponentController. There were a few reasons for this:

Reduces the chance of the change breaking existing tests during Fuchsia GI.
Makes the V2 version of the DartComponentController simpler to read.
Makes it easier to switch over to using the V2 version of the DartComponentController once the migration is ready to happen (less cleanup).
The rate of changes to the DartComponentController is slow so there shouldn't be much maintenance required for the fork.
Changes to the DartRunner itself will happen in a follow-up PR - this PR only verifies that the ComponentController builds.

Relands GN and C++ changes for #27226 after rollback in #28036.
2021-09-14 16:15:53 -07:00
Kate Lovett
297946f1c1 Update API availability of edge to edge (flutter/engine#28616) 2021-09-14 17:14:23 -05:00
Emmanuel Garcia
e10e8ca58e Don't use rFD in pre-Q versions (flutter/engine#28593) 2021-09-13 15:31:54 -07:00
Daco Harkes
eb9ef3e99c [Desktop][Linux] Add RUNPATH $ORIGIN to flutter_linux_gtk (flutter/engine#28525) 2021-09-13 07:57:29 +02:00
Dan Field
33b811183a Allow injection of ExecutorService (flutter/engine#28543)
* Allow injection of ExecutorService

* Set thread names, use cached pool
2021-09-10 12:52:02 -07:00
chunhtai
1044ef57a4 Fixes accessibility issue that bridge fails to clean up FlutterScrollableSemanticsObject (flutter/engine#28495) 2021-09-10 11:32:02 -07:00
ColdPaleLight
aa228644cd Discard the resubmitted layer tree of the wrong size instead of rendering it (flutter/engine#28474) 2021-09-09 20:47:01 -07:00
Rich Kadel
dd51e241e5 Fix building Dart Fuchsia components and packages (flutter/engine#28413) 2021-09-09 14:47:02 -07:00
xster
8fefd6c656 Add a comment in the FlutterEngineGroup's constructor to avoid using the activity's context (flutter/engine#28168) 2021-09-09 14:42:03 -07:00
moko256
34985c56b4 cleanup #28098 (flutter/engine#28334) 2021-09-09 13:17:01 -07:00
Kaushik Iska
3cbb40e6ea Revert "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28513) 2021-09-08 12:24:43 -07:00
Alexander Biggs
ef0d8bf6fe [fuchsia] Add CML files for dart_runner on CFv2. (flutter/engine#28491)
Bug: 79871

Partial re-land of #27226 (which was reverted in #28036 due to a flaky test). Only adds in the CML files for a CFv2 dart_runner without the corresponding C++ and GN changes.
2021-09-08 11:55:03 -07:00
Kaushik Iska
559cc49517 Reland "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28510)
This reverts commit f23eeaba7a6edef97cae5693cdbeb66ce05d2493.
2021-09-08 11:24:09 -07:00
Chinmay Garde
f23eeaba7a Revert "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28509)
This reverts commit db55f9274993a34bb6a0c81cc377cde54bb585d7.
2021-09-08 10:33:54 -07:00
Kaushik Iska
db55f92749 Add benchmarks to measure dart -> native time (flutter/engine#28492) 2021-09-08 09:17:01 -07:00
LongCatIsLooong
9fe73b3892 [TextInput] enroll in autofill by default (flutter/engine#28333) 2021-09-03 19:16:01 -07:00
Jim Graham
10d49ea696 Add RasterCache metrics to the FrameTimings (flutter/engine#28439) 2021-09-03 16:26:01 -07:00
Tamir Duberstein
f84699a8b9 Remove fuchsia.net.NameLookup (flutter/engine#28403) 2021-09-03 16:21:02 -07:00
Zachary Anderson
86de3b6591 Revert "Display Features support (Foldable and Cutout) (#24756)" (flutter/engine#28447)
This reverts commit 53b9a690c5eb8410c561be43964f350f58347366.
2021-09-03 09:01:15 -07:00