Ian McKellar
6ea4f8e327
Updates for the dart:fidl.internal rename and split. ( flutter/engine#4070 )
...
Now it references dart:zircon and dart:fuchsia.
2017-09-06 15:33:43 -07:00
Zachary Anderson
814847ec3c
[Fuchsia] Pass namespaces to Isolates ( flutter/engine#4047 )
2017-09-01 13:17:20 -07:00
Chinmay Garde
7d184eb710
Wire up support for multiple font managers in txt::FontCollection. ( flutter/engine#4042 )
2017-09-01 11:56:38 -07:00
Ryan Macnak
d6e340346d
Initial implementation of idle notification. ( flutter/engine#4012 )
...
- Assumes only the Dart VM is interested in idle notification.
- Gives the VM the time remaining in each frame.
- Gives the VM 100ms if there is no pending frame.
Issue flutter/flutter#9594
2017-09-01 11:11:25 -07:00
Adam Barth
2cf3cffd3f
Add //garnet ( flutter/engine#4043 )
...
This repository contains FTL now in the Fuchsia build.
2017-08-31 16:47:13 -07:00
Ian McKellar
00c64afc52
Add new entry points for dart:fidl.internal ( flutter/engine#4039 )
2017-08-29 15:53:37 -07:00
Jason Simmons
e4cc8f5e41
Rebase the libtxt integration by @GaryQian onto the current engine head ( flutter/engine#4022 )
...
See https://github.com/flutter/engine/pull/3964
2017-08-28 13:01:15 -07:00
Carlo Bernaschina
f3aaa23f74
Remove dependency from VM isolate name convention ( flutter/engine#4007 )
...
Dart_DebugName should be used just to make debug outputs more readable.
We remove the dependency from this API and form the UIDartState debug
name in the engine using the predefined format:
<script_uri>$main-<main_port>
This will allow the engine to change the format of the isolate name
without breaking the engine.
Related https://codereview.chromium.org/3004563003/
2017-08-25 11:11:52 -07:00
Ian McKellar
294cb8fa86
Update to new Dart FIDL bindings API. ( flutter/engine#3988 )
...
* Update to new Dart FIDL bindings API.
2017-08-22 13:32:46 -07:00
Carlo Bernaschina
a78aa4cde4
Roll Dart to 491390eeaa7974f44a8931d10a899c39c0df8dda ( flutter/engine#3984 )
...
- Roll Dart to 491390eeaa7974f44a8931d10a899c39c0df8dda
- Register the EmbedderInformationCallback
2017-08-16 13:17:11 -07:00
Zachary Anderson
1cf8c8f32e
Fixes for gypi -> gni change in Dart ( flutter/engine#3977 )
2017-08-15 07:44:27 -07:00
Yegor
51dcdbc223
enable async stack traces in all modes ( flutter/engine#3948 )
2017-08-04 12:22:20 -07:00
Jason Simmons
2afa2eefd9
Incorporate the device pixel ratio when drawing shadows ( flutter/engine#3919 )
2017-07-24 12:01:43 -07:00
Alexander Aprelev
5bc3ac48a3
Update Flutter engine kernel-loading logic. ( flutter/engine#3886 )
...
* Fix Flutter loading from dill files.
* Remove disable of causal async stacks.
* Include mirrors patch files as they are needed for release/profile gen_snapshot
* Free the bytes
* Add FTL_DCHECK
2017-07-24 09:47:23 -07:00
Zachary Anderson
b8510b2316
[Fuchsia] Pass command line arguments for tracing ( flutter/engine#3868 )
2017-07-12 15:17:24 -07:00
Ryan Macnak
a9fd7aeb98
Revert "Allow SIGQUIT to toggle the vm-service server a la command line Dart. ( #3857 )" ( flutter/engine#3859 )
...
This reverts commit 763427646f5b65561b560a982d0cc64a4d85c2a9.
Fuchsia TO-370
2017-07-10 15:57:26 -07:00
Ryan Macnak
763427646f
Allow SIGQUIT to toggle the vm-service server a la command line Dart. ( flutter/engine#3857 )
...
Fixes flutter/flutter#9128
2017-07-10 13:08:00 -07:00
Alexander Aprelev
f559923e43
Use Dart_Closure instead of looking up _getMainClosure ( flutter/engine#3850 )
...
* Use Dart_Closure instead of looking up _getMainClosure
* Restore comment
* Fix comment
* Restore comment
2017-07-06 17:53:24 -07:00
Zachary Anderson
e17349b426
[Fuchsia] For profiling, export symbols, profile the VM ( flutter/engine#3756 )
2017-06-08 13:57:31 -07:00
Zachary Anderson
f3b697cb8a
[Fuchsia] AOT fixes, CPU profiling ( flutter/engine#3744 )
2017-06-06 12:20:39 -07:00
Sarah Zakarias
0dd69f7b07
Add setInitialRoute on FlutterView. ( flutter/engine#3727 )
2017-06-06 10:59:41 +02:00
Todd Volkert
855f18ecc1
Add ipv6 flag to shell. ( flutter/engine#3646 )
...
It controls whether the observatory and diagnostic server will
bind to the IPv6 loopback address rather than the IPv4.
Fixes https://github.com/flutter/flutter/issues/9813
2017-05-04 19:35:59 -07:00
Jason Simmons
11b6cb10f7
Add a second per-frame callback that is invoked after the microtask queue is drained ( flutter/engine#3632 )
...
See https://github.com/flutter/flutter/issues/7626
2017-04-27 10:23:46 -07:00
Jason Simmons
712b870cfb
Exclude Vm/IsolateSnapshotData in AOT modes on both Android and iOS ( flutter/engine#3592 )
...
Fixes https://github.com/flutter/flutter/issues/9339
2017-04-13 15:14:25 -07:00
Ryan Macnak
32cd986649
AOT for Fuchsia. ( flutter/engine#3570 )
2017-04-11 14:53:14 -07:00
Ryan Macnak
ec2be075b2
Adjust GN for removal of libdart, take two. ( flutter/engine#3584 )
...
Update targets only included in host_debug_unopt.
2017-04-11 09:52:54 -07:00
Ryan Macnak
e869784502
Revert "Adjust GN for removal of libdart. ( #3583 )"
...
This reverts commit bb091fd4558c3807e86fe518d036504ebc37bb72.
2017-04-10 17:07:28 -07:00
Ryan Macnak
bb091fd455
Adjust GN for removal of libdart. ( flutter/engine#3583 )
2017-04-10 16:42:27 -07:00
Chinmay Garde
d73e56bff3
Package test fonts on the debug runtime mode. ( flutter/engine#3582 )
2017-04-10 15:41:09 -07:00
Jason Simmons
a5dc4868ac
Cache the typeface instead of the font data in the test font selector ( flutter/engine#3576 )
...
The font data includes attributes such as the font size and will be
different for each font description.
Fixes https://github.com/flutter/flutter/issues/9289
2017-04-07 18:13:07 -07:00
Jason Simmons
fc666c4b62
Remove dart:jni ( flutter/engine#3546 )
...
Fixes https://github.com/flutter/flutter/issues/9129
2017-03-31 13:07:52 -07:00
Ryan Macnak
e1df677dd4
Roll Dart VM to 141b6351baacaedf23e740b5b7354970f2ac0979. ( flutter/engine#3543 )
2017-03-29 18:17:17 -07:00
Jason Simmons
2e755736a5
Return an error to Dart when spawning an isolate with an unsupported URI ( flutter/engine#3443 )
...
Fixes https://github.com/flutter/flutter/issues/8084
2017-02-24 09:44:36 -08:00
Dan Rubel
92767a3d58
modify RunFrom<X> methods to return error code rather than call exit ( flutter/engine#3428 )
2017-02-21 11:31:27 -05:00
Dan Rubel
011f142515
add kernel support ( flutter/engine#3369 )
2017-02-16 10:11:38 -05:00
Jason Simmons
0444f3a280
Enable some new Dart VM features ( flutter/engine#3408 )
...
Fixes https://github.com/flutter/flutter/issues/7579
2017-02-10 12:28:41 -08:00
Zachary Anderson
daa9b6bba8
Properly return VM service assets on Fuchsia. ( flutter/engine#3406 )
...
In a previous change I re-included the observatory assets in the Fuchsia build, but didn't notice this bit here.
After this, if Settings::enable_observatory can be set to true somehow, the Observatory will come up in Flutter apps on Fuchsia. Unfortunately, I'm not sure how to do that.
2017-02-09 15:18:35 -08:00
Chinmay Garde
ea582e5d36
Allow running in debug product mode with checked mode off. ( flutter/engine#3398 )
2017-02-07 17:01:27 -08:00
Jason Simmons
5a34ef2553
Obtain test font attributes from the font description ( flutter/engine#3396 )
...
Fixes https://github.com/flutter/flutter/issues/7724
2017-02-07 15:36:17 -08:00
Jason Simmons
8259f0a8bb
Return the expected exit code if sky_shell sees a compilation error during script loading ( flutter/engine#3389 )
2017-02-03 12:14:35 -08:00
Jason Simmons
cf7899dde4
Return an exit code from sky_shell representing what kind of error occurred ( flutter/engine#3368 )
...
This is intended to match the exit codes returned by the Dart command line tool
2017-01-27 09:59:08 -08:00
Jason Simmons
29872224ed
Do not double delete the test font data stream ( flutter/engine#3365 )
...
SkTypeface::MakeFromStream takes ownership of the passed SkStreamAsset*
Fixes https://github.com/flutter/flutter/issues/7657
2017-01-26 12:08:18 -08:00
Chris Bracken
7db0cd44c3
Roll Dart SDK to ed00447138f95ea4ba612509a244ca8205735372 ( flutter/engine#3364 )
...
* Roll Dart SDK to ed00447138f95ea4ba612509a244ca8205735372
Make the VM happy with a spurious instruction snapshot.
* Revert "Snapshots: Don't use an empty array where a NULL array is expected. (#3361 )"
This reverts commit c3c478ec699bba863bd422292277bb984f506d1a.
Broke iOS simulator builds; should no longer be necessary after rolling
the Dart SDK to ed00447138f95ea4ba612509a244ca8205735372.
On iOS simulator builds, we were seeing DartLookupSymbolInLibrary return
a pointer to a address of the snapshot data rather than the address of
the snapshot buffer itself. On simulator builds we don't build the
snapshot data into a buffer in app.dylib (kDartVmSnapshotData) but link
it statically into the engine itself.
2017-01-25 19:08:33 -08:00
Ryan Macnak
c3c478ec69
Snapshots: Don't use an empty array where a NULL array is expected. ( flutter/engine#3361 )
...
Fixes dart-lang/sdk#28504
2017-01-24 18:26:21 -08:00
Jason Simmons
4c32d9a960
Exit the non-interactive sky_shell on Linux when the Dart script has completed ( flutter/engine#3358 )
...
The script will be finished when the microtask queue has been drained and
Dart_HasLivePorts is returning false for the main isolate
2017-01-24 15:39:30 -08:00
Ryan Macnak
023ebac36d
Adapt to refactoring of snapshot APIs in the Dart VM. ( flutter/engine#3354 )
...
Adapt to refactoring of snapshot APIs in the Dart VM.
2017-01-23 12:09:59 -08:00
Chinmay Garde
d14c8ac6f5
Re-format all GN files using gn format. ( flutter/engine#3319 )
2017-01-03 15:59:48 -08:00
Chinmay Garde
6f3487f5f6
Add option to desktop test shells to use an embedded font for consistent unit tests. ( flutter/engine#3301 )
...
* This allows the tests to add their own FLX files but still use consistent fonts.
* The test fonts are only embedded on the desktop test shells. The option is not available on mobile platforms.
* Right now, all fonts will resolve to the test font. If we want tests to be able to use the fonts they embed in FLX files but use the test font for platform fallbacks, we will need to add font selector fallbacks. I can do this in an another patch. So far, there are no users of this functionality.
2016-12-09 14:47:49 -08:00
Chinmay Garde
3e3e694bfb
Decorate kDartWriteProtectCodeArgs with FTL_ALLOW_UNUSED_TYPE since it may not be used in all configurations. ( flutter/engine#3302 )
2016-12-08 16:26:39 -08:00
John McCutchan
c30259f646
Disable code page write protection in debug mode ( flutter/engine#3299 )
2016-12-08 15:06:13 -08:00