9286 Commits

Author SHA1 Message Date
Sarah Zakarias
5a67f2d8e0
Revert "include portable_unistd.h in directory_asset_bundle (#4542)" (#4544)
This reverts commit 211150fe40fbca68580af2f923b87ddb5ac924c6.
2018-01-12 15:53:02 +01:00
Sarah Zakarias
211150fe40
include portable_unistd.h in directory_asset_bundle (#4542) 2018-01-12 15:31:56 +01:00
Sarah Zakarias
8718438d83
Run Fuchsia apps without flx (#4538) 2018-01-12 13:31:54 +01:00
Ian Hickson
26c3ab08d9
Convert MaskFilter to pure-Dart. (#4534) 2018-01-11 23:25:18 -08:00
amirh
05fe72d068
Revive always using SkPath for physical models (#4537) 2018-01-11 15:11:00 -08:00
Todd Volkert
f5dc4ec739
Roll Skia to 579f094f1259931c30dfd1623e8e22d74b4a7531 (#4525)
* Roll Skia to 579f094f1259931c30dfd1623e8e22d74b4a7531

Fixes https://github.com/flutter/flutter/issues/13742
2018-01-11 13:15:05 -08:00
Alexander Aprelev
cdf869bcd7
When running on iOS deduce bundle path during engine initialization. (#4532) 2018-01-10 17:40:47 -08:00
Zachary Anderson
6dd2666f90
Roll Dart to 28757928b47b192efcec082c78258102beb03f78 (#4535) 2018-01-10 13:30:12 -08:00
Jason Simmons
e8bfd4d025
libtxt: map pixel coordinates above the text to glyph positions on the first line of text (#4533)
This matches Blink's behavior
2018-01-10 10:32:24 -08:00
Ian Hickson
9536b80781
Offset.direction (#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
84fc920fde
Deprecate support for big integers in standard message codec (#4528) 2018-01-09 23:58:45 +01:00
Ben Konyi
5a72197b73
Dart sdk roll for 2018/01/09 (bd6cbd1ec7e79730ea1fd8ba01139f4e18a02290) (#4531)
* Rolled dart-sdk to bd6cbd1ec7e79730ea1fd8ba01139f4e18a02290

* Updated third_party licenses.
2018-01-09 14:28:13 -08:00
Michael Goderbauer
16e365e722
Rename SemanticsFlags to SemanticsFlag (#4526)
To align with `SemanticsAction`.
2018-01-09 09:25:52 -08:00
amirh
b7d99da3e2
Revert "Delete the SkPath/SkRRect code duplication in for physical model layers. (#4519)" (#4527)
This reverts commit d8740c70a58ada74aff5b773e2bec9d622c42a97.
2018-01-08 19:25:56 -08:00
amirh
d8740c70a5
Delete the SkPath/SkRRect code duplication in for physical model layers. (#4519) 2018-01-08 16:13:15 -08:00
Mehmet Fidanboylu
9b98d194f2
Fix build break caused by https://github.com/flutter/engine/pull/4491 (#4524) 2018-01-07 07:51:46 -08:00
Mehmet Fidanboylu
d43ae0b41b
Add unwrap to JSONUtil (#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
e1b01d7d7b
API version check for AccessibilityNodeInfo.setEditable call (#4522)
Fixes https://github.com/flutter/flutter/issues/13896
2018-01-05 14:45:35 -08:00
Ryan Macnak
6a724f0d3e
Roll Dart to 5b56dfb77a76e9d8021086c0684b1e8bd9dbca9a. (#4521) 2018-01-05 14:15:47 -08:00
Jason Simmons
bbefdf1980
Add a Rect.largest constructor equivalent to SkRect::MakeLargest (#4520) 2018-01-05 13:37:23 -08:00
Jason Simmons
4b2c0c4a40
Fetch libjpeg-turbo from the Fuchsia repository (#4518) 2018-01-05 12:08:56 -08:00
Michael Goderbauer
12e0e38a8b
Split SemanticsFlags.isDisabled into two (#4517) 2018-01-04 15:15:54 -08:00
Siva
43327730a2
Roll Dart to version 8d7219a5b6a7c2505ff57f23e7cf80da4c724512 (#4515)
* Roll Dart to version 8d7219a5b6a7c2505ff57f23e7cf80da4c724512

* Update third_party license file.
2018-01-04 14:36:41 -08:00
Brian Osman
c4141ff8f4
Add missing include for sk_malloc_throw (#4516)
SkTypes.h no longer includes SkMalloc.h
2018-01-04 17:11:04 -05:00
Alexander Aprelev
f6ea8f32aa
Fix windows build by using lambda capture workaround (#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
6bacf4522e
This adds RPC call to set asset path. (#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
194fb81209
[fuchsia] Removed the flutter_app template. (#4511)
It is moving to the Fuchsia codebase.
2018-01-04 09:20:41 -08:00
Sigurd Meldgaard
9efcd5371a
Apply texture transform on Android (#4513)
* Apply transform to textures on android
2018-01-04 16:04:30 +01:00
Siva
0f0b144b03
Add support for --strong option in the engine, create a strong mode version of the platform file (#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
fb0cfcd33c
Further improve painting.dart documentation. (#4505) 2018-01-03 16:34:09 -08:00
Alexander Aprelev
b6c9ca5552
Revert "Apply transform to textures on android (#4486) (#4507)" (#4510)
This reverts commit 368380cfe1ddcfb8e884b411050bbe6f8d5eb8a5.

This breaks Flutter external_ui test.
2018-01-03 12:37:39 -08:00
Alexander Markov
90e5ca5041
Roll Dart SDK to e9243a4d16cef962214d6d1f433bc2cd3fe864e6 (#4509) 2018-01-03 10:46:50 -08:00
Alexander Aprelev
e1162b1b9b
Revert "Revert "Fix filename handling for Windows. (#4482)" (#4484)" (#4506)
* Revert "Revert "Fix filename handling for Windows. (#4482)" (#4484)"

This reverts commit 929e5b3900e2aab0c0f05889fd44b3a9525e846a.

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
9baa3b2554
Fix Fuchsia build errors (#4508) 2018-01-03 08:34:04 -08:00
Sigurd Meldgaard
368380cfe1
Apply transform to textures on android (#4486) (#4507)
* Apply transform to textures on android
2018-01-03 11:45:28 +01:00
Ian Hickson
8ed270e52c
Remove mention of update-packages now that we pin them (#4500) 2018-01-02 17:16:20 -08:00
Ian Hickson
5687269365
Remove mention of adb from instructions (#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
686b466f90
Updated depot_tools link (#4498) 2018-01-02 17:14:28 -08:00
Michael Goderbauer
26010cf483
Add SemanticsFlag.isDisabled (#4503) 2018-01-02 15:57:52 -08:00
Alexander Markov
37789650cb
Enable Dart 2.0 fixed-size integers in Flutter (#4501) 2018-01-02 14:34:15 -08:00
Alexander Aprelev
0a93f9ffbf
Revert "Apply transform to textures on android (#4486)" (#4502)
This reverts commit eee4a1ed821e98922476f2ce0b1e99ce1a606704.

Original commit caused external_ui integration test failure on Android.
2018-01-02 13:40:27 -08:00
Adam Barth
2e6afc5cc7
[fuchsia] Use AOT in release builds (#4430) 2018-01-02 09:33:53 -08:00
Mikkel Nygaard Ravn
288897bb46
Fix API typo (#4487) 2018-01-02 15:32:53 +01:00
Alexander Aprelev
5ff9f9cb58
Roll dart to e122f4825726035e4579471ef83848b1aa796444 (#4496)
* Roll dart

* Update license
2017-12-27 11:02:57 -08:00
Zachary Anderson
ea2ce27baa Revert "Ensure language and country codes are not empty" (#4494) 2017-12-22 15:00:42 -08:00
Kevin Lindkvist
63c34d8330 Add clipboard actions to Fuchsia. (#4479)
This adds a ClipboardPtr to RuntimeHolder that is used to handle
Clipboard.setData and Clipboard.getData.
2017-12-22 10:28:20 -08:00
Zachary Anderson
4e56a12550
[Fuchsia] Don't force a full Dart SDK build during host build (#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
c0d60f17f7
Ensure language and country codes are not empty (#4492) 2017-12-22 10:09:02 -08:00
Sigurd Meldgaard
eee4a1ed82
Apply transform to textures on android (#4486)
* Apply transform to textures on android

* Use RAII canvas save
2017-12-22 11:15:32 +01:00
amirh
7c126001d8
Remove extraneous const from PhysicalLayerRRect::getPath (#4490)
This caused a breakage on mac due to inconsistent signatures for
declaration and implementation.
2017-12-21 16:26:12 -08:00