7167 Commits

Author SHA1 Message Date
Chinmay Garde
a6e340dfd0 Revert "Remove the create_ios_framework.py tool. (#2946)" (#2950)
This reverts commit 26f8970835335a3723509d1b04a39c4b4c2b963e.
2016-08-18 16:51:17 -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
Adam Barth
1d9a8ca051 Build WTF on Fuchsia (#2948)
Also, clean out some unneeded dependencies from engine/platform.
2016-08-18 16:13:06 -07:00
John McCutchan
b8c1fe7e46 Fix Android keyboard in hot mode (#2944) 2016-08-18 14:00:25 -07:00
Chinmay Garde
26f8970835 Remove the create_ios_framework.py tool. (#2946) 2016-08-18 12:35:55 -07:00
Chinmay Garde
d81634b70d Remove the unused gpu_mojo GN target and associated source files. (#2945) 2016-08-18 11:39:55 -07:00
Chinmay Garde
ace7ce8c01 Make the engine provide layer trees to the rasterizer via a pipeline. (#2942) 2016-08-18 11:23:15 -07:00
Chinmay Garde
9a9efdf5b2 VSyncProviderFallbackImpl for platforms that lack the ability to provide real VSync callbacks. (#2941)
Will only be used by Linux Desktop for now.
2016-08-17 16:08:53 -07:00
Chinmay Garde
2b2c70501e Completely remove the platform/mojo shell. (#2940) 2016-08-17 15:13:05 -07:00
Chinmay Garde
557f43f987 Add flutter::Pipeline to //synchronization. (#2939) 2016-08-17 15:05:43 -07:00
Chinmay Garde
4eeaa07477 flow::Semaphore for simple platform specific unnamed semaphores. (#2937) 2016-08-17 14:28:23 -07:00
James Robinson
d3c6ac11f2 Pull mojo/public from fuchsia.googlesource.com (#2938)
This is now the canonical location of the Mojo public SDK.
2016-08-17 14:11:56 -07:00
Jason Simmons
99998d232a Roll Tonic (#2936) 2016-08-17 10:45:16 -07:00
Adam Barth
a5c3a3134d Add stubs for text handling on Fuchsia (#2935)
We don't yet have support for text on Fuchsia. This patch add stub
implementations of Paragraph and ParagraphBuilder so that Flutter apps
that use text don't error out. Instead, the text is 0x0 and invisible.

Also, teach MojoServices not to crash if it hasn't been created by the
time Dart tries to use it.
2016-08-17 09:56:41 -07:00
Adam Barth
317db364a6 Actually use threads on Fuchsia (#2934)
We can actually use multiple threads now that they work properly.
2016-08-16 15:15:30 -07:00
Chinmay Garde
44a77da98a Depending on the type of bundle path specified, initialize either the zip or directory asset bundle. (#2933) 2016-08-16 13:10:33 -07:00
Chinmay Garde
5515d3e272 Don't initialize the ZIP asset bundle as a directory. (#2932)
Regression introduced in https://github.com/flutter/engine/commit/cee7fef7
2016-08-16 12:40:23 -07:00
John McCutchan
d786dc9104 Fix build (#2931) 2016-08-16 12:33:30 -07:00
John McCutchan
1c59ddef0e Send richer service protocol respones from the Shell (#2929) 2016-08-16 12:16:41 -07:00
Jason Simmons
d535a15a8c Include the FTL build config macros in some files that rely on them (#2930)
Fixes https://github.com/flutter/flutter/issues/5424
2016-08-16 12:04:11 -07:00
Adam Barth
bb80218df8 Add spinning_square example (#2928)
Also, teach gn how to build application bundles.
2016-08-15 23:07:19 -07:00
Adam Barth
9878b58878 Get spinning square working on Fuchsia (#2926)
After this patch, we're able to run spinning_square on Fuchsia. I've
left some TODO comments about some shortcuts I've taken that we'll need
to improve in the future.
2016-08-14 16:24:40 -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
Todd Volkert
46e06cd91a Pass runtime_mode gn arg through to ShouldEnableCheckedMode() (#2919)
https://github.com/flutter/flutter/issues/4866
2016-08-12 14:45:25 -07:00
Adam Barth
6ed9eac4ff Move more code out of //flutter/sky/engine (#2918)
* Move dart:mojo.internal to //flutter/lib/mojo

To be parallel with the other built-in libraries.

* Move DartRuntimeHooks into //flutter/lib/ui

This code manipulates natives.dart, which is part of //flutter/lib/ui.
2016-08-12 13:16:46 -07:00
Adam Barth
f8d80c4617 Finish removing //flutter/tonic (#2917)
This pulled a refactoring of how we keep track of the primary threads.
2016-08-12 12:05:48 -07:00
Adam Barth
855e471c1f Almost remove //flutter/tonic (#2916)
All that's left is two task runners, which should be statics somewhere.
2016-08-12 09:42:32 -07:00
Adam Barth
40dfdbc331 Remove extra include 2016-08-11 15:23:27 -07:00
Adam Barth
1a67cb5307 Clean up :dist target (#2915)
We only need this target for preparing the Dart packages for distribution now.
2016-08-11 14:59:19 -07:00
Adam Barth
35c66714f6 Remove more public headers (#2914)
These aren't needed anymore.
2016-08-11 14:54:39 -07:00
Adam Barth
c6f678242c Prepare libwtf.a to build on Fuchsia (#2913)
We can't quite build it yet because libwtf.a depends on //third_party/icu,
which we don't have yet, but this patch gets us closer.
2016-08-11 14:20:28 -07:00
Adam Barth
36b668ea6e Teach //flutter/lib/ui to build on Fuchsia (#2912)
This patch removes the //flutter/sky/engine dependency from //flutter/lib/ui,
which lets us build the bulk of the dart:ui library without needing to build
//flutter/sky/engine.
2016-08-11 13:13:59 -07:00
Hans Muller
1493032690 Added SceneBuilder culling (#2911) 2016-08-11 10:24:05 -07:00
Adam Barth
cee7fef78c Simplify Dart application startup (#2910)
There are now three ways to start Dart applications:

1) From a precompiled snapshot
2) From a snapshot
3) From source

When loading from source, we no longer use the complex data pipe /
dependency catcher mechanism. Instead, we just load the source
synchronously from the file system. This is appropriate because running
from source is used only during development and not during production.

The previous design was built assuming we would want to run from source
over the network, which meant we needed to be able to load source
asynchronously over a high latency channel.
2016-08-11 10:23:17 -07:00
John McCutchan
607d379c23 Add --print-deps mode to sky_snapshot (#2903) 2016-08-11 06:39:20 -07:00
Adam Barth
d07eb002df Don't build sky_snapshot for target 2016-08-10 20:03:07 -07:00
Adam Barth
0a54524193 Update Dart (#2909) 2016-08-10 19:45:36 -07:00
Adam Barth
3252575e2b Attempt to fix build 2016-08-10 19:42:59 -07:00
Adam Barth
94b377a551 Remove the specs directory (#2908)
These documents either got moved to the web site (e.g., gestures and
style-guide), became reality (e.g., accessibility and pointer), are outdated
(e.g., events) or are captured in bugs (e.g., keyboard and linkability).
2016-08-10 19:32:34 -07:00
Adam Barth
bebf023769 Teach sky_snapshot how to build on Fuchsia (#2907)
Doesn't quite work yet, but close. Fuchsia is on a newer Dart and will need a
couple patches before this will fully work.
2016-08-10 16:56:41 -07:00
Adam Barth
9f6294c4f3 One more attempt to fix the build 2016-08-10 16:37:37 -07:00
Adam Barth
d32656a568 Attempt to fix build 2016-08-10 16:28:13 -07:00
Adam Barth
34d5a287a1 Fix build 2016-08-10 16:21:51 -07:00
Adam Barth
fef5589b41 Move sky_snapshot to a more reasonable location (#2906)
We should eventually rename it to something more sensible, but that's a more
disruptive change. This patch just moves the source code to somewhere easier to
find.
2016-08-10 16:05:38 -07:00