41 Commits

Author SHA1 Message Date
Chinmay Garde
40ae490ca8 Disable profiling by default. Allow enabling via --enable-dart-profiling. (flutter/engine#3238) 2016-11-21 11:50:42 -08:00
Chinmay Garde
5730cf9d82 Update Skia and get using its BUILD.gn instead of maintaining own own copy. (flutter/engine#3233) 2016-11-17 12:36:16 -08:00
John McCutchan
c49eb9a680 Disable Dart's profiler in unoptimized builds (flutter/engine#3234) 2016-11-17 10:14:53 -08:00
Jason Simmons
17815b3421 Roll Dart (flutter/engine#3194)
Update DartServiceIsolate/FlutterView because VMServiceIO_NotifyServerState
now provides a URI for the observatory
2016-11-01 17:11:56 -07:00
John McCutchan
0a7dfa77ba Fix profile and release mode isolate spawning (flutter/engine#3191)
Fixes #6496
2016-11-01 21:28:41 +01:00
Jason Simmons
2db913d253 Fix a leak of RenderObjects in Paragraph/ParagraphBuilder (flutter/engine#3189)
The RenderView destructor does not delete its descendants.
RenderObject::destroy must be called to delete the object tree along with
other cleanup tasks.

Also associate a CustomFontData with dynamically loaded fonts in order to get
the desired FontDataCache behavior at RenderObject::destroy time.
2016-10-31 11:16:04 -07:00
Adam Barth
f04d8c0314 Unlink from mojo (flutter/engine#3187)
After this patch, we no longer link with Mojo. We still use some gn definitions
from //mojo to create Dart packages.
2016-10-28 15:01:07 -07:00
Adam Barth
414e5bcd60 Remove last mojom interface (flutter/engine#3184)
We no longer use mojom to transport messages. We still use the Mojo EDK
to spin the event loop, however.
2016-10-28 11:46:57 -07:00
Adam Barth
b5219d5dcf Migrate ViewportMetrics away from Mojo (flutter/engine#3180)
Now we just pass the data directly.
2016-10-27 13:12:55 -07:00
Adam Barth
44ec9e55c9 Move lifecycle, navigation, and localization to platform messages (flutter/engine#3172)
Previously, these signals were sent over Mojo. Now we send them through
platform messages.
2016-10-25 15:51:27 -07:00
mikejurka
adb39de906 Don't enable checked mode for Fuchsia release builds (flutter/engine#3173)
Temporary until precompiled code works on Fuchsia
2016-10-25 14:31:17 -07:00
Ryan Macnak
562000be9a Roll Dart VM. (flutter/engine#3167) 2016-10-24 12:32:10 -07:00
Todd Volkert
6ac4890a4b Rollback a2872f8aa3 (#3155) and c19eca2eb9 (#3156) (flutter/engine#3163)
iOS debug builds are broken - we need to go back to a stable state
so we can issue a proper fix without rushing into anything.

https://github.com/flutter/flutter/issues/6458
2016-10-21 12:55:26 -07:00
Ryan Macnak
c19eca2eb9 Adapt to vm isolate and isolate snapshot pieces being emitted as assembly. (flutter/engine#3156) 2016-10-20 12:11:15 -07:00
Adam Barth
2e7a8d13bb Response messages (flutter/engine#3134)
Add plunbing for Host-to-Dart platform messages

We'll use the plumbing in this direction for things like key events.
2016-10-14 15:51:25 -07:00
Adam Barth
b420addcbb Rewire platform messages to work like semantics (flutter/engine#3118)
After this patch, platform messages now take the same path through the system
that semantics data does (on Android). Support on iOS will be in another patch.
2016-10-11 19:02:04 -07:00
Adam Barth
e3e8182ace Improve new semantics backend (flutter/engine#3113)
TalkBack still isn't fully working, but this patch gets us much closer.
2016-10-11 13:27:11 -07:00
Adam Barth
da7b7f72b3 Remove pointer.mojom (flutter/engine#3102)
This patch moves the rest of the clients to use the new PointerData
transport.
2016-10-06 10:59:30 -07:00
Adam Barth
649b958d19 Expose SemanticsUpdate and SemanticsUpdateBuilder (flutter/engine#3098)
This patch prepares us to switch sending semantics information over mojom to
using dart:ui directly. Currently the recorded information is dropped on the
floor, but that will improve in future patches.
2016-10-05 12:22:03 -07:00
Adam Barth
c61c39546e Stop dispatching pointer packets (flutter/engine#3080)
Long live pointer data packets.
2016-09-29 21:59:44 -07:00
Adam Barth
2aa9886924 Switch to manually encoded pointer data (flutter/engine#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
4c78039b5f Fix isolate spawn when running from source (flutter/engine#3041) 2016-09-21 07:55:55 -07:00
Adam Barth
8b925fcbb1 Move font selector into //flutter/runtime (flutter/engine#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
613ea2c91f Add a —disable-observatory flag to explicitly disable observatory even in non-product modes. (flutter/engine#3012) 2016-09-09 15:54:07 -07:00
Chinmay Garde
7489deea92 Remove the enable_observatory instance variable from blink::Settings. (flutter/engine#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
bb6d32b498 Factor runtime initialization into InitRuntime (flutter/engine#3009)
This makes the code easier to share between Fuchsia and stand-alone
Flutter.
2016-09-07 22:19:50 -07:00
Adam Barth
deee07150c Introduce UnzipperProvider (flutter/engine#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
66ecf81e48 Remove support for the —enable-checked-mode flag from the engine. (flutter/engine#2987) 2016-08-31 09:46:05 -07:00
Chinmay Garde
72eab498d0 Respect the —enable-checked-mode flag when not running precompiled code instead of defaulting it on. (flutter/engine#2986) 2016-08-30 16:25:51 -07:00
James Robinson
1ef5bf3a08 [gn] Explicitly include common.gni in build files that use vars from it (flutter/engine#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
52f70a61ff Don’t depend on tonic/debugger in release since the Dart debugger is unavailable in product mode. (flutter/engine#2972) 2016-08-26 11:47:50 -07:00
Chinmay Garde
8fc97078ca Add “—endless-trace-buffer” to switch to an endless buffer from a ring buffer while tracing. (flutter/engine#2966) 2016-08-23 16:16:22 -07:00
Todd Volkert
dd98748b48 Add config properties to specify snapshot blob file names. (flutter/engine#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
d5ee913a75 Send richer service protocol respones from the Shell (flutter/engine#2929) 2016-08-16 12:16:41 -07:00
Adam Barth
bf60f2f56f //flutter/content_handler code complete (flutter/engine#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
76f0953aef Rename SkyView to RuntimeController (flutter/engine#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
83bf8be528 Add //flutter/content_handler (flutter/engine#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
1d67a42888 Get //flutter/runtime building on Fuchsia (flutter/engine#2922) 2016-08-12 21:55:00 -07:00
Adam Barth
e3f80d9cda Fix startup crash 2016-08-12 20:38:01 -07:00
Adam Barth
d03e8fa34b Move embedded resources to //flutter/runtime (flutter/engine#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
6598d2104d Invert the relationship between lib/ui and sky/engine (flutter/engine#2920)
Now lib/ui depends on sky/engine rather than the reverse.
2016-08-12 16:12:07 -07:00