Collin Jackson
07b11ca18b
Fix reference SkyWindow > FlutterWindow ( flutter/engine#3309 )
2016-12-13 08:46:16 -08:00
Jason Simmons
ba88e87175
Do not dispatch UI events if they arrive after the FlutterView has been destroyed ( flutter/engine#3306 )
...
Fixes https://github.com/flutter/flutter/issues/7234
2016-12-12 16:30:26 -08:00
Collin Jackson
9a53005f50
Fix reference to nib file ( flutter/engine#3307 )
2016-12-12 15:57:33 -08:00
Chinmay Garde
6f3487f5f6
Add option to desktop test shells to use an embedded font for consistent unit tests. ( flutter/engine#3301 )
...
* This allows the tests to add their own FLX files but still use consistent fonts.
* The test fonts are only embedded on the desktop test shells. The option is not available on mobile platforms.
* Right now, all fonts will resolve to the test font. If we want tests to be able to use the fonts they embed in FLX files but use the test font for platform fallbacks, we will need to add font selector fallbacks. I can do this in an another patch. So far, there are no users of this functionality.
2016-12-09 14:47:49 -08:00
Jason Simmons
0774407d96
Catch and log exceptions thrown in message listeners provided by apps ( flutter/engine#3297 )
...
FlutterView's host message processing methods are invoked from native code,
and the JNI wrappers will abort the process if the Java side has an uncaught
exception.
2016-12-07 14:47:40 -08:00
Jason Simmons
6882e41a3d
Fix invalid JSON in listViews RPC response when a view does not have an isolate ( flutter/engine#3295 )
...
Fixes https://github.com/flutter/flutter/issues/7174
2016-12-07 13:11:41 -08:00
Jason Simmons
016cc947c8
Unblock FlutterView.getBitmap if there is no available layer tree ( flutter/engine#3294 )
2016-12-06 15:12:03 -08:00
Collin Jackson
40f3877c23
rename sky -> flutter in shell ( flutter/engine#3293 )
2016-12-06 14:43:53 -08:00
Chinmay Garde
7764bbac05
Convert the enable-dart-profiling to a shell argument in SkyActivity. ( flutter/engine#3292 )
2016-12-05 15:12:48 -08:00
Chinmay Garde
357892b8ef
[iOS] Don’t perform a per frame platform to UI thread switch. ( flutter/engine#3288 )
2016-12-01 17:35:40 -08:00
Jason Simmons
7afd100894
Initialize the InputConnection with the text plugin's most recent state (either incoming or outgoing) ( flutter/engine#3283 )
...
Fixes https://github.com/flutter/flutter/issues/7033
2016-11-30 15:07:37 -08:00
Chinmay Garde
ee55817d62
Allow platform frameworks to snapshot FlutterView contents. ( flutter/engine#3281 )
2016-11-29 14:39:29 -08:00
Todd Volkert
76b5744ea7
Make dylib filename configurable in Info.plist for iOS ( flutter/engine#3277 )
2016-11-28 19:44:08 -08:00
Todd Volkert
f119bf25db
Make flx filename configurable in Info.plist for iOS ( flutter/engine#3274 )
2016-11-28 14:47:06 -08:00
Chinmay Garde
1c25907547
Update Skia revision to pull in GL native interface construction fixes on iOS. ( flutter/engine#3265 )
...
* Update Skia revision to pull in GL native interface construction fixes on iOS.
Fixed in https://skia-review.googlesource.com/c/5212/
* Use the new image encoder API from Skia.
2016-11-23 13:36:14 -08:00
Chinmay Garde
fa8c14973b
Rework switches in the shell so that they display help text for all flags. ( flutter/engine#3259 )
2016-11-22 16:58:55 -08:00
Chinmay Garde
b4b8509397
Remove defunct reference to //third_party/libjpeg. ( flutter/engine#3261 )
2016-11-22 16:55:53 -08:00
Chinmay Garde
40ae490ca8
Disable profiling by default. Allow enabling via --enable-dart-profiling. ( flutter/engine#3238 )
2016-11-21 11:50:42 -08:00
Adam Barth
6e603372ba
Composite child views in proper paint order ( flutter/engine#3243 )
...
We push a bit up the tree during preroll to learn whether there system
composited layers below each layer. During update scene, we squash down
to paint tasks, which we execute after publishing the new scene.
2016-11-18 12:54:54 -08:00
Chinmay Garde
f8944f85f5
Use a custom Skia font manager that delegates to FontCacheLinux on Linux. ( flutter/engine#3245 )
2016-11-18 12:52:02 -08:00
Chinmay Garde
5730cf9d82
Update Skia and get using its BUILD.gn instead of maintaining own own copy. ( flutter/engine#3233 )
2016-11-17 12:36:16 -08:00
Adam Barth
d26fc5be2f
Update pointer change constants in Java ( flutter/engine#3231 )
...
I updated the C++ and Dart sides but forgot to update the Java side.
Fixes https://github.com/flutter/flutter/issues/6891
2016-11-16 10:13:28 -08:00
Adam Barth
bd95aafbe5
Add support for hover pointer events ( flutter/engine#3227 )
...
These are implemented on macOS and Fuchsia.
2016-11-15 20:18:22 -08:00
Chinmay Garde
e4c2169524
Give the Mac window an autosave identifier. ( flutter/engine#3215 )
2016-11-10 14:36:18 -08:00
Jason Simmons
0ce2408afb
Show clearer logs during startup if OpenGL is unavailable ( flutter/engine#3207 )
2016-11-07 17:01:42 -08:00
Chinmay Garde
6dbbb9c0a5
Fix PipelineProducer traces. Also add back the OnDisplayLink trace on iOS. ( flutter/engine#3201 )
2016-11-03 17:04:21 -07:00
Jason Simmons
b91c77590b
Set the IME action label to null if the label is null in the configuration JSON object ( flutter/engine#3199 )
...
(JSONObject.getString() will return the string "null" for a JSON null value)
Fixes https://github.com/flutter/flutter/issues/6643
2016-11-03 12:08:15 -07:00
Jason Simmons
17815b3421
Roll Dart ( flutter/engine#3194 )
...
Update DartServiceIsolate/FlutterView because VMServiceIO_NotifyServerState
now provides a URI for the observatory
2016-11-01 17:11:56 -07:00
Chinmay Garde
7f99dd8528
Initialize AndroidSurfaceGL and its associated resource context before ANativeWindow acquisition. ( flutter/engine#3193 )
...
* Initialize AndroidSurfaceGL and its associated resource context before ANativeWindow acquisition.
This allows us to create the IO thread context way earlier and service load requests on the same. Before this patch, early lifecycle loads would use the default Skia texture loader instead of the Async texture loader we provide.
Fixes https://github.com/flutter/flutter/issues/6581
* Don't destroy surface_gl_ PlatformViewAndroid::ReleaseSurface.
2016-11-01 15:02:56 -07:00
Jason Simmons
cfddf80a97
Fix warning about converting a null snapshot override path ( flutter/engine#3190 )
2016-11-01 14:38:27 -07:00
Adam Barth
f04d8c0314
Unlink from mojo ( flutter/engine#3187 )
...
After this patch, we no longer link with Mojo. We still use some gn definitions
from //mojo to create Dart packages.
2016-10-28 15:01:07 -07:00
Adam Barth
e963abe485
Number keyboard does not work on Android ( flutter/engine#3185 )
...
We had a typo in our decoding logic.
Fixes https://github.com/flutter/flutter/issues/6564
2016-10-28 12:26:56 -07:00
Adam Barth
414e5bcd60
Remove last mojom interface ( flutter/engine#3184 )
...
We no longer use mojom to transport messages. We still use the Mojo EDK
to spin the event loop, however.
2016-10-28 11:46:57 -07:00
Adam Barth
7e0fbaec13
Unify the various run methods on engine ( flutter/engine#3183 )
...
Now they all flow through some common routines.
2016-10-27 17:03:32 -07:00
Chinmay Garde
dd6331d3ad
Explicitly tell the platform view to update its backing store. ( flutter/engine#3181 )
2016-10-27 15:32:41 -07:00
Adam Barth
b5219d5dcf
Migrate ViewportMetrics away from Mojo ( flutter/engine#3180 )
...
Now we just pass the data directly.
2016-10-27 13:12:55 -07:00
Chinmay Garde
7e65ad2853
Add FlutterJSONMessageListener.h to the Flutter umbrella header. ( flutter/engine#3179 )
...
Causes warnings in Xcode.
2016-10-27 12:09:11 -07:00
Adam Barth
44ec9e55c9
Move lifecycle, navigation, and localization to platform messages ( flutter/engine#3172 )
...
Previously, these signals were sent over Mojo. Now we send them through
platform messages.
2016-10-25 15:51:27 -07:00
Adam Barth
aeab1fd456
Remove spurious log
2016-10-24 19:54:42 -07:00
Adam Barth
54ee61e60a
Migrate vsync away from Mojo services ( flutter/engine#3169 )
...
Instead, just use JNI and Objective-C directly.
2016-10-24 16:14:37 -07:00
Adam Barth
6a513ae913
Remove MojoServices from dart:ui ( flutter/engine#3161 )
...
We no longer offer mojo handles via this mechanism.
2016-10-20 20:27:07 -07:00
Adam Barth
be5997bd3f
Switch engine over to platform messages ( flutter/engine#3153 )
...
This patch removes the use of the host messages mojom and switch all
message routing over to platform messages.
2016-10-19 22:36:00 -07:00
Adam Barth
d37caa23b0
Remove editing.mojom ( flutter/engine#3152 )
...
Clients have been migrated to the TextInputPlugin.
2016-10-19 22:12:19 -07:00
Adam Barth
1073376143
Add assets plugin ( flutter/engine#3151 )
...
This plugin is implemented internally by the engine to integrate with the asset
system.
2016-10-19 16:57:32 -07:00
Adam Barth
8ff061dc92
Switch from char to uint8_t to represent memory ( flutter/engine#3147 )
...
Previously we had a mix of the two.
2016-10-19 16:49:36 -07:00
Jason Simmons
206708fab0
Do not intercept all Android key events ( flutter/engine#3149 )
2016-10-19 16:46:55 -07:00
Jason Simmons
73b76bfc3f
Do not use TouchExplorationStateChangeListener if that API is unavailable ( flutter/engine#3148 )
2016-10-19 14:59:22 -07:00
Adam Barth
c7b497981a
Run observatory tests in --non-interactive ( flutter/engine#3146 )
...
This patch is an attempt to fix a mysterious failure on the buildbot.
2016-10-19 14:13:22 -07:00
Adam Barth
0990d5daf1
Fix typo
2016-10-19 13:53:24 -07:00
Adam Barth
5ddf4ef3bb
Implement TextInputPlugin on Android ( flutter/engine#3144 )
...
This plugin will eventually replace keyboard.mojom.
2016-10-19 12:23:52 -07:00