Commit Graph

4959 Commits

Author SHA1 Message Date
Chris Bracken
0ab5914e26 Revert "Eliminate support for Dart 1 (#5504)" (flutter/engine#5505)
Broke runtime_unittests, which are still running directly from source.

This reverts commit 6a89437fec.
2018-06-11 18:12:10 -07:00
Chris Bracken
6a89437fec Eliminate support for Dart 1 (flutter/engine#5504)
Eliminates support for running directly from sources or script snapshots. In
debug mode, we run from a kernel snapshot; in profile and release modes, we
link in AOT-compiled code.

Renames --dart-non-checked-mode to --disable-dart-asserts since checked mode
does not make sense in Dart 2.
2018-06-11 17:00:43 -07:00
skia-flutter-autoroll
dc2819a5c0 Roll src/third_party/skia 36f0c41eafe9..5c12122ad91d (5 commits) (flutter/engine#5503)
Auto-roller completed checks. Merging.
2018-06-11 18:31:58 -04:00
skia-flutter-autoroll
f28865e94d Roll src/third_party/skia 46fbf8c97a13..36f0c41eafe9 (5 commits) (flutter/engine#5502)
Auto-roller completed checks. Merging.
2018-06-11 15:07:59 -04:00
skia-flutter-autoroll
40c0ccc471 Roll src/third_party/skia 4c4650150d5f..46fbf8c97a13 (1 commits) (flutter/engine#5501)
Auto-roller completed checks. Merging.
2018-06-11 11:44:12 -04:00
skia-flutter-autoroll
5d1e40709e Roll src/third_party/skia 27dddae3130c..4c4650150d5f (16 commits) (flutter/engine#5500)
Auto-roller completed checks. Merging.
2018-06-11 08:32:12 -04:00
Dan Field
5d78c7447b make analyzer happy (flutter/engine#5499) 2018-06-10 12:47:14 -04:00
Dan Field
e90ea73260 Allow custom foreground paint to be used for drawing text (flutter/engine#5395)
* Allow specifying the foreground paint

* fix typo

* doc update

* call paint.reset
2018-06-10 00:21:18 -04:00
Stanislav Baranov
633a89dbb3 Support for saving Dart compilation trace on device. (flutter/engine#5443)
Support for saving Dart compilation trace on device.
2018-06-08 15:26:29 -07:00
Chris Bracken
f2a864c5e4 Enforce clang-format on all files in commit (flutter/engine#5495)
* Enforce clang-format on all files in commit

This re-enforces clang-format across all files changed in the commit.

In c10c417, we enabled checking only for the lines changed in the diff
in order to reduce the change of merge conflicts with the shell refactor
landed in 82c5c8f.

* Reformat sources to match latest clang-format

As part of re-enabling clang-format across the codebase, reformat all
code to match the latest toolchain.
2018-06-08 15:10:54 -07:00
skia-flutter-autoroll
0dc09f5239 Roll src/third_party/skia 89c5e88..27dddae (11 commits) (flutter/engine#5496)
Auto-roller completed checks. Merging.
2018-06-08 17:05:25 -04:00
skia-flutter-autoroll
081dd76597 Roll src/third_party/skia cef57e9..89c5e88 (11 commits) (flutter/engine#5494)
Auto-roller completed checks. Merging.
2018-06-08 15:11:26 -04:00
skia-flutter-autoroll
c7cdad722f Roll src/third_party/skia 88a32ef..cef57e9 (5 commits) (flutter/engine#5493)
Auto-roller completed checks. Merging.
2018-06-08 11:45:26 -04:00
skia-flutter-autoroll
6a147428ae Roll src/third_party/skia 7a45dd1..88a32ef (1 commits) (flutter/engine#5492)
Auto-roller completed checks. Merging.
2018-06-08 08:19:25 -04:00
skia-flutter-autoroll
1e87e3fa1a Roll src/third_party/skia 9f752aa..7a45dd1 (1 commits) (flutter/engine#5491)
Auto-roller completed checks. Merging.
2018-06-08 00:13:25 -04:00
Greg Spencer
2681ed21ac Fixing image encoding format conversion. (flutter/engine#5489)
On a Linux host, we were having to convert the type of the bitmap to N32, but we weren't also fixing the channel order to RGBA, so consequently we were getting BGRA when the API was asking for RGBA. This forces the color format to be RGBA when that is what is asked for.

We weren't needing to do conversion on macOS, so macOS was always getting RGBA.
2018-06-07 18:06:47 -07:00
skia-flutter-autoroll
bba897b9ce Roll src/third_party/skia 2e361a3..9f752aa (3 commits) (flutter/engine#5490)
Auto-roller completed checks. Merging.
2018-06-07 20:49:25 -04:00
Stanislav Baranov
6d140f4e43 Fix compile error introduce in #5473. (flutter/engine#5488)
Fix compile error introduced in #5473.
2018-06-07 15:36:35 -07:00
Stanislav Baranov
5afc3daf35 Support running bundles from zip file. (flutter/engine#5473)
Support running bundles from zip file.
2018-06-07 15:09:23 -07:00
skia-flutter-autoroll
87a506ca5c Roll src/third_party/skia 8345aa6..2e361a3 (11 commits) (flutter/engine#5487)
Auto-roller completed checks. Merging.
2018-06-07 17:25:26 -04:00
Jason Simmons
7087b9810f libtxt: only apply ellipsizing to the last text run in the line (flutter/engine#5486)
Paragraph layout breaks the text into lines, and ellipsizing (if applicable)
will truncate the last run of a line at the point where word wrap would have
occurred.

Fixes https://github.com/flutter/flutter/issues/18198
2018-06-07 14:24:03 -07:00
skia-flutter-autoroll
3343ddd818 Roll src/third_party/skia 0d22539..8345aa6 (7 commits) (flutter/engine#5485)
Auto-roller completed checks. Merging.
2018-06-07 13:59:26 -04:00
Zachary Anderson
18f4c34c51 Revert: Remove uses of ReleaseOwnership from vulkan backend (flutter/engine#5484) 2018-06-07 10:42:48 -07:00
skia-flutter-autoroll
2c11514bd2 Roll src/third_party/skia 18562b8..0d22539 (3 commits) (flutter/engine#5483)
Auto-roller completed checks. Merging.
2018-06-07 12:50:08 -04:00
skia-flutter-autoroll
fce2b31de7 Roll src/third_party/skia 2d7678d..18562b8 (11 commits) (flutter/engine#5482)
https://skia.googlesource.com/skia.git/+log/2d7678d..18562b8

Created with:
  gclient setdep -r src/third_party/skia@18562b8

The AutoRoll server is located here: https://skia-flutter-roll.skia.org

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-06-07 09:40:57 -04:00
Greg Spencer
614d9a1d10 Fix animation diagram identifiers (flutter/engine#5481)
I forgot that the identifiers need to be unique per page for the animation tags.
This makes them unique.

Doc change only, no code.
2018-06-06 16:15:13 -07:00
Greg Spencer
4d1bb07254 Add diagram links for StrokeJoin and StrokeCap (flutter/engine#5456)
This updates the documentation for StrokeJoin and StrokeCap to contain animated diagrams that describe their function. The actual diagrams reside in the assets-for-api-docs repo.
2018-06-06 14:10:52 -07:00
Jason Simmons
979746e748 libtxt: add all styles of a fallback font family to the cache (flutter/engine#5474)
libtxt will query Skia for a fallback typeface when it encounters a character
that is not found in the primary font.  The font collection should make all
the variants of the fallback typeface's font family available to Minikin for
use in future font lookups.

Fixes https://github.com/flutter/flutter/issues/17985
2018-06-06 12:22:50 -07:00
skia-flutter-autoroll
15246906c5 Roll src/third_party/skia 1b1a557..2d7678d (4 commits) (flutter/engine#5478)
Auto-roller completed checks. Merging.
2018-06-06 13:42:32 -04:00
skia-flutter-autoroll
dcf1aeb375 Roll src/third_party/skia c27967f..1b1a557 (4 commits) (flutter/engine#5477)
Auto-roller completed checks. Merging.
2018-06-06 10:15:32 -04:00
skia-flutter-autoroll
48bee0265d Roll src/third_party/skia 79725d3..c27967f (1 commits) (flutter/engine#5476)
Auto-roller completed checks. Merging.
2018-06-06 06:49:03 -04:00
Sigurd Meldgaard
916d9eb5fc App life cycle delegate (flutter/engine#5302)
* Move the handling of delegating AppDelegate callback out of FlutterAppDelegate.

Also moves the plugin registry to FlutterViewController. So each view-controller will handle its
own plugins.

This is intended to simplify including one or more Flutter views in an existing iOS app and giving
more precise control of plugin registration.

Fixes: https://github.com/flutter/flutter/issues/16539

* formatting

* Update license golden file

* Fixed type error

* FREEZE.unindexed

* Fix Header types

* Revert "FREEZE.unindexed"

This reverts commit bebb70056c9bcb90b4321bdc2873896623ed6faa.
2018-06-06 10:49:40 +02:00
skia-flutter-autoroll
f76403c9eb Roll src/third_party/skia 3857fbf..79725d3 (2 commits) (flutter/engine#5475)
Auto-roller completed checks. Merging.
2018-06-05 22:32:32 -04:00
skia-flutter-autoroll
cc4d347623 Roll src/third_party/skia 5e6853d..3857fbf (5 commits) (flutter/engine#5472)
Auto-roller completed checks. Merging.
2018-06-05 19:07:32 -04:00
Zachary Anderson
e95110f16f Adds dynamic, interpreter configs to tools/gn (flutter/engine#5446)
Adds --dynamic and --interpreter flags to
tools/gn. These flags result in engines with
properties as follows:

--dynamic:
- JIT targeting native code on Android and
  DBC on iOS

--interpreter
- Target DBC even if running on Android.

For example:

gn --android --dynamic --interpreter --runtime-mode release

Will generate an engine:
- Without Dart asserts
- Without Observatory
- With JIT compililation to DBC

into out/android_dynamic_release_dbc
2018-06-05 14:52:52 -07:00
Stanislav Baranov
5c89db5409 Remove unused argument. (flutter/engine#5471) 2018-06-05 13:11:18 -07:00
skia-flutter-autoroll
17ca031b56 Roll src/third_party/skia 8f9c325..5e6853d (5 commits) (flutter/engine#5470)
Auto-roller completed checks. Merging.
2018-06-05 15:41:32 -04:00
Alexander Aprelev
c22bbb1a0a Roll buildroot to 71c24e682181d0b6a7e3974e5a678678650f4da3 (flutter/engine#5469) 2018-06-05 11:25:09 -07:00
skia-flutter-autoroll
ee8441b9d2 Roll src/third_party/skia 4295859..8f9c325 (6 commits) (flutter/engine#5468)
Auto-roller completed checks. Merging.
2018-06-05 12:17:31 -04:00
Alexander Aprelev
da47083cc5 Roll dart to a5e41681e55d1e74684bfff530218db556d77ee8 (flutter/engine#5467)
* Roll dart to a5e41681e55d1e74684bfff530218db556d77ee8.

* Update license
2018-06-05 08:35:44 -07:00
skia-flutter-autoroll
088ca01a74 Roll src/third_party/skia 9856c3d..4295859 (1 commits) (flutter/engine#5466)
Auto-roller completed checks. Merging.
2018-06-05 08:51:31 -04:00
skia-flutter-autoroll
771f46f12d Roll src/third_party/skia 4588ff3..9856c3d (1 commits) (flutter/engine#5465)
Auto-roller completed checks. Merging.
2018-06-05 05:25:31 -04:00
Mikkel Nygaard Ravn
dcbfb0277c Update FlutterPluginRegistrxxx docs for iOS (flutter/engine#5415) 2018-06-05 08:19:07 +02:00
skia-flutter-autoroll
2ab075b6b1 Roll src/third_party/skia ddd92dc..4588ff3 (1 commits) (flutter/engine#5464)
Auto-roller completed checks. Merging.
2018-06-05 01:57:31 -04:00
skia-flutter-autoroll
35423abfd5 Roll src/third_party/skia 5034384..ddd92dc (3 commits) (flutter/engine#5463)
Auto-roller completed checks. Merging.
2018-06-04 22:32:32 -04:00
skia-flutter-autoroll
3f4450829a Roll src/third_party/skia 69d0e51..5034384 (2 commits) (flutter/engine#5462)
Auto-roller completed checks. Merging.
2018-06-04 19:07:31 -04:00
Chinmay Garde
f2875584e3 Fix Dart project configuration for headless Dart runners. (flutter/engine#5461) 2018-06-04 15:01:58 -07:00
Jason Simmons
455786e30a libtxt: fix bug in calculating line end positions excluding whitespace (flutter/engine#5459)
Fixes https://github.com/flutter/flutter/issues/18014
2018-06-04 13:28:38 -07:00
egdaniel
c853d53156 Remove uses of ReleaseOwnership from vulkan backend (flutter/engine#5458)
* Remove uses of ReleaseOwnership from vulkan backend.

Flutter no longer needs to release ownership of objects to skia so this change removes the api calls.

* Remove Release call from vulkan_device.cc

* Update vulkan_application.h

* Update vulkan_application.cc

* Update vulkan_handle.h
2018-06-04 15:46:24 -04:00
skia-flutter-autoroll
5672a9b6a1 Roll src/third_party/skia 7c93472..69d0e51 (3 commits) (flutter/engine#5460)
Auto-roller completed checks. Merging.
2018-06-04 15:40:31 -04:00