Shivesh Ganju
271b59d7a6
[fuchsia][scenic] Reland Move pointer injector to embedder. ( flutter/engine#34692 )
...
This PR moves the pointer injector library from fuchsia views library
present in fuchsia.git to the flutter embedder.
Test: ffx test run "fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cm"
2022-07-15 17:27:00 -04:00
Qixing Cao
3dfca9f974
[Windows] Fix GDI resource leaks in the software fallback path ( flutter/engine#34574 )
...
Updates `FlutterWindowWin32::OnBitmapSurfaceUpdated` to release the device context using `ReleaseDC`.
Fixes: https://github.com/flutter/flutter/issues/107368
2022-07-15 13:40:40 -07:00
Chris Yang
da5e08bbae
iOS: Avoid attaching view twice when loading view in FlutterViewController ( flutter/engine#34642 )
2022-07-14 18:30:04 +00:00
Alexander Biggs
0976788e5f
Revert "[fuchsia][scenic] Move pointer injector to embedder. ( #34555 )" ( flutter/engine#34661 )
...
This reverts commit 9e4f92a2f9f14394038a346f05709f9ddada17cc.
2022-07-14 12:29:04 -04:00
Callum Moffat
0941daa6de
Reland "Add new pointer signal for cancelling scroll inertia" ( flutter/engine#34537 )
2022-07-14 03:14:04 +00:00
Naud Ghebre
f11acdefe3
[dart runner] Remove unused use statements from dart runner manifest. ( flutter/engine#34652 )
2022-07-13 21:21:34 -04:00
Camille Simon
618653360b
Undo custom serialization of spell check results on Android ( flutter/engine#34647 )
2022-07-13 16:33:03 -07:00
Javon Thomas
43cf716d03
Create blanket backdrop filter mutator ( flutter/engine#34408 )
2022-07-13 22:08:05 +00:00
gaaclarke
d434456964
added trace events for scheduling responses to platform messages ( flutter/engine#34230 )
2022-07-13 20:32:04 +00:00
Qixing Cao
db8ed65398
[Windows] handle repaint message in FlutterView window ( flutter/engine#34306 )
...
This PR will fix the blank FlutterView issue by handling the repaint message in FlutterView window.
Currently, WM_PAINT msg is not handled in flutter window and the default WindowProc will do nothing but paint the background. In some user cases, e.g., hide/show/min/max the app window, this can result in blank FlutterView if the content is static and there are no running animation.
Addresses https://github.com/flutter/flutter/issues/101339
Addresses https://github.com/flutter/flutter/issues/102030
2022-07-13 11:15:28 -07:00
ColdPaleLight
e1fe7327b1
Use the correct 'SnapshotDelegate' in 'RuntimeController::Spawn' ( flutter/engine#34523 )
2022-07-13 01:09:04 +00:00
Jon Salmon
cd66e9dcfa
[Windows] Respect OS's scroll speed setting at startup ( flutter/engine#32094 )
...
Updates scrolling in Windows to respect the 'lines to scroll per scroll wheel tick' setting at app startup.
The scrolling amount per tick is also increased to match Chrome (at 100px with default windows settings). This is also similar to what UWP does natively (approximately 96px based on observation).
Resolves https://github.com/flutter/flutter/issues/97924
2022-07-12 15:01:17 -07:00
Shivesh Ganju
9e4f92a2f9
[fuchsia][scenic] Move pointer injector to embedder. ( flutter/engine#34555 )
...
This PR moves the pointer injector library from fuchsia views library
present in fuchsia.git to the flutter embedder.
Test: ffx test run "fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cm"
2022-07-12 17:23:50 -04:00
Jason Simmons
2528ab8891
Set the IO thread on Android to normal priority ( flutter/engine#34588 )
2022-07-12 20:39:03 +00:00
Jason Simmons
819a9468fa
Add a missing include to FlutterSurfaceManager.mm ( flutter/engine#34597 )
2022-07-12 20:29:04 +00:00
ColdPaleLight
94376125a0
Set the 'visibility' of 'FlutterView' to the previous one in 'FragmentActivityAndFragment.onStart' ( flutter/engine#34601 )
2022-07-12 07:05:05 +00:00
Chris Yang
cd0ced63e5
Reland "iOS spell-checker ObjC #32941 " ( flutter/engine#34356 )
2022-07-11 23:29:04 +00:00
Márk Tolmács
c85e3529b1
Fix tests on the Windows platform ( flutter/engine#34350 )
...
Addresses https://github.com/flutter/flutter/issues/36301
2022-07-11 11:01:05 -07:00
Yang Chao
0136679fb8
Increase IO thread's priority on iOS to avoid stucks ( flutter/engine#34568 )
2022-07-11 17:59:04 +00:00
Tong Mu
5da06e8cc8
[Keyboard, iOS] Use special key mapping for logical keys ( flutter/engine#34413 )
...
* Impl
* Add test
* Change to string
* Apply suggestions from code review
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
* Try alloc init
* Fix character
* Fix mapping
* Fix compile
* Try literal string
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2022-07-08 15:58:44 -07:00
Dan Field
e162fed336
Rename toGpuImage to toImageSync ( flutter/engine#34504 )
2022-07-08 19:41:05 +00:00
Bernardo Eilert Trevisan
a08a568e0a
Relanded "Implement support for explicit specification of JIT snapshots ( #34244 )"
...
This reverts commit b989d4723510771017ef598403a2366a8f1bcac7.
2022-07-08 15:19:30 -04:00
Tong Mu
25490eb3b5
Revert "Add new pointer signal for cancelling scroll inertia ( #34402 )" ( flutter/engine#34535 )
...
This reverts commit 0a1ee488baaddc9429c75e4a463d73ac5a4e2330.
2022-07-08 04:45:23 -07:00
ColdPaleLight
dd363ae2ef
Fix issue about multi-engine loading assets throws exception after engines restart ( flutter/engine#34473 )
2022-07-08 01:36:04 +00:00
Callum Moffat
0a1ee488ba
Add new pointer signal for cancelling scroll inertia ( flutter/engine#34402 )
2022-07-08 01:32:05 +00:00
Jonah Williams
e2a2ad7c70
delete dl flag from allowlist ( flutter/engine#34515 )
2022-07-08 00:52:03 +00:00
Jason Simmons
b989d47235
Revert "Implement support for explicit specification of JIT snapshots ( #34244 )" ( flutter/engine#34517 )
...
This reverts commit 042ee2546c1569850f628e33e34385299e2df3c7.
2022-07-07 16:59:07 -07:00
Bernardo Eilert Trevisan
042ee2546c
Implement support for explicit specification of JIT snapshots ( flutter/engine#34244 )
2022-07-07 22:48:05 +00:00
Naud Ghebre
cf5f9d4f95
[dart_test_runner] Support stdout/stderr logging to current execution window by passing handles to the dart process and the test_manager. ( flutter/engine#33858 )
2022-07-07 17:07:12 -04:00
Jason Simmons
a7bde78fb6
Initialize AndroidEGLSurface::presentation_time_proc_ to null ( flutter/engine#34509 )
2022-07-07 19:46:04 +00:00
Matej Knopp
a538b9bda7
[macOS] TextInputPlugin should not consume unhandled key equivalent events ( flutter/engine#34250 )
...
Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2022-07-07 15:00:36 +02:00
Tong Mu
ee2970fc03
[Keyboard, Linux] Disconnect keymap signal on dispose ( flutter/engine#34488 )
2022-07-07 15:06:47 +12:00
Matej Knopp
e6bda8e474
Use sRGB colorspace for IOSurface ( flutter/engine#34464 )
2022-07-06 19:04:03 -07:00
Chris Yang
39351b3846
Do not update virtual display size ( flutter/engine#34414 )
2022-07-06 17:10:04 +00:00
Nayuta403
438c737e98
Avoid crash caused by flutterImageView be null ( flutter/engine#34395 )
2022-07-03 19:39:03 -07:00
Zachary Anderson
04d46cad00
Disables flaky test FlutterMenuPluginTest.TestSetMenu ( flutter/engine#34429 )
...
See:
https://github.com/flutter/flutter/issues/106589 and https://github.com/flutter/flutter/issues/106588
2022-07-01 12:20:07 -07:00
godofredoc
85d391d1f1
Add gen_snapshot for windows. ( flutter/engine#34304 )
2022-07-01 18:53:03 +00:00
Alexander Brusher
204be74ed2
Revert "Revert "[fuchsia][a11y] Set explicit hit regions per compositor layer on GFX. ( #33852 )" ( #34360 )" ( flutter/engine#34386 )
...
This reverts commit 6d1dd42a737da09066dcbe53ec0eb2c99f4c0a84.
2022-06-30 14:43:25 -04:00
moko256
dd406a3b11
Windows: IME window follows left edge of composing text, to match native Windows apps. ( flutter/engine#34292 )
2022-06-30 00:11:04 -07:00
Jia Hao
036265b39e
Avoid vsync scheduling delay ( flutter/engine#34363 )
2022-06-30 05:22:04 +00:00
JsouLiang
ba5bf62d28
Defer decisions about RasterCache actions until after Preroll is complete ( flutter/engine#31892 )
2022-06-29 20:59:06 -07:00
Zachary Anderson
3c6820dc68
Move embedder_a11y_unittests to its own binary ( flutter/engine#34377 )
2022-06-29 12:38:26 -07:00
J-P Nurmi
625f971298
[Linux] do not destroy unowned GdkKeymap instance ( flutter/engine#34351 )
...
`gdk_keymap_get_for_display()` does not transfer ownership to the
caller. Destroying the keymap object would cause problems further down
the road when `GtkWindow` gets to clean up and tries to destroy the
same keymap.
2022-06-29 11:25:52 +12:00
Naud Ghebre
6d1dd42a73
Revert "[fuchsia][a11y] Set explicit hit regions per compositor layer on GFX. ( #33852 )" ( flutter/engine#34360 )
...
This reverts commit c73e679ebf50b1455b207e2eacc70111d8b31acd.
2022-06-28 18:32:23 -04:00
Dangyi Liu
e6e8693c0c
[fuchsia] Close runtime_dir when launching components ( flutter/engine#34342 )
...
The runner is supposed to either serve the runtime_dir, or close the
channel immediately. Otherwise consumers will get blocked indefinitely.
BUG: fxbug.dev/103480
2022-06-28 11:21:42 -07:00
Gary Qian
2a7cb615dd
Add registration calls for ComponentCallbacks2 ( flutter/engine#34206 )
2022-06-28 00:29:04 -07:00
Gary Qian
2dcf8d3b41
Send locales to Flutter in FlutterEngine initialization instead of FlutterView ( flutter/engine#34243 )
2022-06-27 22:59:04 -07:00
Kaushik Iska
fa17e34df7
Expose a iOS plist setting to disable partial repaint. ( flutter/engine#34328 )
...
If the following is added to Info.plist of the application,
it will disable partial repaint:
```
<key>FLTDisablePartialRepaint</key>
<true/>
```
The primary intended usecase for this is to enable applications to see if disabling partial repaint resolves:
https://github.com/flutter/flutter/issues/100522 .
2022-06-27 16:47:17 -04:00
Chase Latta
5e40f2c07c
[fuchsia] replace deprecated fdio_ns_connect ( flutter/engine#34327 )
2022-06-27 13:01:41 -07:00
godofredoc
de593702de
Add gen_snapshot to flutter_gtk. ( flutter/engine#34287 )
2022-06-27 17:00:06 +00:00