P.Y. Laligand
5fae5d52cf
Allow the project to be mapped to a location other than //flutter. ( #4203 )
...
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
Jason Simmons
6f4eb92020
libtxt: support the use_test_font flag required by framework tests ( #4216 )
...
This registers a test font manager that maps all fonts to the Ahem font
2017-10-13 11:31:35 -07:00
Zachary Anderson
be547d66c2
Remove daed --assert_initializer flag ( #4181 )
2017-10-06 14:54:08 -07:00
Brian Osman
6388e92880
Change to new SkFontMgr API ( #4173 )
...
* Change to new SkFontMgr API
These changes clarify ownership rules and work today. They will be
necessary once SK_SUPPORT_LEGACY_FONTMGR_API goes away.
* Fix spacing
* Formatting
2017-10-04 14:22:57 -04:00
Siva
79cb2eaf65
- Remove call to DartDebugger::InitDebugger in InitDartVM ( #4167 )
...
- Remove linking of dart_debugger.cc as this is not used
(all debugging is done using the service API, this debugger implementation uses the deprecated dart debugger API)
2017-10-03 16:49:43 -07:00
Jason Simmons
e1aa86739b
Provide an entropy source to the Dart engine ( #4161 )
...
This is required by the _CryptoUtils class used by the recently repackaged
Dart HTTP libraries
2017-10-02 12:40:29 -07:00
gspencergoog
b2a7f4bf8f
Add support for system text scale factor. ( #4124 )
...
Adds support for system text scale factor, including hooks for Android system settings changes. iOS hooks will be added in another PR.
2017-09-29 13:19:06 -07:00
P.Y. Laligand
fc3cb8fb3b
Adjust to new location of lib/tonic. ( #4132 )
2017-09-21 14:30:28 -07:00
Ian McKellar
dd1e0b59ec
Support cleaner Dart isolate shutdown handling. ( #4121 )
...
If an isolate shuts down (for example if an app calls
Isolate.current.kill()), the UIDartState* on DartController will refer
to a freed object. This wires through notification that the is shutting
down through to the DartController so it can clean up appropriately.
This also makes gives the vm-service isolate an UIDartState* so that
the shutdown callback can behave correctly.
2017-09-19 12:11:05 -07:00
Carlo Bernaschina
0c1e217287
Add anchor events for developer centric timeline ( #4105 )
...
By adding these events the new developer centric timeline will be able
to identify and correlate events related to the different stages of the
drawing pipeline.
Roll Dart to 62045a4590a333ae557f8f261a909ee75449cd70
2017-09-14 20:18:07 -07:00
Alexander Aprelev
0e8ffa24e0
Reverting to unblock engine roll ( #4109 )
...
* Revert "Make Travis happy again (#4101 )"
This reverts commit c99b2559df05f4b5f547d26bb0a61d88809f5564.
* Revert "Support cleaner Dart isolate shutdown handling. (#4096 )"
This reverts commit 05751f7be993316057d772e8334a783537e10e26.
2017-09-14 12:10:11 -07:00
Alexander Aprelev
1b367b06f1
Provide callback to free fetched bytes when reading kernel binary. ( #4095 )
2017-09-14 08:01:25 -07:00
Michael Goderbauer
c99b2559df
Make Travis happy again ( #4101 )
2017-09-13 12:42:37 -07:00
Ian McKellar
05751f7be9
Support cleaner Dart isolate shutdown handling. ( #4096 )
...
If an isolate shuts down (for example if an app calls
Isolate.current.kill()), the UIDartState* on DartController will refer
to a freed object. This wires through notification that the is shutting
down through to the DartController so it can clean up appropriately.
2017-09-13 10:29:21 -07:00
Michael Goderbauer
08961f8ec5
Format all c-like sources with clang-format ( #4088 )
...
* format
* license script adaptions
* updated licenses
* review comments
2017-09-12 15:36:20 -07:00
George Kulakowski
6502090278
Fix remaining ftl->fxl conversions ( #4091 )
...
* Fix remaining ftl->fxl conversions
The previous scripting pass at this did not account for objective c file endings
* Update tonic DEPS reference to the post-fxl version
2017-09-11 16:31:18 -07:00
George Kulakowski
3aa7522c11
Rename ftl to fxl in Fuchsia specific code ( #4090 )
2017-09-11 15:58:48 -07:00
Zachary Anderson
2abd7c87e7
[Fuchsia] Disable dart:io exit() ( #4080 )
2017-09-11 11:25:38 -07:00
Alexander Aprelev
64ac5e8ead
Pass ownership of the kernel bytes to the Dart_LoadKernel. ( #4078 )
...
This is follow-up to c7faf2dc6b , which made Dart_LoadKernel responsible for the bytes.
2017-09-08 14:33:50 -07:00
Ian McKellar
0047b71aaf
Updates for the dart:fidl.internal rename and split. ( #4070 )
...
Now it references dart:zircon and dart:fuchsia.
2017-09-06 15:33:43 -07:00
Zachary Anderson
6e2d67fa1d
[Fuchsia] Pass namespaces to Isolates ( #4047 )
2017-09-01 13:17:20 -07:00
Chinmay Garde
a0f9084f48
Wire up support for multiple font managers in txt::FontCollection. ( #4042 )
2017-09-01 11:56:38 -07:00
Ryan Macnak
ffbefaf477
Initial implementation of idle notification. ( #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
73554a1c32
Add //garnet ( #4043 )
...
This repository contains FTL now in the Fuchsia build.
2017-08-31 16:47:13 -07:00
Ian McKellar
334e7b3b4e
Add new entry points for dart:fidl.internal ( #4039 )
2017-08-29 15:53:37 -07:00
Jason Simmons
0fc962f0dc
Rebase the libtxt integration by @GaryQian onto the current engine head ( #4022 )
...
See https://github.com/flutter/engine/pull/3964
2017-08-28 13:01:15 -07:00
Carlo Bernaschina
f5371156d2
Remove dependency from VM isolate name convention ( #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
f08b08417d
Update to new Dart FIDL bindings API. ( #3988 )
...
* Update to new Dart FIDL bindings API.
2017-08-22 13:32:46 -07:00
Carlo Bernaschina
a246501917
Roll Dart to 491390eeaa7974f44a8931d10a899c39c0df8dda ( #3984 )
...
- Roll Dart to 491390eeaa7974f44a8931d10a899c39c0df8dda
- Register the EmbedderInformationCallback
2017-08-16 13:17:11 -07:00
Zachary Anderson
23036e515a
Fixes for gypi -> gni change in Dart ( #3977 )
2017-08-15 07:44:27 -07:00
Yegor
ff50334587
enable async stack traces in all modes ( #3948 )
2017-08-04 12:22:20 -07:00
Jason Simmons
e687626a65
Incorporate the device pixel ratio when drawing shadows ( #3919 )
2017-07-24 12:01:43 -07:00
Alexander Aprelev
ba9a525bdc
Update Flutter engine kernel-loading logic. ( #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
e385c1b454
[Fuchsia] Pass command line arguments for tracing ( #3868 )
2017-07-12 15:17:24 -07:00
Ryan Macnak
dd634d349d
Revert "Allow SIGQUIT to toggle the vm-service server a la command line Dart. ( #3857 )" ( #3859 )
...
This reverts commit d67b614a29fe9dc112ddc0b60b6eb685c1f55eb1.
Fuchsia TO-370
2017-07-10 15:57:26 -07:00
Ryan Macnak
d67b614a29
Allow SIGQUIT to toggle the vm-service server a la command line Dart. ( #3857 )
...
Fixes flutter/flutter#9128
2017-07-10 13:08:00 -07:00
Alexander Aprelev
89d16cc4ab
Use Dart_Closure instead of looking up _getMainClosure ( #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
11131b2678
[Fuchsia] For profiling, export symbols, profile the VM ( #3756 )
2017-06-08 13:57:31 -07:00
Zachary Anderson
ffba1d6154
[Fuchsia] AOT fixes, CPU profiling ( #3744 )
2017-06-06 12:20:39 -07:00
Sarah Zakarias
f37aafd456
Add setInitialRoute on FlutterView. ( #3727 )
2017-06-06 10:59:41 +02:00
Todd Volkert
f5d92bee15
Add ipv6 flag to shell. ( #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
8d6ded45f0
Add a second per-frame callback that is invoked after the microtask queue is drained ( #3632 )
...
See https://github.com/flutter/flutter/issues/7626
2017-04-27 10:23:46 -07:00
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