55 Commits

Author SHA1 Message Date
Alhaad Gokhale
9c1e48434b
Updates for Fuchsia roll. (#4765)
* AssetProvider
* libtxt
2018-03-09 12:18:25 -08:00
Adam Barth
63b9dab168
[fuchsia] Rename fidl namespace to f1dl (#4707)
This rename is to prepare for the migration to FIDL2.
2018-02-23 14:07:08 -08:00
Zachary Anderson
76d4928b05
Reland: [fuchsia] Enable running from source packages (#4634)
This relands https://github.com/flutter/engine/pull/4629 with a
tonic roll to fix the build.
2018-02-06 10:08:24 -08:00
Yegor
6dd49f0695
iOS a11y text entry (~70% of it) (#4575)
* implement iOS text field editing in a11y mode

* address Chinmay's comments

* replace node in child list when changing type
2018-02-05 15:14:13 -08:00
Zachary Anderson
151bb37435
Revert "[fuchsia] Enable running from source packages (#4629)" (#4632)
This reverts commit 8f638591e97b350962001f5af38d2464421ec3dc.
2018-02-02 22:38:49 -08:00
Zachary Anderson
8f638591e9
[fuchsia] Enable running from source packages (#4629) 2018-02-02 15:43:21 -08:00
Zachary Anderson
d5338ed143
[fuchsia] Set up the namespace in dart:zircon (#4628) 2018-02-01 22:47:01 -08:00
Sarah Zakarias
1e23d648cb
Run Fuchsia apps without flx (#4550) 2018-01-15 11:09:01 +01:00
Sarah Zakarias
ce8ea0f742
Revert "Run Fuchsia apps without flx" (#4545)
* Revert "include portable_unistd.h in directory_asset_bundle (#4542)"

This reverts commit 211150fe40fbca68580af2f923b87ddb5ac924c6.

* Revert "Run Fuchsia apps without flx (#4538)"

This reverts commit 8718438d83c2cf3acdd3781df8ae4d00b8de56b1.
2018-01-12 15:55:47 +01:00
Sarah Zakarias
8718438d83
Run Fuchsia apps without flx (#4538) 2018-01-12 13:31:54 +01:00
Kevin Lindkvist
63c34d8330 Add clipboard actions to Fuchsia. (#4479)
This adds a ClipboardPtr to RuntimeHolder that is used to handle
Clipboard.setData and Clipboard.getData.
2017-12-22 10:28:20 -08:00
Ian McKellar
d917c35e72
Allow Flutter apps on Fuchsia to shut down cleanly (#4366)
The UIDartState is now always owned by the isolate and always freed in
the isolate cleanup callback.

In the isolate shutdown callback, if the isolate being shut down is the
main isolate, the RuntimeController is informed which in turn notifies
the RuntimeHolder and thus the ApplicationControllerImpl. The
ApplicationControllerImpl tears down the whole Flutter application.

This fixes Fuchsia bug: MI4-328
2017-11-15 13:28:21 -08:00
Mikkel Nygaard Ravn
ce7202d73c
Fix compile error in runtime holder (#4312) 2017-11-02 13:31:30 +01:00
Travis Martin
9d98d886ad Report onscreen text to Fuchsia context engine. (#4097)
Add a class to track onscreen text via SemanticsNodes from the
accessibility layer, and report this text to the ContextEngine.
2017-09-21 12:41:13 -07:00
George Kulakowski
550d0c6490 Rename Magenta to Zircon, along with associated abbreviations (#4114) 2017-09-14 22:49:46 -07:00
Michael Goderbauer
08961f8ec5 Format all c-like sources with clang-format (#4088)
* format

* license script adaptions

* updated licenses

* review comments
2017-09-12 15:36:20 -07:00
George Kulakowski
3aa7522c11 Rename ftl to fxl in Fuchsia specific code (#4090) 2017-09-11 15:58:48 -07:00
Adam Barth
2a13951fa9 Update paths for //application move (#4085) 2017-09-11 14:40:03 -07:00
Adam Barth
457f92ba48 Update paths for Mozart move (#4081) 2017-09-08 15:24:16 -07:00
Ian McKellar
0047b71aaf Updates for the dart:fidl.internal rename and split. (#4070)
Now it references dart:zircon and dart:fuchsia.
2017-09-06 15:33:43 -07:00
Ian McKellar
79332e5c42 Support the ApplicationController::Wait interface. (#4061)
This only operates correctly when the application is killed using the
Kill() method. Flutter applications on Fuchsia currently don't have any
way to shut themselves down, see:
https://github.com/flutter/flutter/issues/11934
2017-09-05 12:21:41 -07:00
Zachary Anderson
6e2d67fa1d [Fuchsia] Pass namespaces to Isolates (#4047) 2017-09-01 13:17:20 -07:00
Jeff Brown
8ee1910ca9 Use metrics provided by scene events. (#3922)
Compute the necessary texture resolution using more accurate scaling
information provided by Mozart scene node metrics events instead of the
device pixel ratio provided by the Mozart view properties (which we
might remove in the future).

This allows us to allocate smaller textures when a Flutter view is
being scaled down.
2017-07-24 19:17:55 -07:00
Chinmay Garde
925298d947 Update the content handler to use the Mozart session API. (#3887) 2017-07-18 15:40:18 -07:00
Chinmay Garde
800d817b8b Forward frame construction time to the compositor context. (#3765) 2017-06-12 17:52:42 -07:00
Benjamin Lerman
7dbd8dbfcc Add missing method on RuntimeHolder. (#3742) 2017-06-06 09:09:18 -07:00
Jêrôme Poichet
88c24a6c1a Updating to take into account the new Mozart IME Action API (#3714) 2017-05-26 09:34:01 -07:00
Adam Barth
84ccfde363 Teach flutter_runner about namespaces (#3707)
Rather than receiving an ApplicationEnvironment, we now receive a namespace.
Once we have FIDL2, we can plumb the namespace all the way through to Dart.
2017-05-23 15:21:07 -07:00
Adam Barth
7552150f77 Support Mozart::NativesDelegate on Fuchsia (#3696) 2017-05-17 11:04:50 -07:00
Jêrôme Poichet
30edb3c02f Adapting to Mozart API changes for the IME. (#3687) 2017-05-12 13:02:43 -07:00
Adam Barth
ce11143b0e Fix Fuchsia IME crashes (#3680)
We still don't get IME text, but at least we don't crash.
2017-05-10 19:20:07 -07:00
Adam Barth
29531fb16e Wire up Mozart's text input interface (#3669)
This patch wires Mozart's text input system to flutter/textinput. This patch
doesn't fully work yet because the Mozart side isn't fully implemented.
2017-05-09 15:07:41 -07:00
Adam Barth
2bb12e578e Remove the direct input layer. (#3634)
Instead of updating to match new HID touchscreen hacks exposed by
magenta, just remove the direct input layer entirely.  Mozart all the
time from now on.
2017-04-27 10:23:31 -07:00
Ryan Macnak
1084a83f11 AOT for Fuchsia. (#3570) 2017-04-11 14:53:14 -07:00
freiling
2a4af6906e Back Vulkan Rasterizer with Mozart View (#3568)
This version does not recycle buffers. It is meant only as an initial solution,
and the proper buffer recycling logic has been broken out into a separate change
2017-04-07 17:22:53 -07:00
Zachary Anderson
65fcbf7c76 Add listViews service extension for the content handler (#3468) 2017-03-13 14:46:14 -07:00
Jêrôme Poichet
e5f16da932 New mozart input events. (#3439)
* New mozart input events.

* Adding TODO for keyrepeat
2017-02-23 14:48:19 -08:00
James Robinson
8cad3ecae1 Updates for modular->app rename of //application interfaces (#3414) 2017-02-13 14:28:14 -08:00
James Robinson
f306a6f701 Updates for application extraction from //apps/modular (#3397) 2017-02-08 13:02:40 -08:00
Chinmay Garde
a042f57550 On Fuchsia with Vulkan on Acer, bypass Mozart and read input directly. (#3366) 2017-01-26 14:00:57 -08:00
Adam Barth
77e1a952f1 Remove HandleWatcher (#3260)
This interface has been replaced with HandleWaiter, which is the new hotness.
2016-11-22 20:41:03 -08:00
Adam Barth
60ee01642b Fix Fuchsia build (#3229) 2016-11-15 21:30:23 -08:00
Adam Barth
d1bc4c4850 Add support for hover pointer events (#3227)
These are implemented on macOS and Fuchsia.
2016-11-15 20:18:22 -08:00
Adam Barth
5d13dc00aa Add support for child view on Fuchsia (#3217) 2016-11-10 18:03:00 -08:00
Adam Barth
d658f9d324 Add support for Fuchsia IDL on Fuchsia (#3211) 2016-11-10 13:12:32 -08:00
Adam Barth
ced9a91c3a Switch Flutter to //lib/fidl (#3206) 2016-11-07 15:51:42 -08:00
Adam Barth
9eaedb0677 Migrate ViewportMetrics away from Mojo (#3180)
Now we just pass the data directly.
2016-10-27 13:12:55 -07:00
Adam Barth
76fce73207 Add support for assets on Fuchsia (#3162) 2016-10-21 13:03:16 -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
e8d046e9e2 Add support for Mozart input events (#3114) 2016-10-11 14:30:06 -07:00