3987 Commits

Author SHA1 Message Date
skia-flutter-autoroll
d8bc642dfd Roll src/third_party/skia f13375c925bf..4d727c560b58 (1 commits) (flutter/engine#6063)
Auto-roller completed checks. Merging.
2018-08-21 09:11:46 -04:00
skia-flutter-autoroll
105be42e5b Roll src/third_party/skia ca0cdef06349..f13375c925bf (1 commits) (flutter/engine#6062)
Auto-roller completed checks. Merging.
2018-08-21 05:01:46 -04:00
skia-flutter-autoroll
f6f0dc49ba Roll src/third_party/skia 8bbd3fedf55b..ca0cdef06349 (2 commits) (flutter/engine#6061)
Auto-roller completed checks. Merging.
2018-08-20 22:14:46 -04:00
Jason Simmons
c7a2e969b1 Clear the line baselines when doing each pass of layout (flutter/engine#6058)
Fixes https://github.com/flutter/flutter/issues/20824
2018-08-20 16:42:06 -07:00
amirh
eb77c3044d Support LTR/RTL layout directions for embedded Android views. (flutter/engine#6057) 2018-08-20 16:22:38 -07:00
skia-flutter-autoroll
91be498ee6 Roll src/third_party/skia 4f41dcf7d99a..8bbd3fedf55b (4 commits) (flutter/engine#6056)
Auto-roller completed checks. Merging.
2018-08-20 18:52:46 -04:00
liyuqian
3766540e1e Rename clipMode to clipBehavior in compositing.dart (flutter/engine#6053)
This is a follow up of https://github.com/flutter/engine/pull/5853
2018-08-20 12:56:30 -07:00
skia-flutter-autoroll
405a95fa03 Roll src/third_party/skia 7c42e01cedb9..4f41dcf7d99a (5 commits) (flutter/engine#6054)
Auto-roller completed checks. Merging.
2018-08-20 15:29:46 -04:00
amirh
bf9aa07b49 Delay the removal of the onDrawListener. (flutter/engine#6052)
In Android O removing the ViewTreeObserver.onDrawListener from the
listener call crashes. Instead we post a runnable to remove it.
2018-08-20 12:13:26 -07:00
Jonah Williams
8c942fb413 use setContentDescription for controls on Android (flutter/engine#6050) 2018-08-20 09:30:13 -07:00
skia-flutter-autoroll
cb824926ae Roll src/third_party/skia 6676079d2b79..7c42e01cedb9 (4 commits) (flutter/engine#6051)
Auto-roller completed checks. Merging.
2018-08-20 12:11:46 -04:00
skia-flutter-autoroll
a25ea513f9 Roll src/third_party/skia 2c687ea6e0a9..6676079d2b79 (1 commits) (flutter/engine#6049)
Auto-roller completed checks. Merging.
2018-08-20 08:48:46 -04:00
skia-flutter-autoroll
0dc3259264 Roll src/third_party/skia fb65db10aa31..2c687ea6e0a9 (1 commits) (flutter/engine#6048)
Auto-roller completed checks. Merging.
2018-08-20 04:37:46 -04:00
skia-flutter-autoroll
3cbb8a5e32 Roll src/third_party/skia ae7229480cbe..fb65db10aa31 (1 commits) (flutter/engine#6047)
Auto-roller completed checks. Merging.
2018-08-19 09:20:46 -04:00
skia-flutter-autoroll
8fb92181a3 Roll src/third_party/skia 5cc10c8cd6db..ae7229480cbe (1 commits) (flutter/engine#6046)
Auto-roller completed checks. Merging.
2018-08-19 05:06:46 -04:00
skia-flutter-autoroll
210b473654 Roll src/third_party/skia c24e0c1e41ab..5cc10c8cd6db (3 commits) (flutter/engine#6045)
Auto-roller completed checks. Merging.
2018-08-18 01:34:46 -04:00
skia-flutter-autoroll
3edb172b44 Roll src/third_party/skia ff6a73cc08af..c24e0c1e41ab (2 commits) (flutter/engine#6044)
Auto-roller completed checks. Merging.
2018-08-17 22:12:46 -04:00
amirh
31d1346006 Add views added to the WindowManager into the presentation view tree. (flutter/engine#6043)
The default WindowManager implementation in Android's Presentation is
delegating addView/removeView/updateViewLayout calls to the global
WindowManager.
This can result in a crash when an embedded view is trying to e.g show a
PopupWindow.

This change adds a custom WindowManager that overrides
addView (and removeView/updateViewLayout) and adds the view to the
presentation's view tree.

Note that views might keep a reference to the window manager which
might be an issue when we move a view from one virtual display to
another (due to a resize). For this reason when re-sizing we are not
creating a new window manager for the new presentation, but updating the
window manager's references to be relevant for the new presentation and
re-use it.
2018-08-17 17:01:42 -07:00
skia-flutter-autoroll
984fae2d94 Roll src/third_party/skia c623af2e1044..ff6a73cc08af (5 commits) (flutter/engine#6042)
Auto-roller completed checks. Merging.
2018-08-17 18:50:46 -04:00
skia-flutter-autoroll
c795d7bb36 Roll src/third_party/skia 12d13ae7f4e6..c623af2e1044 (8 commits) (flutter/engine#6040)
Auto-roller completed checks. Merging.
2018-08-17 15:28:46 -04:00
skia-flutter-autoroll
24d6b87abf Roll src/third_party/skia da135c397356..12d13ae7f4e6 (7 commits) (flutter/engine#6039)
Auto-roller completed checks. Merging.
2018-08-17 12:05:46 -04:00
skia-flutter-autoroll
3cb4e3f328 Roll src/third_party/skia bc414ed5dec5..da135c397356 (1 commits) (flutter/engine#6038)
Auto-roller completed checks. Merging.
2018-08-17 08:40:46 -04:00
skia-flutter-autoroll
cf174f8e2c Roll src/third_party/skia e21f0ec04e98..bc414ed5dec5 (2 commits) (flutter/engine#6037)
Auto-roller completed checks. Merging.
2018-08-16 23:54:46 -04:00
James D. Lin
e6e35ee205 Fix potential null pointer dereference in FlutterDartProject (flutter/engine#6035)
If `FlutterDartProject` found an `FLTLibraryPath` entry in an iOS
application's `Info.plist`, it assumed that values that were valid
filesystem paths were paths to bundles.  If the attempt to retrieve
the `NSBundle` fails, `FlutterDartProject` ignored the failure and
then would assign `nil` to a C++ `std::string`, resulting in a null
pointer dereference.

Add some failure checks to prevent this.
2018-08-16 17:40:33 -07:00
skia-flutter-autoroll
55b63e9075 Roll src/third_party/skia 8d77d1d85e2f..e21f0ec04e98 (5 commits) (flutter/engine#6036)
Auto-roller completed checks. Merging.
2018-08-16 20:31:46 -04:00
skia-flutter-autoroll
65ed4ec055 Roll src/third_party/skia cbb7d572aaa1..8d77d1d85e2f (12 commits) (flutter/engine#6034)
Auto-roller completed checks. Merging.
2018-08-16 17:07:46 -04:00
skia-flutter-autoroll
6ae15402a7 Roll src/third_party/skia cbd83bbd77d1..cbb7d572aaa1 (5 commits) (flutter/engine#6033)
Auto-roller completed checks. Merging.
2018-08-16 13:43:46 -04:00
skia-flutter-autoroll
4dbd63861d Roll src/third_party/skia 767fddfcce61..cbd83bbd77d1 (1 commits) (flutter/engine#6032)
Auto-roller completed checks. Merging.
2018-08-16 10:20:46 -04:00
skia-flutter-autoroll
a84472c8c8 Roll src/third_party/skia 64703d11a92a..767fddfcce61 (1 commits) (flutter/engine#6031)
Auto-roller completed checks. Merging.
2018-08-16 03:10:46 -04:00
skia-flutter-autoroll
1528a21a7e Roll src/third_party/skia 77af386c13cb..64703d11a92a (1 commits) (flutter/engine#6030)
Auto-roller completed checks. Merging.
2018-08-15 23:47:46 -04:00
skia-flutter-autoroll
b94f4830d7 Roll src/third_party/skia e49966c983ec..77af386c13cb (3 commits) (flutter/engine#6029)
Auto-roller completed checks. Merging.
2018-08-15 20:24:08 -04:00
Chinmay Garde
fe246effde Wait for Dart VM initialization before the letting the service isolate constructor access the VM object. (flutter/engine#6028)
The service isolate creation callback may occur on a background thread before
the call the Dart_Initialize within the DartVM construtor can finish. We store
pointers to various snapshots within the DartVM object. These snapshots are
necessary for to successfully create the service isolate. The isolate creation
callback access the global object within the ForProcessIfInitialized method.
This method can return null if the VM object has not been initialized. This
leads to the service protocol failing to start in a non-deterministic manner.
This patch moves the creation and access of the DartVM object within a critical
section.
2018-08-15 15:26:22 -07:00
Chinmay Garde
4555fcca31 Re-apply "Log Tonic errors with FML_LOG" (flutter/engine#6026)
This reverts commit 201900fd6354a0f1a9318e31f101e05aeea612bd and updates the tonic SHA.
2018-08-15 14:28:24 -07:00
skia-flutter-autoroll
40a93847e0 Roll src/third_party/skia 31a0944bb30b..e49966c983ec (8 commits) (flutter/engine#6027)
Auto-roller completed checks. Merging.
2018-08-15 17:00:46 -04:00
liyuqian
d9a83e09bc Update docker image tag and README (flutter/engine#5995) 2018-08-15 12:37:32 -07:00
Chinmay Garde
e2448720ae Add message encoding/decoding utility to FML. (flutter/engine#6017) 2018-08-15 12:30:02 -07:00
skia-flutter-autoroll
765af9340e Roll src/third_party/skia 916c498c04fa..31a0944bb30b (3 commits) (flutter/engine#6025)
Auto-roller completed checks. Merging.
2018-08-15 13:37:46 -04:00
Martin Kustermann
258a95c9fa Switch all embedders to use platform_strong.dill instead of platform.dill (the flutter_tester binary already does this) (flutter/engine#6024) 2018-08-15 17:45:11 +02:00
skia-flutter-autoroll
7dd8e69ca2 Roll src/third_party/skia 49bb9c17d713..916c498c04fa (1 commits) (flutter/engine#6023)
Auto-roller completed checks. Merging.
2018-08-15 10:14:46 -04:00
skia-flutter-autoroll
ffaf22a222 Roll src/third_party/skia 572eee09ef71..49bb9c17d713 (1 commits) (flutter/engine#6022)
Auto-roller completed checks. Merging.
2018-08-15 03:00:46 -04:00
Chinmay Garde
201900fd63 Revert "Log Tonic errors with FML_LOG" (flutter/engine#6021)
Reverts flutter/engine#6015

This is causing the Windows bots to fail.
2018-08-14 22:22:28 -07:00
Chinmay Garde
33485e47de Fix Android Vulkan builds to account for resource context management API updates. (flutter/engine#6020) 2018-08-14 22:20:05 -07:00
skia-flutter-autoroll
60d7cbe10d Roll src/third_party/skia 0d4a18321160..572eee09ef71 (3 commits) (flutter/engine#6019)
Auto-roller completed checks. Merging.
2018-08-14 23:36:54 -04:00
Jason Simmons
ee9fe6a5fc Log Tonic errors with FML_LOG (flutter/engine#6015) 2018-08-14 17:04:38 -07:00
skia-flutter-autoroll
a8b5411232 Roll src/third_party/skia cdbb076bf577..0d4a18321160 (5 commits) (flutter/engine#6016)
Auto-roller completed checks. Merging.
2018-08-14 19:34:54 -04:00
Jason Simmons
c761e6e2a0 Detach the resource context before shutting down the IO thread (flutter/engine#6009) 2018-08-14 13:15:42 -07:00
skia-flutter-autoroll
ec9e81e29d Roll src/third_party/skia 32c7d4dfcdca..cdbb076bf577 (5 commits) (flutter/engine#6014)
Auto-roller completed checks. Merging.
2018-08-14 16:10:54 -04:00
Niko Yuwono
9aac5e05f9 Add NSNull check in setSystemChromeSystemUIOverlayStyle (flutter/engine#6011) 2018-08-14 11:45:45 -07:00
James D. Lin
9ad6ac6c4a Don't require FLTLibraryPath and FLTAssetsPath from the main NSBundle (flutter/engine#5986)
We'd like the ability to add Flutter to existing iOS applications
without requiring that they set `FLTLibraryPath` and `FLTAssetsPath`
in the main bundle's `Info.plist`.

1. Modify `-[FlutterDartProject initWithPrecompiledDartBundle:]` to
   support setting the library and assets path from the specified
   `NSBundle` instead.

2. If no `NSBundle` is explicitly specified, look for one with a
   default bundle identifier ("io.flutter.flutter.app") before
   falling back to the main NSBundle.

Also remove `+[FlutterDartProject pathForFlutterAssetsFromBundle:]`
because we don't use it internally, and it isn't exposed in the
header file.
2018-08-14 10:45:05 -07:00
skia-flutter-autoroll
de92f24f97 Roll src/third_party/skia d4322a8630bc..32c7d4dfcdca (2 commits) (flutter/engine#6013)
Auto-roller completed checks. Merging.
2018-08-14 12:48:54 -04:00