21112 Commits

Author SHA1 Message Date
skia-flutter-autoroll
dc22edea2e
Roll Skia from 8a42b09c162e to 9702fc6f3852 (1 revision) (#23882) 2021-01-22 21:44:01 -08:00
skia-flutter-autoroll
f77fea282e
Roll Dart SDK from 748993c3997a to 2ddf810f71f6 (1 revision) (#23881) 2021-01-22 21:34:02 -08:00
skia-flutter-autoroll
bb00cb6c6a
Roll Fuchsia Linux Toolchain from IJxh_9dNS... to 8LaTdqf7w... (#23876) 2021-01-22 18:44:01 -08:00
skia-flutter-autoroll
ebbf0dfdd1
Roll Skia from 2a4c0fbdca1a to 8a42b09c162e (9 revisions) (#23878) 2021-01-22 18:29:02 -08:00
Greg Spencer
c8620c3fc1
Implement delayed key event synthesis for Windows (#23524)
This changes the Windows text handling so that keyboard events are sent to the framework first for handling, and then passed to the text input plugin, so that the framework has a chance to handle keys before they get given to the text field.

This is complicated by the async nature of the interaction with the framework, since Windows wants a synchronous response. So, in this change, I always tell Windows that the event was handled, and if the framework (eventually) responds that it wasn't, then I synthesize a new event and send it with SendEvent.

I also added support for detecting "extended" keys, since that was missing, and converted the OnKey handlers in the API to return a bool to indicate whether or not they have handled the event.
2021-01-22 18:14:39 -08:00
Chris Bracken
8671aef05b
Notify Win32FlutterWindow of cursor updates (#23795)
During multi-step text input composing, such as with Chinese, Japanese,
and Korean text input, the framework sends embedders cursor rect updates
in the form of two messages:

* TextInput.setMarkedTextRect: notifies the embedder the size and
  position of the composing text rect (or cursor when not composing) in
  local coordinates.
* TextInput.setEditableSizeAndTransform: notifies the embedder of the
  size of the EditableText and 4x4 transform matrix from local to
  PipelineOwner.rootNode coordinates.

On receipt of either message, we cache a local copy on the
TextInputPlugin and notify the Win32FlutterWindow of the updated cursor
rect. In a followup patch, we update Win32FlutterWindow to implement the
Win32 input manager (IMM) calls required to position the IME candidates
window while editing.
2021-01-22 16:31:09 -08:00
skia-flutter-autoroll
492759ecf3
Roll Dart SDK from 82b4c77fb17f to 748993c3997a (1 revision) (#23874)
https://dart.googlesource.com/sdk.git/+log/82b4c77fb17f..748993c3997a

2021-01-22 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-254.0.dev

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2021-01-22 16:13:03 -08:00
skia-flutter-autoroll
f0e25c5332
Roll Skia from 3193ff271628 to 2a4c0fbdca1a (3 revisions) (#23875) 2021-01-22 15:39:02 -08:00
skia-flutter-autoroll
63b3440639
Roll Fuchsia Linux SDK from mODEe2CNk... to edqShE0QE... (#23873) 2021-01-22 14:34:01 -08:00
gaaclarke
05b4bec8b3
Started using Dart_CreateInGroup when using spawn on a release build (#23782) 2021-01-22 14:29:01 -08:00
Ferhat
a242dd866b
[web] Fix shadows for arbitrary paths on PhysicalShape (#23830) 2021-01-22 14:22:17 -08:00
skia-flutter-autoroll
a787229108
Roll Skia from bfc9be0f773f to 3193ff271628 (5 revisions) (#23872) 2021-01-22 14:19:02 -08:00
Paul Berry
6dec57f575
Remove workarounds now that type promotion accounts for local boolean variables. (#23862)
This change removes workarounds that were introduced prior to landing
Dart language feature
https://github.com/dart-lang/language/issues/1274, which allows type
promotion in null safe code to account for local boolean variables.
The workarounds ensured that the code would analyze the same
regardless of whether the feature was enabled, allowing for a smoother
transition.  Now that the feature has fully landed, the workarounds
aren't needed anymore.
2021-01-22 12:54:34 -08:00
skia-flutter-autoroll
31ef1dd8c9
Roll Skia from 6a272434c2b2 to bfc9be0f773f (2 revisions) (#23867) 2021-01-22 12:49:02 -08:00
xster
a4f02b787d
Share Android surface GrDirectContext (#23798) 2021-01-22 12:44:02 -08:00
gaaclarke
7c2da3bf62
reland of https://github.com/flutter/engine/pull/23634 (#23865) 2021-01-22 11:49:37 -08:00
skia-flutter-autoroll
004d8ad041
Roll Skia from cc6961b9ac5e to 6a272434c2b2 (3 revisions) (#23864) 2021-01-22 11:24:02 -08:00
skia-flutter-autoroll
fdddf87080
Roll Dart SDK from 1db2d4d95562 to 82b4c77fb17f (2 revisions) (#23861)
https://dart.googlesource.com/sdk.git/+log/1db2d4d95562..82b4c77fb17f

2021-01-22 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-253.0.dev
2021-01-22 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-252.0.dev

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2021-01-22 10:18:23 -08:00
skia-flutter-autoroll
fb4873562f
Roll Skia from ce75036b3eaf to cc6961b9ac5e (3 revisions) (#23860) 2021-01-22 09:59:01 -08:00
Zachary Anderson
71d264dcf4
Revert "implemented GetMainContext() for opengl (#23634)" (#23859)
This reverts commit 296902b8e818dbd1e1a0ff28e2e5b01d9760988f.
2021-01-22 09:54:24 -08:00
Lau Ching Jun
ffc77f0da3
Search multiple paths when loading deferred component .so files. (#23849)
This is a partial revert of 7c19824c6d08bb8e3fc4217058178d42d451e26b

On some devices we still need to the original search paths approach
because dlopen with just the base file name doesn't work. We're
combining both approaches now, adding the base filename as the first
entry in the searchPaths.
2021-01-22 09:41:22 -08:00
chunhtai
0118b54392
Implements accessibility bridge in common library (#23491) 2021-01-22 09:29:02 -08:00
skia-flutter-autoroll
20ff574d87
Roll Skia from 372791761157 to ce75036b3eaf (4 revisions) (#23858) 2021-01-22 08:39:02 -08:00
skia-flutter-autoroll
69980e5b83
Roll Fuchsia Mac SDK from 7nZajqutF... to tuJCioUf3... (#23857) 2021-01-22 08:04:01 -08:00
skia-flutter-autoroll
cb7106dd7c
Roll Skia from 450f8565c7f3 to 372791761157 (1 revision) (#23855) 2021-01-22 07:09:02 -08:00
skia-flutter-autoroll
b51da31eb9
Roll Skia from c09761f57605 to 450f8565c7f3 (5 revisions) (#23851) 2021-01-22 01:04:01 -08:00
skia-flutter-autoroll
475a2349d5
Roll Fuchsia Linux SDK from UGavhI1zv... to mODEe2CNk... (#23848) 2021-01-21 23:49:02 -08:00
Emmanuel Garcia
a4836a61f8
Call Dart plugin registrant if available (#23813) 2021-01-21 23:44:01 -08:00
skia-flutter-autoroll
993ab786ee
Roll Skia from e89d8ea20b62 to c09761f57605 (1 revision) (#23843)
https://skia.googlesource.com/skia.git/+log/e89d8ea20b62..c09761f57605

2021-01-21 jmbetancourt@google.com [SkottieView] handle calls to setSource after first animation initialization

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC scroggo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2021-01-21 22:50:24 -08:00
skia-flutter-autoroll
07f4861167
Roll Dart SDK from 704928da5702 to 1db2d4d95562 (1 revision) (#23846)
https://dart.googlesource.com/sdk.git/+log/704928da5702..1db2d4d95562

2021-01-22 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-251.0.dev

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2021-01-21 22:49:47 -08:00
skia-flutter-autoroll
e7e76f1d14
Roll Skia from 37d16f135265 to e89d8ea20b62 (2 revisions) (#23841) 2021-01-21 16:49:03 -08:00
Dan Field
5dc24693d5
Reland path vol tracker (#23840)
This time making sure to deref the native object on GC.
2021-01-21 16:03:43 -08:00
Lau Ching Jun
7c19824c6d
Pass the filename directly to JNI for loading deferred component. (#23824)
When .so files are in the lib/ path in the APK, it can be dlopen-ed
directly using just the filename. We don't need to search for the file.
The interface has thus been changed to accept a single path instead of a
search directory.

Also instead of hardcoding the .so basename and assets directory, read
them from FlutterApplicationInfo instead.
2021-01-21 16:01:13 -08:00
pepsin
9223073706
Fix background crash when FlutterView going appear while app goes background (#23175) 2021-01-21 15:34:02 -08:00
Greg Spencer
3da13fccf3
Make android more lenient when it comes to out-of-order key event responses (#23604)
Relaxes enforcement of key events being handled in order, to match similar code in the Linux and Windows implementations.
2021-01-21 15:31:21 -08:00
skia-flutter-autoroll
1474d0873f
Roll Skia from 8a37fb2c605b to 37d16f135265 (4 revisions) (#23839) 2021-01-21 15:24:02 -08:00
Sarbagya Dhaubanjar
7f66714833
iOS deeplink sends "path + query" instead of just path (#23562) 2021-01-21 15:09:01 -08:00
Jason Simmons
87960d8b3a
Fix typo in embedder unit tests (#23783) 2021-01-21 14:24:38 -08:00
Jason Simmons
d4132eafdc
Use references when iterating over SkParagraph text boxes (#23837) 2021-01-21 14:24:12 -08:00
skia-flutter-autoroll
b0c46d88e6
Roll Skia from 6de1e52d0b12 to 8a37fb2c605b (5 revisions) (#23836)
https://skia.googlesource.com/skia.git/+log/6de1e52d0b12..8a37fb2c605b

2021-01-21 tdenniston@google.com [svg] Implement SourceAlpha input for filter effects
2021-01-21 kjlubick@google.com [canvaskit] Include types in docker build
2021-01-21 tdenniston@google.com [svg] Several filter helper tweaks
2021-01-21 johnstiles@google.com Improve consistency of SPIR-V code generation.
2021-01-21 reed@google.com Update legacy shader context to take sampling

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC scroggo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2021-01-21 14:00:46 -08:00
skia-flutter-autoroll
70a682493f
Roll Dart SDK from 5e24a66b1bb8 to 704928da5702 (2 revisions) (#23838)
https://dart.googlesource.com/sdk.git/+log/5e24a66b1bb8..704928da5702

2021-01-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-250.0.dev
2021-01-21 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-249.0.dev

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2021-01-21 14:00:22 -08:00
Harry Terkelsen
5b9cd44b1a
Automatically download Noto fonts as backup fonts in CanvasKit mode (#23728)
* Revert "Revert "[CanvasKit] Automatically fall back to Noto fonts (#23096)" (#23357)"

This reverts commit f9f4d0168dc6e03324844db942a4bca717ebb2e0.

* WIP

* Use an Interval Tree to store the unicode ranges for the Noto Fonts

* Update licenses

* Remove debug print statements

* Respond to comments

* Fix analysis error

* Add tests

* Respond to comments

* Fix test

* Update goldens lock

* Skip screenshot test on Safari

* Skip CanvasKit tests on iOS Safari

* Move CanvasKit initialization so it doesn't run on iOS Safari
2021-01-21 12:58:33 -08:00
skia-flutter-autoroll
5c2003f0e2
Roll Skia from 982127b7d57d to 6de1e52d0b12 (1 revision) (#23834) 2021-01-21 12:14:01 -08:00
skia-flutter-autoroll
b241537cc7
Roll Fuchsia Linux Toolchain from git_revision:2c0536b76b35fa592ac7b4a0e4bb176eaf55af75 to IJxh_9dNS... (#23832) 2021-01-21 11:29:02 -08:00
Wu Zhong
fd9a079ac1
[iOS] Fixes DisplayLinkManager leaks (#22194) 2021-01-21 11:19:51 -08:00
skia-flutter-autoroll
5cf3eaed11
Roll Skia from e0d023562bd9 to 982127b7d57d (4 revisions) (#23831) 2021-01-21 10:44:02 -08:00
gaaclarke
296902b8e8
implemented GetMainContext() for opengl (#23634) 2021-01-21 09:43:06 -08:00
skia-flutter-autoroll
c8ffb20c6c
Roll Skia from 87a055b02027 to e0d023562bd9 (1 revision) (#23829) 2021-01-21 09:19:01 -08:00
skia-flutter-autoroll
5b2defd5cb
Roll Fuchsia Mac SDK from MrtHftV0U... to 7nZajqutF... (#23827) 2021-01-21 08:44:03 -08:00
skia-flutter-autoroll
90641fa923
Roll Fuchsia Linux SDK from E4eFE0Bz6... to UGavhI1zv... (#23826) 2021-01-21 08:39:02 -08:00