2617 Commits

Author SHA1 Message Date
Robert Ancell
43de315eee Add missing full stops on the end of comments. (flutter/engine#18634) 2020-06-03 06:21:46 +12:00
Tong Mu
75724a5657 System mouse cursor: Android (flutter/engine#18569)
Adds system mouse cursor to the Android engine.
2020-06-01 18:08:43 -07:00
Robert Ancell
486f8e4886 Don't show warnings when removing handlers. (flutter/engine#18633)
These are removed in destructors.
2020-06-02 11:32:57 +12:00
chenjianguang
5a78bd2f4d Fix BM_ShellShutdown regression (flutter/engine#18676) 2020-06-01 16:13:02 -07:00
Kaushik Iska
29a096bc85 [fuchsia] NNBD: Kernel libraries for Flutter, Dart runners (flutter/engine#18714)
This updates the references to `third_party/dart/sdk` to
`third_party/dart/sdk_nnbd`

Fixes: https://github.com/flutter/flutter/issues/58431
2020-06-01 15:28:10 -07:00
Robert Ancell
29a0d55666 Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel (flutter/engine#18638) 2020-06-02 09:39:37 +12:00
Robert Ancell
61f0b14f9c Fix FlValue functions not marked for export (flutter/engine#18641) 2020-06-02 09:38:10 +12:00
Jason Simmons
a6d5bd994d Disconnect the channel message handler when releasing the AccessibilityBridge (flutter/engine#18657) 2020-05-29 16:23:01 -07:00
David Reveman
685be60f1f [fuchsia] Use R8G8B8A8 format instead of B8G8R8A8. (flutter/engine#18475)
This format is preferred on some hardware. Also explicitly
specify color space when creating the skia surface.

Co-authored-by: David Reveman <reveman@google.com>
2020-05-29 07:05:02 -04:00
David Reveman
522571c935 [fuchsia] Avoid unnecessary layout transition. (flutter/engine#18653)
See https://github.com/KhronosGroup/Vulkan-Samples/blob/master/samples/performance/layout_transitions/layout_transitions_tutorial.md#transaction-elimination-on-mali-gpus
for an explanation of why transitioning the layout hurts performance
on Mali drivers.

Co-authored-by: David Reveman <reveman@google.com>
2020-05-28 22:43:40 -04:00
gaaclarke
055ca94093 Revert "Minimal test harness for iOS (#13029)" (flutter/engine#18631)
This reverts commit 7fb973712962b01f42ac6c81d83e509ece22bea3.
2020-05-28 18:08:07 -07:00
Marcus Tomlinson
4bc087feb8 Update GLFW embedding to support AOT mode (flutter/engine#18423)
Unblocks: flutter/flutter#57135

Part of https://github.com/flutter/flutter/issues/38478
2020-05-28 17:53:54 -07:00
chenjianguang
db630fbd93 Setup default font manager after engine created, to improve startup performance (flutter/engine#18225) 2020-05-28 17:53:04 -07:00
Robert Ancell
567c770994 Revert "Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel (#18597)"
This reverts commit 6b0417a1a19f69ec18c2176e3f5cde60aeb9b96d.
2020-05-28 13:32:26 +12:00
Robert Ancell
6b0417a1a1 Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel (flutter/engine#18597)
* Add mock implementations of the Flutter embedding API and EGL
* Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel
2020-05-28 13:13:32 +12:00
Robert Ancell
72181d1083 Add FlTextInputPlugin (flutter/engine#18314)
* Add FlTextInputPlugin
2020-05-28 13:11:16 +12:00
stuartmorgan
135f9a33ca Fix copy/paste in the Linux embedding (flutter/engine#18624)
The recent refactoring to support headless mode accidentally passed
nullptr instead of the window (if any) to the platform handler that
manages clipboard interactions, causing it to be broken.

Fixes https://github.com/flutter/flutter/issues/58035
2020-05-27 16:48:26 -07:00
gaaclarke
851f2e76b0 Made the Rasterizer avoid GPU calls when backgrounded (flutter/engine#18563) 2020-05-26 21:02:40 -07:00
David Worsham
c06c25a0d7 Reland "fuchsia: Implement CreateViewWithViewProvider" (flutter/engine#18615)
The last commit was a bad push -- this one compiles.

Tested: Manual test via workstation product
BUG: 50875
2020-05-26 19:29:11 -07:00
Robert Ancell
75f15f3460 Add FlPluginRegistry and FlPluginRegistrar (flutter/engine#18453)
* Add FlPluginRegistry and FlPluginRegistrar
2020-05-27 13:39:48 +12:00
Robert Ancell
3eb418ab72 Add GDestroyNotify callbacks on handlers (flutter/engine#18546) 2020-05-27 13:38:45 +12:00
David Worsham
fca990583a Revert "fuchsia: Implement CreateViewWithViewProvider (#18280)" (flutter/engine#18614)
This reverts commit 2f0930ed07de747c8a5b6fb2cf05ebe7ec75f14f.
2020-05-26 17:12:34 -07:00
David Worsham
2f0930ed07 fuchsia: Implement CreateViewWithViewProvider (flutter/engine#18280)
Tested: Manual test via workstation product
BUG: 50875
2020-05-26 16:27:15 -07:00
Robert Ancell
3aa7e03711 Show error details in method channel response error messages (flutter/engine#18571) 2020-05-27 09:17:55 +12:00
Robert Ancell
9698ed7d38 Fix wrong method name - copy/paste error from FlBinaryMessenger (flutter/engine#18596) 2020-05-27 09:17:16 +12:00
stuartmorgan
c1f2f8e6d9 Support AOT mode for Windows (flutter/engine#18589)
- Adds a way to provide an AOT library to the C API.
- Adds app.so to the information provided by DartProject.
- Fixes the engine to only do static snapshot linking for Windows in
  debug mode, not all modes, so that the provided library is used.

Engine side of https://github.com/flutter/flutter/issues/38477
2020-05-26 11:01:48 -07:00
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