3244 Commits

Author SHA1 Message Date
Michael Goderbauer
0258b3a3a1 Fixes crash on Android when activating Now on Tap (flutter/engine#4536) 2018-01-12 10:22:55 -08:00
Sarah Zakarias
2ac17ebc40 Revert "Run Fuchsia apps without flx" (flutter/engine#4545)
* Revert "include portable_unistd.h in directory_asset_bundle (#4542)"

This reverts commit a41471bdd6692ec78c04d3bf6b0fc4601e622876.

* Revert "Run Fuchsia apps without flx (#4538)"

This reverts commit 9bf76142c1b68565347a6c7a8d6eab56cba5256b.
2018-01-12 15:55:47 +01:00
Sarah Zakarias
57330c3bff Revert "include portable_unistd.h in directory_asset_bundle (#4542)" (flutter/engine#4544)
This reverts commit a41471bdd6692ec78c04d3bf6b0fc4601e622876.
2018-01-12 15:53:02 +01:00
Sarah Zakarias
a41471bdd6 include portable_unistd.h in directory_asset_bundle (flutter/engine#4542) 2018-01-12 15:31:56 +01:00
Sarah Zakarias
9bf76142c1 Run Fuchsia apps without flx (flutter/engine#4538) 2018-01-12 13:31:54 +01:00
Ian Hickson
73634e73bc Convert MaskFilter to pure-Dart. (flutter/engine#4534) 2018-01-11 23:25:18 -08:00
amirh
af26adb128 Revive always using SkPath for physical models (flutter/engine#4537) 2018-01-11 15:11:00 -08:00
Alexander Aprelev
85d050ac98 When running on iOS deduce bundle path during engine initialization. (flutter/engine#4532) 2018-01-10 17:40:47 -08:00
Jason Simmons
f95c8890c1 libtxt: map pixel coordinates above the text to glyph positions on the first line of text (flutter/engine#4533)
This matches Blink's behavior
2018-01-10 10:32:24 -08:00
Ian Hickson
39ba4de88b Offset.direction (flutter/engine#4530)
Since we've got a vector class, and it has a getter for the magnitude,
why not also a getter for the angle.
2018-01-09 22:17:57 -08:00
Mikkel Nygaard Ravn
495f8f71f4 Deprecate support for big integers in standard message codec (flutter/engine#4528) 2018-01-09 23:58:45 +01:00
Michael Goderbauer
2799e93b71 Rename SemanticsFlags to SemanticsFlag (flutter/engine#4526)
To align with `SemanticsAction`.
2018-01-09 09:25:52 -08:00
amirh
fcfe94380f Revert "Delete the SkPath/SkRRect code duplication in for physical model layers. (#4519)" (flutter/engine#4527)
This reverts commit 0847830c7e3e2abff050596f911f77878b7a3c96.
2018-01-08 19:25:56 -08:00
amirh
0847830c7e Delete the SkPath/SkRRect code duplication in for physical model layers. (flutter/engine#4519) 2018-01-08 16:13:15 -08:00
Mehmet Fidanboylu
3d611a011b Fix build break caused by https://github.com/flutter/engine/pull/4491 (flutter/engine#4524) 2018-01-07 07:51:46 -08:00
Mehmet Fidanboylu
354eeb0cf3 Add unwrap to JSONUtil (flutter/engine#4491)
We have a use for this for the internal messaging plugin. Instead of rolling our own, it made sense to add it here especially since it has the mirror functionality (wrap).
2018-01-06 14:32:00 -08:00
Jason Simmons
9ba9bfc0b2 API version check for AccessibilityNodeInfo.setEditable call (flutter/engine#4522)
Fixes https://github.com/flutter/flutter/issues/13896
2018-01-05 14:45:35 -08:00
Jason Simmons
fadef9db2f Add a Rect.largest constructor equivalent to SkRect::MakeLargest (flutter/engine#4520) 2018-01-05 13:37:23 -08:00
Michael Goderbauer
ff69f13eb3 Split SemanticsFlags.isDisabled into two (flutter/engine#4517) 2018-01-04 15:15:54 -08:00
Alexander Aprelev
a6d6f56e67 Fix windows build by using lambda capture workaround (flutter/engine#4514)
* Fix windows build by using lambda capture workaround

* clang format, add todo

* clang-format again
2018-01-04 10:41:54 -08:00
Alexander Aprelev
a4ae031706 This adds RPC call to set asset path. (flutter/engine#4323)
* This adds rpc call to simply set asset path.

This is needed when doing hot reload to pick up updated assets.

* Move asset_directory fetch for after view_id. Clean up return. Fix formatting.

* Add SetAssetBundlePath methods implementations for mac and ios

* Fix mac mm

* Fix formatting

* Merge and use nullptr
2018-01-04 09:48:01 -08:00
P.Y. Laligand
baf69ca25c [fuchsia] Removed the flutter_app template. (flutter/engine#4511)
It is moving to the Fuchsia codebase.
2018-01-04 09:20:41 -08:00
Sigurd Meldgaard
45bc2a7837 Apply texture transform on Android (flutter/engine#4513)
* Apply transform to textures on android
2018-01-04 16:04:30 +01: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
Ian Hickson
78d3101148 Further improve painting.dart documentation. (flutter/engine#4505) 2018-01-03 16:34:09 -08:00
Alexander Aprelev
978613bc5f Revert "Apply transform to textures on android (#4486) (#4507)" (flutter/engine#4510)
This reverts commit 7fb2a833de92afe1d3f15efb5d5349432e2b24df.

This breaks Flutter external_ui test.
2018-01-03 12:37:39 -08:00
Alexander Aprelev
12e9e426fa Revert "Revert "Fix filename handling for Windows. (#4482)" (#4484)" (flutter/engine#4506)
* Revert "Revert "Fix filename handling for Windows. (#4482)" (#4484)"

This reverts commit fc9dac8435bc01141c549436262139ad7cee8c93.

Reverting now since issue with
gen_snapshot(as described in https://github.com/flutter/flutter/issues/13708) was fixed.

* resolve->resolveUri, drop underscores

* Fix underscore
2018-01-03 09:43:35 -08:00
Zachary Anderson
bd6f350f6d Fix Fuchsia build errors (flutter/engine#4508) 2018-01-03 08:34:04 -08:00
Sigurd Meldgaard
7fb2a833de Apply transform to textures on android (#4486) (flutter/engine#4507)
* Apply transform to textures on android
2018-01-03 11:45:28 +01:00
Ian Hickson
65a0ef4309 Remove mention of update-packages now that we pin them (flutter/engine#4500) 2018-01-02 17:16:20 -08:00
Ian Hickson
2e4166a960 Remove mention of adb from instructions (flutter/engine#4499)
* Remove mention of adb from instructions

This isn't a step we have our users do, so best that we don't do it either.

* Update CONTRIBUTING.md
2018-01-02 17:14:41 -08:00
Ian Hickson
d1defefec1 Updated depot_tools link (flutter/engine#4498) 2018-01-02 17:14:28 -08:00
Michael Goderbauer
e863618c08 Add SemanticsFlag.isDisabled (flutter/engine#4503) 2018-01-02 15:57:52 -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
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
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
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
Jason Simmons
6668040b0c libtxt: ensure that decoration underline thickness is not zero (flutter/engine#4477) 2017-12-19 14:28:56 -08:00