7728 Commits

Author SHA1 Message Date
Chris Bracken
963c943a12 Rename Fuchsia Dart and Flutter runners (flutter/engine#9003)
four_gate -> flutter_runner
dt_rush -> dart_runner
2019-05-17 17:04:40 -07:00
Adam Barth
e1c043fe58 [fuchsia] Update zx_clock_get callers (flutter/engine#8998)
Fuchsia is changing zx_clock_get to return a zx_status_t. This change
prepares us for that change.
2019-05-17 16:37:28 -07:00
Ben Konyi
86701e45c4 Roll src/third_party/dart b2a3d1c31b..b1f9f2182d (1 commits)
b1f9f2182d [ VM / Service ] Remove root frame from traceEvents in _getCpuProfileTimeline response
2019-05-17 15:55:10 -07:00
skia-flutter-autoroll
5d12584e99 Roll src/third_party/skia 0c6daf034b11..76346ac952c4 (30 commits) (flutter/engine#9000)
https://skia.googlesource.com/skia.git
/%2Blog/0c6daf034b11..76346ac952c4

git log 0c6daf034b11b0924b05abe441ffa892c7bc3c07..76346ac952c4006b41bbc8fd5a41c22a8b6e43b1 --date=short --no-merges --format=%ad %ae %s
2019-05-17 mtklein@google.com Reland "byte align everything in SkSLInterpreter"
2019-05-17 michaelludwig@google.com Revert "Experimental SkVideoDecoder, to wrap calls to ffmpeg"
2019-05-17 mtklein@google.com disassemble on unit test failure
2019-05-17 rmistry@google.com [Recreate SKPs bot] Fix failing web pages
2019-05-17 mtklein@google.com remove stray kNop
2019-05-17 robertphillips@google.com Add testing of mipmaps to backend allocation test
2019-05-17 bsalomon@google.com Revert "Make SkSurface::asyncRescaleAndRead use kStrict constraint"
2019-05-17 jvanverth@google.com Fix matrix layout in Metal.
2019-05-17 mtklein@google.com Revert "byte align everything in SkSLInterpreter"
2019-05-17 reed@google.com Experimental SkVideoDecoder, to wrap calls to ffmpeg
2019-05-17 mtklein@google.com byte align everything in SkSLInterpreter
2019-05-17 michaelludwig@google.com Force snapBackImage() to N32 for image filters
2019-05-17 bsalomon@google.com Make SkSurface::asyncRescaleAndRead use kStrict constraint
2019-05-17 brianosman@google.com Implement postfix ++/--, and use the correct 1 for floats
2019-05-17 mtklein@google.com warmup learning sksl interpreter
2019-05-17 bsalomon@google.com Initial version of rescaling async readback API
2019-05-17 michaelludwig@google.com Refactor complex CTM management for image filters
2019-05-17 jvanverth@google.com Metal: Add check for invalid shader functions
2019-05-17 robertphillips@google.com Switch over to using new direct allocation API in our tests (as much as possible at least)
2019-05-17 egdaniel@google.com Appease compilers after swizzle change.
2019-05-16 robertphillips@google.com Add helper method to fill in yuvaIndices given a yuv format
2019-05-16 egdaniel@google.com Add GrCaps call to get swizzle from BackendFormat and ColorType.
2019-05-16 brianosman@google.com Interpreter: Implement ternary operator
2019-05-16 brianosman@google.com Particles + Interpreter: Bind particle's SkRandom to "rand"
2019-05-16 ethannicholas@google.com redesigned SkSL interpreter vector instructions
2019-05-14 aparchur@google.com Apply layer in-point as a negative time-bias for multi-frame image assets.
2019-05-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader d61595f367af..ab1e2b49fe88 (8 commits)
2019-05-16 michaelludwig@google.com Remove rounding on explicit clip geometry
2019-05-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src 8c742b264faa..5ca9f9560554 (448 commits)
2019-05-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 6ddb7768fa25..06de90c66c18 (9 commits)

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-17 17:49:34 -04:00
Matt Carroll
443edceabb New Plugin API PR3: Introduces Service, BroadcastReceiver, and ContentProvider awareness, control surfaces, and plugin bindings. (flutter/engine#8962) 2019-05-17 14:25:05 -07:00
Ben Konyi
751367a83f Roll src/third_party/dart 0e8656e045..b2a3d1c31b (2 commits)
b2a3d1c31b Give Field::is_nullable the same consistency check as guarded_cid
b4611b9357 add extension-methods experimental feature
2019-05-17 12:55:56 -07:00
skia-flutter-autoroll
c9026c08a8 Roll src/third_party/skia c6568afa0b63..0c6daf034b11 (1 commits) (flutter/engine#8995)
https://skia.googlesource.com/skia.git
/%2Blog/c6568afa0b63..0c6daf034b11

git log c6568afa0b634d47596557960ccf756962b9aab3..0c6daf034b11b0924b05abe441ffa892c7bc3c07 --date=short --no-merges --format=%ad %ae %s
2019-05-16 robertphillips@google.com Direct backend object allocation API

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-17 15:22:53 -04:00
Jason Simmons
5507ef4130 Roll Buildroot (flutter/engine#8996) 2019-05-17 11:39:19 -07:00
Ben Konyi
ab5b156ba5 Roll src/third_party/dart 5ffff98440..0e8656e045 (1 commits)
0e8656e045 [vm, compiler] Shorter invocation counter check.
2019-05-16 21:44:28 -07:00
Dan Field
d99581a8ea remove unnecessary [new from docs (flutter/engine#8986) 2019-05-16 19:14:10 -07:00
stuartmorgan
5c4c8d9f27 Enable hover by default for desktop shells (flutter/engine#8991)
Fixes flutter/flutter#32835
2019-05-16 20:12:03 -04:00
Ben Konyi
c0a0ef289e Roll src/third_party/dart cc2d5adec9..5ffff98440 (3 commits)
5ffff98440 Add `autoUncompress` to _HttpClientResponse
86c7165969 [tests] Avoid use of `$strong` because it is always true now
8209013be3 Fix DartDoc section in Diagnostics server for LSP
2019-05-16 15:50:14 -07:00
Jason Simmons
5b6dedfc3e Add support for the Fontconfig-based Skia font manager (flutter/engine#8977) 2019-05-16 15:22:22 -07:00
skia-flutter-autoroll
10d92a6b89 Roll src/third_party/skia 7921042df7e5..c6568afa0b63 (6 commits) (flutter/engine#8988)
https://skia.googlesource.com/skia.git
/%2Blog/7921042df7e5..c6568afa0b63

git log 7921042df7e53e025b8b032a784bbe3a220b5e3d..c6568afa0b634d47596557960ccf756962b9aab3 --date=short --no-merges --format=%ad %ae %s
2019-05-16 brianosman@google.com Remove Nima from DEPS, experiments, Viewer, etc.
2019-05-16 jvanverth@google.com Revise Mac windowing and context creation.
2019-05-16 brianosman@google.com Interpreter: Change all Load/Store ops to use immediate indices
2019-05-16 robertphillips@google.com Make createTestingOnlyBackendTexture and deleteTestingOnlyBackendTexture no longer be behind GR_TEST_UTILS (take 2)
2019-05-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src a01010a50904..8c742b264faa (455 commits)
2019-05-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 bff32703c75b..6ddb7768fa25 (10 commits)

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-16 16:38:38 -04:00
Dan Field
6037f82d66 add observatoryUrl property to FlutterEngine (flutter/engine#8987) 2019-05-16 13:14:34 -07:00
Dan Field
47caf42a41 Add matrix4 param to Linear gradients (flutter/engine#8985)
* Add matrix4 param to Linear gradients
2019-05-16 13:10:58 -07:00
Jason Simmons
1ff7ac0696 libtxt: add a BoxHeightStyle option based on the height of the strut (flutter/engine#8927)
See https://github.com/flutter/flutter/issues/32332
2019-05-16 11:17:20 -07:00
skia-flutter-autoroll
50f3afede2 Roll src/third_party/skia b3c0bf642613..7921042df7e5 (1 commits) (flutter/engine#8984)
https://skia.googlesource.com/skia.git
/%2Blog/b3c0bf642613..7921042df7e5

git log b3c0bf6426134223910708040943ba23bc32c2ea..7921042df7e53e025b8b032a784bbe3a220b5e3d --date=short --no-merges --format=%ad %ae %s
2019-05-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 3d7b7ea134d1..d61595f367af (10 commits)

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-16 13:08:45 -04:00
Ben Konyi
526ad8709a Roll src/third_party/dart 57c970d87a..cc2d5adec9 (1 commits)
cc2d5adec9 [dart:io] Don't leak /dev/urandom fd on fork.
2019-05-15 18:46:48 -07:00
skia-flutter-autoroll
e9f6b1cf5c Roll src/third_party/skia 32c32b9a6caa..b3c0bf642613 (14 commits) (flutter/engine#8980)
https://skia.googlesource.com/skia.git
/%2Blog/32c32b9a6caa..b3c0bf642613

git log 32c32b9a6caac9edc4a244713d31d63b81619231..b3c0bf6426134223910708040943ba23bc32c2ea --date=short --no-merges --format=%ad %ae %s
2019-05-15 mtklein@google.com Revert "manually register codecs in DM"
2019-05-15 mtklein@google.com Revert "add runtime registration for encoders"
2019-05-15 mtklein@google.com Revert "remove #if guards in SkAndroidCodec.cpp"
2019-05-15 mtklein@google.com Revert "skip runtime registration on iOS"
2019-05-15 mtklein@google.com Revert "unguard SkFooEncoder.cpp"
2019-05-15 mtklein@google.com Revert "move encoders into codec_srcs"
2019-05-15 mtklein@google.com Revert "format public.bzl"
2019-05-15 ethannicholas@google.com fixed SkSL interpreter copying from nullptr
2019-05-15 mtklein@google.com format public.bzl
2019-05-15 mtklein@google.com move encoders into codec_srcs
2019-05-15 ethannicholas@google.com added external value support to SkSL interpreter
2019-05-15 bsalomon@google.com Reland "Get EGLimage functions out of GrGLInterface."
2019-05-15 mtklein@google.com clean up some .gitignores
2019-05-15 csmartdalton@google.com Silence a spurious GL error

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-15 19:44:42 -04:00
Ben Konyi
da54944177 Roll src/third_party/dart ea9b0cd0f5..57c970d87a (5 commits)
57c970d87a [dart/vm] Fix inconsistencies in intermediate representation
034fce1e39 [dart:io] unbreak build
7f323feefe [dart:io] Fix iOS https leaks
1c469617c5 TypeParameter.declaredElement is guaranteed to be a TypeParameterElement
14d21859e7 Make assertConnection failures easier to debug
2019-05-15 15:55:58 -07:00
skia-flutter-autoroll
baa2368774 Roll src/third_party/skia c8d66d35538c..32c32b9a6caa (15 commits) (flutter/engine#8976)
https://skia.googlesource.com/skia.git
/%2Blog/c8d66d35538c..32c32b9a6caa

git log c8d66d35538c274b6946fba88a0a317c84b847ae..32c32b9a6caac9edc4a244713d31d63b81619231 --date=short --no-merges --format=%ad %ae %s
2019-05-15 mtklein@google.com unguard SkFooEncoder.cpp
2019-05-15 michaelludwig@google.com Revert "Make createTestingOnlyBackendTexture and deleteTestingOnlyBackendTexture no longer be behind GR_TEST_UTILS"
2019-05-15 mtklein@google.com skip runtime registration on iOS
2019-05-15 mtklein@google.com remove #if guards in SkAndroidCodec.cpp
2019-05-15 mtklein@google.com add runtime registration for encoders
2019-05-15 michaelludwig@google.com Revert "Get EGLimage functions out of GrGLInterface."
2019-05-15 brianosman@google.com Interpreter: Implement/fix vectorized load/store of globals
2019-05-15 robertphillips@google.com Make createTestingOnlyBackendTexture and deleteTestingOnlyBackendTexture no longer be behind GR_TEST_UTILS
2019-05-15 mtklein@google.com manually register codecs in DM
2019-05-15 bsalomon@google.com Get EGLimage functions out of GrGLInterface.
2019-05-15 mtklein@google.com simplify rtree loops in Skia too
2019-05-15 bungeman@google.com Add SkShaper which just shapes.
2019-05-15 bungeman@google.com Move SkMessageBus.h into src/core
2019-05-15 michaelludwig@google.com Revert "Clear and discard stencil buffers on tilers"
2019-05-15 robertphillips@google.com Add GrVkFormatIsCompressed and GrVkFormatCompressedDataSize to rm uses of GrPixelConfig

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-15 16:13:18 -04:00
Matthew Dempsky
0bca459e28 Replace ararysize macro with fml::size function (flutter/engine#8975)
This is forward compatible with std::size and similar to how Chromium
removed use of the arraysize macro.
2019-05-15 12:43:47 -07:00
skia-flutter-autoroll
921206ba08 Roll src/third_party/skia 348880c3f67f..c8d66d35538c (6 commits) (flutter/engine#8973)
https://skia.googlesource.com/skia.git
/%2Blog/348880c3f67f..c8d66d35538c

git log 348880c3f67fb4422d1f66588ab87866c6ea848f..c8d66d35538c274b6946fba88a0a317c84b847ae --date=short --no-merges --format=%ad %ae %s
2019-05-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll skia/third_party/skcms 853f66269c16..1578d6b6f5dd (1 commits)
2019-05-14 brianosman@google.com Interpreter: Remove vectorized branches
2019-05-15 bungeman@google.com Move SkTSearch.h into src.
2019-05-15 robertphillips@google.com GrVkCaps: add isFormatRenderable and rename some isConfig* methods to isFormat*
2019-05-15 bungeman@google.com Remove tools/clang from .gitignore
2019-05-14 brianosman@google.com Add support for calling functions within the interpreter

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-15 12:40:32 -04:00
Ben Konyi
57388c9761 Roll src/third_party/dart a0290f823c..ea9b0cd0f5 (86 commits)
ea9b0cd0f5 [ VM / FFI ] Fixed imports in ffi.h which were invalid for Flutter iOS build
af2d02f9c8 fix lint code reporting
f6d3466856 Work around DDC with summary2 for now.
6805bb52ea Add implementation/tests for textDocument/Implementation
3a7ce7a646 Enable declarations tracker for LSP to support dart doc macros
cdcc387084 Add LSP custom notifications for analyzing status
6ac6d3ae7d Fix FileState refresh2 to allow caching.
a3073fc581 check null condition in assert
ebaf0ad8b1 Record GenericFunctionType nodes separately in the unit.
bc34b65a13 cleanup tests
bd840b93cb [package:vm] Account for package map comments.
c855b9bfa3 move error token processing to parser
a50dcd8fe6 remove unused field
f440f77dd3 Store the nullability graph in the nullability nodes rather than in maps.
3ecb89ba8c Move NullabilityGraph into nullability_node.dart.
6080e546c9 Rearrange NullabilityNode class hierarchy.
6d5f763952 [vm] Eliminate Mutex/Monitor indirection where possible
bed74d6e97 Remove NullabilityGraph._upstream.
b0727bd661 [dart/vm] enhanced graph checker
228df22dbf Remove the old constraint variable based nullability migration logic.
83607564ea Switch nullability migration over to the new algorithm based on the new nullability graph.
354bfb5bab Remove a few more usages of NullabilityNode._nullable.
eba45291fb [observatory] Cleanup unused imports, fix warning about SDK version
933ad32baa Add logic to assertNonNullIntent to check the nullability graph.
b05190499d Add new nullability propagation logic based on the NullabilityGraph.
f3aca11478 Record not-supplied named parameters in the nullability graph
2fbc446d23 Record information about guards in the nullability graph.
0ce9cb7267 Encode unconditional control flow information in nullability graph.
8a8a700336 Fix nullability of inferred dynamic types
9bbc06fddb Add the ability to do a debug dump of a nullability graph.
a779db0813 Update LSP spec to latest
b7521f5e1b Fix lints not appearing when using LSP Server
9472745446 Change error code for server shutting down
ef971f3787 [infra] Bump version file on master to 2.3.1
27df933bd1 Fix some hints in the analyzer package.
f7e288e3ad Return empty responses instead of errors for non-Dart files in LSP server
d0869386f6 More optimizations for summary2 storage format.
6dd7007b48 Tweak CONVERT_TO_PACKAGE_IMPORT assist.
ca92a30299 Reuse LibraryScope in MetadataResolver.
140822aebd [dartdevc] Allow multiple summaries and experiments in ddb tool
42c35d7bd6 Optimize summary2.
54a541706d [vm] Simplify IsolateSpawnState
3bc0ad4ee3 Revert "Use the full URI for DDK library debug names"
b8050f9322 Make NullabilityNode.nullable private.
d47c31da48 Remove NullabilityNode.isNeverNullable.
b91a4f5423 [analyzer] Resolve methodName staticType when Function to check Function?
11b59bec8d Store compilation unit NNBD status in unlinked summary.
dac5a56422 Fix workspace/package identification for package:build packages
370b393ac5 Remove redundant optimization from callers of `withNullability`.
d2ddf644fa Ignore deprecated analyzer import warnings
0edab8264a Support steps that only run on the main module
8aa2c13c9f Exclude parents when initializing visible data
5de409bfa1 Ensure subfolders in input sources paths are created first
05a9cdc3d5 Fix type parameter in pipeline subclasses
fb29d0e96d Move async_minitest to package:async_helper.
1a9d38be41 Fix improper unchecked_nullable test cases
b0b6a289ec [vm, compiler] Make IA32 megamorphic calls match the other architectures.
5cffcd9e2c Add the class NonNullableTypeProvider to access SDK classes in opted-in context
b1f6c1d092 [vm] Fix -O0 build after CL 101222
8a3a9dc588 [fuchsia] Migrate to zx_clock_get_new
36d8e3a9ba Fix more places where hardcoded types need to be made non-nullable under NNBD
63001295c0 optionally report scanner errors before parsing
7e0b680851 [dart/vm] minor test refactoring
8754351283 [CFE] Run widget transformer before constant evaluation.
1179467a5e Move widget transformer to kernel package
638ebcab97 Directly check for subclass-of without using a class hierarchy.
2a32cdda6d [vm/compiler] Replace LoadClassId for known cids.
0db620a2a5 Decouple Namer from RuntimeTypesEncoder and Tracer
2c86872a5f Store isAsynchronous and isGenerator in executables.
4a058a3773 Check for hasDefaultValue / hasInitializer directly, without reding the initializer.
c532458e09 [vm/compiler] Fix for flaky crash in CallSpecializer::ReplaceWithInstanceOf
2736dab879 [VM/tests] Use appropriate type when invoking Isolate.spawn
869cb683d8 [dart/fuzzer] rename exception parameter
477ad3c0ea [vm/bytecode] Eliminate asserts from bytecode unless --enable-asserts
0069beb7ed [vm/interpreter] Cleanup stack slot in Interpreter::InterfaceCall
536ecbac7b Add language 2 tests for null access errors
130ad1bcf9 Stop reporting some errors when constant evaluation produces a valid object with an unknown state (issue 36873)
d1a5eb5900 Fix the special casing of binary operators with primitive types when NNBD is enabled
b4e2c0246c update parser to handle leading error tokens
be6bbfc06b Remove redundant error notifications from LSP server
f261f8a526 bump to linter 0.1.88
4c2b9f1d91 Don't send LSP error notifications for files in dot-folders
0450462503 Improve sending/flushing of errors for files in dot folders
c1e2df8f36 [infra] Update checked in SDKs to 2.3.0
b2949d3436 fix Flutter build for "[vm/ffi] DBC support on x64 Linux/MacOS hosts"
a8b93d9e78 [vm/ffi] DBC support on x64 Linux/MacOS hosts
2019-05-15 09:25:56 -07:00
skia-flutter-autoroll
68fc00eb86 Roll src/third_party/skia 3f79f07a14eb..348880c3f67f (3 commits) (flutter/engine#8971)
https://skia.googlesource.com/skia.git
/%2Blog/3f79f07a14eb..348880c3f67f

git log 3f79f07a14ebe2c22390cb8725adcd4bc3857716..348880c3f67fb4422d1f66588ab87866c6ea848f --date=short --no-merges --format=%ad %ae %s
2019-05-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 f7033c55be3f..bff32703c75b (4 commits)
2019-05-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src 156f1f758a0f..a01010a50904 (446 commits)
2019-05-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 65b1e97d13eb..3d7b7ea134d1 (5 commits)

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-15 02:55:23 -04:00
skia-flutter-autoroll
975354be91 Roll src/third_party/skia c8a84d2b7ff9..3f79f07a14eb (1 commits) (flutter/engine#8968)
https://skia.googlesource.com/skia.git
/%2Blog/c8a84d2b7ff9..3f79f07a14eb

git log c8a84d2b7ff98b44c42a53d1ba750a2c02f9063a..3f79f07a14ebe2c22390cb8725adcd4bc3857716 --date=short --no-merges --format=%ad %ae %s
2019-05-09 herb@google.com Use SkStrikeSpecStorage to lookup strike for GPU text drawing

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-14 23:23:13 -04:00
Gary Qian
04e41a7e6d Use Android text selection shifting API to handle keyboard backspace (flutter/engine#8956) 2019-05-15 10:44:23 +08:00
Gary Qian
e21816be76 Revert "Roll src/third_party/dart a0290f823c..6d5f763952 (70 commits)" (flutter/engine#8969)
This reverts commit 76a6dd5ef5ff6264ae449cf6e57938a4a76a5f37.
2019-05-15 10:38:49 +08:00
Ben Konyi
76a6dd5ef5 Roll src/third_party/dart a0290f823c..6d5f763952 (70 commits)
6d5f763952 [vm] Eliminate Mutex/Monitor indirection where possible
bed74d6e97 Remove NullabilityGraph._upstream.
b0727bd661 [dart/vm] enhanced graph checker
228df22dbf Remove the old constraint variable based nullability migration logic.
83607564ea Switch nullability migration over to the new algorithm based on the new nullability graph.
354bfb5bab Remove a few more usages of NullabilityNode._nullable.
eba45291fb [observatory] Cleanup unused imports, fix warning about SDK version
933ad32baa Add logic to assertNonNullIntent to check the nullability graph.
b05190499d Add new nullability propagation logic based on the NullabilityGraph.
f3aca11478 Record not-supplied named parameters in the nullability graph
2fbc446d23 Record information about guards in the nullability graph.
0ce9cb7267 Encode unconditional control flow information in nullability graph.
8a8a700336 Fix nullability of inferred dynamic types
9bbc06fddb Add the ability to do a debug dump of a nullability graph.
a779db0813 Update LSP spec to latest
b7521f5e1b Fix lints not appearing when using LSP Server
9472745446 Change error code for server shutting down
ef971f3787 [infra] Bump version file on master to 2.3.1
27df933bd1 Fix some hints in the analyzer package.
f7e288e3ad Return empty responses instead of errors for non-Dart files in LSP server
d0869386f6 More optimizations for summary2 storage format.
6dd7007b48 Tweak CONVERT_TO_PACKAGE_IMPORT assist.
ca92a30299 Reuse LibraryScope in MetadataResolver.
140822aebd [dartdevc] Allow multiple summaries and experiments in ddb tool
42c35d7bd6 Optimize summary2.
54a541706d [vm] Simplify IsolateSpawnState
3bc0ad4ee3 Revert "Use the full URI for DDK library debug names"
b8050f9322 Make NullabilityNode.nullable private.
d47c31da48 Remove NullabilityNode.isNeverNullable.
b91a4f5423 [analyzer] Resolve methodName staticType when Function to check Function?
11b59bec8d Store compilation unit NNBD status in unlinked summary.
dac5a56422 Fix workspace/package identification for package:build packages
370b393ac5 Remove redundant optimization from callers of `withNullability`.
d2ddf644fa Ignore deprecated analyzer import warnings
0edab8264a Support steps that only run on the main module
8aa2c13c9f Exclude parents when initializing visible data
5de409bfa1 Ensure subfolders in input sources paths are created first
05a9cdc3d5 Fix type parameter in pipeline subclasses
fb29d0e96d Move async_minitest to package:async_helper.
1a9d38be41 Fix improper unchecked_nullable test cases
b0b6a289ec [vm, compiler] Make IA32 megamorphic calls match the other architectures.
5cffcd9e2c Add the class NonNullableTypeProvider to access SDK classes in opted-in context
b1f6c1d092 [vm] Fix -O0 build after CL 101222
8a3a9dc588 [fuchsia] Migrate to zx_clock_get_new
36d8e3a9ba Fix more places where hardcoded types need to be made non-nullable under NNBD
63001295c0 optionally report scanner errors before parsing
7e0b680851 [dart/vm] minor test refactoring
8754351283 [CFE] Run widget transformer before constant evaluation.
1179467a5e Move widget transformer to kernel package
638ebcab97 Directly check for subclass-of without using a class hierarchy.
2a32cdda6d [vm/compiler] Replace LoadClassId for known cids.
0db620a2a5 Decouple Namer from RuntimeTypesEncoder and Tracer
2c86872a5f Store isAsynchronous and isGenerator in executables.
4a058a3773 Check for hasDefaultValue / hasInitializer directly, without reding the initializer.
c532458e09 [vm/compiler] Fix for flaky crash in CallSpecializer::ReplaceWithInstanceOf
2736dab879 [VM/tests] Use appropriate type when invoking Isolate.spawn
869cb683d8 [dart/fuzzer] rename exception parameter
477ad3c0ea [vm/bytecode] Eliminate asserts from bytecode unless --enable-asserts
0069beb7ed [vm/interpreter] Cleanup stack slot in Interpreter::InterfaceCall
536ecbac7b Add language 2 tests for null access errors
130ad1bcf9 Stop reporting some errors when constant evaluation produces a valid object with an unknown state (issue 36873)
d1a5eb5900 Fix the special casing of binary operators with primitive types when NNBD is enabled
b4e2c0246c update parser to handle leading error tokens
be6bbfc06b Remove redundant error notifications from LSP server
f261f8a526 bump to linter 0.1.88
4c2b9f1d91 Don't send LSP error notifications for files in dot-folders
0450462503 Improve sending/flushing of errors for files in dot folders
c1e2df8f36 [infra] Update checked in SDKs to 2.3.0
b2949d3436 fix Flutter build for "[vm/ffi] DBC support on x64 Linux/MacOS hosts"
a8b93d9e78 [vm/ffi] DBC support on x64 Linux/MacOS hosts
2019-05-14 18:50:39 -07:00
Dan Field
86fe21e031 Revert "Roll src/third_party/dart a0290f823c..6d5f763952 (70 commits)" (flutter/engine#8966)
This reverts commit 0c3d930e38918566df00cc89617e728e02ae7b09.
2019-05-14 17:10:08 -07:00
Ben Konyi
0c3d930e38 Roll src/third_party/dart a0290f823c..6d5f763952 (70 commits)
6d5f763952 [vm] Eliminate Mutex/Monitor indirection where possible
bed74d6e97 Remove NullabilityGraph._upstream.
b0727bd661 [dart/vm] enhanced graph checker
228df22dbf Remove the old constraint variable based nullability migration logic.
83607564ea Switch nullability migration over to the new algorithm based on the new nullability graph.
354bfb5bab Remove a few more usages of NullabilityNode._nullable.
eba45291fb [observatory] Cleanup unused imports, fix warning about SDK version
933ad32baa Add logic to assertNonNullIntent to check the nullability graph.
b05190499d Add new nullability propagation logic based on the NullabilityGraph.
f3aca11478 Record not-supplied named parameters in the nullability graph
2fbc446d23 Record information about guards in the nullability graph.
0ce9cb7267 Encode unconditional control flow information in nullability graph.
8a8a700336 Fix nullability of inferred dynamic types
9bbc06fddb Add the ability to do a debug dump of a nullability graph.
a779db0813 Update LSP spec to latest
b7521f5e1b Fix lints not appearing when using LSP Server
9472745446 Change error code for server shutting down
ef971f3787 [infra] Bump version file on master to 2.3.1
27df933bd1 Fix some hints in the analyzer package.
f7e288e3ad Return empty responses instead of errors for non-Dart files in LSP server
d0869386f6 More optimizations for summary2 storage format.
6dd7007b48 Tweak CONVERT_TO_PACKAGE_IMPORT assist.
ca92a30299 Reuse LibraryScope in MetadataResolver.
140822aebd [dartdevc] Allow multiple summaries and experiments in ddb tool
42c35d7bd6 Optimize summary2.
54a541706d [vm] Simplify IsolateSpawnState
3bc0ad4ee3 Revert "Use the full URI for DDK library debug names"
b8050f9322 Make NullabilityNode.nullable private.
d47c31da48 Remove NullabilityNode.isNeverNullable.
b91a4f5423 [analyzer] Resolve methodName staticType when Function to check Function?
11b59bec8d Store compilation unit NNBD status in unlinked summary.
dac5a56422 Fix workspace/package identification for package:build packages
370b393ac5 Remove redundant optimization from callers of `withNullability`.
d2ddf644fa Ignore deprecated analyzer import warnings
0edab8264a Support steps that only run on the main module
8aa2c13c9f Exclude parents when initializing visible data
5de409bfa1 Ensure subfolders in input sources paths are created first
05a9cdc3d5 Fix type parameter in pipeline subclasses
fb29d0e96d Move async_minitest to package:async_helper.
1a9d38be41 Fix improper unchecked_nullable test cases
b0b6a289ec [vm, compiler] Make IA32 megamorphic calls match the other architectures.
5cffcd9e2c Add the class NonNullableTypeProvider to access SDK classes in opted-in context
b1f6c1d092 [vm] Fix -O0 build after CL 101222
8a3a9dc588 [fuchsia] Migrate to zx_clock_get_new
36d8e3a9ba Fix more places where hardcoded types need to be made non-nullable under NNBD
63001295c0 optionally report scanner errors before parsing
7e0b680851 [dart/vm] minor test refactoring
8754351283 [CFE] Run widget transformer before constant evaluation.
1179467a5e Move widget transformer to kernel package
638ebcab97 Directly check for subclass-of without using a class hierarchy.
2a32cdda6d [vm/compiler] Replace LoadClassId for known cids.
0db620a2a5 Decouple Namer from RuntimeTypesEncoder and Tracer
2c86872a5f Store isAsynchronous and isGenerator in executables.
4a058a3773 Check for hasDefaultValue / hasInitializer directly, without reding the initializer.
c532458e09 [vm/compiler] Fix for flaky crash in CallSpecializer::ReplaceWithInstanceOf
2736dab879 [VM/tests] Use appropriate type when invoking Isolate.spawn
869cb683d8 [dart/fuzzer] rename exception parameter
477ad3c0ea [vm/bytecode] Eliminate asserts from bytecode unless --enable-asserts
0069beb7ed [vm/interpreter] Cleanup stack slot in Interpreter::InterfaceCall
536ecbac7b Add language 2 tests for null access errors
130ad1bcf9 Stop reporting some errors when constant evaluation produces a valid object with an unknown state (issue 36873)
d1a5eb5900 Fix the special casing of binary operators with primitive types when NNBD is enabled
b4e2c0246c update parser to handle leading error tokens
be6bbfc06b Remove redundant error notifications from LSP server
f261f8a526 bump to linter 0.1.88
4c2b9f1d91 Don't send LSP error notifications for files in dot-folders
0450462503 Improve sending/flushing of errors for files in dot folders
c1e2df8f36 [infra] Update checked in SDKs to 2.3.0
b2949d3436 fix Flutter build for "[vm/ffi] DBC support on x64 Linux/MacOS hosts"
a8b93d9e78 [vm/ffi] DBC support on x64 Linux/MacOS hosts
2019-05-14 15:57:12 -07:00
skia-flutter-autoroll
d9e7f4db55 Roll src/third_party/skia 4167215daf0e..c8a84d2b7ff9 (9 commits) (flutter/engine#8964)
https://skia.googlesource.com/skia.git
/%2Blog/4167215daf0e..c8a84d2b7ff9

git log 4167215daf0ec5065e469271b890a5bc6687c12c..c8a84d2b7ff98b44c42a53d1ba750a2c02f9063a --date=short --no-merges --format=%ad %ae %s
2019-05-14 robertphillips@google.com Move compute_combined_buffer_size behind GR_TEST_UTILS
2019-05-14 mtklein@google.com preserve comments past the #include ""
2019-05-14 bungeman@google.com Remove GpuLayerCacheTest
2019-05-14 mtklein@google.com remove SkMiniPicture and co.
2019-05-14 robertphillips@google.com Remove some uses of GrBytesPerPixel (take 2)
2019-05-14 mtklein@google.com remove SkLiteDL
2019-05-13 csmartdalton@google.com Clear and discard stencil buffers on tilers
2019-05-14 egdaniel@google.com Reduce use of GrPixelConfig inside of GrVkCaps.
2019-05-10 bungeman@google.com Remove SK_ALLOW_STATIC_GLOBAL_INITIALIZERS from tests.

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-14 18:11:10 -04:00
liyuqian
b000f9830c Rename frame_time and engine_time (flutter/engine#8952)
At a quick glance, one could easily think of the "engine_time" as the
GPU thread time and the "frame_time" as the UI thread time because the
GPU thread time is mainly spent on the engine while the UI thread time
is mainly spent on the Dart framework to generate the frame.

But it's actually the other way. The "engine_time" is UI thread time and
the "frame_time" is the GPU thread time.

To avoid the confusion, rename them to "ui_time" and "raster_time"
respectively. I avoided the "gpu_time" because the rasterization may be
purely on a CPU backed software Skia backend.
2019-05-14 14:29:27 -07:00
Matthew Dempsky
8b4a5398ae Roll tonic and update #includes (flutter/engine#8950) 2019-05-14 11:57:09 -07:00
skia-flutter-autoroll
f71bfe1a9b Roll src/third_party/skia c2aea5938d0d..4167215daf0e (5 commits) (flutter/engine#8961)
https://skia.googlesource.com/skia.git
/%2Blog/c2aea5938d0d..4167215daf0e

git log c2aea5938d0da63cece7d639ef05166b77b5c6d8..4167215daf0ec5065e469271b890a5bc6687c12c --date=short --no-merges --format=%ad %ae %s
2019-05-14 brianosman@google.com Fix stack indexing bug in vectorized unsigned -> float conversion
2019-05-13 csmartdalton@google.com Add a workaround to allow sample variables for stencil draws
2019-05-13 herb@google.com Add thread annotations to SkSharedMutex
2019-05-08 herb@google.com Trivial code cleanup
2019-05-14 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-14 14:39:09 -04:00
skia-flutter-autoroll
231db5310b Roll src/third_party/skia 136ad09848f5..c2aea5938d0d (1 commits) (flutter/engine#8958)
https://skia.googlesource.com/skia.git
/%2Blog/136ad09848f5..c2aea5938d0d

git log 136ad09848f59e23962d2a5a99d7fa82e961c726..c2aea5938d0da63cece7d639ef05166b77b5c6d8 --date=short --no-merges --format=%ad %ae %s
2019-05-06 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (nontrivial).

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-14 08:26:36 -04:00
skia-flutter-autoroll
6cc735dbd2 Roll src/third_party/skia 4e66df54e7da..136ad09848f5 (2 commits) (flutter/engine#8957)
https://skia.googlesource.com/skia.git
/%2Blog/4e66df54e7da..136ad09848f5

git log 4e66df54e7da6a1ffb2be2208706282d6b228a3f..136ad09848f59e23962d2a5a99d7fa82e961c726 --date=short --no-merges --format=%ad %ae %s
2019-05-14 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 3dbe480b559e..f7033c55be3f (11 commits)
2019-05-14 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src 97d5761990f6..156f1f758a0f (423 commits)

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-14 04:37:14 -04:00
skia-flutter-autoroll
e47e36d9fd Roll src/third_party/skia 0221e8b22687..4e66df54e7da (5 commits) (flutter/engine#8955)
https://skia.googlesource.com/skia.git
/%2Blog/0221e8b22687..4e66df54e7da

git log 0221e8b226878255532766308d5897d1136519ac..4e66df54e7da6a1ffb2be2208706282d6b228a3f --date=short --no-merges --format=%ad %ae %s
2019-05-14 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 9e4f690166c1..65b1e97d13eb (7 commits)
2019-05-13 herb@google.com Remove global mutex around CG
2019-05-08 herb@google.com Introduce SkStrikeSpecStorage.
2019-05-13 robertphillips@google.com Standardize DDL images to RGBA
2019-05-13 michaelludwig@google.com Use per-edge AA flags to respect mixed AA between clip and draw

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-14 01:04:50 -04:00
Chinmay Garde
74f9cc79b3 Avoid disabling sources assignment filters are these have been removed. (flutter/engine#8954) 2019-05-13 18:38:28 -07:00
Matt Carroll
170f789067 New Plugin API PR2: Introduces ActivityAware, ActivityControlSurface, and ActivityPluginBinding. (flutter/engine#8943) 2019-05-13 17:07:29 -07:00
Jason Simmons
f1ef8c2748 Add a minimal set of symbols to the dynamic symbol table for Linux executables (flutter/engine#8937)
This will reduce executable size.
2019-05-13 16:12:58 -07:00
Chinmay Garde
1285f72fc5 Copy the Dart Runner from //topaz into the engine. (flutter/engine#8949) 2019-05-13 14:48:20 -07:00
Jason Simmons
58997b3f38 Roll Tonic (flutter/engine#8940) 2019-05-13 14:16:54 -07:00
Matt Carroll
965d20ae44 Add @UiThread to MethodChannel and related classes/calls (#32642). (flutter/engine#8947) 2019-05-13 13:26:31 -07:00
skia-flutter-autoroll
d405522a62 Roll src/third_party/skia d696f8e6bca3..0221e8b22687 (5 commits) (flutter/engine#8948)
https://skia.googlesource.com/skia.git
/%2Blog/d696f8e6bca3..0221e8b22687

git log d696f8e6bca39ebaeb7e5144bb0a515503bcc41a..0221e8b226878255532766308d5897d1136519ac --date=short --no-merges --format=%ad %ae %s
2019-05-13 robertphillips@google.com Revert "Remove some uses of GrBytesPerPixel"
2019-05-13 robertphillips@google.com Remove some uses of GrBytesPerPixel
2019-05-13 mtklein@google.com rewrite docs to explicitly use python2
2019-05-13 brianosman@google.com Interpreter: Fix bool literals
2019-05-13 bsalomon@google.com Blacklikst AsyncReadPixels on MoltenVK

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

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 (michaelludwig@google.com), and stop
the roller if necessary.
2019-05-13 16:25:57 -04:00
Dan Field
038586568b update docs (flutter/engine#8928) 2019-05-13 11:44:45 -07:00
stupidfive
50c82c816b Terminate debug background task on expiry (flutter/engine#8930)
When backgrounding an app in debug mode, we make a request for
additional background time for the app with a background task. This
prevents us from losing the devfs session used for hot reload. In the
case where the app is backgrounded beyond the additional time provided
by iOS, it's required that we end the background task or the app will
be terminated by the OS.

We previously ended the background task only on foregrounding, but
failed to do so on expiry of the task.
2019-05-13 11:29:05 -07:00
Michael Klimushyn
3d8b9b1e9c Only cache required frames (flutter/engine#8837)
Remove the extra `decodedCacheRatioCap` parameter, and the
`_frameBitmaps` member from `Codec`. This means that small looped images
will consume more CPU but prevents us from hitting OOM exceptions based
on trying to render multiple larger images.

Also switch to fDisposalMethod for caching frames.

Previously we looped over every single SkCodec::FrameInfo, tracked its
`fRequiredFrame`, and then saved any frames matching those indeces.
Doing this instead avoids that initialization loop and extra data
structure.
2019-05-13 11:18:20 -07:00
bungeman
ead69ba45a Replace Skia font macros with enums. (flutter/engine#8920)
This mechanically replaces kXXX_SkTextEncoding with SkTextEncoding::kXXX
and kXXX_SkFontHinting with SkFontHinting::kXXX. This will allow Skia to
remove these old macro constants and get everyone on the new enums.
2019-05-13 11:11:49 -07:00