Adam Barth
a9db805f58
Add system-level routing
...
We now respect the "route" field in Intents to load a route other than '/'.
Also, use popRoute rather than events to indicate that the framework has asked
us to go back.
2015-11-24 12:40:41 -08:00
Chinmay Garde
86212ddf61
Fix iOS builds using the keyboard service
2015-11-23 13:21:02 -08:00
Kris Giesing
578ad3a68c
Add ServiceName to various interfaces
2015-11-20 13:49:10 -08:00
Chinmay Garde
50289d3de3
Fix iOS builds: InlinedStructPtr is not copyable. Avoid the same while iterating over request headers.
2015-11-17 11:40:02 -08:00
Collin Jackson
24edb84322
Add support for HTTP headers on iOS
2015-11-16 22:40:43 -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
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
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
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
Collin Jackson
abc7473ca6
Add a service for receiving hardware keys
2015-11-11 10:57:40 -08:00
Jason Simmons
aa706f5e09
Merge pull request #2021 from jason-simmons/idl_pointer_event
...
Replace the legacy pointer input event handling with PointerPackets
2015-11-10 14:59:26 -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
Collin Jackson
f26943892f
Avoid draining mojo pipe on main thread in UrlLoaderImpl
2015-11-09 17:14:19 -08:00
Collin Jackson
50733ae9df
support for POST requests in UrlLoader
2015-11-09 13:08:39 -08: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
Adam Barth
edb7d79c86
Update includes to account for network service move
2015-10-19 10:30:24 -07:00
Collin Jackson
7cb6beef05
Stub out unimplemented iOS keyboard methods
2015-10-16 18:25:06 -07:00
Matt Perry
5cf97f8fbe
Remove UpdateService from activity.mojom.
...
It was moved to update_service.mojom.
2015-10-16 11:14:14 -04:00
Chinmay Garde
4aeceff410
Be consistent while using KeyboardType in the keyboard namespace
2015-10-12 12:28:57 -07:00
Chinmay Garde
3f4fee2d67
Fix keyboard service and input event implementation on iOS that broke after mojom updates
2015-10-12 12:15:18 -07:00
Matt Perry
cfa5b8191f
Remove old methods from Activity mojom interface after they were moved.
...
This is part 3 of my 3 part change to add the udpater sky package.
2015-10-01 12:10:54 -04:00
Matt Perry
3266b147cf
Implement working UpdateTask in Dart
...
Dart code now supports the full flow that the C++ code used to: version check,
download, replace app bundle. Bonus: the Dart code is much easier to follow,
thanks to async/await!
This is part 2 of a 3-part change. The first part added new mojom
interfaces, PathService and UpdateService, to the sky_services package.
2015-09-30 18:13:11 -04:00
Matt Perry
325a309c6d
Add new mojom interfaces PathService and UpdateService.
...
These will be used by the updater package.
2015-09-30 14:28:49 -04:00
James Robinson
8a15072435
Updates for change in Mojom dart enum generation
2015-09-24 10:35:20 -07:00
Adam Barth
b02963a1f6
Remove platform gesture detectors
2015-09-16 16:56:55 -07:00
Adam Barth
d5b2969546
Simplify TestRunner now that we don't have test_sky
2015-09-16 11:00:33 -07:00
Andrew Wilson
38be8f6e8d
Persist immersiveness.
2015-08-31 14:31:25 -07:00
Chinmay Garde
d726d4f822
Implement platform VSyncProvider for iOS
2015-08-31 12:30:11 -07:00
Adam Barth
30a05aab46
Add a mojom for delivering pointer events in packets
...
We don't use this interface yet.
2015-08-28 09:39:35 -07:00
James Robinson
c8eff5e44f
Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
...
This updates to mojo commit d259eb58aa59 and limits the roll script to
only pull in the parts of //mojo that are currently being used. More
stuff will be dropped in the future.
2015-08-25 14:56:25 -07:00
Chinmay Garde
b3aa185aea
Make media temp file copy asynchronous
2015-08-24 14:02:14 -07:00
Chinmay Garde
544ef0ee8d
Avoid using malloc/free when trying to calculate the temporary file directory
2015-08-24 13:36:51 -07:00
Chinmay Garde
bd80be7e2f
Add media service implementation for iOS
2015-08-24 12:36:15 -07:00
Adam Barth
13355a99b0
Add SetRequestedOrientation to Activity service
...
Fixes #743
2015-08-21 12:49:49 -07:00
Adam Barth
77863132c6
Fix Mac build
...
Looks like the Keyboard service is only for iOS. We shouldn't try to build it
on Mac.
2015-08-14 21:31:06 -07:00
Chinmay Garde
13453d73dc
Merge pull request #628 from chinmaygarde/master
...
Keyboard service implementation for iOS
2015-08-14 17:36:21 -07:00
Chinmay Garde
4a6bd4a796
Keyboard service implementation for iOS
2015-08-14 17:35:45 -07:00
Adam Barth
2419fcf86b
Add haptic and aural feedback service
...
And use the service in mine_digger to notify the user when they flag a bomb.
2015-08-14 12:46:04 -07:00
Adam Barth
1cc0d73211
Add support for immersive mode on Android
...
Fixes #512
2015-08-11 10:13:34 -07:00
Eric Seidel
2d53f7f04b
Add getCacheDir and getFilesDir to Activity.mojom
...
I'll use them in Fitness App in a follow-up patch.
@abarth
2015-08-07 12:48:19 -07:00
Eric Seidel
b672f6bc5b
Make it possible to pass a URL via command line to Mac SkyShell.app
...
@chinmaygarde
2015-07-30 17:26:53 -07:00
John McCutchan
44c883a340
Add DartPackage annotation
2015-07-30 14:19:09 -07:00
Adam Barth
752ff89710
Improve vsync provider
...
Now we actually use the vsync signal to trigger work. Previously, we'd hit the
pipeline depth limit too early and fall back to swap buffers-triggered
rendering.
Also, rename Vsync to VSync on recommendation from jamesr.
2015-07-29 14:25:51 -07:00
Adam Barth
f81d96e1dd
Drive frames from the vsync provider on Android
...
Instead of using back pressure from swap buffers to drive the engine, this
patch using the vsync signal from the Android framework. We still respect
back pressure from swap buffers if we get too far ahead.
2015-07-28 22:32:36 -07:00
Adam Barth
a06a3b2f18
Cleanups to network service
...
This patch contains some minor improvements to the network service:
- We now cache the connection to the network service so we don't need to spin
it up for each request.
- We now manage the lifetime of NetworkServiceImpl in the same way as other
services.
Also, update the workbench sky_tools dependency to the latest version.
2015-07-27 13:50:42 -07:00
Chinmay Garde
6ccb1e6b0c
sky/engine and sky/services updates for Mac target
2015-07-20 17:50:19 -07:00
Eric Seidel
3db7d96a65
Guard TaskDescription with API version 21
2015-07-16 14:09:08 -07:00
Collin Jackson
a64559ab70
After running filter-branch, move root directory into sky/
2015-07-16 11:54:25 -07:00