3443 Commits

Author SHA1 Message Date
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
Jason Simmons
189fc5d4d4 Add an encoder for CharSequence in StandardMessageCodec (flutter/engine#26526)
https://github.com/flutter/engine/pull/25373 introdued APIs that
return SpannableString, which is a CharSequence subclass that was
not previously supported by StandardMessageCodec

See https://github.com/flutter/flutter/issues/83751
2021-06-01 18:42:57 -07:00
Kaushik Iska
187c6a3ec2 Revert "Add API to the engine to support attributed text (#25373)" (flutter/engine#26524)
This reverts commit f64abc695eb8badcdb2639a6321ba9575d3c7c3d.
2021-06-01 17:30:58 -07:00
chunhtai
d9a591eb9c Support text editing voiceover feedback in macOS (flutter/engine#25600) 2021-06-01 12:00:05 -07:00
chunhtai
f64abc695e Add API to the engine to support attributed text (flutter/engine#25373) 2021-06-01 11:54:01 -07:00
gaaclarke
1881ea7655 Reland: "android platform channels: moved to direct buffers for c <-> java interop" (flutter/engine#26515) 2021-06-01 11:19:02 -07:00
Jason Simmons
c9acd920ac Add trace-skia-allowlist to the Android intent flags (flutter/engine#26454) 2021-06-01 09:59:01 -07:00
Matej Knopp
3355550ab4 MacOS: Don't remove pointer after drag if released inside window (flutter/engine#26451)
* MacOS: Don't remove pointer after drag if released inside window

Fixes https://github.com/flutter/flutter/issues/83494

* Update has_pending_exit documentation

* Do add mouse pointer if it wasn't removed.
2021-05-30 19:45:23 +02:00
Hidenori Matsubayashi
f2a5771d0a Fix: Strip option doesn't work for linux .so files (flutter/engine#26358) 2021-05-28 13:49:01 -07:00
Zachary Anderson
84c3f19ee8 Revert "android platform channels: moved to direct buffers for c <-> java interop (#26331)" (flutter/engine#26470)
This reverts commit 8137eddf08863c2bf393658a896947691327de60.
2021-05-27 19:12:55 -07:00
Jeff Ward
2438363a2e Add Float32List support to StandardMessageCodec (flutter/engine#26386) 2021-05-27 14:49:02 -07:00
Darren Chan
d7ed065392 Add todo to handle_test. (flutter/engine#26453) 2021-05-27 13:19:02 -07:00