Chinmay Garde
37687a0869
Fix breaking builds because of Skia roll. ( #3158 )
...
* Update skia/BUILD to pull in missing header include paths and files.
* Update the tonic dep to pull in partial template specialization for enums.
2016-10-20 15:33:01 -07:00
Adam Barth
123e9c8da8
Update Skia ( #3157 )
2016-10-20 13:23:09 -07:00
Ryan Macnak
b6b927ac04
Adapt to vm isolate and isolate snapshot pieces being emitted as assembly. ( #3156 )
2016-10-20 12:11:15 -07:00
John McCutchan
28c29b32a8
Roll dart forward ( #3155 )
2016-10-20 09:11:12 -07:00
Adam Barth
1855548426
Teach Fuchsia build about FLUTTER_ROOT ( #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
b1c0ea79ca
Switch engine over to platform messages ( #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
f1b740c8c2
Remove editing.mojom ( #3152 )
...
Clients have been migrated to the TextInputPlugin.
2016-10-19 22:12:19 -07:00
Adam Barth
6aab8f2c60
Add assets plugin ( #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
5087006889
Roll buildroot ( #3150 )
2016-10-19 16:56:42 -07:00
Adam Barth
ae5d521e54
Switch from char to uint8_t to represent memory ( #3147 )
...
Previously we had a mix of the two.
2016-10-19 16:49:36 -07:00
Jason Simmons
4e68860e56
Do not intercept all Android key events ( #3149 )
2016-10-19 16:46:55 -07:00
Jason Simmons
f4fe2b610e
Do not use TouchExplorationStateChangeListener if that API is unavailable ( #3148 )
2016-10-19 14:59:22 -07:00
Adam Barth
e73c8a7f82
Run observatory tests in --non-interactive ( #3146 )
...
This patch is an attempt to fix a mysterious failure on the buildbot.
2016-10-19 14:13:22 -07:00
Adam Barth
525c947ece
Fix typo
2016-10-19 13:53:24 -07:00
Adam Barth
8449f7788f
Implement TextInputPlugin on Android ( #3144 )
...
This plugin will eventually replace keyboard.mojom.
2016-10-19 12:23:52 -07:00
Adam Barth
d185552ce6
Implement TextInputPlugin on iOS ( #3145 )
2016-10-19 10:14:59 -07:00
Adam Barth
808009d411
Remove clipboard mojo service ( #3143 )
...
All the clients have migrated to platform messages.
2016-10-18 10:04:36 -07:00
Seigo Nonaka
1d525df4f0
Clean Up: Removing unused interface GetTable from MinikinFont.
...
After Id766ab16a8d342bf7322a90e076e801271d527d4, GetTable is no longer
used in production due to poor performance and it is now only used in
tests. This CL removes GetTable interface from MinikinFont and update
tests code to use new interfaces, GetFontData, GetFontSize and
GetFontIndex.
Bug: 27860101
Test: Manually done
Change-Id: Ifcd7a348d7fb5af081192899dbcdfc7fb4eebbf9
2016-10-18 08:16:18 +00:00
Adam Barth
be9761268a
All the clients have migrated to platform messages ( #3142 )
2016-10-18 00:57:23 -07:00
Adam Barth
269fd75d56
Route key events through platform messages ( #3141 )
...
This will replace raw_keyboard.mojom.
2016-10-17 16:55:42 -07:00
Adam Barth
3bcdaa32b0
Complete routing for Java-to-Dart messages ( #3140 )
...
This patch completes the routing for Java-to-Dart platform messages.
2016-10-17 16:47:42 -07:00
Adam Barth
ca6d4fdec8
Add clipboard functionality to platform plugin ( #3139 )
...
This will eventually replace the clipboard mojom.
2016-10-17 15:46:47 -07:00
Adam Barth
26e6935b89
Handle non-null terminated strings properly ( #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
8547d6cf92
Remove //flutter/services/icu ( #3137 )
...
This code is unused.
2016-10-14 18:42:15 -07:00
Adam Barth
d999f6c123
Remove Activity service ( #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
3bcf58484a
Fix build
2016-10-14 16:01:23 -07:00
Adam Barth
82728570b7
Response messages ( #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
1a40ee953a
PointerChange.cancel should have a zero index ( #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
77ce805cc9
Keep precision in iOS event timestamp ( #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
Jason Simmons
64b6f1b1d5
Disable the fullscreen text entry mode on Android ( #3131 )
...
This mode requires that our editor implementation provide ExtractedText,
which we currently do not support
See https://github.com/flutter/flutter/issues/4899
2016-10-13 16:08:06 -07:00
Adam Barth
be22caccc5
Fix crash due to typo ( #3132 )
...
I meant to compare these values, not assign them.
2016-10-13 16:03:42 -07:00
Przemysław Pietrzkiewicz
d4a5e3671c
Ensure that DataPipeDrainer doesn't call OnDataCompete in ctor. ( #3126 )
...
This updates use of mtl::DataPipeDrainer to start reading in a separate
method.
2016-10-13 23:55:52 +02:00
Adam Barth
da96a8bddd
Add SystemNavigator.pop ( #3130 )
...
This method will let us remove the activity service.
2016-10-13 14:39:03 -07:00
Adam Barth
50f1b8d9ca
Remove unused services ( #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
eb25d718b0
Don't start in fullscreen mode on Android ( #3129 )
...
Fixes https://github.com/flutter/flutter/issues/6303
2016-10-13 11:10:02 -07:00
Jason Simmons
bce223c0a6
Set the initial selection range when creating an InputConnection ( #3127 )
...
Fixes https://github.com/flutter/flutter/issues/6152
2016-10-13 10:42:57 -07:00
Adam Barth
cf774d580c
More nil checking
2016-10-13 00:56:40 -07:00
Adam Barth
8c3eeb572f
Implement PlatformPlugin on iOS ( #3125 )
...
Also, expose a convenience class for processing JSON messages.
2016-10-13 00:04:30 -07:00
Adam Barth
8b911be098
Use antialiased clips ( #3124 )
...
The Skia team tells us that these go faster.
2016-10-12 18:28:10 -07:00
Adam Barth
e6631a69ae
Complete PlatformPlugin.java ( #3123 )
...
After this patch, the PlatformPlugin has all the required functionality on Android.
2016-10-12 14:29:57 -07:00
Adam Barth
ebb1a9f999
Add SystemChrome support to PlatformPlugin.java ( #3122 )
2016-10-12 14:09:18 -07:00
Adam Barth
e93d2c2755
Add PlatformPlugin.java ( #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
119b1a991d
Finish routing platform messages on iOS ( #3119 )
2016-10-12 12:52:11 -07:00
Adam Barth
2ff316e780
Enable tracing on Fuchsia ( #3116 )
2016-10-12 10:25:35 -07:00
Jason Simmons
260faeda69
Add a Keyboard.ClearClient method that can be used to drop the KeyboardClient stub ( #3115 )
...
See https://github.com/flutter/flutter/issues/6274
2016-10-12 10:00:25 -07:00
Adam Barth
025201a4e4
Update base ( #3120 )
2016-10-12 09:59:41 -07:00
Adam Barth
6042580f9e
Rewire platform messages to work like semantics ( #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
8e41be8f6f
Remove semanitcs.mojom ( #3117 )
...
We've cut over to the new semantics interface.
2016-10-11 15:39:08 -07:00
Adam Barth
e8d046e9e2
Add support for Mozart input events ( #3114 )
2016-10-11 14:30:06 -07:00
Adam Barth
e8f57e74a1
Improve new semantics backend ( #3113 )
...
TalkBack still isn't fully working, but this patch gets us much closer.
2016-10-11 13:27:11 -07:00