Chinmay Garde
9497a37460
Initialize the window_ ivar in PlatformView to gfx::kNullAcceleratedWidget
2015-11-17 12:04:03 -08:00
Adam Barth
4e0ec4c23b
Fix the units for Pointer events
...
The time_stamp is supposed to be in microseconds. Previously we were using
milliseconds.
2015-11-17 11:21:58 -08:00
Adam Barth
c9b7f2f7d4
Scrollable widgets don't fling in MojoShell
...
There's some confusion over the units for time_stamp. This patch works around
the issue. I've filed a bug (https://github.com/domokit/mojo/issues/541 ) to
figure out the right fix.
Also, rename the final target to flutter.mojo, which is a more descriptive
name.
2015-11-17 09:41:07 -08:00
Adam Barth
ae58ba7c8c
Bring sky_shell.mojo up to feature parity with sky_viewer.mojo
...
I believe this patch implements all the remaining features from
sky_viewer.mojo.
2015-11-16 17:19:35 -08:00
Adam Barth
36b4f0669c
Make sky_shell.mojo work on Android
...
There's no vsync service in MojoShell, so we shouldn't try to connect to it.
Feature request for MojoShell is in https://github.com/domokit/mojo/issues/535 .
2015-11-16 15:27:28 -08:00
Collin Jackson
794caa2314
Merge pull request #2059 from collinjackson/rename_flutter_strings
...
Fix #371 Replace “chromium” and “sky” with “flutter” in logs and Mac Shell UI
2015-11-16 14:54:30 -08:00
Collin Jackson
0904164fd6
Fix https://github.com/flutter/flutter/issues/371 renaming "sky" and "chromium" to "flutter" in logs and Mac Shell UI
2015-11-16 14:54:18 -08:00
Adam Barth
ba603acc04
Fix build and rename a variable
...
I was supposed to rename this variable before landing the previous patch.
2015-11-16 14:42:44 -08:00
Adam Barth
4858c78ad9
Merge pull request #2058 from abarth/mojo_input
...
Handle pointer input in sky_shell.mojo
2015-11-16 14:39:20 -08:00
Adam Barth
530d7f3851
Handle pointer input in sky_shell.mojo
2015-11-16 14:26:45 -08:00
Adam Barth
6fae1a6bd4
Hold services_provided_to_embedder open
...
If we let services_provided_to_embedder close, we'll trigger a bug in Dart's
ApplicationConnection framework code. I've filed
https://github.com/domokit/mojo/issues/536 and will fix that separately. This
patch works around the issue for now.
2015-11-16 13:57:17 -08:00
Adam Barth
77f873c1a4
Wire in Mojo services to sky_shell.mojo
...
After this patch, code running in sky_shell.mojo has access to Mojo services.
2015-11-16 12:56:08 -08:00
Adam Barth
9dc71cb51f
Refactor how we wire up platform services
...
Now the control flow for wiring up platform services starts in the
platform-specific code. Previously we started in shared code, which was
imposing constraints on the startup sequence for all platforms. Now that we
start in platform-specific code, we'll be able to add better support for Mojo
in a future patch.
2015-11-16 12:24:28 -08:00
Adam Barth
3082e82586
Merge pull request #2054 from abarth/rm_network
...
Remove sky:🐚 :Engine's dependency on network_service
2015-11-16 09:50:23 -08:00
Adam Barth
33a1cd3e87
Remove sky: 🐚 :Engine's dependency on network_service
...
We weren't using the network service for anything.
2015-11-16 09:22:06 -08:00
Adam Barth
56601fcfa3
Wire sky_shell.mojo to draw via MGL
...
After this patch, we can execute Dart code and draw the result via MGL. We
still need to plumb in services.
2015-11-14 07:42:25 -08:00
Adam Barth
96b847cd43
Wire sky_shell.mojo up to native_viewport
...
After this patch, we can execute Dart code an create an X window. There's a
sketch of some graphics code, but it's not wired up yet.
2015-11-13 14:00:34 -08:00
Adam Barth
7e294c5f81
Merge pull request #2045 from abarth/gpu_direct
...
Move GPU code into direct
2015-11-12 21:01:46 -08:00
Adam Barth
8a6ef54343
Move GPU code into direct
...
I'll add another subdirectory to GPU for Mojo soon.
2015-11-12 19:56:38 -08:00
Jason Simmons
b63c2d93e1
Provide a handle for the ServiceProvider stub used by the application to expose services to the embedder
2015-11-12 15:06:10 -08:00
James Robinson
3e79cc5829
Nuke //ui/events, all users are runtime dead
2015-11-11 17:33:07 -08:00
Adam Barth
04391cf941
Add a basic sky_shell.mojo
...
Currently sky_shell.mojo can't load any Flutter apps or draw to the screen, but
that will come in later patches.
2015-11-11 14:06:55 -08:00
Adam Barth
846e7fcc99
Move platform-specific code for sky/shell into sky/shell/platform
...
This patch prepares us to add support for Mozart.
2015-11-11 13:31:18 -08:00
Chinmay Garde
fdddc60a89
Merge pull request #2030 from chinmaygarde/master
...
Move to the service/pointer Mojo interface for input events on Mac
2015-11-11 12:31:24 -08:00
Chinmay Garde
6e39075a7a
Move to the service/pointer Mojo interface for input events on Mac
2015-11-11 12:29:10 -08:00
Chinmay Garde
4f00b8b8a2
Merge pull request #2029 from chinmaygarde/master
...
Move to the services/pointer Mojo interface for touch events on iOS
2015-11-11 12:28:31 -08:00
Chinmay Garde
a399d95b3b
Move to the services/pointer Mojo interface for touch events on iOS
2015-11-11 12:14:46 -08:00
Collin Jackson
abc7473ca6
Add a service for receiving hardware keys
2015-11-11 10:57:40 -08:00
Adam Barth
ff48ddb68f
Add the ability to dispose host objects
...
Some host objects hold on to a lot of state and take time to tear down. This
patch adds the ability to dispose them eagerly to release resources faster.
2015-11-11 08:36:29 -08:00
Jason Simmons
9f2d723006
Replace the legacy pointer input event handling with PointerPackets
...
With this change we no longer need engine/core/events and its IDL bindings.
2015-11-10 14:34:12 -08:00
Adam Barth
150bbf6c7a
Remove Dart packages which have moved to flutter.dart
2015-11-07 00:34:12 -08:00
Chinmay Garde
e1d51161f3
Look for the FLX file in the application bundle before falling back to the runner bundle
2015-11-05 17:27:54 -08:00
Chinmay Garde
1e98421ca1
GN rules for the precompilation SDK
2015-11-05 12:57:36 -08:00
Adam Barth
05d03e5861
Rename sky.yaml to flutter.yaml
...
More flutter more better.
2015-11-02 12:57:27 -08:00
Adam Barth
02d75552c9
Start booting up the new binding system for window
...
Currently this code isn't completely wired up, but this patch is an incremental
step in that direction.
2015-10-27 16:53:52 -07:00
Chinmay Garde
40314239aa
Nuke unused document watcher on iOS
2015-10-26 11:54:24 -07:00
Adam Barth
0c03d1c560
Rework how we lookup native functions from Dart
...
This patch changes how we lookup native functions from Dart to be more
extensible. This patch paves the way for removing the dart:ui_internals
library.
2015-10-25 00:41:45 -07:00
Chinmay Garde
8e7193883b
Use the updated way of setting the status bar text color on iOS
2015-10-23 14:48:54 -07:00
Chinmay Garde
4467e58221
Tell the engine about the flx bundle path when loading from a precompiled snapshot
2015-10-23 14:34:51 -07:00
Chinmay Garde
d6ff8e90b0
Switch to using precompiled snapshots on iOS
2015-10-22 17:27:40 -07:00
Michael Xia
4809545d63
Fixed build errors when building for Mac desktop.
2015-10-22 13:04:14 -07:00
Hixie
ee6fc727a5
Remove an unused constant.
2015-10-22 08:53:11 -07:00
Adam Barth
3d9ebae899
Merge pull request #1728 from abarth/run_intent
...
Teach SkyShell.apk how to respond to the RUN intent
2015-10-21 19:50:19 -07:00
Adam Barth
96b610f366
Teach SkyShell.apk how to respond to the RUN intent
...
We'll use this to run app bundles off the device's file system.
2015-10-21 16:29:07 -07:00
Adam Barth
9422e0a427
Don't use a \0 to separate base and Dart trace events
...
Instead, we can just concatenate the records together, which means you can view
the generated trace file without post-processing. Also, I've made the trace
file world-readable, so that you can trace a device without needing root
access.
2015-10-21 15:14:19 -07:00
Adam Barth
33977d4dd8
Switch Android over to the shared TraceController
...
We now use the same trace controller on Android as other platforms.
2015-10-21 13:30:19 -07:00
Adam Barth
edb7d79c86
Update includes to account for network service move
2015-10-19 10:30:24 -07:00
Adam Barth
be426a20e7
Mark SkyShell as debuggable
...
This patch makes it easier to work with SkyShell on non-rooted devices.
2015-10-13 13:56:02 -07:00
Jason Simmons
5bdbdb5a80
Merge pull request #1583 from jason-simmons/mojo_merge_client_part2
...
Update to mojo aff2415d1e1f4c4a16b3bb608d4dc17c4e924667
2015-10-13 09:58:59 -07:00
Jason Simmons
69b47bfab9
Update to mojo 298d9942de7819c4a837b049bc98d2cbcd61554f
2015-10-12 15:34:11 -07:00