20 Commits

Author SHA1 Message Date
Ian Fischer
3a463204d4 Rename skyx to flx in sky.
This is needed for coordination with sky_tools development.
2015-10-09 14:35:08 -07:00
Chinmay Garde
1e89a38bd6 Use the app directory as the tracing path on Android 2015-10-07 14:10:58 -07:00
Chinmay Garde
ec31bc9bfd Set SkPicture tracing root directory on Android 2015-10-07 12:34:03 -07: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
81b2b81b1d Replace C++ UpdateTask with an empty dart version, loaded as a snapshot.
This adds a new placeholder dart package updater in sky/packages. This is built
into a snapshot and compiled into the Sky engine binary using the same
mechanism as the Dart isolate.

I also added a SkyHeadless class, similar to SkyView, used for running Dart
code without a view.
2015-09-23 14:09:38 -04:00
Adam Barth
b02963a1f6 Remove platform gesture detectors 2015-09-16 16:56:55 -07:00
Matt Perry
2994380377 Compare versions before updating an app bundle.
The version and update URL are stored in the app's manifest (sky.yaml).
2015-09-10 14:17:58 -04:00
Matt Perry
d05b9480e6 Introduce an UpdateService for android.
Very simple so far. This schedules an alarm to fire once a day, kicking
off a service that downloads a new app.skyx from a hardcoded URL. The
new skyx replaces the current one.
2015-09-02 15:32:09 -04:00
Andrew Wilson
38be8f6e8d Persist immersiveness. 2015-08-31 14:31:25 -07:00
Eric Seidel
4a79cc8cb0 Don't claim to be a text editor
http://developer.android.com/reference/android/view/View.html#onCheckIsTextEditor()
says that we should return true if the "primary purpose" of
the view is text editing.  The keyboard still seems to work
fine if we return false here (default implementation) so
I'm removing this for now.

Fixes https://github.com/domokit/sky_engine/issues/116

@abarth
2015-08-13 12:36:01 -07:00
Adam Barth
26863b0961 Add a --checked argument to sky_tool start
The --checked argument runs SkyShell in checked mode, which turns on type
checking and asserts.
2015-08-07 13:18:38 -07:00
Eric Seidel
c053b31d0e Fix the build after the mojo roll
@abarth
2015-08-06 16:18:16 -07:00
Adam Barth
f4e359f19d Refactor common startup code into shell.cc
Also, make the initialization order the same on every platform.
2015-07-30 10:53:23 -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
Adam Barth
54e3a36c32 Create a SkyShell.apk
This CL introduces a SkyShell.apk that is separate from the SkyDemo.apk that we
upload to the store to show our demos.  The SkyShell.apk is just an empty shell
that can run Sky applications on Android.
2015-07-23 13:26:01 -07:00
Adam Barth
798a88d9e2 Update Sky code to account for changes in Chromium
- Add missing dependencies caught by gn's new stricter checker
- Update opentype code to use new OTS API. This code is updated from HEAD
  Blink.
- Add base dependency to wtf to avoid redefining marcos from base/macros.h
- Update callers of various base string utility functions to use base
  namespace.
2015-07-16 22:14:27 -07:00
Eric Seidel
8720ecfd16 Don't layout behind the system bar if we can't make it transparent
R=abarth@google.com
2015-07-16 15:18:47 -07:00
Collin Jackson
a64559ab70 After running filter-branch, move root directory into sky/ 2015-07-16 11:54:25 -07:00