2205 Commits

Author SHA1 Message Date
Ryan Macnak
c19eca2eb9 Adapt to vm isolate and isolate snapshot pieces being emitted as assembly. (flutter/engine#3156) 2016-10-20 12:11:15 -07:00
John McCutchan
a2872f8aa3 Roll dart forward (flutter/engine#3155) 2016-10-20 09:11:12 -07:00
Adam Barth
cbeb991d9e Teach Fuchsia build about FLUTTER_ROOT (flutter/engine#3154)
We need to pass the FLUTTER_ROOT to the flutter_tools so that it can find
resources such as the schema for flutter.yaml.
2016-10-20 01:32:39 -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
Jason Simmons
26c44068f6 Roll buildroot (flutter/engine#3150) 2016-10-19 16:56:42 -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
Adam Barth
981ea3beff Implement TextInputPlugin on iOS (flutter/engine#3145) 2016-10-19 10:14:59 -07:00
Adam Barth
96ba6d57c1 Remove clipboard mojo service (flutter/engine#3143)
All the clients have migrated to platform messages.
2016-10-18 10:04:36 -07:00
Adam Barth
8a5fe92192 All the clients have migrated to platform messages (flutter/engine#3142) 2016-10-18 00:57:23 -07:00
Adam Barth
8782db6bee Route key events through platform messages (flutter/engine#3141)
This will replace raw_keyboard.mojom.
2016-10-17 16:55:42 -07:00
Adam Barth
11e2e884c3 Complete routing for Java-to-Dart messages (flutter/engine#3140)
This patch completes the routing for Java-to-Dart platform messages.
2016-10-17 16:47:42 -07:00
Adam Barth
b3cf0e32fa Add clipboard functionality to platform plugin (flutter/engine#3139)
This will eventually replace the clipboard mojom.
2016-10-17 15:46:47 -07:00
Adam Barth
ac963ad808 Handle non-null terminated strings properly (flutter/engine#3138)
The function we were using to initialize this NSString assumed that our
UTF-8 data was null-terminated, which wasn't a valid assumption.

Fixes https://github.com/flutter/flutter/issues/6359
2016-10-17 14:18:45 -07:00
Adam Barth
d12cedb0a6 Remove Activity service (flutter/engine#3136)
This functionality has been replaced by the PlatformPlugin. Also move the
contents of //flutter/services/common to more sensible homes.
2016-10-14 16:12:01 -07:00
Adam Barth
7b42d06850 Fix build 2016-10-14 16:01:23 -07:00
Adam Barth
2e7a8d13bb Response messages (flutter/engine#3134)
Add plunbing for Host-to-Dart platform messages

We'll use the plumbing in this direction for things like key events.
2016-10-14 15:51:25 -07:00
Adam Barth
e583731e22 PointerChange.cancel should have a zero index (flutter/engine#3135)
To make the default state all zeros.

Fixes https://github.com/flutter/flutter/issues/6236
2016-10-14 15:46:46 -07:00
Adam Barth
c731aee1a1 Keep precision in iOS event timestamp (flutter/engine#3133)
Previously we were rounding event time stamps to the nearest second
because ftl::TimeDelta::FromSeconds takes an integer number of seconds.
Now we just convert directly from floating point seconds to
microseconds to avoid losing precision.

Fixes https://github.com/flutter/flutter/issues/6313
2016-10-13 16:41:28 -07:00
Adam Barth
e5c4d2f654 Fix crash due to typo (flutter/engine#3132)
I meant to compare these values, not assign them.
2016-10-13 16:03:42 -07:00
Przemysław Pietrzkiewicz
58f753e11f Ensure that DataPipeDrainer doesn't call OnDataCompete in ctor. (flutter/engine#3126)
This updates use of mtl::DataPipeDrainer to start reading in a separate
method.
2016-10-13 23:55:52 +02:00
Adam Barth
cec1a1e428 Add SystemNavigator.pop (flutter/engine#3130)
This method will let us remove the activity service.
2016-10-13 14:39:03 -07:00
Adam Barth
d7e000f83e Remove unused services (flutter/engine#3128)
The platform use cases are handled by the PlatformPlugin. The media service and
the sensor service have no clients. If we want to use them, we should create
plugins for them.
2016-10-13 12:14:38 -07:00
Adam Barth
04a38139ad Don't start in fullscreen mode on Android (flutter/engine#3129)
Fixes https://github.com/flutter/flutter/issues/6303
2016-10-13 11:10:02 -07:00
Adam Barth
02fd1c1680 More nil checking 2016-10-13 00:56:40 -07:00
Adam Barth
062c853752 Implement PlatformPlugin on iOS (flutter/engine#3125)
Also, expose a convenience class for processing JSON messages.
2016-10-13 00:04:30 -07:00
Adam Barth
cef37e6728 Use antialiased clips (flutter/engine#3124)
The Skia team tells us that these go faster.
2016-10-12 18:28:10 -07:00
Adam Barth
1ccda4a4ca Complete PlatformPlugin.java (flutter/engine#3123)
After this patch, the PlatformPlugin has all the required functionality on Android.
2016-10-12 14:29:57 -07:00
Adam Barth
35e0fa1818 Add SystemChrome support to PlatformPlugin.java (flutter/engine#3122) 2016-10-12 14:09:18 -07:00
Adam Barth
921f0b9f21 Add PlatformPlugin.java (flutter/engine#3121)
The PlatformPlugin is the first of the built-in plugins that will replace the
mojom platform services.
2016-10-12 13:27:12 -07:00
Adam Barth
9f04e2a7b2 Finish routing platform messages on iOS (flutter/engine#3119) 2016-10-12 12:52:11 -07:00
Adam Barth
6be2d61c93 Enable tracing on Fuchsia (flutter/engine#3116) 2016-10-12 10:25:35 -07:00
Adam Barth
43fb16a7c4 Update base (flutter/engine#3120) 2016-10-12 09:59:41 -07:00
Adam Barth
b420addcbb Rewire platform messages to work like semantics (flutter/engine#3118)
After this patch, platform messages now take the same path through the system
that semantics data does (on Android). Support on iOS will be in another patch.
2016-10-11 19:02:04 -07:00
Adam Barth
5f04763e8b Remove semanitcs.mojom (flutter/engine#3117)
We've cut over to the new semantics interface.
2016-10-11 15:39:08 -07:00
Adam Barth
e3e8182ace Improve new semantics backend (flutter/engine#3113)
TalkBack still isn't fully working, but this patch gets us much closer.
2016-10-11 13:27:11 -07:00
Jason Simmons
4795317841 Remove obsolete PlatformView::Resize and GetSize methods (flutter/engine#3112) 2016-10-11 11:55:23 -07:00
Jason Simmons
e4c161f028 Do not attach and detach the EGL context on each frame in the rasterizer thread (flutter/engine#3110) 2016-10-11 11:14:07 -07:00
Adam Barth
42b02cda80 Switch backend to consume new semantics API (flutter/engine#3103) 2016-10-11 10:52:48 -07:00
Adam Barth
be2271e05e Add more wiring for new semantics backend (flutter/engine#3111)
Previously the Dart entry points weren't wired up.
2016-10-10 14:51:22 -07:00
Adam Barth
c0aa11d81e Update //lib/ftl (flutter/engine#3108)
This fixes this Fuchsia build, which uses the latest //lib/ftl.
2016-10-07 14:07:09 -07:00
Jason Simmons
fec82b04a1 Reinstate the trace events for Skia canvas flush and eglSwapBuffers (flutter/engine#3107) 2016-10-07 14:01:22 -07:00
Adam Barth
86501e442b Add new platform message transport on Android (flutter/engine#3105)
This transport uses the Dart and JNI APIs directly instead of indirecting
through Mojo.
2016-10-07 12:05:43 -07:00
Adam Barth
2ae4b3f0f3 Remove failed UIDelegate abstraction (flutter/engine#3106)
We only ever had one UIDelegate. We might as well have people use the Engine
interface directly.
2016-10-06 16:19:05 -07:00