3963 Commits

Author SHA1 Message Date
Alexander Aprelev
efc621079d Revert "Apply transform to textures on android (#4486)" (flutter/engine#4502)
This reverts commit b4c5318c5f414aa28a3b6a6d21766106b7fb387d.

Original commit caused external_ui integration test failure on Android.
2018-01-02 13:40:27 -08:00
Adam Barth
84d6c3f9b6 [fuchsia] Use AOT in release builds (flutter/engine#4430) 2018-01-02 09:33:53 -08:00
Mikkel Nygaard Ravn
7ec61ad743 Fix API typo (flutter/engine#4487) 2018-01-02 15:32:53 +01:00
Alexander Aprelev
1f5a2ea055 Roll dart to e122f4825726035e4579471ef83848b1aa796444 (flutter/engine#4496)
* Roll dart

* Update license
2017-12-27 11:02:57 -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
9088f515c3 [Fuchsia] Don't force a full Dart SDK build during host build (flutter/engine#4493)
This rule forces a build of the Dart SDK with the current host toolchain, which isn't needed.
2017-12-22 10:16:51 -08:00
Zachary Anderson
76a8903f01 Ensure language and country codes are not empty (flutter/engine#4492) 2017-12-22 10:09:02 -08:00
Sigurd Meldgaard
b4c5318c5f Apply transform to textures on android (flutter/engine#4486)
* Apply transform to textures on android

* Use RAII canvas save
2017-12-22 11:15:32 +01:00
amirh
82c6be7588 Remove extraneous const from PhysicalLayerRRect::getPath (flutter/engine#4490)
This caused a breakage on mac due to inconsistent signatures for
declaration and implementation.
2017-12-21 16:26:12 -08:00
amirh
9efe7a7285 Engine support for arbitrary shape physical layers (flutter/engine#4488)
* Adjust PhysicalModelLayer to use an abstract shape, and provide concrete RRect and Path shape implementations

* add a pushPhysicalShape to scene_builder and compositing.dart
2017-12-21 15:57:10 -08:00
Ian Hickson
b1269a3a62 Specify what image formats are supported in the API docs. (flutter/engine#4483) 2017-12-21 15:07:17 -08:00
Zachary Anderson
377b4c60c6 Roll Dart to 9e8a3e2d31621c1bdf6139d068e7898a2ac2ab5a (flutter/engine#4489) 2017-12-21 11:36:56 -08:00
Sarah Zakarias
9d4f7464fb Read FlutterAssetsDir from the Android manifest XML file (flutter/engine#4485) 2017-12-21 09:26:16 +01:00
Alexander Aprelev
fc9dac8435 Revert "Fix filename handling for Windows. (#4482)" (flutter/engine#4484)
This reverts commit d65485dd0e61dc3a21920e0132bb37b8da37720c.

This change is not sufficient as it exposes problem with kernel-based
gen_snapshot on Windows and results in Flutter test failures.
2017-12-20 22:55:27 -08:00
Alexander Aprelev
d65485dd0e Fix filename handling for Windows. (flutter/engine#4482)
* Fix filename handling for Windows.

Bug: https://github.com/flutter/flutter/issues/13708

* Fix tyop

* Add final to make analyzer happy
2017-12-20 16:40:18 -08:00
Ian Hickson
b44c49b379 Clean up lerp() methods and their documentation. (flutter/engine#4478)
Fixes https://github.com/flutter/flutter/issues/12377.
2017-12-20 14:08:37 -08:00
Michael Goderbauer
82869d71a5 A11y nodes with only value or hint are focusable (flutter/engine#4481) 2017-12-20 11:15:10 -08:00
Erik Corry
0ebed16e78 Roll Dart to 075720c352685b6c4fbfa3b6300b270714562f62 (flutter/engine#4476) 2017-12-20 12:39:16 +01:00
Jason Simmons
6668040b0c libtxt: ensure that decoration underline thickness is not zero (flutter/engine#4477) 2017-12-19 14:28:56 -08:00
Sarah Zakarias
2de1070160 Add zip asset store to AssetFontSelector (flutter/engine#4475) 2017-12-19 12:28:03 +01:00
Jason Simmons
9d96957b4e libtxt: make minIntrinsicWidth match maxIntrinsicWidth if constraints prevent line wrapping (flutter/engine#4468) 2017-12-18 16:06:19 -08:00
Jason Simmons
ac3844c916 Revert "libtxt: Restore code that had been disabled due to older versions of ICU and HarfBuzz (#4456)" (flutter/engine#4474)
This reverts commit 041deb64dcb3c26856e56bcadd1c938edd0d2691.

Fuchsia is still pinned to ICU version 57, which doesn't have these APIs
2017-12-18 15:02:16 -08:00
Brian Osman
0c2cf26813 Roll Skia and remove PngPixelSerializer (flutter/engine#4472)
* Roll Skia and remove PngPixelSerializer

* Update licenses
2017-12-18 15:44:54 -05:00
Brian Osman
93cd451764 Fix formatting (flutter/engine#4473) 2017-12-18 13:21:32 -05:00
Chris Bracken
8a9f21d076 Document that Xcode 9 is required to build the engine (flutter/engine#4469)
The engine build bots and engine development team now rely solely on
Xcode 9 to build the engine. The iOS 11 SDK is required (though we build
with deployment target of iOS 8) for several features such as safe area
inset support.
2017-12-18 10:00:19 -08: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
Jason Simmons
50183917b0 libtxt: fixes to text style inheritance (flutter/engine#4466)
* newly pushed styles should inherit from the top of the paragraph's style
  stack, not the most recently added style in StyledRuns
* make the paragraph-level style a default that is not pushed onto the stack
  and can not be popped
2017-12-15 16:21:40 -08:00
Ryan Macnak
dc5714d32b Fix spawnFunction on iOS in debug mode. (flutter/engine#4467)
Issue flutter/flutter#12939
2017-12-15 16:11:09 -08:00
Jason Simmons
d95b01846f libtxt: If no glyphs were rendered, then compute baseline metrics using the paragraph style's font (flutter/engine#4462)
Fixes the "empty text baseline" case in text_painter_rtl_test
2017-12-15 10:07:11 -08:00
Martin Kustermann
610c4c937c Roll dart into engine (flutter/engine#4465) 2017-12-15 13:39:17 +01:00
Jason Simmons
041deb64dc libtxt: Restore code that had been disabled due to older versions of ICU and HarfBuzz (flutter/engine#4456) 2017-12-14 09:43:59 -08:00
Jason Simmons
99a8a731bb libtxt: fix the paragraph level text direction passed to the ICU bidi API (flutter/engine#4455)
Also includes some cleanup of the BidiRun struct
2017-12-14 09:43:49 -08:00
Vyacheslav Egorov
88e1e258a7 Fix frontend_server error reporting. (flutter/engine#4461)
* Do not use CompilerOptions.onError to report errors.

CompilerMessage does not carry correct SourceSpan
which makes errors unreadable: they all point to
line 1 column XYZ.

* Run dartfmt on frontend_server/lib/server.dart.

* Fix linting issues for frontend_server
2017-12-14 16:26:53 +01:00
Jason Simmons
f6c572ca91 Update the path to Skia test images in codec_test (flutter/engine#4460) 2017-12-13 18:12:42 -08:00
Jason Simmons
49769ea252 Provide the skia_vulkan_header variable now required by Skia's Vulkan build scripts (flutter/engine#4459) 2017-12-13 17:17:05 -08:00
Régis Crelier
e5c8844f6d Dart roll to cf1de7d46cd88e204380e8f96a993439be56b24c (flutter/engine#4457)
Dart roll to cf1de7d46cd88e204380e8f96a993439be56b24c (#4457)
2017-12-13 16:10:55 -08:00
Brian Salomon
985d8c6a11 Roll skia to 58a3fcd4b3a2f7210586f4ec74dde8ac2b231e0f (flutter/engine#4443)
* Roll Skia to 58a3fcd4b3a2f7210586f4ec74dde8ac2b231e0f

* license again
2017-12-13 14:48:26 -05:00
Ben Konyi
1a0df4d250 Updated message_loop_unittests.cc to use a macro instead of #ifdef (flutter/engine#4441)
OS_WIN blocks when adding platform specific captures.
2017-12-13 10:13:24 -08: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
Jason Simmons
ec44545e82 libtxt: improvements to GetWordBoundary (flutter/engine#4446)
* fix an off-by-one when the offset itself is a word boundary
* lazily create the word break iterator
2017-12-12 17:44:34 -08: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
Siva Chandra
61bb8c8535 Roll dart to 962c18b627c76f22166cd0bb8ab9e1b21d3c7305 (flutter/engine#4451)
* Roll dart to 962c18b627c76f22166cd0bb8ab9e1b21d3c7305.

* Update travis/licenses_golden/licenses_third_party
2017-12-12 14:06:28 -08:00
najeira
0c188ca473 Map iOS touches to Flutter view coordinate system (flutter/engine#4425)
This change ensures that touches are mapped to the Flutter view
co-ordinate system. In the case of a Flutter view that doesn't share the
same origin and orientation as the screen co-ordinate system, touches
were appled in the wrong location. This bug affected Flutter views whose
origin was not the screen origin and Flutter apps running with the
in-call status bar on iPhones other than the iPhone X.
2017-12-12 13:22:53 -08:00
Chris Bracken
7f0f66cf1a Model Android keyboard height as view inset (flutter/engine#4447)
Model top and side system insets as padding and bottom (keyboard) as a
view inset. This avoids applying system insets twice (once as an inset,
once as padding).
2017-12-12 11:04:42 -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