161 Commits

Author SHA1 Message Date
mikejurka
8790a33a0d Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (#4800) (flutter/engine#4805) 2018-03-16 17:08:06 -07:00
mikejurka
713dbf4ca8 Revert "Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (#4800)" (flutter/engine#4803)
This reverts commit e121d45124ba9cf6270427ff46017ea26fc2c8fa.
2018-03-16 16:22:41 -07:00
Ryan Macnak
e121d45124 Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (flutter/engine#4800) 2018-03-16 12:17:38 -07:00
Zachary Anderson
69d5d6b1b0 [fuchsia] Fix AOT debug builds (flutter/engine#4787) 2018-03-14 19:19:15 +01:00
Jason Simmons
64cfbcc419 Do not free the buffer owned by the kernel_data vector (flutter/engine#4753)
Fixes https://github.com/flutter/flutter/issues/14947
2018-03-07 14:21:15 -08:00
Sarah Zakarias
9f5ad5fd1e Read assets out of APK on Android (flutter/engine#4742) 2018-03-05 14:09:45 +01:00
Ryan Macnak
77d162e857 [fuchsia] Place Observatory in the runner's package instead of linking it in. (flutter/engine#4719)
This allows blobfs to deduplicate it across {dart,flutter}_{jit,aot}_runner.
2018-02-27 16:45:52 -08:00
Vyacheslav Egorov
51dc8c3808 Switch on --sync-async in Dart 2 mode (flutter/engine#4686) 2018-02-27 09:44:27 +01:00
Siva
0a63f58b0c Fix strong flag setting (flutter/engine#4683)
* Turn on strong mode by default when a platform file is present in the
bundle instead of using a flag passed into the engine which might not be
true when we invoke an installed app.

* - Roll dart to version fe96de2858f078e4ad04f8f30640184bf3d8102d

* Update license file.
2018-02-15 11:02:31 -08:00
Alexander Markov
210eb79918 Make native wrapper classes non-abstract (flutter/engine#4607)
* Make native wrapper classes non-abstract as they are instantiated from native code
* Make constructors of native wrapper classes private
2018-02-09 12:17:36 -08:00
Ryan Macnak
a1f23bf8fc [fuchsia] Add missing AOT entry points for FromFileResult and MapResult. (flutter/engine#4649) 2018-02-08 09:34:19 -08:00
Zachary Anderson
cc7a67da96 Reland: [fuchsia] Enable running from source packages (flutter/engine#4634)
This relands https://github.com/flutter/engine/pull/4629 with a
tonic roll to fix the build.
2018-02-06 10:08:24 -08:00
Jason Simmons
c3ef874a23 Fix an improper deletion of DirectoryAssetBundle when creating isolates (flutter/engine#4637) 2018-02-05 17:33:59 -08:00
Yegor
7df584d855 iOS a11y text entry (~70% of it) (flutter/engine#4575)
* implement iOS text field editing in a11y mode

* address Chinmay's comments

* replace node in child list when changing type
2018-02-05 15:14:13 -08:00
Zachary Anderson
f6af67a850 Revert "[fuchsia] Enable running from source packages (#4629)" (flutter/engine#4632)
This reverts commit a8da87e0af3fe3d46d34ee9f908069d98f3236d9.
2018-02-02 22:38:49 -08:00
Zachary Anderson
a8da87e0af [fuchsia] Enable running from source packages (flutter/engine#4629) 2018-02-02 15:43:21 -08:00
Zachary Anderson
558f686c8b [fuchsia] Set up the namespace in dart:zircon (flutter/engine#4628) 2018-02-01 22:47:01 -08:00
Siva Chandra
f8600043cc Roll Dart to 93d8c9fe2a2c22dc95ec85866af108cfab71ad06. (flutter/engine#4558)
* Roll Dart to 93d8c9fe2a2c22dc95ec85866af108cfab71ad06.

* Fix analyzer nits

* Try to pin dependency for tools/licenses to convert 2.0.1. Add verbose flag to pub get

* Pin dart to dev.16 to overcome pub issue

* Revert "Try to pin dependency for tools/licenses to convert 2.0.1. Add verbose flag to pub get"

This reverts commit d525a83f4494a511996226d328a5208d4651d46e as it is no
longer needed, was added to diagnose the problem, which turned out to be
a problem with pub in latest dart dev release.

* Fix license hash

* Reintroduce api methods and tests
2018-01-18 12:35:09 -08:00
Siva
04d910f0b1 Add support for --strong option in the engine, create a strong mode version of the platform file (flutter/engine#4504)
* Add a --strong option to the front end server so we can use strong mode with preview-dart-2.

* Plumb the --strong option through the dart controller into the VM.

* - Build a strong version of platform.dill for use with the engine.
- Fix a strong mode static error in the assert statement

* Enable asserts when running debug version even in strong mode.

* Use the correct platform dill file for linking when doing the aot builds.

* Fix formatting issue.
2018-01-03 16:52:24 -08:00
Alexander Markov
f461782e0a Enable Dart 2.0 fixed-size integers in Flutter (flutter/engine#4501) 2018-01-02 14:34:15 -08:00
Zachary Anderson
5d14a2a64f Revert "Ensure language and country codes are not empty" (flutter/engine#4494) 2017-12-22 15:00:42 -08:00
Zachary Anderson
76a8903f01 Ensure language and country codes are not empty (flutter/engine#4492) 2017-12-22 10:09:02 -08:00
Sarah Zakarias
2de1070160 Add zip asset store to AssetFontSelector (flutter/engine#4475) 2017-12-19 12:28:03 +01:00
Brian Osman
93cd451764 Fix formatting (flutter/engine#4473) 2017-12-18 13:21:32 -05:00
Sarah Zakarias
aedb6d58e5 Read platform kernel blob from asset directory instead of FLX (flutter/engine#4471) 2017-12-18 13:15:01 +01:00
Sarah Zakarias
d8a79eacf9 Select fonts from asset directory instead of FLX (flutter/engine#4464) 2017-12-18 09:01:56 +01:00
Sarah Zakarias
0fc35ac4f9 Add missing include (flutter/engine#4454) 2017-12-13 14:29:14 +01:00
Sarah Zakarias
88f345d1d3 Add #define's in dart_init.cc (flutter/engine#4453) 2017-12-13 14:13:02 +01:00
Sarah Zakarias
5b8c89eaf0 Handle Flutter assets outside FLX (flutter/engine#4343) 2017-12-13 10:55:24 +01:00
Zachary Anderson
e2bb119248 Fix Platform.localeName by setting _Platform._localeClosure (flutter/engine#4450) 2017-12-12 15:01:13 -08:00
Michael Goderbauer
9e95f34064 Roll forward: Parameters for SemanticActions; a11y text selection (flutter/engine#4452)
Reverts the revert in #4448 with fixes to pass on the bot.

This change will require framework changes in flutter/flutter#13490.
2017-12-12 14:25:45 -08:00
Michael Goderbauer
4cc04bfe16 Revert " Add parameters to SemanticActions; implement extend selection for a11y (#4444)" (flutter/engine#4448)
This reverts commit 4fc00d4735d43ef0ab9504111541928a3c2167ea.
2017-12-12 10:53:15 -08:00
Michael Goderbauer
4fc00d4735 Add parameters to SemanticActions; implement extend selection for a11y (flutter/engine#4444) 2017-12-12 10:06:04 -08:00
Vyacheslav Egorov
95058cefa9 Update VM entry points list to include some previous omitted entries. (flutter/engine#4440)
This fixes obfuscated snapshot mode.
2017-12-11 11:27:23 -08:00
Ben Konyi
31f0a6055c Changes to assets/ build/ flow/ runtime/ and shell/ to allow for compilation on Windows (flutter/engine#4407)
Made changes to assets/ build/ flow/ runtime/ and shell/ to allow for
compilation on Windows.
2017-11-30 19:47:20 -05:00
Zachary Anderson
2db5ec9775 Roll Dart to 3ee0a4284203ebc6991c78054583a7c02dc8faf9 (flutter/engine#4378) 2017-11-21 12:16:34 -08:00
amirh
6f728c4150 add ui.Codec and ui.FrameInfo constructors to the dart_vm_entry_points.txt (flutter/engine#4371) 2017-11-16 16:49:20 -08:00
Zachary Anderson
3d346b67fc Roll Dart back to 4dd4fd745e588eef64b8d85811d847ab72633cb7 (flutter/engine#4370) 2017-11-16 09:24:13 -08:00
Ian McKellar
ce4849d743 Allow Flutter apps on Fuchsia to shut down cleanly (flutter/engine#4366)
The UIDartState is now always owned by the isolate and always freed in
the isolate cleanup callback.

In the isolate shutdown callback, if the isolate being shut down is the
main isolate, the RuntimeController is informed which in turn notifies
the RuntimeHolder and thus the ApplicationControllerImpl. The
ApplicationControllerImpl tears down the whole Flutter application.

This fixes Fuchsia bug: MI4-328
2017-11-15 13:28:21 -08:00
Zachary Anderson
cb46299d06 Roll Dart forward (flutter/engine#4363) 2017-11-15 13:17:10 -08:00
Alexander Markov
ec821c2367 Revert "Enable Dart 2.0 fixed-size integers in Flutter (#4337)" (flutter/engine#4344)
This reverts commit d0d48f63299f9e29d558b17111974adf9ad4f3f6.
2017-11-10 11:08:42 -08:00
Alexander Markov
d0d48f6329 Enable Dart 2.0 fixed-size integers in Flutter (flutter/engine#4337) 2017-11-09 09:42:40 -08:00
Chinmay Garde
d0ec6228a5 Add texture support (eg video, camera) (flutter/engine#4159) 2017-11-02 10:57:29 +01:00
Alexander Aprelev
2fa0c790d1 Initialize service isolate from kernel file, rather than from embedded sources. (flutter/engine#4263)
* Read core platform kernel file during Dart initialization.

Currently service isolate is initialized from the source code parsed by VM.
This CL changes it so service isolate created during Dart initialization
is created from the kernel platform.dill file if it is present in the application
bundle. Then this platform kernel file is kept in dart_init module and reused
for application sciprt isolates.

* Reformat and merge

* Use accessor method

* Avoid passing running_from_kernel param. Add TODO for cleanup. Rename param.
2017-10-24 19:37:24 -07:00
Jason Simmons
506f2285e0 Add _updateUserSettingsData to the Dart entry points (flutter/engine#4261) 2017-10-23 09:40:35 -07:00
P.Y. Laligand
0768d0714e Move //dart to //third_party/dart. (flutter/engine#4245) 2017-10-19 01:20:38 -07:00
Yegor
db7ec2ce7e Add alwaysUse24HourFormat and textScaleFactor (flutter/engine#4202)
* systems/settings channel split

* merge textScaleFactor and alwaysUse24HourFormat into flutter/settings channel

* add debugOverrideAlwaysUse24HourFormat

* implement textScaleFactor on iOS

* address comments

* remove debugOverrideAlwaysUse24HourFormat

* clang-format
2017-10-18 16:13:43 -07:00
Zachary Anderson
268fa25fff Allow a non-main entrypoint (flutter/engine#4238) 2017-10-18 14:19:28 -07:00
Siva
a07fffd551 Fix for issue 12526 (flutter/engine#4218)
* Fix for issue 12526

Ensure that child isolates do not clear the dart_ui_state_ field present in the dart controller.

The commit 093a8a4dfd implemented code to reset the dart_ui_state_ back to null when an isolate was being shutdown to ensure there was no use after free issues when the main isolate exeutes Isolate.current.kill() it however it was also clearning the field when a child isolate was shutdown causing SEGVs later.

* Address code format issues.
2017-10-17 14:47:09 -07:00
Zachary Anderson
b4193daaf9 Make Engine::RunBundle* reuse an existing RuntimeController (flutter/engine#4229) 2017-10-17 13:44:09 -07:00