2341 Commits

Author SHA1 Message Date
Robert Ancell
2a813f032e Add fl_value_to_string (flutter/engine#18540) 2020-05-22 10:57:21 +12:00
Albert Wang
ebede8ac65 [profiling] Memory Profiling support for iOS (flutter/engine#18516)
Based on Kaushik's work for iOS CPU profiling, I added the memory profiling within the same scheduled task.

The memory profiling methodologies were discussed in the internal doc. Please see go/flutter-ios-memory-profiling.
2020-05-21 08:55:40 -07:00
xster
70a4de6878 Let run_tests.py just stream output (flutter/engine#18534) 2020-05-20 21:38:37 -07:00
Robert Ancell
5161b7eece Add FlKeyEventPlugin (flutter/engine#18313) 2020-05-21 16:08:56 +12:00
Mehmet Fidanboylu
6baffb9091 Add tests for StandardMethodCodec (flutter/engine#18521) 2020-05-20 21:02:03 -07:00
David Worsham
9ed56044d4 fuchsia: Fix runtime_tests and shell_tests (flutter/engine#18492) 2020-05-20 18:47:02 -07:00
Robert Ancell
a12454646d Add FlMethodChannel, FlMethodCodec, FlStandardMethodCodec and FlJsonMethodCodec (flutter/engine#18220)
* Add FlMethodChannel, FlMethodCall, FlMethodResponse and FlMethodCodec

* Add FlJsonMethodCodec

* Add FlStandardMethodCodec
2020-05-21 12:53:15 +12:00
Gary Qian
126af7553d Send platformResolvedLocale from iOS embedder (flutter/engine#18519) 2020-05-20 16:32:03 -07:00
Tong Mu
9cca98422c System mouse cursor: macOS (flutter/engine#18131)
* Untested macOS impl

* Workable mac

* Modernize

* Simplify

* Address comments

* Refactor with FlutterPlugin

* Cached dict

* Update per comments

* format

* Remove device arg

* Format

* Update license

* Update licences

* Doc update
2020-05-20 16:27:25 -07:00
Robert Ancell
7b4840a4fc Make FlBasicMessageChannelResponseHandle a GObject to detect unresponded and double responded messages. (flutter/engine#18514) 2020-05-21 11:15:56 +12:00
Wu Zhong
29fe2d75a5 Fixes Semantic Object memory leak cause of wrong release call (flutter/engine#18107) 2020-05-20 11:35:37 -07:00
George Wright
955906137a Set caches directory on Fuchsia (flutter/engine#18321) 2020-05-20 11:05:55 -07:00
Kaushik Iska
4696f624fd [fuchsia] Remove SceneDisplayLag event on Fuchsia (flutter/engine#18515)
See: https://github.com/flutter/flutter/issues/56598
2020-05-20 10:56:35 -07:00
xster
456a671cbf Move robolectric tests to sdk 28 (flutter/engine#18525) 2020-05-20 09:19:35 -07:00
Wu Zhong
1ce24a70fb Fix iOS platform view not deallocated (flutter/engine#18164)
Co-authored-by: Aaron Clarke <aaclarke@google.com>
2020-05-19 22:10:47 -07:00
Gary Qian
489d0ce708 Remove currentLocale prepend on iOS (flutter/engine#18379) 2020-05-19 19:10:35 -07:00
Chris Yang
80c707a642 Introduce TaskRunnerAffineWeakPtrFactory to generate TaskRunnerAffineWeakPtrs (flutter/engine#18346) 2020-05-19 16:36:17 -07:00
Mehmet Fidanboylu
2fcffb2046 Handle Throwable in StandardMethodCodec (flutter/engine#18490) 2020-05-19 15:15:49 -07:00
Robert Ancell
933fcc1048 Update comments for grammar and content to required style (flutter/engine#18491) 2020-05-20 09:14:28 +12:00
Robert Ancell
51d92a2607 Add TextInputModel unittests (flutter/engine#18411)
* Add missing return values to TextInputModel::MoveCursorToBeginning and TextInputModel::MoveCursorToEnd

* Add TextInputModel unittests
2020-05-20 09:14:03 +12:00
Kaushik Iska
64842a7b7d [fuchsia] Fix Mac SDK roll failure (flutter/engine#18509)
fixes deps for zircon/sdk_ext as well
2020-05-19 12:57:35 -07:00
Jason Simmons
a419b39732 Roll the Fuchsia SDK and update the path to the async API header (flutter/engine#18494) 2020-05-19 08:10:22 -07:00
Tim Sneath
a8fdfdb926 Fix missing backtick in FlutterViewController docs (flutter/engine#18480) 2020-05-18 20:23:57 -07:00
Kaushik Iska
76c24a0b26 [fuchsia] Update the error message to reference the right asset (flutter/engine#18485) 2020-05-18 16:27:04 -07:00
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