22 Commits

Author SHA1 Message Date
Chinmay Garde
fa8b0ce1a1 Guard against warnings resulting non-nullable annotations in sky_window on Mac 2015-09-23 12:16:56 -07:00
Adam Barth
6b6f81e30a Teach SkyShell.app to run local files
Previously we defaulted to loading from URLs, but its
more common to want to load files off the local machine
on the command line.
2015-09-17 09:07:07 -07:00
Adam Barth
d5b2969546 Simplify TestRunner now that we don't have test_sky 2015-09-16 11:00:33 -07:00
Chinmay Garde
d726d4f822 Implement platform VSyncProvider for iOS 2015-08-31 12:30:11 -07:00
Chinmay Garde
bd80be7e2f Add media service implementation for iOS 2015-08-24 12:36:15 -07:00
Adam Barth
f7053c6bdf Make it easier to run SkyShell from the command line on Mac
Now you can use --snapshot to load snapshots from the command line and have
them appear visually on Mac. Also, remove code duplication with Linux by
factoring common testing code into //sky/shell/testing.
2015-08-15 12:45:08 -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
4a6bd4a796 Keyboard service implementation for iOS 2015-08-14 17:35:45 -07:00
Chinmay Garde
cfec10d80d Make |TracingController| platform agnostic and enable collecting
traces from base and the shell view dart isolate simultaneously.
Trace files contain samples from multiple sources and must be merged
separately
2015-08-13 12:51:24 -07:00
Chinmay Garde
28b74401a4 Add tracing controller for iOS 2015-08-06 16:17:27 -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
Adam Barth
2612c841ef Add --enable-checked-mode to sky_shell
We need a way for developers to use release builds in checked mode.

Progress on #400
2015-07-30 16:01:05 -07:00
Chinmay Garde
9b16addf3a Allow loading SkyX files on Mac desktop 2015-07-30 15:07:35 -07:00
Eric Seidel
4404535a9f Fix Mac/iOS builds
@abarth
2015-07-30 13:49:10 -07:00
Eric Seidel
a12b6827fe Fix the service providers to be able to be called more than once.
This was likely a race which caused occasional timeouts.

R=abarth@google.com
2015-07-30 12:27:36 -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
Eric Seidel
cc491e94b0 Fix CreatePlatformServiceProvider to allow calling more than once.
The previous implementation would (silently) delete any previous
ServiceProviderImpl which would close all open mojo pipes.
This would manfiest in the mojo:network_service never
responding to Dart's request for loads.

This mostly fixes issue #256, however there still appears to be
a separate display-only race, which may be related to issue #52.

R=abarth@google.com
2015-07-29 17:55:48 -07:00
Adam Barth
ec4eac4e4d Make SkyShell.app work
It was looking for the wrong executable name.
2015-07-29 15:47:26 -07:00
Eric Seidel
9ccebe653f Fix iOS build
@chinmaygarde
2015-07-28 12:59:24 -07:00
Eric Seidel
0eb4c0af8a Make test_sky work on Mac!
We still have a few tests failing, I believe
due to different font metrics.  Otherwise this works!

R=abarth@google.com
2015-07-28 11:31:42 -07:00
Chinmay Garde
26a7bd7087 Complete OpenGL setup and input event handling on Mac 2015-07-27 10:56:34 -07:00
Chinmay Garde
c44eaa4144 Extract and reuse common sky/shell components on Mac and iOS 2015-07-21 10:17:50 -07:00