22 Commits

Author SHA1 Message Date
Adam Barth
30d87519b1 Stop dispatching pointer packets (#3080)
Long live pointer data packets.
2016-09-29 21:59:44 -07:00
Adam Barth
5f7b060522 Switch to manually encoded pointer data (#3073)
Rather than using mojom to encode pointer data, we now encode and decode it
manually. A future patch will remove the mojom codepath once the framework is
updated.
2016-09-28 15:50:09 -07:00
John McCutchan
da488fe303 Fix isolate spawn when running from source (#3041) 2016-09-21 07:55:55 -07:00
Adam Barth
c95bb6253f Move font selector into //flutter/runtime (#3018)
This patch makes it easier to share the code with
//flutter/content_handler on Fuchsia.
2016-09-11 22:22:00 -07:00
Chinmay Garde
a55fa1efb9 Add a —disable-observatory flag to explicitly disable observatory even in non-product modes. (#3012) 2016-09-09 15:54:07 -07:00
Chinmay Garde
23dabd4b70 Remove the enable_observatory instance variable from blink::Settings. (#3011)
We used to be able to toggle observatory via a command line flag. But now, we enable or disable observatory based on the Flutter product mode.

This also allows us to fix an issue where the —non-interactive flags was being hijacked by the Dart initialization logic to enable or disable observatory. However this flag was orignally meant for the standalone runner to launch either to run tests or to run a full graphics enabled window on the desktop.
2016-09-08 16:35:30 -07:00
Adam Barth
d7f807c960 Factor runtime initialization into InitRuntime (#3009)
This makes the code easier to share between Fuchsia and stand-alone
Flutter.
2016-09-07 22:19:50 -07:00
Adam Barth
ca17c1cf76 Introduce UnzipperProvider (#3004)
This patch abstracts where the content of the zip file is stored.
Currently, zip files are stored in the file system, but in Fuchsia,
we're going to store them in memory (at least for the time being).
Rather than represent a zip file as a path in the file system, we
instead use an UnzipperProvider, which can create zip::UniqueUnzipper
objects on demand.
2016-09-07 00:22:27 -07:00
Chinmay Garde
0f87eabd3c Remove support for the —enable-checked-mode flag from the engine. (#2987) 2016-08-31 09:46:05 -07:00
Chinmay Garde
cdff6fa306 Respect the —enable-checked-mode flag when not running precompiled code instead of defaulting it on. (#2986) 2016-08-30 16:25:51 -07:00
James Robinson
b0dc4a6316 [gn] Explicitly include common.gni in build files that use vars from it (#2973)
runtime/BUILD.gn and ..core/BUILD.gn use flutter_runtime_mode which
is defined in common.gni. If the build comes through common/BUILD.gn
this is imported (implicity) but builds that depend on specific
files, like the Fuchsia build, won't have this imported.  This
imports the gni from the build files that use it instead of relying
on it already being there.
2016-08-26 13:48:01 -07:00
Chinmay Garde
cf3cbfb7af Don’t depend on tonic/debugger in release since the Dart debugger is unavailable in product mode. (#2972) 2016-08-26 11:47:50 -07:00
Chinmay Garde
d35e0805e0 Add “—endless-trace-buffer” to switch to an endless buffer from a ring buffer while tracing. (#2966) 2016-08-23 16:16:22 -07:00
Todd Volkert
2cf8b14487 Add config properties to specify snapshot blob file names. (#2943)
* Add config properties to specify snapshot blob file names.

This adds the ability of the shell to override the default
dart aot snapshot blob file names, and it wires up Android's
FlutterMain to recognize the properties in the app's manifest.

This will be used for flutter applications that build their
binary snapshots into files other than the default ones
that the engine uses.
2016-08-18 16:27:16 -07:00
John McCutchan
1c59ddef0e Send richer service protocol respones from the Shell (#2929) 2016-08-16 12:16:41 -07:00
Adam Barth
2c5a71e721 //flutter/content_handler code complete (#2925)
This patch should contain all the code we need to run Flutter on
Fuchsia's software framebuffer (without text). I haven't actually tried
running the code, so I'm sure it doesn't work yet.
2016-08-13 16:38:39 -07:00
Adam Barth
b2058f8b3d Rename SkyView to RuntimeController (#2924)
Also, rename SkyViewClient to RuntimeDelegate. These names are more
sensible.

This patch also cleans up the RuntimeDelegate a bit, for example by
removing support for flushing real-time events, which aren't used.
2016-08-13 00:18:58 -07:00
Adam Barth
0a439f3f88 Add //flutter/content_handler (#2923)
We're now producing a flutter_content_handler binary for Fuchsia that
builds and links.
2016-08-12 22:41:54 -07:00
Adam Barth
0c000bdfcb Get //flutter/runtime building on Fuchsia (#2922) 2016-08-12 21:55:00 -07:00
Adam Barth
fe509b0d96 Fix startup crash 2016-08-12 20:38:01 -07:00
Adam Barth
3230826927 Move embedded resources to //flutter/runtime (#2921)
This data is actually used in //flutter/runtime, so it makes more sense to
generate it and include it in the build from there.
2016-08-12 16:54:00 -07:00
Adam Barth
4cab94e949 Invert the relationship between lib/ui and sky/engine (#2920)
Now lib/ui depends on sky/engine rather than the reverse.
2016-08-12 16:12:07 -07:00