3081 Commits

Author SHA1 Message Date
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
Michael Reed
0229f6cb17
Update virtual to take sampling (#23476) 2021-01-07 15:49:03 -08:00
Filip Filmar
3b3d8e67d3
[fuchsia][input] Migrate Flutter to "input3" (#23262) 2021-01-07 15:39:03 -08:00
Damian Wrobel
3a1b62b362
Fix argument specifier for g_warning() (#23138) 2021-01-07 15:34:03 -08:00
Kaushik Iska
1365c31351
[tests] Normalize SkImage before comparison. (#23489) 2021-01-07 14:47:06 -08:00
gaaclarke
ca156c5c72
started sharing GPU contexts between spawned engines (#23435)
* Lightweight flutter engines - started sharing GPU contexts between
spawned engines

* responded to feedback
2021-01-07 13:11:36 -08:00
Jason Simmons
83732f262c
Provide a runtime switch for selecting SkParagraph text layout (#23474) 2021-01-07 12:59:03 -08:00
Kaushik Iska
be8839f59e
[macos] Re-land FlutterOpenGLRenderer isolation (#22607) 2021-01-07 08:04:48 -08:00
Jason Simmons
f6b51d0c33
Call JavaVM::AttachCurrentThread only once per thread (#23188) 2021-01-06 17:44:02 -08:00
Dan Field
df27e691b3
Fix SurfaceView usage when status bar is transparent for a11y (#23457) 2021-01-06 11:53:42 -08:00
chunhtai
e682f2aba3
fixes android deeplink to push the path only (#23255) 2021-01-05 11:14:01 -08:00
Michael Reed
022bb11fa7
Remove dead code for 3x3 matrices (#23363)
Co-authored-by: Mike Reed <reed@google.com>
2021-01-05 08:54:20 -05:00
Robert Ancell
90d1f05686
Implement settings channel for the Linux shell (#22486)
Implement settings channel for the Linux shell

Fixes https://github.com/flutter/flutter/issues/65591
2021-01-05 12:28:43 +13:00
Robert Ancell
02abfc9360 Add engine tests for Linux shell 2021-01-05 09:50:52 +13:00
Kaushik Iska
70f070263a
[embedder] [metal] Add support for Metal Renderer Config in the embedder API (#22854)
This change adds a FlutterMetalRendererConfig that lets embedders
specify metal as rendering api.

Also adds a test that validates rendering a gradient using metal.
2021-01-01 20:39:36 -08:00
mikerreed
7cb464aedb
Switch to new virtuals on SkCanvas (#23350)
* Switch to new virtuals on SkCanvas

Co-authored-by: Mike Reed <reed@google.com>
2020-12-30 16:45:33 -05:00
David Worsham
b304148d46
fuchsia: Shutdown Dart VM properly (#23243) 2020-12-28 18:16:27 -08:00
Gary Qian
1c975f1e7c
AssetResolver updating in AssetManager for Dynamic features (#23130) 2020-12-23 17:39:55 -08:00
Dan Field
5a2244c581
Reland path volatility tracker, disabling it if deterministic rendering is requested (#23226)
* Reland path volatility tracker (#23063)" (#23220)

This reverts commit fceef3aaa9d156e8ec3f4a079c142921882f70d8.

* allow disabling based on whether deterministic rendering is needed
2020-12-22 08:25:20 -08:00
Dan Field
fceef3aaa9
Revert "Reland path volatility tracker (#23063)" (#23220)
This reverts commit 205d2b8e188be518c313c9b537429b566d36fa35.
2020-12-21 13:53:18 -08:00
Jenn Magder
d0c504751e
Load App.framework in macOS app (#23221) 2020-12-21 13:51:58 -08:00
Brian Salomon
3a58179d6f
Update ios to use new YUVA texture SkImage factory (#23153) 2020-12-21 15:55:05 -05:00
Zachary Anderson
1be6f414e7
Manual Dart SDK roll (#23165) 2020-12-17 21:42:21 -08:00
Zachary Anderson
de1de9d44f
Disable FlutterPluginAppLifeCycleDelegateTest testWillResignActive (#23166) 2020-12-17 20:34:08 -08:00
Chris Yang
a8c360dc24
Update FlutterPlatformViewsTests (#23158) 2020-12-17 17:34:02 -08:00
Greg Spencer
418cc488e9
Fix macOS crash when modifier keys pressed. (#23154)
This fixes a problem with the macOS key handling where a flagsChanged event is being sent to a keyDown selector.
2020-12-17 16:07:07 -08:00
Andy Weiss
05704d3123
Use include for C/C++ headers in darwin/macos (#23035) 2020-12-17 14:54:02 -08:00