Jason Simmons
ee0e98c012
Exclude Vm/IsolateSnapshotData in AOT modes on both Android and iOS ( #3592 )
...
Fixes https://github.com/flutter/flutter/issues/9339
2017-04-13 15:14:25 -07:00
Ryan Macnak
1084a83f11
AOT for Fuchsia. ( #3570 )
2017-04-11 14:53:14 -07:00
Ryan Macnak
1fed16fb25
Adjust GN for removal of libdart, take two. ( #3584 )
...
Update targets only included in host_debug_unopt.
2017-04-11 09:52:54 -07:00
Ryan Macnak
6d4b153ba8
Revert "Adjust GN for removal of libdart. ( #3583 )"
...
This reverts commit f5d0004ebd0db95c4019ca27fde2aceb0b3fe3e3.
2017-04-10 17:07:28 -07:00
Ryan Macnak
f5d0004ebd
Adjust GN for removal of libdart. ( #3583 )
2017-04-10 16:42:27 -07:00
Chinmay Garde
73299f42f4
Package test fonts on the debug runtime mode. ( #3582 )
2017-04-10 15:41:09 -07:00
Jason Simmons
77a4fedeb4
Cache the typeface instead of the font data in the test font selector ( #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
29f289acbb
Remove dart:jni ( #3546 )
...
Fixes https://github.com/flutter/flutter/issues/9129
2017-03-31 13:07:52 -07:00
Ryan Macnak
4d5702b2d5
Roll Dart VM to 141b6351baacaedf23e740b5b7354970f2ac0979. ( #3543 )
2017-03-29 18:17:17 -07:00
Jason Simmons
e5442c96ae
Return an error to Dart when spawning an isolate with an unsupported URI ( #3443 )
...
Fixes https://github.com/flutter/flutter/issues/8084
2017-02-24 09:44:36 -08:00
Dan Rubel
304355436b
modify RunFrom<X> methods to return error code rather than call exit ( #3428 )
2017-02-21 11:31:27 -05:00
Dan Rubel
481049f9cd
add kernel support ( #3369 )
2017-02-16 10:11:38 -05:00
Jason Simmons
e70d3ea1df
Enable some new Dart VM features ( #3408 )
...
Fixes https://github.com/flutter/flutter/issues/7579
2017-02-10 12:28:41 -08:00
Zachary Anderson
f2866146a7
Properly return VM service assets on Fuchsia. ( #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
9053b6c0ab
Allow running in debug product mode with checked mode off. ( #3398 )
2017-02-07 17:01:27 -08:00
Jason Simmons
d49a6b110b
Obtain test font attributes from the font description ( #3396 )
...
Fixes https://github.com/flutter/flutter/issues/7724
2017-02-07 15:36:17 -08:00
Jason Simmons
d317fb3b9d
Return the expected exit code if sky_shell sees a compilation error during script loading ( #3389 )
2017-02-03 12:14:35 -08:00
Jason Simmons
8e7d68f823
Return an exit code from sky_shell representing what kind of error occurred ( #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
fe9fb6803e
Do not double delete the test font data stream ( #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
fb69728f33
Roll Dart SDK to ed00447138f95ea4ba612509a244ca8205735372 ( #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 275ffdcef80ffb85f4be62b9e8d1b17b5c0fdacf.
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
275ffdcef8
Snapshots: Don't use an empty array where a NULL array is expected. ( #3361 )
...
Fixes dart-lang/sdk#28504
2017-01-24 18:26:21 -08:00
Jason Simmons
fdcd65eedd
Exit the non-interactive sky_shell on Linux when the Dart script has completed ( #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
adef37080f
Adapt to refactoring of snapshot APIs in the Dart VM. ( #3354 )
...
Adapt to refactoring of snapshot APIs in the Dart VM.
2017-01-23 12:09:59 -08:00
Chinmay Garde
b03af31861
Re-format all GN files using gn format. ( #3319 )
2017-01-03 15:59:48 -08:00
Chinmay Garde
e133b4fb17
Add option to desktop test shells to use an embedded font for consistent unit tests. ( #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
2fc99153b7
Decorate kDartWriteProtectCodeArgs with FTL_ALLOW_UNUSED_TYPE since it may not be used in all configurations. ( #3302 )
2016-12-08 16:26:39 -08:00
John McCutchan
5afca375e3
Disable code page write protection in debug mode ( #3299 )
2016-12-08 15:06:13 -08:00
Todd Volkert
dd17a112c1
Make dylib filename configurable in Info.plist for iOS ( #3277 )
2016-11-28 19:44:08 -08:00
Chinmay Garde
327d122de9
Disable profiling by default. Allow enabling via --enable-dart-profiling. ( #3238 )
2016-11-21 11:50:42 -08:00
Chinmay Garde
036bc0d356
Update Skia and get using its BUILD.gn instead of maintaining own own copy. ( #3233 )
2016-11-17 12:36:16 -08:00
John McCutchan
a335e25ba3
Disable Dart's profiler in unoptimized builds ( #3234 )
2016-11-17 10:14:53 -08:00
Jason Simmons
e54b0e286b
Roll Dart ( #3194 )
...
Update DartServiceIsolate/FlutterView because VMServiceIO_NotifyServerState
now provides a URI for the observatory
2016-11-01 17:11:56 -07:00
John McCutchan
54b81419aa
Fix profile and release mode isolate spawning ( #3191 )
...
Fixes #6496
2016-11-01 21:28:41 +01:00
Jason Simmons
cdd7db2674
Fix a leak of RenderObjects in Paragraph/ParagraphBuilder ( #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
63e71803de
Unlink from mojo ( #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
4b8c9051e5
Remove last mojom interface ( #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
9eaedb0677
Migrate ViewportMetrics away from Mojo ( #3180 )
...
Now we just pass the data directly.
2016-10-27 13:12:55 -07:00
Adam Barth
7e5d63513a
Move lifecycle, navigation, and localization to platform messages ( #3172 )
...
Previously, these signals were sent over Mojo. Now we send them through
platform messages.
2016-10-25 15:51:27 -07:00
mikejurka
aed8353b89
Don't enable checked mode for Fuchsia release builds ( #3173 )
...
Temporary until precompiled code works on Fuchsia
2016-10-25 14:31:17 -07:00
Ryan Macnak
8303461914
Roll Dart VM. ( #3167 )
2016-10-24 12:32:10 -07:00
Todd Volkert
f07c32d247
Rollback 28c29b32a8 ( #3155 ) and b6b927ac04 ( #3156 ) ( #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
b6b927ac04
Adapt to vm isolate and isolate snapshot pieces being emitted as assembly. ( #3156 )
2016-10-20 12:11:15 -07:00
Adam Barth
82728570b7
Response messages ( #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
6042580f9e
Rewire platform messages to work like semantics ( #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
e8f57e74a1
Improve new semantics backend ( #3113 )
...
TalkBack still isn't fully working, but this patch gets us much closer.
2016-10-11 13:27:11 -07:00
Adam Barth
166f44c0f7
Remove pointer.mojom ( #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
f97caf271c
Expose SemanticsUpdate and SemanticsUpdateBuilder ( #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
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