2362 Commits

Author SHA1 Message Date
Robert Ancell
e39301f23f
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel (#18638) 2020-06-02 09:39:37 +12:00
Robert Ancell
8c8c7b06d0
Fix FlValue functions not marked for export (#18641) 2020-06-02 09:38:10 +12:00
Jason Simmons
042804b06d
Disconnect the channel message handler when releasing the AccessibilityBridge (#18657) 2020-05-29 16:23:01 -07:00
David Reveman
7ac06df3ee
[fuchsia] Use R8G8B8A8 format instead of B8G8R8A8. (#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
c19459ab7d
[fuchsia] Avoid unnecessary layout transition. (#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
17737e6fd4
Revert "Minimal test harness for iOS (#13029)" (#18631)
This reverts commit 0622b051b63b399838eb7956bed97d76fc8bdf77.
2020-05-28 18:08:07 -07:00
Marcus Tomlinson
22692a6d93
Update GLFW embedding to support AOT mode (#18423)
Unblocks: flutter/flutter#57135

Part of https://github.com/flutter/flutter/issues/38478
2020-05-28 17:53:54 -07:00
chenjianguang
89cf074d37
Setup default font manager after engine created, to improve startup performance (#18225) 2020-05-28 17:53:04 -07:00
Robert Ancell
c86dcac156 Revert "Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel (#18597)"
This reverts commit a095cc23d8d5a539fd6179846875d7218c60bdff.
2020-05-28 13:32:26 +12:00
Robert Ancell
a095cc23d8
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel (#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
2bd95d9a4c
Add FlTextInputPlugin (#18314)
* Add FlTextInputPlugin
2020-05-28 13:11:16 +12:00
stuartmorgan
a03c752a81
Fix copy/paste in the Linux embedding (#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
bef5ac6132
Made the Rasterizer avoid GPU calls when backgrounded (#18563) 2020-05-26 21:02:40 -07:00
David Worsham
c9f9891454
Reland "fuchsia: Implement CreateViewWithViewProvider" (#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
63ed5b1bbd
Add FlPluginRegistry and FlPluginRegistrar (#18453)
* Add FlPluginRegistry and FlPluginRegistrar
2020-05-27 13:39:48 +12:00
Robert Ancell
79b136534a
Add GDestroyNotify callbacks on handlers (#18546) 2020-05-27 13:38:45 +12:00
David Worsham
b0008b0080
Revert "fuchsia: Implement CreateViewWithViewProvider (#18280)" (#18614)
This reverts commit 40043b5faccaa97cf2ffa483c5ff03fc1117c7db.
2020-05-26 17:12:34 -07:00
David Worsham
40043b5fac
fuchsia: Implement CreateViewWithViewProvider (#18280)
Tested: Manual test via workstation product
BUG: 50875
2020-05-26 16:27:15 -07:00
Robert Ancell
17d1dc7ec5
Show error details in method channel response error messages (#18571) 2020-05-27 09:17:55 +12:00
Robert Ancell
363050d4f6
Fix wrong method name - copy/paste error from FlBinaryMessenger (#18596) 2020-05-27 09:17:16 +12:00
stuartmorgan
903ef0892f
Support AOT mode for Windows (#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
680eb90a42
Add fl_value_to_string (#18540) 2020-05-22 10:57:21 +12:00
Albert Wang
2187523093
[profiling] Memory Profiling support for iOS (#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
f3b7ed4078
Let run_tests.py just stream output (#18534) 2020-05-20 21:38:37 -07:00
Robert Ancell
72f7a7c4ea
Add FlKeyEventPlugin (#18313) 2020-05-21 16:08:56 +12:00
Mehmet Fidanboylu
6c5f2396e1
Add tests for StandardMethodCodec (#18521) 2020-05-20 21:02:03 -07:00
David Worsham
1429534707
fuchsia: Fix runtime_tests and shell_tests (#18492) 2020-05-20 18:47:02 -07:00
Robert Ancell
e48ad6ec73
Add FlMethodChannel, FlMethodCodec, FlStandardMethodCodec and FlJsonMethodCodec (#18220)
* Add FlMethodChannel, FlMethodCall, FlMethodResponse and FlMethodCodec

* Add FlJsonMethodCodec

* Add FlStandardMethodCodec
2020-05-21 12:53:15 +12:00
Gary Qian
1475c2fc64
Send platformResolvedLocale from iOS embedder (#18519) 2020-05-20 16:32:03 -07:00
Tong Mu
69d0a8e710
System mouse cursor: macOS (#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
52a11ee411
Make FlBasicMessageChannelResponseHandle a GObject to detect unresponded and double responded messages. (#18514) 2020-05-21 11:15:56 +12:00
Wu Zhong
47836dc8a5
Fixes Semantic Object memory leak cause of wrong release call (#18107) 2020-05-20 11:35:37 -07:00
George Wright
cdc5ed3ad9
Set caches directory on Fuchsia (#18321) 2020-05-20 11:05:55 -07:00
Kaushik Iska
0d2768772f
[fuchsia] Remove SceneDisplayLag event on Fuchsia (#18515)
See: https://github.com/flutter/flutter/issues/56598
2020-05-20 10:56:35 -07:00
xster
33ea63fbbd
Move robolectric tests to sdk 28 (#18525) 2020-05-20 09:19:35 -07:00
Wu Zhong
f93c945b3d
Fix iOS platform view not deallocated (#18164)
Co-authored-by: Aaron Clarke <aaclarke@google.com>
2020-05-19 22:10:47 -07:00
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