LongCatIsLooong
e5c70f9996
[Android] setDimens on ViewNodes for autofill ( flutter/engine#18444 )
2020-05-18 10:23:33 -07:00
LongCatIsLooong
a7a95bb530
echo text selection changes back to framework ( flutter/engine#18408 )
2020-05-18 10:01:55 -07:00
Chris Yang
b5fa9d2986
remove unused IOSContext::ResourceMakeCurrent and IOS:Context::ClearCurrent ( flutter/engine#18443 )
2020-05-15 19:07:44 -07:00
liyuqian
256ab19662
Automatically remove old persistent cache dir ( flutter/engine#18244 )
...
Fixes https://github.com/flutter/flutter/issues/53445
2020-05-15 14:15:59 -07:00
gaaclarke
b93fa363d3
Started allowing setting message handlers to nil for dead engines ( flutter/engine#18428 )
2020-05-15 14:11:10 -07:00
Kaushik Iska
686b4af73f
Update the observatory thread name for profiling thread ( flutter/engine#18199 )
2020-05-15 12:28:10 -07:00
Kaushik Iska
5519277f4a
Revert "Remove pipeline in favor of layer tree holder ( #18285 )" ( flutter/engine#18427 )
...
This reverts commit 0219ee95d8ffdef4d839f0419ce5e1f22b27d8d1.
2020-05-15 12:27:32 -07:00
gaaclarke
218b6681a9
Added a unit test for the iOS AccessibilityBridge. ( flutter/engine#18281 )
2020-05-15 09:43:32 -07:00
egdaniel
077e9639c5
Update flutter skia flush calls to new flush and submit api ( flutter/engine#18421 )
...
* Update flutter to use new skia flushing/submit api
This has no functional change, just moving to the new api calls.
* Update vulkan_swapchain.cc
* Update embedder_external_view_embedder.cc
2020-05-15 11:40:21 -04:00
Robert Ancell
cc5f6eb779
Rename NULL tests to Nullptr for consistency ( flutter/engine#18359 )
2020-05-15 15:00:11 +12:00
Robert Ancell
cb7e61ad20
Remove rapidjson from TextInputModel ( flutter/engine#18397 )
...
This allows this class to be shared with the Linux plugin.
Also move client_id outside this class as was noted in a TODO.
2020-05-15 14:59:56 +12:00
Robert Ancell
2167ccdded
Fix incorrect header for #FlBasicMessageChannel::respond ( flutter/engine#18365 )
2020-05-15 09:19:00 +12:00
Kaushik Iska
0219ee95d8
Remove pipeline in favor of layer tree holder ( flutter/engine#18285 )
...
go/flutter-pipeline-improvements for more details.
2020-05-14 10:46:14 -07:00
Robert Ancell
4433a1162a
Add FlJsonMessageCodec ( flutter/engine#18221 )
2020-05-14 13:49:40 +12:00
Robert Ancell
e244dcbddf
Add FlBasicMessageChannel ( flutter/engine#18189 )
2020-05-14 12:09:32 +12:00
Jason Simmons
91f67b420c
Move FlutterLoader disk I/O to a background thread to comply with Android strict mode ( flutter/engine#18241 )
2020-05-13 14:17:03 -07:00
Robert Ancell
5e242e26b4
Add guards on FlValue methods to check for NULL values ( flutter/engine#18226 )
2020-05-14 09:02:51 +12:00
Chris Yang
a2b17f2993
Always keep thread merged when there are platform views. ( flutter/engine#18245 )
2020-05-13 08:53:46 -07:00
Robert Ancell
33d8ec80b3
Use 'message' as the parameter name in FlMessageCodec::encode_message ( flutter/engine#18253 )
...
This is more consistent with the Dart code.
2020-05-13 16:55:20 +12:00
LongCatIsLooong
1723142b9d
add new keyboard types and missing autofill hints ( flutter/engine#18202 )
2020-05-11 19:41:46 -07:00
Robert Ancell
c617e2ecf5
Add FlStandardMessageCodec ( flutter/engine#18213 )
2020-05-12 11:09:21 +12:00
Robert Ancell
4058392714
Fix incorrect declaration of FlBinaryCodec ( flutter/engine#18283 )
2020-05-12 09:58:47 +12:00
Kaushik Iska
1acb5d4817
Fix latest_frame_target_time race ( flutter/engine#18279 )
...
There are some cases where onAnimatorDraw gets called before
onAnimatorBeginFrame, in these cases we need to update the
latest_frame_target_time to be the target time for the current frame.
This manifested as an issue in release mode Android builds:
https://firebase.corp.google.com/project/flutter-infra/testlab/histories/bh.27c33c672e9b01f2/matrices/4903344583855476919/executions/bs.ee4f6f7ad8671a34
2020-05-11 14:52:22 -07:00
Robert Ancell
b518809f2d
Use the term 'handler' for registering callbacks. ( flutter/engine#18269 )
...
This is the term used in the Dart code and which callback is more commonly used
in GLib matching the Dart code will make developers life easier.
2020-05-12 09:01:10 +12:00
Robert Ancell
3e58d628c5
Fix grammar in FlBinaryCodec/FlStringCodec descriptions ( flutter/engine#18268 )
2020-05-12 09:00:36 +12:00
Marcus Tomlinson
7d5268265e
Add new FlutterEngineAOTData argument to FlutterProjectArgs ( flutter/engine#18146 )
...
Added a new `FlutterEngineAOTData` argument to `FlutterProjectArgs`. Embedders can instantiate and destroy this object via the new `FlutterEngineCreateAOTData` and `FlutterEngineCollectAOTData` methods provided.
If an embedder provides more than one source of AOT data to `FlutterEngineInitialize` or `FlutterEngineRun` (e.g. snapshots as well as `FlutterEngineAOTData`), the engine will error out.
Resolves: https://github.com/flutter/flutter/issues/50778
2020-05-10 10:24:56 -07:00
Jason Simmons
9c611e4cb0
Restore the call to initConfig in FlutterLoader ( flutter/engine#18257 )
...
This was accidentally removed in https://github.com/flutter/engine/pull/18182
2020-05-09 11:49:11 -07:00
Gary Qian
7b4b9dea11
Add fullscreen padding workarounds to v2 android embedding ( flutter/engine#18193 )
2020-05-09 04:31:27 -07:00
Kaushik Iska
1785bb19b0
Revert "Remove pipeline in favor of layer tree holder ( #17688 )" ( flutter/engine#18242 )
2020-05-08 16:09:02 -07:00
Kaushik Iska
dee9634111
Remove pipeline in favor of layer tree holder ( flutter/engine#17688 )
...
go/flutter-pipeline-improvements for more details.
2020-05-08 10:51:10 -07:00
xster
d216d2e76f
Make robolectric tests run against SDK 29 by default ( flutter/engine#17996 )
2020-05-07 23:29:02 -07:00
Robert Ancell
c23b125ec3
Add FlMessageCodec, FlBinaryCodec, FlStringCodec ( flutter/engine#18186 )
...
Classs for binary message encoding/decoding that matches the ones in the Flutter services library.
2020-05-08 16:13:54 +12:00
Robert Ancell
e85dbdde88
Add FlValue ( flutter/engine#18185 )
...
FlValue is a lightweight object used to contain the value types that Flutter
uses on platform channels.
2020-05-08 13:48:41 +12:00
stuartmorgan
b8d0673b3f
Refactor GLFW embedding to support headless mode ( flutter/engine#18205 )
...
This does some long-overdue refactoring of the spaghetti code that grew in the GLFW embedding to begin providing a clearer separation between the engine and the window. It is now possible to register plugins, and run the runloop, on a headless engine, which makes headless mode much more usable. This is useful in some automated testing environments.
There is more refactoring that should be done in the future, but this is a good incremental point to stop as the PR is already large, and it provides useful new functionality as-is.
2020-05-07 17:10:11 -07:00
Kurun
663f1ddae5
Support EventChannel C++ plugin API for Linux/Windows ( flutter/engine#17015 )
...
Fixes https://github.com/flutter/flutter/issues/49398
2020-05-07 15:54:59 -07:00
Robert Ancell
2469d34922
Handle leak of message handle when no engine present ( flutter/engine#18157 )
...
* Handle leak of message handle when no engine present
* Move callback in wrong location
2020-05-08 09:05:20 +12:00
xster
5259bc09d4
add docs to platformviewios (and some drive-by changes) ( flutter/engine#17593 )
2020-05-07 14:01:09 -07:00
Jason Simmons
66a59e3138
Remove the global engine entry timestamp ( flutter/engine#18182 )
...
The engine was using a global to store a timestamp representing the
launch of the engine. This timestamp is initialized with a JNI call
on Android and during shell setup on other platforms. Later the
timestamp is added to a FlutterEngineMainEnter timeline event used to
measure engine startup time in benchmarks.
This PR removes the global and the JNI call and moves the timestamp
into the settings object.
2020-05-07 11:29:28 -07:00
Kaushik Iska
b1b1cea351
[profiling] CPU Profiling support for iOS ( flutter/engine#18087 )
...
See flutter.dev/go/engine-cpu-profiling for details
2020-05-07 08:11:07 -07:00
Wu Zhong
7dec4ba0a8
Fix memory leak of FlutterCustomAccessibilityAction ( flutter/engine#17954 )
2020-05-06 14:08:58 -07:00
Ali Mahdiyar
f1e911f717
Custom unicode handling for Android backspace via JNI to ICU ( flutter/engine#17960 )
2020-05-06 14:01:02 -07:00
Robert Ancell
10cf694c5a
Add first Linux shell tests ( flutter/engine#18159 )
2020-05-06 15:33:11 +12:00
Chris Yang
906b86b159
[iOS platform view] fix active_composition_order_ never cleared ( flutter/engine#18153 )
2020-05-05 17:59:39 -07:00
Chris Yang
7a6448352f
gpu_metal_surface submitframe return false when canvas is null ( flutter/engine#18154 )
2020-05-05 17:59:16 -07:00
Jason Simmons
e2907d3089
Remove the ResourceCleaner from the Android embedding ( flutter/engine#18072 )
2020-05-04 16:34:02 -07:00
Robert Ancell
984fddf8af
Move G_END_DECLS that was in the wrong place ( flutter/engine#18116 )
2020-05-05 09:11:57 +12:00
Robert Ancell
af3071fe92
Support platform messages in Linux shell ( flutter/engine#17995 )
2020-05-04 17:03:04 +12:00
gabeschine
c7e19335c9
Update Fuchsia ComponentContext constructor call to renamed, but equvalent, method ( flutter/engine#18067 )
...
This change is part of an LSC in Fuchsia, and is a functionality no-op.
Fixes fxbug.dev/50759
Co-authored-by: Gabriel Schine <thatguy@google.com>
2020-05-01 15:04:58 -07:00
Gary Qian
c0ffda5aaf
Revert "Remove Samsung workarounds ( #17612 )" ( flutter/engine#18081 )
...
This reverts commit 4dba845101dc6b01e9bf987d04cc97df48cc8368.
2020-05-01 13:14:27 -07:00
Chinmay Garde
efd2fd46aa
Don't depend on an implicit transaction when presenting drawables on the raster thread. ( flutter/engine#18076 )
...
The way transactions were added changed in
8500bd4156 .
This broke rendering using both Metal and OpenGL when no implicit transaction
was present on the transaction stack. The failure models differ based on Metal
vs. OpenGL and iOS/device versions. On older versions of iOS, rendering would
consume memory till exhaustion. On newer iOS versions, rendering would be stuck
(till a timeout). This patch brings transaction management back in line with as
it was earlier and also makes the Metal backend resilient to transactions being
present on the transaction stack at all. Since this is still quite brittle,
transaction management must be moved to IOSSurface as a followup.
Fixes https://github.com/flutter/flutter/issues/55784 .
2020-05-01 13:05:23 -07:00