3107 Commits

Author SHA1 Message Date
Zachary Anderson
71d264dcf4
Revert "implemented GetMainContext() for opengl (#23634)" (#23859)
This reverts commit 296902b8e818dbd1e1a0ff28e2e5b01d9760988f.
2021-01-22 09:54:24 -08:00
Lau Ching Jun
ffc77f0da3
Search multiple paths when loading deferred component .so files. (#23849)
This is a partial revert of 7c19824c6d08bb8e3fc4217058178d42d451e26b

On some devices we still need to the original search paths approach
because dlopen with just the base file name doesn't work. We're
combining both approaches now, adding the base filename as the first
entry in the searchPaths.
2021-01-22 09:41:22 -08:00
chunhtai
0118b54392
Implements accessibility bridge in common library (#23491) 2021-01-22 09:29:02 -08:00
Dan Field
5dc24693d5
Reland path vol tracker (#23840)
This time making sure to deref the native object on GC.
2021-01-21 16:03:43 -08:00
Lau Ching Jun
7c19824c6d
Pass the filename directly to JNI for loading deferred component. (#23824)
When .so files are in the lib/ path in the APK, it can be dlopen-ed
directly using just the filename. We don't need to search for the file.
The interface has thus been changed to accept a single path instead of a
search directory.

Also instead of hardcoding the .so basename and assets directory, read
them from FlutterApplicationInfo instead.
2021-01-21 16:01:13 -08:00
pepsin
9223073706
Fix background crash when FlutterView going appear while app goes background (#23175) 2021-01-21 15:34:02 -08:00
Greg Spencer
3da13fccf3
Make android more lenient when it comes to out-of-order key event responses (#23604)
Relaxes enforcement of key events being handled in order, to match similar code in the Linux and Windows implementations.
2021-01-21 15:31:21 -08:00
Sarbagya Dhaubanjar
7f66714833
iOS deeplink sends "path + query" instead of just path (#23562) 2021-01-21 15:09:01 -08:00
Jason Simmons
87960d8b3a
Fix typo in embedder unit tests (#23783) 2021-01-21 14:24:38 -08:00
Wu Zhong
fd9a079ac1
[iOS] Fixes DisplayLinkManager leaks (#22194) 2021-01-21 11:19:51 -08:00
gaaclarke
296902b8e8
implemented GetMainContext() for opengl (#23634) 2021-01-21 09:43:06 -08:00
Dan Field
e37235b647
revert path volatility tracker (#23822) 2021-01-21 08:34:02 -08:00
Jang-Ho Hwang
6fc509a72f
Fix typo in textureFrameAvailable on macOS (#23823) 2021-01-21 08:31:00 -08:00
Daco Harkes
920a33a0fc
add ffi_allocation_patch.dart to libraries.yaml (#23808) 2021-01-20 16:44:02 -08:00
kevinsakuma
6dec80630e
Removes deprecated WLAN API dependency. (#23726) 2021-01-20 09:24:02 -08:00
Gary Qian
9acfb7d59c
Fix JNI void vs object method call (#23785) 2021-01-19 21:54:01 -08:00
gaaclarke
2927e9fb43
block thread merging with shared engines (#23733) 2021-01-19 15:38:56 -08:00
Dan Field
8b27e6fb45
skip flaky test (#23775) 2021-01-19 15:02:36 -08:00
xster
915e2ca178
FlutterEngineGroup for Android (#23675) 2021-01-19 12:29:02 -08:00
Kaushik Iska
f6162dc7b5
[windows] Enable smooth resizing on windows (#23701) 2021-01-19 11:17:41 -08:00
Niklas Schulze
eb031d35ad
Add windows plugin texture support (#19405) 2021-01-19 11:14:01 -08:00
Jody Sankey
23a9a0f4fb
[fuchsia] Add missing static binding check. (#23731) 2021-01-15 22:19:02 -08:00
Alexander Brusher
6cbdd9a46a
Populates fuchsia a11y toggled state. (#23704)
This change ensures that flutter accessibility updates include toggled
state as appropriate.
2021-01-15 10:32:19 -08:00
Michael Goderbauer
0123541c39
State Restoration for iOS (#23495) 2021-01-14 15:54:04 -08:00
Kaushik Iska
36a9451a4f
Add support for rendering using Metal on macOS (#23599) 2021-01-14 14:47:21 -08:00
gaaclarke
effb529ece
Added missing export for the flutter engine group. (#23689) 2021-01-14 13:19:03 -08:00
George Wright
a8a7534eab
Support Mice in iPadOS 13.4+ (#23636) 2021-01-14 11:15:29 -08:00
gaaclarke
4c11ced794
lightweight flutter engines: sharing skia contexts for the io thread (#23508) 2021-01-13 13:04:16 -08:00
Robert Ancell
546e70df8c Use the scroll multiplier that the Chromium source uses.
Fixes https://github.com/flutter/flutter/issues/71385
2021-01-14 09:06:36 +13:00
Robert Ancell
047f3180d9 Only handle smooth scroll events.
On X11 scroll events are being directly sent to the FlView X window. This is
causing them to bypass the normal scroll handling and means this widget received
both smooth and non-smooth scroll events.

I haven't been able to find a solution to the root cause of the problem, so only
smooth scroll event are being processed. This could cause issues on older
versions of the X server that don't send smooth scroll events, but fixes the
problem for the common modern case.

This issue doesn't occur in Wayland.
2021-01-14 09:06:36 +13:00
gaaclarke
07689c2d6e
share font collections between spawn engines (#23603) 2021-01-13 11:38:48 -08:00
Robert Ancell
20991a5985
Add accessibility suport to Linux shell. (#19634)
Add accessibility support to the Linux shell
2021-01-13 13:49:48 +13:00
gaaclarke
22bb891d63
Plumbing refactor to allow the usage of Dart_CreateIsolateInGroup (#23549)
Did the plumbing refactor that allows us to call Dart_CreateIsolateInGroup when applicable.
2021-01-12 16:43:12 -08:00
Sarbagya Dhaubanjar
fb56b4be2a
Android deeplink sends "path + query" instead of just path (#23561)
* added .cpid & .gclient to gitignore

* updated tests

* minor change

* fixed formating

* compact concatenation

* minor change

* Revert "added .cpid & .gclient to gitignore"

* cleanup
2021-01-12 16:02:08 -08:00
Niklas Schulze
846d9583c5
Windows textures: Add placeholder flutter_texture_registrar.h (#23623) 2021-01-12 13:19:02 -08:00
Chase Latta
a1e74242ff
[dart-runner] Avoid calling Destroy on nullptr (#23608) 2021-01-12 13:14:02 -08:00
Robert Ancell
5fd25a971c Only remove weak pointers that are set.
If the pointer has already been removed this generates a runtime warning.
2021-01-12 15:35:39 +13:00
Jenn Magder
affaca375c
Revert "Support Mice in iPadOS 13.4+ (#23362)" (#23610)
This reverts commit 6c80aa777913914f9753e3c4efc1c3d4aa22f7a5.
2021-01-11 18:24:45 -08:00
gaaclarke
62e2529744
Started asserting that metal gpu contexts are shared (#23539)
Started asserting that metal gpu contexts are shared, added ability
for IOSContexts to store their skia contexts so we can make the OpenGL
code work like the Metal code.
2021-01-11 16:39:37 -08:00
Greg Spencer
250dcd5287
Fix indexing error in Linux key event handling (#23598)
Fixes an indexing error in the linux key handling code.

I also found another error when checking to see if an event is re-dispatched, and some off-by-one errors in the search. Not sure what I was smoking that day, but hopefully these are all the issues.
2021-01-11 13:01:06 -08:00
George Wright
6c80aa7779
Support Mice in iPadOS 13.4+ (#23362) 2021-01-11 10:35:41 -08:00
Robert Ancell
48edbf3d1d Re-enable test 2021-01-11 11:36:40 +13:00
Robert Ancell
36fa767d4a Fix double frees in FlSettingsPlugin tests.
Fixes https://github.com/flutter/flutter/issues/73517
2021-01-11 11:36:40 +13:00
Robert Ancell
59a965eaef Remove debugging code 2021-01-11 11:36:40 +13:00
Kaushik Iska
4a40b82089
[metal] Disable image comparison for gradient_metal test (#23540)
See:  https://github.com/flutter/flutter/issues/73590
2021-01-08 17:48:10 -08:00
Jason Simmons
9370aaf548
Add a keep annotation to the ImeSyncDeferringInsetsCallback.AnimationCallback inner class (#23545)
Fixes https://github.com/flutter/flutter/issues/72787
2021-01-08 14:54:09 -08:00
Greg Spencer
9cb4d2dd24
Make pending event handling more lenient to allow out of order responses (#23504)
This PR makes the Linux key handling code a little more lenient when it comes to the order in which it receives responses to key events from the framework. I had assumed that there wasn't a case where responses could get out of order, but it seems that it is possible, given that you can mash on the keyboard and eventually get one out of order.

This changes the code so that instead of just looking at the first entry in the pending event deque, it searches the deque starting at the beginning to find the event, and remove it.
2021-01-08 10:43:59 -08:00
Michael Goderbauer
40a262b67c
Update outdated links (#23513) 2021-01-08 10:14:01 -08:00
Gary Qian
3f200606c1
Rename DynamicFeature->DeferredComponent and impl uninstall DeferredComponents (#23224) 2021-01-07 21:02:05 -08:00
Jason Simmons
5f7a12097f
Skip the FlEngineTest.SettingsPlugin test (#23516)
See https://github.com/flutter/flutter/issues/73517
2021-01-07 17:03:28 -08:00