Commit Graph

394 Commits

Author SHA1 Message Date
Alexander Aprelev 096ba6892a Reland children isolates sharing isolate group change. (#13758)
* Revert "Revert "Provide dart vm initalize isolate callback so that children isolates belong to parent's isolate group. (#9888)" (#12327)"

* Ensure that when isolate shuts down it calls isolate_data, rather than isolage_group_data callback.
2019-11-15 09:22:26 -08:00
chunhtai 1f1e2ba58e reland add lifecycle enum (#13767)
This reverts commit 8ebb318401.
2019-11-13 11:26:25 -08:00
chunhtai 8ebb318401 Revert "Issues/39832 reland (#13642)" (#13720)
This reverts commit 1bfb928e07.
2019-11-06 11:41:36 -08:00
chunhtai 1bfb928e07 Issues/39832 reland (#13642)
* Reland "Added new lifecycle enum (#11913)"
2019-11-05 14:52:16 -08:00
Gary Qian 0928c1af2f Add 'Cough' test font and support multiple test fonts. (#13649) 2019-11-05 12:27:34 -08:00
chunhtai fe0838e948 Revert "Added new lifecycle enum (#11913)" (#13632)
This reverts commit 02a4790074.
2019-11-04 13:40:20 -08:00
chunhtai 02a4790074 Added new lifecycle enum (#11913) 2019-11-04 12:33:41 -08:00
Dan Field 0a8bd9dd6f Fix mDNS for iOS13 (#13451) 2019-11-01 15:29:15 -07:00
gaaclarke 1eb15c12fb Revert 78a8ca0f62 (#13467)
Put `Picture.toImage` back on the GPU thread.  Left the unit tests intact.
2019-10-31 16:57:52 -07:00
Ryan Macnak f6900001eb Roll Dart to 6a65ea9cad4b014f88d2f1be1b321db493725a1c. (#13294)
Remove dead shared snapshot arguments to Dart_CreateIsolateGroup.

6a65ea9cad4b [vm] Remove shared snapshot and reused instructions features.
db8370e36147 [gardening] Fix frontend-server dartdevc windows test.
4601bd7bffea Modified supertype check error message to be more descriptive.
0449905e2de6 [CFE] Add a serialization-and-unserialization step to strong test
c8b903c2f94f Update CHANGELOG.md
2a12a13d9684 [Test] Skips emit_aot_size_info_flag_test on crossword.
b26127fe01a5 [cfe] Add reachability test skeleton
2019-10-22 13:14:20 -07:00
Jason Simmons 4ecfa62735 Hold a reference to the Skia unref queue in UIDartState (#13239)
Obtaining the SkiaUnrefQueue through the IOManager is unsafe because
UIDartState has a weak pointer to the IOManager that can not be dereferenced
on the UI thread.
2019-10-21 14:15:03 -07:00
Chinmay Garde c147eddc2d Document //flutter/runtime/dart_snapshot.h (#13196)
Related to https://github.com/flutter/flutter/issues/42778
2019-10-17 13:20:18 -07:00
Chinmay Garde a925df1898 Remove incomplete static thread safety annotations. (#13151)
Fixes https://github.com/flutter/flutter/issues/42704.
2019-10-16 17:28:31 -07:00
Chinmay Garde e235c5920e Document //flutter/runtime/dart_isolate.h (#13162)
Related to https://github.com/flutter/flutter/issues/42778
2019-10-16 12:06:34 -07:00
Chinmay Garde 73d6e3f531 Make the Dart isolate constructor private. (#13153)
Found this while attempting to document //flutter/runtime. The only reason this was public was because of the desire to use make_shared. I want to documentation changes to include no code changes. Hence this separate patch.
2019-10-15 15:06:57 -07:00
Chinmay Garde ecf325f505 Document //flutter/runtime/dart_vm (#13144) 2019-10-15 14:11:07 -07:00
Chinmay Garde cef6751dba Revert "Test child isolates are terminated when root is shutdown (#13048)" (#13067)
This reverts commit e96c740410.
2019-10-10 13:02:27 -07:00
Gary Qian e96c740410 Test child isolates are terminated when root is shutdown (#13048) 2019-10-10 15:31:46 -04:00
Chinmay Garde 86e3ebb748 Allow embedders to specify arbitrary data to the isolate on launch. (#13047)
Since this is currently only meant to be used by the embedding internally, the setter in Objective-C is only exposed via the FlutterDartProject private class extension. Unit tests have been added to the shell_unittests harness.

Fixes https://github.com/flutter/flutter/issues/37641
2019-10-10 12:31:14 -07:00
Jonah Williams 6f5eb1332f Add support for JIT release mode (#12446) 2019-09-27 11:20:54 -07:00
Alexander Aprelev 5f3b749e92 Update test to verify that secondary isolate gets shutdown before root isolate exits. (#12342)
* Update secondary-isolate-launch test to verify that secondary isolate gets shutdown before root isolate exits.

* ci/format.sh
2019-09-23 14:29:00 -07:00
Kaushik Iska 7f7250f476 [flutter_runner] Do not use prebuilts just yet (#12340) 2019-09-18 15:31:57 -07:00
Kaushik Iska 23835f5529 Revert "Provide dart vm initalize isolate callback so that children isolates belong to parent's isolate group. (#9888)" (#12327)
This reverts commit e6620ddb73.
2019-09-17 15:57:37 -07:00
Kaushik Iska 7ea9884ab0 [flutter_runner] Kernel platform files can now be built in topaz (#12016)
- Tested this compatibility in topaz repo. The build rules can now be
used to build kernel_platform_files in topaz tree, after this change we
can migrate the platform*dill and vm*snapshot files in topaz to use the
engine built artifacts.

- Also removes some namespace conflicts for dart configuration.
2019-09-06 14:34:26 -07:00
shoryukenn 8f4a0a7c9a Support build windows release/profile embedding builds (#11475)
Fixes missing symbol errors in Windows release and profile builds due to different lookup approach on Windows.

Fixes https://github.com/flutter/flutter/issues/32746
2019-09-05 11:28:30 -07:00