Commit Graph

15588 Commits

Author SHA1 Message Date
Yegor
01a91d484e [web] consolidate JS interop code (flutter/engine#30007)
* Consolidate and check JavaScript access
* Remove all `ignore: implicit_dynamic_function`
* Add `js_access_test.dart` that validates JS access
* Make `engine.dart` an exports-only library
* Fix `sdk_rewriter_test.dart` and `ci/analyze.sh` (they skipped some tests)
2021-12-03 15:46:03 -08:00
skia-flutter-autoroll
28d20a282c Roll Dart SDK from ba5e72e4b2d7 to a31c331ed648 (5 revisions) (flutter/engine#30121) 2021-12-03 15:14:02 -08:00
skia-flutter-autoroll
d943eadb6b Roll Skia from 29af7d59714b to 94f726ae62f0 (2 revisions) (flutter/engine#30120) 2021-12-03 14:59:01 -08:00
skia-flutter-autoroll
aef07412a5 Roll Fuchsia Linux SDK from RyloAtJNT... to gc6NLk09G... (flutter/engine#30118) 2021-12-03 14:09:01 -08:00
skia-flutter-autoroll
d08c749312 Roll Skia from 672062da97da to 29af7d59714b (4 revisions) (flutter/engine#30117) 2021-12-03 13:39:02 -08:00
skia-flutter-autoroll
8ce1dc3e4a Roll Skia from f278a8058eaa to 672062da97da (8 revisions) (flutter/engine#30115) 2021-12-03 12:19:01 -08:00
Jenn Magder
cb6cd0a3e8 Update IosUnitTests to use iPhone 11 simulator (flutter/engine#30090) 2021-12-03 10:49:02 -08:00
Siva
315f7b888f Revert "Enable compressed pointers on iOS for 64 bit architectures." (flutter/engine#30096) 2021-12-03 08:25:10 -08:00
skia-flutter-autoroll
848d1fd293 Roll Fuchsia Linux SDK from NJK-w4N99... to RyloAtJNT... (flutter/engine#30105) 2021-12-03 00:49:01 -08:00
Gary Qian
23f9f49662 Fix platform env variable not registering with sdk_manager (flutter/engine#30107) 2021-12-03 00:37:17 -08:00
godofredoc
f4e2e010c8 Fail loudly with verbose logs when failing to download dart sdk. (flutter/engine#30093)
* Fail loudly with verbose logs when failing to download dart sdk.

Bug: https://github.com/flutter/flutter/issues/94492

* Add jazzy property to mac builders.
2021-12-02 23:38:55 -08:00
godofredoc
060f0b9f39 Revert "[ci.yaml] Remove default properties (#29694)" (flutter/engine#30100)
This reverts commit 20c7e5f75c.

Co-authored-by: keyonghan <54558023+keyonghan@users.noreply.github.com>
2021-12-02 22:39:42 -08:00
Chris Bracken
93f6d81c75 Accessibility: emit FOCUS_CHANGED events (flutter/engine#30091)
When calling Unserialize on an AXTreeUpdate, check whether the focus_id
has changed. If so, emit a FOCUS_CHANGED event from the event generator.
This allows the platform-specific FlutterPlatformNodeDelegate
implementations to handle focus changes originating from the framework,
and trigger the appropriate operating system focus-changed
notifications.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-02 18:14:15 -08:00
Emmanuel Garcia
cc8debdc54 Close image reader when the resource is unreachable (flutter/engine#30089) 2021-12-02 16:29:01 -08:00
Tong Mu
5d28d76321 [Windows keyboard] Remove redundant parameter FlutterWindowsView (flutter/engine#30086) 2021-12-02 15:39:01 -08:00
skia-flutter-autoroll
66d1eb9d2d Roll Skia from 2756b0ee0250 to f278a8058eaa (2 revisions) (flutter/engine#30084) 2021-12-02 14:24:01 -08:00
MasahideMori-SimpleAppli
e9167f3e38 [Proposal] Improve Canvas Documentation (flutter/engine#30069)
For clarity, the text has been improved over when it was suggested.

Fixes https://github.com/flutter/flutter/issues/93190
2021-12-02 13:29:42 -08:00
ColdPaleLight
299cf0138d Migrate sk_cf_obj to sk_cfp (flutter/engine#30029) 2021-12-02 13:29:01 -08:00
陈昱
30c4de0797 Make fragment leftover from an attach/detach race slightly safer (flutter/engine#29908) 2021-12-02 13:19:01 -08:00
Casey Hillers
20c7e5f75c [ci.yaml] Remove default properties (flutter/engine#29694) 2021-12-02 13:14:03 -08:00
Greg Spencer
aa6e038da6 Remove todos (flutter/engine#30002) 2021-12-02 12:49:18 -08:00
David Worsham
c1e33b58a5 fuchsia: Add a SoftwareSurfaceProducer for debug (flutter/engine#29657) 2021-12-02 12:09:51 -08:00
skia-flutter-autoroll
7a53b18378 Roll Skia from 9d74c28e823a to 2756b0ee0250 (5 revisions) (flutter/engine#30078) 2021-12-02 11:44:01 -08:00
Emircan Uysaler
d7a828ff3d [fuchsia] Change Touch response to YES (flutter/engine#30041) 2021-12-02 11:38:30 -08:00
Siva
b473bbbb42 Enable compressed pointers on iOS builds (flutter/engine#30077) 2021-12-02 11:24:02 -08:00
skia-flutter-autoroll
5607460722 Roll Skia from 6dc45289aec0 to 9d74c28e823a (2 revisions) (flutter/engine#30074) 2021-12-02 10:24:01 -08:00
skia-flutter-autoroll
f022cb573c Roll Skia from c4712cc704e8 to 6dc45289aec0 (2 revisions) (flutter/engine#30073) 2021-12-02 09:04:02 -08:00
skia-flutter-autoroll
405f811a8b Roll Fuchsia Linux SDK from Fi9OzLVMX... to NJK-w4N99... (flutter/engine#30065) 2021-12-02 00:44:01 -08:00
skia-flutter-autoroll
39ea55f694 Roll Skia from 2a42471c92f3 to c4712cc704e8 (3 revisions) (flutter/engine#30064) 2021-12-02 00:39:01 -08:00
skia-flutter-autoroll
a5d5f60571 Roll Skia from d3399178196e to 2a42471c92f3 (7 revisions) (flutter/engine#30061) 2021-12-01 21:59:01 -08:00
Jenn Magder
482453ff4d Roll web_installers simulators package (flutter/engine#30035) 2021-12-01 16:09:02 -08:00
skia-flutter-autoroll
39149ec636 Roll Skia from fa183572bfd3 to d3399178196e (17 revisions) (flutter/engine#30047) 2021-12-01 12:44:03 -08:00
Chris Bracken
679e34a3e3 Eliminate hardcoded scale factor in a11y scroll (flutter/engine#30013)
When performing an accessibilty scroll, the default scroll distance is
kSmallScrollIncrement (40 pixels). This value is then multiplied by the
system scale factor, as set in the display settings drop-down in the Windows
system settings.

When we imported the AX tree from Chromium, we hard-coded the system
scale factor to 1.0 due to a fair amount of abstraction of the scale
factor lookup in their code. This fills it back in.

Issue: https://github.com/flutter/flutter/issues/78798
2021-12-01 12:32:32 -08:00
Ryan Macnak
b0eb8bca65 Run Dart VM tasks on the engine's ConcurrentMessageLoop instead the VM's separate thread pool. (flutter/engine#29819)
Bug: https://github.com/dart-lang/sdk/issues/44228
2021-12-01 11:53:27 -08:00
eggfly
6b1d2dcdbc Share the io_manager between parent and spawn engine (flutter/engine#29915) 2021-12-01 10:34:01 -08:00
Harry Terkelsen
ec599ab8d9 Fix sceneElement analysis error (flutter/engine#30038) 2021-12-01 10:31:37 -08:00
Tong Mu
fdc78e4146 [Win32, keyboard] Fix dead key events that don't have the dead key mask (flutter/engine#30004)
This PR fixes flutter/flutter#92654, a rare case where dead key events are not properly handled.
2021-12-01 00:49:44 -08:00
Tong Mu
2626d453ff [macOS] MacOS Keyboard properly handles multi-char characters (flutter/engine#30005)
* Attempt

* Write my own decode

* Doc

* Format

* Fix comment and log

* Update FlutterEmbedderKeyResponder.mm
2021-12-01 00:49:19 -08:00
Harry Terkelsen
83631d17ee Non painting platform views (flutter/engine#30003) 2021-11-30 17:39:20 -08:00
Emmanuel Garcia
f0d3d31b08 Use WindowInfoTracker.Companion.getOrCreate instead of the short version (flutter/engine#30012) 2021-11-30 17:24:01 -08:00
skia-flutter-autoroll
fc8b354366 Roll Skia from a0ad6db14184 to fa183572bfd3 (24 revisions) (flutter/engine#30010) 2021-11-30 16:49:03 -08:00
Filip Filmar
e769683b1d [fuchsia] Fix unset key and present key meaning (flutter/engine#29995) 2021-11-30 15:59:02 -08:00
Greg Spencer
e50f896589 Fix text height behavior macros (flutter/engine#30006) 2021-11-30 15:55:12 -08:00
Yegor
f9cd41081d [web] DomRenderer becomes FlutterViewEmbedder (flutter/engine#29994)
* [web] move useful utilities out DomRenderer
* [web] rename DomRenderer to FlutterViewEmbedder
2021-11-30 14:55:44 -08:00
gaaclarke
5b1174940a Removed the email warning about notifications entitlement (flutter/engine#29996) 2021-11-30 14:51:08 -08:00
Chase Latta
1324bac660 Stamp fuchsia packages with api level (flutter/engine#29998)
BUG: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=87813

As part of the fuchsia platform versioning we are stamping all of
our packages with a target api level which can be read by our assembly
tools. We would like to be able to update the target api level with a
roller so I added a file which can is read by the gn tool. I am open
to suggestions about how to change this is we do not want to add
file read calls to our gn script.
2021-11-30 11:40:44 -08:00
godofredoc
3ddef3e9ad Update the token used by mirroring workflows. (flutter/engine#30000) 2021-11-30 10:59:01 -08:00
eggfly
b841b405e2 Add a comment in Image.toByteData to limit more encoders (flutter/engine#29962) 2021-11-30 00:04:09 -08:00
eggfly
2f9a4fba3f Remove remaining usages of getUnsafe() (flutter/engine#29941) 2021-11-29 21:24:01 -08:00
Filip Filmar
e2dbdf16bd [fuchsia] Fixes the HID usage handling (flutter/engine#29815)
The old code stripped the USB hid usage page value from the Fuchsia
key.  It shouldn't be doing that.  This change fixes the issue,
and adds tests that rely on the key constants to verify that the
change indeed does what it is supposed to do.

In the process of fixing this, filed a few known issues and marked them
as TODO. These issues should be handled in separate PRs.

Fixes: https://github.com/flutter/flutter/issues/93890
2021-11-29 15:41:17 -08:00