4031 Commits

Author SHA1 Message Date
Justin McCandless
f3b4cf3045 Linux TextEditingDeltas (flutter/engine#29215)
The Linux platform can report the delta in text editing changes via enableDeltas, useful for custom rich text editors.
2022-02-07 14:58:48 -08:00
Ben Konyi
34d2ccff68 Change support for VM service message from "Dart VM Service listening" to "The Dart VM Service is listening" (flutter/engine#31310)
See https://github.com/dart-lang/sdk/issues/46756
2022-02-07 13:55:22 -08:00
Jim Graham
ef9c1c9887 Revert "Fix first batch of warnings in the Android embedding (#30807)" (flutter/engine#31277)
This reverts commit 2288e0d981062fd94c41fec53ac889d039379cbb.
2022-02-05 11:39:46 -08:00
Emmanuel Garcia
2288e0d981 Fix first batch of warnings in the Android embedding (flutter/engine#30807) 2022-02-04 18:50:08 -08:00
Emmanuel Garcia
6d8f65e672 Parallelize Android unit tests (flutter/engine#30728) 2022-02-04 16:15:09 -08:00
Ben Konyi
a5baa644a3 Add support for new VM service message (flutter/engine#31250)
"Observatory listening on..." is eventually being updated to "Dart VM
Service listening on...". This change allows for parsing the VM service
URI from messages of either format.

See https://github.com/dart-lang/sdk/issues/46756
2022-02-04 10:25:53 -08:00
Wu Zhong
a05ff11045 [iOS] Add FlutterViewController weak pointer check before use (flutter/engine#31008) 2022-02-03 19:55:10 -08:00
Alexander Biggs
900fd11e17 [fuchsia] Fix typo in error message. (flutter/engine#31249) 2022-02-03 17:10:11 -08:00
Tong Mu
2e79db2171 [Win32, Keyboard] Fix text input after pressing Enter or Ctrl-Digit (flutter/engine#31247) 2022-02-03 17:00:07 -08:00
Felipe Archondo
35078529c1 [fuchsia] add input shield to Flatland (flutter/engine#31119)
Currenty this is a no-op on Flatland. This work is part of the effort to
enable hit testing on Flatland, after a couple CLs land platform-side.

Test: unittests and manual testing
Bug: fxbug.dev/92165
2022-02-03 18:05:36 -05:00
Emmanuel Garcia
9315ec14d1 Reland: Teardown external view embedder prior to unmerging threads (flutter/engine#31122) 2022-02-03 11:55:04 -08:00
Emmanuel Garcia
74c00d4838 Don't remove views while the rasterizer is torn down (flutter/engine#31229) 2022-02-03 11:45:10 -08:00
Tong Mu
973b9ef231 [Win32, Keyboard] Lift redispatching to messages, via SendMessage. (flutter/engine#31200) 2022-02-02 15:30:10 -08:00
Alexander Biggs
ed9f2ef23c Use MemoryProvider in Flutter Runner. (flutter/engine#31165) 2022-02-02 13:05:09 -08:00
chunhtai
fd09dc3626 Reply to accessibility method call even if semantics is not enabled (flutter/engine#31063) 2022-02-02 09:05:11 -08:00
Brandon DeRosier
d683f9a0c7 Vulkan support in the Embedder API (flutter/engine#29391) 2022-02-02 00:55:21 -08:00
LongCatIsLooong
87bdc6747d [Android] expose "textShowPassword" to the framework (flutter/engine#30780) 2022-02-01 12:55:10 -08:00
ColdPaleLight
764fe4790b Remove obsolete member variables in 'flutter::Engine' and tweak the unittest (flutter/engine#31148) 2022-01-31 21:30:11 -08:00
Brandon DeRosier
925224a9ee Prefix remaining OS defines with FML_ namespace (flutter/engine#31172) 2022-01-31 14:31:44 -08:00
Brandon DeRosier
2d4f908b9d Add FML_ prefix to fml/build_config.h macros (flutter/engine#31141) 2022-01-31 11:53:51 -08:00
Chris Yang
bfc9fb052b Remove Thread merging logic in DiscardLayerTreeOnResize test (flutter/engine#30803) 2022-01-28 21:05:11 -08:00
ColdPaleLight
58e15e00e3 Don't pause Animator when lifecycle state paused (flutter/engine#30969) 2022-01-27 15:55:07 -08:00
eggfly
1d4b9857fc [Android] Get the right frame_budget when device frame_rate is not 60 (flutter/engine#30924) 2022-01-27 13:35:10 -08:00
ColdPaleLight
faa798055d Revert "Teardown external view embedder prior to unmerging threads (#30893)" (flutter/engine#31108)
This reverts commit a3ea78de97f9b801ae5f4eca1902eace654a37f6.
2022-01-27 09:08:11 -08:00
David Worsham
e743ccaac4 fuchsia: Fix potential SDK errors (flutter/engine#31099) 2022-01-26 18:58:26 -08:00
Emmanuel Garcia
a3ea78de97 Teardown external view embedder prior to unmerging threads (flutter/engine#30893) 2022-01-26 12:25:10 -08:00
wangying
7277da8691 Fix: support to set layout direction for hybrid composition platform view (flutter/engine#30611) 2022-01-26 11:36:43 -08:00
ColdPaleLight
7a660c5f34 Make sure 'FlutterSplashView.onRestoreInstanceState' doesn't crash (flutter/engine#31045)
* Make sure 'FlutterSplashView.onRestoreInstanceState' doesn't crash

* Add the unit test
2022-01-26 07:26:22 -08:00
Siva
f31c8eb26c Add option to enable serial GC (flutter/engine#30975)
* Roll Dart SDK from e256855d07ba to a3b62f366529 (4 revisions) (#21809)

* Roll Dart SDK from e655b9a3839e to b58cfe5ab24e (1 revision) (#21920)

* Roll Dart SDK from fc82eeed7df3 to 8be6a08153cc (1 revision) (#22005)

* Roll Dart SDK from fe12b0536f42 to a188781c9fc8 (1 revision) (#22379)

* Roll Skia from 95b5fb9213d7 to 68ac3b9ec3ca (17 revisions) (#22713)

* Roll Dart SDK from 2c74e62a050c to f9760fc12871 (5 revisions) (#22881)

* Roll Dart SDK from 68d1c7504f7d to f166571c7bc4 (1 revision) (#23056)

* Roll Dart SDK from 970d74c42472 to fd72dbb5b82b (1 revision) (#23820)

* Trigger an engine build to re-open the tree (#26056)

This commit is empty and simply triggers a new build to open the tree.

Commit e9ca785106ddc672d945062758800bdf1dd0aa68 was re-built after a
succesful build; upload to the cloud storage bin failed.

* Roll Skia from d9a7c5953df3 to 827bb729a84d (2 revisions) (#26096)

* Roll Dart SDK from d616108772bd to a527411e5100 (0 revision) (#26156)

* Roll Dart SDK from bb9d96ffbafa to 7250fd6379b2 (0 revision) (#26374)

* Roll Dart SDK from 202c42e3395c to 2e9c4305a6aa (1 revision) (#26578)

* Roll buildroot to 275038b8be7196927b0f71770701f3c2c3744860 (#26945)

* [test] empty commit (#27599)

https://flutter-review.googlesource.com/c/infra/+/15660

* Roll Dart SDK from e1414001c93b to 686070850ee3 (1 revision) (#27620)

* Empty commit to apply latest LUCI config (#27767)

* Roll Dart SDK from 3b11f88c96a5 to 976f160b547f (3 revisions) (#29436)

* Empty commit to fix main tree status (#29760)

* Add option to enable serial GC
This option can be used to avoid thread contention issues for the UI thread when running on low power devices with limited number of cores.

* Fix format.

* Added test.

* Add build rule.

* Address review comments.

Co-authored-by: skia-flutter-autoroll <skia-flutter-autoroll@skia.org>
Co-authored-by: Chris Bracken <chris@bracken.jp>
Co-authored-by: Casey Hillers <chillers@google.com>
2022-01-25 17:06:18 -08:00
Tong Mu
af6bfbf0b4 [Win32, Keyboard] Store keyboard message session (flutter/engine#31047)
* Impl

* Move session to pending event

* Format

* better type
2022-01-25 16:43:25 -08:00
David Worsham
f1c617f8e5 Revert "[fuchsia] Switch from core-jit to core snapshots. (#30744)" (flutter/engine#31065)
This reverts commit 116fe9190ad14193c89e332d0dc99d639b54e207.
2022-01-25 13:54:19 -08:00
Wu Zhong
16d0ee9368 [iOS] Fixes system navigator pop not work when App's root vc is TabBarController (flutter/engine#30939)
* [iOS] Fixes system navigator pop not work when App's root vc is TabBarController

* Add test

* Update review feedback
2022-01-24 20:35:43 -08:00
chunhtai
2f8d692b7b fix testVerticalFlutterScrollableSemanticsObjectNoWindow flake (flutter/engine#31031) 2022-01-24 14:40:10 -08:00
Tong Mu
3538465b2b [Win32, Keyboard] Fix text submission (flutter/engine#30990)
Fixes text submission not working on win32.
2022-01-24 12:18:35 -08:00
Zachary Anderson
79693e7237 Revert "Support opacity layers for platform-views using hybrid-composition" (flutter/engine#31002)
* Revert "Support opacity layers for platform-views using hybrid-composition (#30264)"

This reverts commit 4be91c61dea546fda770efbbdf811c4d395ef56d.

* Empty
2022-01-24 10:05:58 -08:00
Jason Simmons
999d29954c Use the SkParagraph text renderer by default (flutter/engine#28912) 2022-01-24 08:55:11 -08:00
Lyle Dean
bcbd90ac89 Fix Memory Leak in MakeSkSurfaceFromBackingStore (flutter/engine#30735) 2022-01-24 07:55:11 -08:00
Kaushik Iska
e1e26a5aff [macOS] Fixed the platform view creation public method (flutter/engine#30996) 2022-01-22 11:31:22 -05:00
Wu Zhong
61eb39f4db [iOS]Autorelease FlutterEmbedderKeyResponder when instantiated (flutter/engine#30968) 2022-01-21 18:40:10 -08:00
Chase Latta
215cf2b6c4 Add user main trampoline for dart_runner. (flutter/engine#30980)
The dart_runner was invoking main directly which was working fine in JIT
mode but when we switch to aot snapshots invoking main would fail. This
was due to user's not marking their main as a vm entrypoint. Rather than
having user's mark this entrypoint we add a trampoline through the
dart:fuchsia package which is marked as an entrypoint and avoids the
main functions being tree shaken.

BUG: fxbug.dev/64153
2022-01-21 13:31:09 -08:00
eggfly
85fe32c0d3 Add a custom switch to clean up the leaked Dart VM (flutter/engine#30541) 2022-01-20 23:20:10 -08:00
Yilong Li
193d6b62d6 [fuchsia] Use upstream FUCHSIA_buffer_collection extension. (flutter/engine#30911)
This updates Flutter engine to use the upstream FUCHSIA
buffer extension collection. It removes the obsolete
vkSetBufferCollectionConstraints() and replaces it with
vkSetBufferCollectionImageConstraints().
2022-01-20 16:05:23 -08:00
Jaden
97287722fe Access FlutterFragmentActivity's root content view ID using ViewUtils.generateViewId (flutter/engine#30595) 2022-01-20 15:15:15 -08:00
Marcel Kirchhoff
4be91c61de Support opacity layers for platform-views using hybrid-composition (flutter/engine#30264) 2022-01-20 15:10:09 -08:00
Kaushik Iska
66bbb434e5 [macos] Enable macOS platform views only for Metal (flutter/engine#30853) 2022-01-20 15:01:41 -08:00
Rulong Chen(陈汝龙)
f65004e7c5 Check weak pointer to avoid potential use-after-free crash (flutter/engine#30396) 2022-01-20 14:00:11 -08:00
fzyzcjy
37cc235a2b Fixing bug when ListenableEditingState is provided initialState with a valid composing range, android.view.inputmethod.BaseInputConnection.setComposingRegion(int, int) has NPE (flutter/engine#30916) 2022-01-20 13:10:12 -08:00
ColdPaleLight
5efc2ba8d0 Change visibility of FlutterView when onStop/onStart (flutter/engine#30897) 2022-01-20 13:05:15 -08:00
George Wright
c225edfb0a Remove extraneous release of the MTLTexture in EmbedderTestBackingstoreProducer (flutter/engine#30955) 2022-01-20 12:35:52 -08:00
Alexander Aprelev
b8a5513fbb Prefix dart:ffi import to prevent name conflicts. (flutter/engine#30950)
https://dart.googlesource.com/sdk/+/85a87ca7ae6c9f028a0cbf6d8de3563b9a19b8e7 introduced Size to dart:ffi which conflicts with the one from dart:ui. See https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8824501487884216129/+/u/build_host_debug/stdout .

This will unblock dart->engine roll with that change.
2022-01-20 10:19:27 -08:00