Gary Qian
9d0ae1ced3
Remove currentLocale prepend on iOS ( #18379 )
2020-05-19 19:10:35 -07:00
Chris Yang
9ce1e5c5c7
Introduce TaskRunnerAffineWeakPtrFactory to generate TaskRunnerAffineWeakPtrs ( #18346 )
2020-05-19 16:36:17 -07:00
Mehmet Fidanboylu
b0e9f7c1b2
Handle Throwable in StandardMethodCodec ( #18490 )
2020-05-19 15:15:49 -07:00
Robert Ancell
784e5d7ded
Update comments for grammar and content to required style ( #18491 )
2020-05-20 09:14:28 +12:00
Robert Ancell
67511372bd
Add TextInputModel unittests ( #18411 )
...
* Add missing return values to TextInputModel::MoveCursorToBeginning and TextInputModel::MoveCursorToEnd
* Add TextInputModel unittests
2020-05-20 09:14:03 +12:00
Kaushik Iska
d8b6602c36
[fuchsia] Fix Mac SDK roll failure ( #18509 )
...
fixes deps for zircon/sdk_ext as well
2020-05-19 12:57:35 -07:00
Jason Simmons
778aad06f6
Roll the Fuchsia SDK and update the path to the async API header ( #18494 )
2020-05-19 08:10:22 -07:00
Tim Sneath
70cfc1f576
Fix missing backtick in FlutterViewController docs ( #18480 )
2020-05-18 20:23:57 -07:00
Kaushik Iska
e67ed1b207
[fuchsia] Update the error message to reference the right asset ( #18485 )
2020-05-18 16:27:04 -07:00
LongCatIsLooong
496585505f
[Android] setDimens on ViewNodes for autofill ( #18444 )
2020-05-18 10:23:33 -07:00
LongCatIsLooong
4b1a70e6a2
echo text selection changes back to framework ( #18408 )
2020-05-18 10:01:55 -07:00
Chris Yang
3c2a4ac976
remove unused IOSContext::ResourceMakeCurrent and IOS:Context::ClearCurrent ( #18443 )
2020-05-15 19:07:44 -07:00
liyuqian
a4fb3de207
Automatically remove old persistent cache dir ( #18244 )
...
Fixes https://github.com/flutter/flutter/issues/53445
2020-05-15 14:15:59 -07:00
gaaclarke
2024706f17
Started allowing setting message handlers to nil for dead engines ( #18428 )
2020-05-15 14:11:10 -07:00
Kaushik Iska
c413b3d743
Update the observatory thread name for profiling thread ( #18199 )
2020-05-15 12:28:10 -07:00
Kaushik Iska
2494d1ca70
Revert "Remove pipeline in favor of layer tree holder ( #18285 )" ( #18427 )
...
This reverts commit 2cdbc7f92793125d9312138877c05af6ad708683.
2020-05-15 12:27:32 -07:00
gaaclarke
d1b0c46660
Added a unit test for the iOS AccessibilityBridge. ( #18281 )
2020-05-15 09:43:32 -07:00
egdaniel
dba00b2395
Update flutter skia flush calls to new flush and submit api ( #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
69d7200c48
Rename NULL tests to Nullptr for consistency ( #18359 )
2020-05-15 15:00:11 +12:00
Robert Ancell
474e6f121e
Remove rapidjson from TextInputModel ( #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
47707965b4
Fix incorrect header for #FlBasicMessageChannel::respond ( #18365 )
2020-05-15 09:19:00 +12:00
Kaushik Iska
2cdbc7f927
Remove pipeline in favor of layer tree holder ( #18285 )
...
go/flutter-pipeline-improvements for more details.
2020-05-14 10:46:14 -07:00
Robert Ancell
5ad4f9ee4a
Add FlJsonMessageCodec ( #18221 )
2020-05-14 13:49:40 +12:00
Robert Ancell
960035462a
Add FlBasicMessageChannel ( #18189 )
2020-05-14 12:09:32 +12:00
Jason Simmons
dc93db5ab8
Move FlutterLoader disk I/O to a background thread to comply with Android strict mode ( #18241 )
2020-05-13 14:17:03 -07:00
Robert Ancell
f321613e5a
Add guards on FlValue methods to check for NULL values ( #18226 )
2020-05-14 09:02:51 +12:00
Chris Yang
006dbfce2a
Always keep thread merged when there are platform views. ( #18245 )
2020-05-13 08:53:46 -07:00
Robert Ancell
7b6406720a
Use 'message' as the parameter name in FlMessageCodec::encode_message ( #18253 )
...
This is more consistent with the Dart code.
2020-05-13 16:55:20 +12:00
LongCatIsLooong
8b4987382e
add new keyboard types and missing autofill hints ( #18202 )
2020-05-11 19:41:46 -07:00
Robert Ancell
2f6bcdeb94
Add FlStandardMessageCodec ( #18213 )
2020-05-12 11:09:21 +12:00
Robert Ancell
72a48bd6ee
Fix incorrect declaration of FlBinaryCodec ( #18283 )
2020-05-12 09:58:47 +12:00
Kaushik Iska
8d76518011
Fix latest_frame_target_time race ( #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
044f2542d4
Use the term 'handler' for registering callbacks. ( #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
ccfec72798
Fix grammar in FlBinaryCodec/FlStringCodec descriptions ( #18268 )
2020-05-12 09:00:36 +12:00
Marcus Tomlinson
d96f962ca2
Add new FlutterEngineAOTData argument to FlutterProjectArgs ( #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
d1725d7f1e
Restore the call to initConfig in FlutterLoader ( #18257 )
...
This was accidentally removed in https://github.com/flutter/engine/pull/18182
2020-05-09 11:49:11 -07:00
Gary Qian
e9f1efa280
Add fullscreen padding workarounds to v2 android embedding ( #18193 )
2020-05-09 04:31:27 -07:00
Kaushik Iska
4418ce8825
Revert "Remove pipeline in favor of layer tree holder ( #17688 )" ( #18242 )
2020-05-08 16:09:02 -07:00
Kaushik Iska
983de2c402
Remove pipeline in favor of layer tree holder ( #17688 )
...
go/flutter-pipeline-improvements for more details.
2020-05-08 10:51:10 -07:00
xster
40167b68ed
Make robolectric tests run against SDK 29 by default ( #17996 )
2020-05-07 23:29:02 -07:00
Robert Ancell
9ea2db5bac
Add FlMessageCodec, FlBinaryCodec, FlStringCodec ( #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
403931ff22
Add FlValue ( #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
716dbf00c8
Refactor GLFW embedding to support headless mode ( #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
15f72b8c0d
Support EventChannel C++ plugin API for Linux/Windows ( #17015 )
...
Fixes https://github.com/flutter/flutter/issues/49398
2020-05-07 15:54:59 -07:00
Robert Ancell
e5a7ca577d
Handle leak of message handle when no engine present ( #18157 )
...
* Handle leak of message handle when no engine present
* Move callback in wrong location
2020-05-08 09:05:20 +12:00
xster
d3bde19c15
add docs to platformviewios (and some drive-by changes) ( #17593 )
2020-05-07 14:01:09 -07:00
Jason Simmons
88b9d42400
Remove the global engine entry timestamp ( #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
ede658e2d1
[profiling] CPU Profiling support for iOS ( #18087 )
...
See flutter.dev/go/engine-cpu-profiling for details
2020-05-07 08:11:07 -07:00
Wu Zhong
39595c822f
Fix memory leak of FlutterCustomAccessibilityAction ( #17954 )
2020-05-06 14:08:58 -07:00
Ali Mahdiyar
9cdb5a9b6a
Custom unicode handling for Android backspace via JNI to ICU ( #17960 )
2020-05-06 14:01:02 -07:00