66 Commits

Author SHA1 Message Date
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
31d03de019 Rename mtl to fsl (#4094) 2017-09-11 17:56:02 -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
Zachary Anderson
2abd7c87e7 [Fuchsia] Disable dart:io exit() (#4080) 2017-09-11 11:25:38 -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
Josh Gargus
321e68e8bf Rename Mozart SceneManager to "Scenic". (#4056) 2017-09-01 17:40:27 -07:00
Zachary Anderson
6e2d67fa1d [Fuchsia] Pass namespaces to Isolates (#4047) 2017-09-01 13:17:20 -07:00
Ian McKellar
f08b08417d Update to new Dart FIDL bindings API. (#3988)
* Update to new Dart FIDL bindings API.
2017-08-22 13:32:46 -07:00
Ian McKellar
68d3553f5b Use the tonic::HandleTable (#3924) 2017-07-26 12:19:34 -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
Ian McKellar
193de2f4cb Fix build broken by flutter ba9a525bdcdd859cb12dd9e6e2d9678c2ae9c9ef (#3918) 2017-07-24 11:05:54 -07:00
Chinmay Garde
925298d947 Update the content handler to use the Mozart session API. (#3887) 2017-07-18 15:40:18 -07:00
Jason Simmons
f0c3ebfb81 Send text input action events on Fuchsia (#3843)
Fixes https://github.com/flutter/flutter/issues/10061
2017-06-29 18:03:51 -07:00
Jason Simmons
cbbdd8849e Convert Fuchsia event timestamps to microseconds (#3828)
Fixes https://github.com/flutter/flutter/issues/10569
2017-06-26 14:56:42 -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
mikejurka
b7dd2a3f97 Invoke deferred invalidation callback before destroying it. (#3734)
If it is not invoked, it triggers a fatal fidl runtime check.
2017-06-05 14:07:09 -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
Jêrôme Poichet
e3dd318f81 Fixing typo for OfferServiceProvider Mozart API (#3698) 2017-05-17 13:02:45 -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
bc8e3b5e72 Fix some text input-related typos (#3686) 2017-05-12 09:28:15 -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
725b77e1e6 Connect to text input service now that it doesn't crash (#3675) 2017-05-10 15:08:46 -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
Adam Barth
780112a8cc Fix build 2017-04-08 18:41:04 -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
Jêrôme Poichet
ae9ad39659 [flutter] Mozart API changed (#3504)
Updating SetListener to SetEventListener which comes with a new SetHitViewTester
2017-03-23 10:51:08 -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
5f95749770 Fix inconsistent Mozart touch events. (#3448)
Mozart ADD, REMOVE and HOVER phases were going through the default value
of Blink's Cancel type, causing inconsistencies.

Bug: US-157
2017-02-24 13:27:27 -08: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
Dan Rubel
481049f9cd add kernel support (#3369) 2017-02-16 10:11:38 -05: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
d45638fc2b [content_handler] Make RuntimeHolder convey its viewport metrics to the direct input instance. (#3367) 2017-01-26 14:36:30 -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
Chinmay Garde
94306f4103 Add a Vulkan backend for Fuchsia and Android. (#3282) 2017-01-20 14:37:10 -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
ce8b187914 Add support for raw key events on Fuchsia (#3208)
Fixes https://github.com/flutter/flutter/issues/6631
2016-11-15 13:04:08 -08:00
Adam Barth
eef3f1f619 Recognize Mozart event kinds (#3223)
Previously we treated everything as touch.
2016-11-14 14:08:03 -08:00
Adam Barth
5d13dc00aa Add support for child view on Fuchsia (#3217) 2016-11-10 18:03:00 -08:00