Ben Hagen
e6966a545d
Remove invalid texture error message ( flutter/engine#26816 )
...
This unifies the behaviour with other embedders.
Fixes flutter/flutter#84855
2021-06-24 13:08:37 -07:00
Rafal Walczyna
6024e186a2
Initialize EventChannel state ( flutter/engine#26761 )
...
OnCancel was firing randomly on event channel registering
because of uninitialized is_listening_ variable.
This PR fixes : flutter/flutter#84632
2021-06-24 13:07:56 -07:00
Robert Ancell
3fa5f09847
Re-enable non-smooth scrolling. ( flutter/engine#26549 )
...
Since 0561c75b4d events are now handled in a GtkEventBox and the duplicate
scroll events no longer occur.
Fixes https://github.com/flutter/flutter/issues/73823
2021-06-24 13:06:05 -07:00
Darren Chan
7a203330e1
Emit viewRefFocused events in the flutter runner. ( flutter/engine#26791 )
...
Fulfill HostView.getCurrentFocusState and HostView.getNextFocusState platform message requests to deliver focus-related events to dart code.
Consolidate focus functionality (including requestFocus handling) to a new "FocusDelegate" class.
See https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.ui.views/view_ref_focused.fidl for details about focus state transitions and their meanings.
See https://fxbug.dev/77481 .
2021-06-24 14:48:10 -04:00
Kate Lovett
ea1ff8ab3b
[Engine] Support for Android Fullscreen Modes ( flutter/engine#25785 )
2021-06-24 10:56:01 -07:00
chunhtai
9cca57abef
Reland ios accessibility scrolling support ( flutter/engine#26860 )
2021-06-23 13:36:16 -07:00
Martin Kustermann
fde57f1f1d
Remove usages of --no-causal-async-stacks ( flutter/engine#26877 )
...
Passing the --causal-async-stacks flag to the VM will cause it to error
on VM startup. The VM will remove the flag entirely, but before doing so
we'll have to remove usages of the negated version of the flag, namely
--no-causal-async-stacks.
2021-06-23 14:30:26 +02:00
Dan Field
42ef4abc81
fix javadoc ( flutter/engine#26892 )
2021-06-22 23:01:01 -07:00
chunhtai
2a526b317d
Revert "Issues/80711 reland ( #26813 )" ( flutter/engine#26859 )
...
This reverts commit d03313b7b3f97d2083e3977d9e62974687760a33.
2021-06-21 10:21:04 -07:00
Matej Knopp
fddf12de3f
Rasterizer: Add missing context switches ( flutter/engine#26847 )
...
Fixes https://github.com/flutter/flutter/issues/84930
2021-06-20 13:45:28 +02:00
Dan Field
e6a9345f19
Remove outdated annotations from fixtures ( flutter/engine#26828 )
2021-06-19 10:09:02 -07:00
chunhtai
d03313b7b3
Issues/80711 reland ( flutter/engine#26813 )
2021-06-18 12:34:02 -07:00
Adlai Holler
3aaa10d762
Disable Skia reduceOpsTaskSplitting option ( flutter/engine#26568 )
...
This option will be the default in Skia soon. Per discussion in #26067 , let’s be explicit about disabling it for the time being, and we can revisit the flag in the future if desirable.
2021-06-17 13:11:40 -07:00
chunhtai
29ea8111ac
Revert "Support scrolling in iOS accessibility ( #26671 )" ( flutter/engine#26803 )
...
This reverts commit e933c9ab3e24dfa9e19da5d764edecec45ad19b4.
2021-06-17 10:59:46 -07:00
Jason Simmons
f3254b3a60
Fix a leak of the resource EGL context on Android ( flutter/engine#26789 )
2021-06-17 08:59:01 -07:00
Tong Mu
6fc70b340b
Fix windows keyboard: Extended key, delegate order ( flutter/engine#26757 )
...
* Adjust order
* Update code
* Fix Extended
* Add tests
* Better constants
* Format
* Comment
* Link
2021-06-17 04:59:58 -07:00
J-P Nurmi
98097883e7
FlTextInputType enum
2021-06-16 15:16:00 +12:00
J-P Nurmi
765ce54192
Linux: add support for TextInputType.none
...
TextInputType.none makes it possible to disable the virtual keyboard
for certain TextFields, and lays the foundations for custom in-app
virtual keyboards (flutter/flutter#76072 ).
Ref: flutter/flutter#83567
2021-06-16 15:16:00 +12:00
LongCatIsLooong
d2b8e10379
[iOS TextInputPlugin] fix autofill assert ( flutter/engine#26711 )
2021-06-14 15:34:02 -07:00
chunhtai
e933c9ab3e
Support scrolling in iOS accessibility ( flutter/engine#26671 )
2021-06-14 15:29:02 -07:00
Ren You
7d14b58d2d
Revert "Replace flutter_runner::Thread with fml::Thread. ( #26193 )" ( flutter/engine#26717 )
2021-06-11 15:09:02 -07:00
George Wright
5f83d341b0
Add support for native callbacks to the macOS embedder test harness ( flutter/engine#26694 )
2021-06-11 09:49:54 -07:00
Emmanuel Garcia
b98627e958
Allow Flutter focus to interop with Android view hierarchies ( flutter/engine#26602 )
2021-06-10 16:04:01 -07:00
LongCatIsLooong
7070b47e1a
[Android TextInput] clean up nested batch edits in closeConnection() ( flutter/engine#26628 )
2021-06-10 13:29:02 -07:00
George Wright
48c4a4cb16
Revert "Add support for native callbacks to the macOS embedder test harness ( #26623 )" ( flutter/engine#26693 )
...
This reverts commit a877ccf4ee73c8e7cb992a80ff35b08b8c6dad5b.
2021-06-10 13:01:05 -07:00
Jason Simmons
c8f45a13a4
Enable Skia shader trace events by default ( flutter/engine#26617 )
2021-06-09 17:59:01 -07:00
Jason Simmons
02ce01fd73
Add a tag argument to Skia shader trace events for use by DevTools ( flutter/engine#26590 )
2021-06-09 17:54:02 -07:00
George Wright
a877ccf4ee
Add support for native callbacks to the macOS embedder test harness ( flutter/engine#26623 )
2021-06-09 17:28:13 -07:00
David Worsham
bad9b71a01
Revert "fuchsia: Delete all the legacy code! ( #26422 )" ( flutter/engine#26637 )
...
This reverts commit 9afd7d6af8a0d023c0db67d24c55eb6c08c48aba.
2021-06-08 12:47:44 -07:00
David Worsham
9afd7d6af8
fuchsia: Delete all the legacy code! ( flutter/engine#26422 )
2021-06-07 17:29:39 -07:00
LongCatIsLooong
f2d4eff14c
[Android KeyEvents] Split AndroidKeyProcessor into separate classes ( flutter/engine#25628 )
2021-06-04 18:54:01 -07:00
Kaushik Iska
c43fc8128d
Wait for the native callbacks from the spawned isolate ( flutter/engine#26593 )
...
I think the problem here is that `Dart_InitializeIsolateCallback` which sets the message handler for the spawned/child isolate isn't guaranteed to be called from the same thread as the parent isolate. This is resulting in the following case:
```
void child(String message) {
print('Child isolate got message: ' + message);
notifyNative();
}
void main() {
Isolate.spawn(child, 'Hello from main isolate.');
notifyNative();
}
```
The `main` isolate could spawn a child and if we were to kill the main isolate before the native notifications were waited for, we could end up in a bad place.
The ideal solution would be to guarantee that isolate shutdown ensures
that all the spawned/child isolates are shutdown before shutting down
the main isolate.
2021-06-04 17:37:21 -05:00
LongCatIsLooong
949b10ee70
[iOSTextInputPlugin] bypass UIKit floating cursor coordinates clamping ( flutter/engine#26486 )
2021-06-04 12:19:01 -07:00
George Wright
a7db818527
Add support for compositing using Metal on macOS ( flutter/engine#26554 )
2021-06-04 11:52:27 -07:00
chunhtai
1d81ba27ca
fixes crash when sets mouseTrackingMode before view is loaded ( flutter/engine#26576 )
2021-06-04 11:09:02 -07:00
LongCatIsLooong
4e1ca7bbd2
[iOSTextInput] fix potential dangling pointer access ( flutter/engine#26547 )
2021-06-03 20:54:01 -07:00
Nico Teufel
0cd5eb3217
Fix Fragment not transparent in Texture render mode ( flutter/engine#26446 )
2021-06-03 15:54:01 -07:00
David Worsham
90b1f10ab7
fuchsia: Delete unused compilation_trace code ( flutter/engine#20535 )
2021-06-03 15:44:01 -07:00
gaaclarke
ec7c6f08d8
Added more descriptive error to StandardMessageCodec for types that override toString() ( flutter/engine#26527 )
2021-06-03 14:44:02 -07:00
Hunter Freyer
84d62201b6
Replace flutter_runner::Thread with fml::Thread. ( flutter/engine#26193 )
2021-06-03 14:39:04 -07:00
sagallea
5bf41ddae1
Add physical view insets to FlutterWindowMetricsEvent ( flutter/engine#26442 )
...
This is needed to propagate inset values through Flutter.
Bug: b/181683254
2021-06-03 14:37:05 -07:00
Jeff Ward
0998ae3840
Fix incorrectly inserting Float32List in the wrong location in encodable_value. ( flutter/engine#26537 )
2021-06-03 09:09:01 -07:00
Darren Chan
f41e276f91
Migrate flutter_runner to Scenic.CreateSessionT. ( flutter/engine#26536 )
2021-06-03 08:49:02 -07:00
freiling
0067ff89de
[fuchsia] Migrate shader warmup to be triggered by Dart code. ( flutter/engine#26114 )
2021-06-02 16:45:17 -07:00
Kaushik Iska
1692a5f722
Guard task queue id for fuchsia ( flutter/engine#26542 )
2021-06-02 14:00:50 -07:00
Jeff Ward
cf4c1e15c7
Add Float32List support to the Linux standard message codec
2021-06-03 08:38:45 +12:00
chunhtai
4f0008101f
Reland "Add API to the engine to support attributed text ( #25373 )" ( flutter/engine#26528 )
2021-06-02 10:14:02 -07:00
Darren Chan
8dc11f638c
Cache Handle.koid(). ( flutter/engine#26506 )
2021-06-02 10:09:02 -07:00
Zachary Anderson
109e761ac1
Revert "Add support for compositing using Metal on macOS ( #26302 )" ( flutter/engine#26540 )
...
This reverts commit a890879ba203f9ad57da32dc74caeb215cf1e04b.
2021-06-02 09:27:15 -07:00
George Wright
a890879ba2
Add support for compositing using Metal on macOS ( flutter/engine#26302 )
2021-06-01 19:49:47 -07:00