2930 Commits

Author SHA1 Message Date
Ian McKellar
093a8a4dfd Support cleaner Dart isolate shutdown handling. (flutter/engine#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
Michael Goderbauer
aa090950f6 Silence Wawrning (flutter/engine#4122)
Follow-up to https://github.com/flutter/engine/pull/4110
2017-09-19 10:15:39 -07:00
Jason Simmons
023d8ed3b1 Support ligatures in libtxt (flutter/engine#4119) 2017-09-19 10:07:17 -07:00
Michael Goderbauer
774f4cb661 Allow nested semantics on iOS (flutter/engine#4110)
* Allow nested semantics on iOS

* review comments

* review comments
2017-09-18 17:27:14 -07:00
Jason Simmons
858be590cf Set a higher filter quality for drawing raster cache images (flutter/engine#4116)
According to Skia, kLow offers a quality improvement with little cost over
the default kNone

Fixes https://github.com/flutter/flutter/issues/12091
2017-09-18 12:28:52 -07:00
Alexander Aprelev
a87bbccccd Capture all aspects of messages from compiler (flutter/engine#4118)
* Capture all aspects of messages from compiler

* Make static
2017-09-15 16:04:58 -07:00
Ian Hickson
3af1533e03 Add operators to Radius (flutter/engine#4117)
This will make it easier to implement BorderRadius RTL in a manner consistent with EdgeInsets.
2017-09-15 14:52:38 -07:00
Carlo Bernaschina
ae80d81185 Fix engine on iOS (flutter/engine#4113)
Related https://github.com/flutter/engine/pull/4105
2017-09-15 09:59:53 -07:00
George Kulakowski
fb411f977b Rename Magenta to Zircon, along with associated abbreviations (flutter/engine#4114) 2017-09-14 22:49:46 -07:00
Carlo Bernaschina
0ded14f6ab Add anchor events for developer centric timeline (flutter/engine#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
dbf765e81a Reverting to unblock engine roll (flutter/engine#4109)
* Revert "Make Travis happy again (#4101)"

This reverts commit ba1577ac9b10734cdfd4d047dc8c7da88045c15e.

* Revert "Support cleaner Dart isolate shutdown handling. (#4096)"

This reverts commit b8e222f45c183a76a8c4a3f3971ba471a1a139c0.
2017-09-14 12:10:11 -07:00
Ryan Macnak
f2629475aa Remove use of CADisplayLink targetTimestamp, which was only added in iOS 10.0. (flutter/engine#4108) 2017-09-14 10:48:28 -07:00
Alexander Aprelev
931f0e5a3e Provide callback to free fetched bytes when reading kernel binary. (flutter/engine#4095) 2017-09-14 08:01:25 -07:00
Michael Goderbauer
ad16a0e9d1 More clarification about license script (flutter/engine#4104) 2017-09-13 15:41:03 -07:00
xster
72c28f3a01 account for pixel scale when checking against existing buffer storage size (flutter/engine#4103) 2017-09-13 14:05:45 -07:00
Michael Goderbauer
cbde7aa2e2 Clarify licenses/README.md (flutter/engine#4102) 2017-09-13 14:04:34 -07:00
Michael Goderbauer
ba1577ac9b Make Travis happy again (flutter/engine#4101) 2017-09-13 12:42:37 -07:00
Ian McKellar
b8e222f45c Support cleaner Dart isolate shutdown handling. (flutter/engine#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
Carlo Bernaschina
e0ef51ea00 Add --trace-skia parameter to flutter run (flutter/engine#4100)
Skia tracing is extremely useful for internal debug, but reduces the
amount of space available in the Dart Timeline buffers.
Disable skia tracing by default and expose them via the --trace-skia
flag.
2017-09-13 10:18:45 -07:00
Michael Goderbauer
11a9ee14fe Enforce clang-format for c-like sources on Travis (flutter/engine#4089)
* Enforce clang-format for c-like sources on Travis

* Edit CONTRIBUTING,md

* review feedback:

* ++

* ++

* ++
2017-09-12 15:42:37 -07:00
Michael Goderbauer
ac24af87f0 Format all c-like sources with clang-format (flutter/engine#4088)
* format

* license script adaptions

* updated licenses

* review comments
2017-09-12 15:36:20 -07:00
Jason Simmons
0d77e02338 Update licenses for Garnet/FXL renaming (flutter/engine#4093) 2017-09-12 09:51:33 -07:00
Michael Goderbauer
9c860a4617 More renaming of FTL->FXL (flutter/engine#4092) 2017-09-11 17:29:48 -07:00
George Kulakowski
b2b9a646ca Fix remaining ftl->fxl conversions (flutter/engine#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
fa539e618e Rename ftl to fxl in Fuchsia specific code (flutter/engine#4090) 2017-09-11 15:58:48 -07:00
Jason Simmons
8f1190bf56 Enable the Skia subpixel text flag in libtxt (flutter/engine#4086)
This flag was set in the Blink renderer (see FontPlatformData::setupPaint)
2017-09-11 15:06:47 -07:00
Michael Goderbauer
3589d495f8 a11y improvements for iOS (flutter/engine#4079)
* Various iOS a11y fixes

* undo

* review comments

* review comments
2017-09-11 14:44:17 -07:00
Adam Barth
9bceaa9981 Update paths for //application move (flutter/engine#4085) 2017-09-11 14:40:03 -07:00
Jason Simmons
a8c7dcec2d Log instead of asserting when sending a reply message to a defunct engine (flutter/engine#4084)
Fixes https://github.com/flutter/flutter/issues/12037
2017-09-11 14:05:14 -07:00
Zachary Anderson
d2668207f8 [Fuchsia] Disable dart:io exit() (flutter/engine#4080) 2017-09-11 11:25:38 -07:00
Petr Hosek
4bee84e385 Add missing virtual destructors to virtual classes (flutter/engine#4083)
These were previously undetected because Wdelete-non-virtual-dtor
didn't work with std::unique_ptr, but that's no longer the case.
2017-09-09 14:01:31 -07:00
Ian McKellar
ad88f5b2aa Remove package:lib.fidl.dart/core.dart (flutter/engine#4082) 2017-09-08 16:24:48 -07:00
Adam Barth
77597e6279 Update paths for Mozart move (flutter/engine#4081) 2017-09-08 15:24:16 -07:00
Alexander Aprelev
70c9742292 Pass ownership of the kernel bytes to the Dart_LoadKernel. (flutter/engine#4078)
This is follow-up to c7faf2dc6b, which made Dart_LoadKernel responsible for the bytes.
2017-09-08 14:33:50 -07:00
Alexander Aprelev
93c9eb30ef Use MemoryByteStore for incremental compilation (flutter/engine#4077) 2017-09-08 13:06:34 -07:00
Jeff Brown
f6f0cb2161 Port to Magenta tracing system. (flutter/engine#4076) 2017-09-08 12:37:40 -07:00
Carlo Bernaschina
fac8eb5d7d Roll Dart to 7b56ef96e2cc77150738366566357912c442ff5b (flutter/engine#4075)
* Roll Dart to 7b56ef96e2cc77150738366566357912c442ff5b
* Updated license
2017-09-07 19:30:11 -07:00
Ian Hickson
a34befb82c Pass TextDirection to ParagraphBuilder. (#4001) (flutter/engine#4019) 2017-09-07 15:37:25 -07:00
Michael Goderbauer
be40ad4d84 refactor accessibility channel to use StandardMessageCodec (flutter/engine#4073) 2017-09-07 15:24:47 -07:00
Jason Simmons
4904055e6f Change the libtxt default text color to white in order to match RenderStyle::initialColor (flutter/engine#4074) 2017-09-07 14:17:29 -07:00
Michael Goderbauer
fadcb3517c Tell Android which SemanticsNodes are focusable (flutter/engine#4067)
A node is considered focusable if it contains information that is interesing to the user. A node that doesn't add any semantic information of its own should not be focusable. It's expected that such a node has children, who have smeantics information and are therefore focusable.

Fixes https://github.com/flutter/flutter/issues/11179
2017-09-06 16:56:23 -07:00
Jason Simmons
18cdb9608f Set the is_official_build flag that disables GR_TEST_UTILS in Skia (flutter/engine#4072)
Fixes https://github.com/flutter/flutter/issues/11952
2017-09-06 15:55:29 -07:00
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
Alexander Aprelev
4009e524e8 Return generated kernel filename on incremental compilation results. (flutter/engine#4069) 2017-09-06 15:13:25 -07:00
Michael Goderbauer
e9ba17ce44 Adapt semantics event handling to framework changes (flutter/engine#4066) 2017-09-05 16:31:24 -07:00
Chinmay Garde
66b6f395d0 [GN] Add a --ios-cpu flag to build an iOS armv7 capable Flutter engine. (flutter/engine#4063) 2017-09-05 14:46:39 -07:00
Chinmay Garde
699879a3f5 Allow disabling LTO in optimized builds. (flutter/engine#4057) 2017-09-05 13:00:27 -07:00
freiling
6c58def18b [content handler] pipeline surface submission to mozart (flutter/engine#3915)
This change basically moves the singaling of the surface acquire event into the gpu driver, eliminating the VkQueueWaitIdle on surface submission

This change depends on https://skia-review.googlesource.com/c/25641/ so do not submit until Flutter has rolled Skia past that point
2017-09-05 12:39:18 -07:00
Chinmay Garde
0cfc80dede Fix iOS simulator builds. (flutter/engine#4062) 2017-09-05 11:53:49 -07:00
Alexander Aprelev
93713ea712 Use BinaryPrinter instead of KernelSerializer to accommodate IKG (flutter/engine#4058)
* Use BinaryPrinter instead of KernelSerializer to accomodate IKG

* Close sink opened with openWrite
2017-09-05 10:14:59 -07:00