11444 Commits

Author SHA1 Message Date
skia-flutter-autoroll
ba7cfd4828 Roll src/third_party/dart 17eec5bcde78..33349076ee7f (11 commits) (flutter/engine#17110) 2020-03-12 12:51:01 -07:00
skia-flutter-autoroll
5dab505569 Roll fuchsia/sdk/core/mac-amd64 from 0Z8VF... to lbDph... (flutter/engine#17107) 2020-03-12 12:46:02 -07:00
skia-flutter-autoroll
edcbfc01c0 Roll src/third_party/skia f0140ee00f95..1743144ab839 (2 commits) (flutter/engine#17111)
https://skia.googlesource.com/skia.git/+log/f0140ee00f95..1743144ab839

git log f0140ee00f95..1743144ab839 --date=short --first-parent --format='%ad %ae %s'
2020-03-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 16ae92a4ee52..7e857092052e (6 commits)
2020-03-11 jvanverth@google.com Remove need for gpu when unrefing managed resources.

Created with:
  gclient setdep -r src/third_party/skia@1743144ab839

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC brianosman@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Bug: None
Tbr: brianosman@google.com
2020-03-12 09:20:15 -04:00
Chinmay Garde
8dba544fab Remove unused or unnecessary compiler specific marcos in FML. (flutter/engine#17101)
Macros to control inlining are not used and we explicitly recommending against
playing with compiler inlining. The macros for alignment became part of the
standard in C++11 and we already use the standard variants over these macros
(see `PointerData`). The formatters are unused as well and we use the stream
based variants for formatting.
2020-03-11 16:31:50 -07:00
skia-flutter-autoroll
524a2d1815 Roll src/third_party/dart 684c53a6f174..17eec5bcde78 (6 commits) (flutter/engine#17105) 2020-03-11 15:26:05 -07:00
skia-flutter-autoroll
ef745558df Roll src/third_party/skia dafbf121a8b1..f0140ee00f95 (6 commits) (flutter/engine#17104) 2020-03-11 14:41:05 -07:00
skia-flutter-autoroll
650bd3330f Roll fuchsia/sdk/core/linux-amd64 from X3Xm2... to Yk03L... (flutter/engine#17103) 2020-03-11 14:26:03 -07:00
Chinmay Garde
8f5f888826 Use the standard [[nodiscard]] attribute instead of an FML macro. (flutter/engine#17100) 2020-03-11 13:36:01 -07:00
skia-flutter-autoroll
4c83d67c68 Roll src/third_party/skia 6dc0f63a509c..dafbf121a8b1 (1 commits) (flutter/engine#17098) 2020-03-11 13:06:02 -07:00
Nurhan Turgut
0a3bbd1f00 increasing user limits for macos (flutter/engine#17097) 2020-03-11 12:15:47 -07:00
skia-flutter-autoroll
bfe0588cba Roll src/third_party/dart 37530145ff53..684c53a6f174 (16 commits) (flutter/engine#17096) 2020-03-11 10:26:04 -07:00
skia-flutter-autoroll
15b6338b19 Roll src/third_party/skia 0340292972b9..6dc0f63a509c (4 commits) (flutter/engine#17095) 2020-03-11 09:16:03 -07:00
skia-flutter-autoroll
924099e4c5 Roll src/third_party/dart 4093d08271f6..37530145ff53 (4 commits) (flutter/engine#17090) 2020-03-11 01:31:01 -07:00
skia-flutter-autoroll
256836c2d6 Roll fuchsia/sdk/core/mac-amd64 from r_oCI... to 0Z8VF... (flutter/engine#17087) 2020-03-11 00:56:02 -07:00
skia-flutter-autoroll
240d451502 Roll src/third_party/skia bf355123ae3b..0340292972b9 (9 commits) (flutter/engine#17089) 2020-03-11 00:51:04 -07:00
skia-flutter-autoroll
581541a05a Roll fuchsia/sdk/core/linux-amd64 from v32mJ... to X3Xm2... (flutter/engine#17086) 2020-03-11 00:51:01 -07:00
Chinmay Garde
a483f24165 Remove the unused method on iOS surface to make the resource context current. (flutter/engine#17084) 2020-03-11 00:46:02 -07:00
Chinmay Garde
ba0c0a0796 Revert "Add support for the Metal backend on all iOS builds. (#17080)" (flutter/engine#17088)
This reverts commit 9e1984acdf58bbf68b36ed7b16dbce436c721176.
2020-03-10 23:32:18 -07:00
skia-flutter-autoroll
fb68af5d3d Roll src/third_party/dart ace1d9b9213a..4093d08271f6 (12 commits) (flutter/engine#17082) 2020-03-10 20:41:03 -07:00
Chinmay Garde
9e1984acdf Add support for the Metal backend on all iOS builds. (flutter/engine#17080) 2020-03-10 19:31:02 -07:00
skia-flutter-autoroll
3c3d13653d Roll src/third_party/skia d3f67dbf9f36..bf355123ae3b (9 commits) (flutter/engine#17079) 2020-03-10 19:26:02 -07:00
Chinmay Garde
22312c8790 Disable Embedder11yTest::A11yTreeIsConsistent to unblock LUCI. (flutter/engine#17081)
See https://github.com/flutter/flutter/issues/52372
2020-03-10 18:48:23 -07:00
Chinmay Garde
ac5feeb766 Gather demangled stack traces and report the same to console on crashes. (flutter/engine#16450)
These should only be used on host binaries for more detailed crash reports.
Installing the handler on targets (iOS/Android) may cause use to break existing
crash reporting mechanisms users may have installed themselves in the process.

This should work on Darwin & Linux for now.

Doing something like int* a = nullptr; *a = 12; or abort or tripping an
assertion should print something the following before program termination. We
can tweak the report further if necessary.

```
[ERROR:flutter/fml/backtrace.cc(110)] Caught signal SIGSEGV during program execution.
Frame 0: 0x10658342c void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
Frame 1: 0x106555070 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
Frame 2: 0x106554f81 testing::Test::Run()
Frame 3: 0x106555dc3 testing::TestInfo::Run()
Frame 4: 0x1065570a1 testing::TestSuite::Run()
Frame 5: 0x106562a55 testing::internal::UnitTestImpl::RunAllTests()
Frame 6: 0x10658c22c bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
Frame 7: 0x1065625c3 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
Frame 8: 0x106562445 testing::UnitTest::Run()
Frame 9: 0x105c8dc33 RUN_ALL_TESTS()
Frame 10: 0x105c8dbe6 main
Frame 11: 0x7fff7c2dc3d5 start
```

Known issue: This routines that generate the stack trace are not signal safe.
But since we only use the same before the process is terminating, this ought to
be fine. I’ll work in a separate patch to convert all the internals to be signal
safe. In the meantime, this will help us better identify the causes of flakes on
our bots.

Fixes https://github.com/flutter/flutter/issues/50244
2020-03-10 16:31:06 -07:00
Chinmay Garde
6349c95def Implement asynchronous texture uploads when using the Metal backend on iOS. (flutter/engine#17046)
This moves the Metal `GrContext` creation utilities from `GPUSurfaceMetal` into
a separate `IOSContext` object subclass. An analogue of this object was used in
the GL regime for the management of onscreen and offscreen contexts that were
not tied to the lifecycle of the `GPUSurface`. This pattern has now been
generalized for use with all backends that need a resource context
(`IOSContextGL` and `IOContextMetal`).

The platform views controller management in the `ExternalViewEmbedder` interface
implementation was repeated three times for [Metal][metal], [OpenGL](opengl) and
[Software](software) rendering. This repetition has been removed and a single
implementation present in the base `IOSSurface` and used on all platforms.
Addition of new client rendering APIs should not affect how the engine renders
into the platform view interleaving levels.

All rendering API selection logic has been moved into a single set of utilities
in `rendering_api_selection.h`. This enables the removal of a lot of code blocks
guarded by `FLUTTER_SHELL_ENABLE_METAL`. The remaining uses of this will be
removed when unified builds are enabled.

The Metal backend now also adds traces similar to the GL backend.

The `IOGLContext` has been renamed to `IOContextGL` to be more in line with the
convention used in this library.

Fixes https://github.com/flutter/flutter/issues/41827
Adds https://github.com/flutter/flutter/issues/52150

[metal]: 46dbf3a761/shell/platform/darwin/ios/ios_surface_metal.mm (L55)
[opengl]: 46dbf3a761/shell/platform/darwin/ios/ios_surface_gl.mm (L95)
[software]: 46dbf3a761/shell/platform/darwin/ios/ios_surface_software.mm (L146)
2020-03-10 16:01:53 -07:00
skia-flutter-autoroll
4ca4c56f10 Roll src/third_party/dart 97674262bc29..ace1d9b9213a (14 commits) (flutter/engine#17078) 2020-03-10 15:56:03 -07:00
Emmanuel Garcia
66e6a6de18 Add RTree to flow (flutter/engine#16923) 2020-03-10 15:47:17 -07:00
skia-flutter-autoroll
2ee7ae86dd Roll src/third_party/skia 78dac6dcb222..d3f67dbf9f36 (6 commits) (flutter/engine#17072) 2020-03-10 14:56:01 -07:00
Jim Graham
4298c81041 Revert "Fix bounds of image_filter_layer (#16960)" (flutter/engine#17074)
This reverts commit 5f527ac3b3e91c15082cac9bb191fa4f2aa83fae.
2020-03-10 14:09:10 -07:00
Chinmay Garde
52e75cba16 Use the ELF loader to setup AOT symbols in benchmark runner. (flutter/engine#17051)
We no longer package AOT artifacts as discrete blobs. The portable ELF loader
from the testing library may be used instead.

Fixes https://github.com/flutter/flutter/issues/52263
2020-03-10 12:28:24 -07:00
skia-flutter-autoroll
3d46133a67 Roll src/third_party/skia 23899c64e3db..78dac6dcb222 (19 commits) (flutter/engine#17069) 2020-03-10 12:06:01 -07:00
Alexander Aprelev
a793c1ea8e Roll dart to 97674262bc29447dc59d5c93024b18b27d4bcf98. (flutter/engine#17067)
Changes since last roll:
 ```
97674262bc [dart2js] Fix type argument with nnbd and extractTypeArguments.
ed2092e786 [vm] Add TFA transformer expectation files for unboxing metadata
44a4f366e2 [sdk] Updating Stream.contains to accept null values.
7e0139e0c0 [vm/corelib] Improve performance of list copying
ec8941b189 [dartdevc] Hoisting subtype caches to addTypeCaches.
f5a6554635 Move 'thisType' to ResolverVisitor.
b311a0052e Fixes REMOVE_UNUSED_FIELD and optional field formal parameters.
c83c9b40c5 [vm] Implement toString() for unboxing metadata, only write unboxing metadata if not fully boxed (which is default)
7ac22948e5 [CFE] More error for type variable in static contexts
30a12a349e Revert "Re-land "[vm] Aggressive write-barrier elimination.""
83378633e1 Add the attachment with the content of the file being analyzed.
bbb449dfa4 Issue 40931. Update inference constraint for T? to be non-nullable.
f1369d7896 Updated the invalid Example in num.dart
b22d3d6294 Add a P2 migration script for null safety migrator
db378a2f0d [ddc] let compiler generate instanceof and == of types directly.
617b78a014 [ddc] do not add null checks for parameters marked as @notNull
2ae10b14a3 [dart2js] Fix nullability of native methods.
b01cb58320 Revert "Re-land "[vm] Add type to _AsyncAwaitCompleter.start.""
043af430c1 Migraiton: Add function names to trace output.
005c5d7b52 Add an additional MMR "Max Rank 5" metric to the output of the completion_metrics.dart
52ad8dc2d2 Gather metrics on super invocations
f5dae48fac Add an ArgParser to completion_metrics.dart in the same manner as relevance_metrics.dart (https://dart-review.googlesource.com/c/sdk/+/138700)
a61e012e93 Migrate html tests using async_minitest and minitest
e3070b6f02 Add predicate to async_minitest
f8792406d8 Extract RemoveUnusedElement and RemoveUnusedField producers.
54e96f6ccf Add the `dynamic` keyword into additional missing portions of the AST (in method and constructor parameters) in the keyword_contributor.dart
8329bd7ca8 Do not check for '.analysis_options' for default options file in builder.
4f0fb8f9b0 Fix some syntax errors in the Dart code in the keyword_contributor_test.dart
4049ab54e4 Re-land "[vm] Add type to _AsyncAwaitCompleter.start."
8fb4645cae [dartdevc] Adding nnbd semantics for static and late fields.
fa2df01895 Null Safety preview: Fix description for uninitialized field
24c8021f03 Replace initialize() with declare().
9a62df57fa Fix a test to get the analyzer nnbd bot to pass
f17919b559 [nnbd/corelib] Fix performance regression in _SyncIterator.moveNext
6b71477d6e Add a host of server debugging options to dartdev migrate.
7617e327a1 [VM/Testing] - Turn on co19_2 legacy testing in NNBD bots.
4e79175ee8 Fix per-line highlighting in Null Safety preview tool
a4f6479998 [infra] Print details of unapproved (new or previous) failures in build failure message
eff1a9ff97 Re-land "[vm] Aggressive write-barrier elimination."
a629dbf073 Add a fix to inline a typedef
0f284647b1 [vm] Improve docs for Dart_LoadELF.
029c8f1cee [cfe] Use Supertype instead of InterfaceType in ClassHierarchyBuilder
e8c58a7a3d [CFE] Add ability to compare CompilerOptions
40507e7b13 [CFE] Tool for fasta -v statistics
7bdc910670 [infra] Remove unused bot script
7e815546ac Add the `dynamic` keyword into additional missing portions of the AST in the keyword_contributor.dart
7bc171483e Latest changes to the relevance metrics tool
3d0432eafc Add returnsNormally to async_minitest
6f47790fb6 [dartdevc] Optimize subtype check
4799f38767 [dartdevc] Optimize cast operation
c1cf29b2d4 [ddc] improve generated code for wrapType.isNormalized
6eae8db839 [ddc] remove dcall when accessing .type
de493465c8 Include 'dynamic' in the list of suggested keywords for type names, i.e. the 'dynamic' in "dynamic contents = ..."
80ed949678 [vm, reload] Don't drop unwind errors for isolates other than the first isolate in a group during a reload.
81c3208c10 [dart2js] Special case `null is T`.
de0fcd71d4 [dart2js] Assign the correct type to super tearoffs.
29d4b611fb Remove html_individual_config from indexeddb_1_test
9ba92779d6 Roll to latest package:watcher
8fd8fec185 [vm/aot] Add support to instance calls with unboxed parameters
2806ccacc7 [build] Update clang to 7e9747b50bcb1be28d4a3236571e8050835497a6.
972e045649 [analyzer] Fix windows paths again, and use ResourceProviderMixin.
e79f50098e Unify two error codes into one
2c5a56e7bb [vm] Disable late field init for constructor initialized fields
d3c0d59706 Disallow non-external generative JS constructors
60a81b0f51 Add hints to find equal elements in literal sets and maps
93ff9530aa Document difference between Stream.transform and Stream.map.
b0b8304b87 [Cleanup] Simplifies use_slow_path handling to remove unreachable asm.
b681bfd8d2 [VM] Fixes bad reuse/typing of temps in async transform invocations.
c1ed25dcf0 [CFE] Remove BulkCompiler
6facea722b [vm/ffi] Unbox Pointer data field - fix bytecode
7b6adc6083 Remove html_individual_config from remaining html tests
ce7fcff2ea Resolve type parameters to bounds when checking for implementing Iterable / Map.
a410f5bde1 [dart2js] rename null-safety flag and plumb through CFE
8ae984c54a [dart2js] Use a Symbol to access JavaScript Array Rti
a54a5eebb2 Remove html_individual_config from interactive_geolocation_test
69851f34c5 Remove the unused type hierarchy from the completion_metrics.dart
a2bf8dd351 Upgrade to dartdoc-0.30.2.
331067017f [vm] Fix late field store bug
9d76737487 Remove support for --emit-metadata in DDC
6e8efe2a15 Remove html_config from document_register_basic_test
a731b98113 [dart2js] Fix signature of identityHashCode.
3bab386570 Remove an unused shown name to remove a hint
ced0ceddd3 Rename an incorrectly named test class
739852d99d Migrate language_2/call to NNBD.
48c6180b46 [nnbd_migration] Hide hint insertion links after the migration is applied.
123a1ea517 [nnbd_migration] Fix 'apply edit' links.
3629658722 [nnbd_migration] Handle POST requests
5b0e439503 Fix windows path test/bots
5e66618175 Issue 40316. Verify only language version override locations at line starts.
110a29c9b3 Issue 40704. Support for ?[ in resolution.
55b4a240a4 [dart2js] Fix type promotion bug in static_type.dart.
a1992fec6d [ package:vm_service ] 4.0.0 release, Sentinels are now thrown, Future<dynamic> returns are now Future<Response>
bf5171cfd1 Add support for reporting how an accessed member related to the context type and extract feature computation
8d26e3df23 [vm] Don't insert CheckedSmi* instructions when the interface target suggests it's wrong.
f6b0a70230 Migrate language_2/await to NNBD.
1c64138e56 Migrate language_2/bool to NNBD.
1cf9d7a0c5 Revert "[vm] Add type to _AsyncAwaitCompleter.start."
2a8127dbfa [vm, gc] Take heap size into account when deciding when to start concurrent marking.
0649115b06 Rename VoidWithTypeParameters to VoidWithTypeArguments.
a74253987b Migration: add trace functionality to the preview tool.
d950783c07 [vm/ffi] Unify RawTypedData::data and Pointer::data
b406802981 [vm/ffi] Unbox Pointer data field
46bc5cd634 [vm] Support using different representations in ConvertUnboxedToUntagged
c135e2a7cd [vm/ffi] Reorder fields inside Pointer
4081235ac5 [vm] Support unboxed indices in indexed load and store
```
2020-03-10 10:49:00 -07:00
Ferhat
b9785ff7c3 [web] Fixes for Firefox & Safari double underline decoration bugs. (flutter/engine#16994)
* Work around line measurement rounding bug in Firefox. Add -webkit prefix for Safari text decoration
* Add check for measurement tests for firefox
2020-03-09 22:36:46 -07:00
Dan Field
f48784c95b Avoid capturing this unsafely in MultiFrameCodec (flutter/engine#16824) 2020-03-09 21:18:50 -07:00
Yegor
98f2be6b1f Revert "Revert "fix shadows and mask filter blurs (#16963)" (#17008)" (flutter/engine#17040)
This reverts 7205c0e7b3e575a6dd5d14c0c22058ae40f261a3 and re-lands 8b77254d97416bb9b347a578410911ed09efbce3. The 8b77254d97416bb9b347a578410911ed09efbce3 was good. The screenshot changes were expected.

Fixes https://github.com/flutter/flutter/issues/32215
2020-03-09 20:32:59 -07:00
Ferhat
c54d2ebe85 Add support for firefox mac installer. Update web_ui pubspec for http.wq (flutter/engine#17044)
* Add support for firefox mac installer. Update web_ui pubspec for http.wq
* Addressed review comment 'final'
2020-03-09 18:13:37 -07:00
Yegor
ec1c0c147c fix "TREE INCONSISTENT" noise in compositing_test.dart (flutter/engine#16995) 2020-03-09 16:26:18 -07:00
Yegor
138614b81a Add more child lifecycle tests (flutter/engine#16689) 2020-03-09 16:26:06 -07:00
Chris Bracken
723ab032dc Add libfreetype6-dev to desktop Linux dependencies (flutter/engine#17020)
Required for Freetype 2.
2020-03-09 15:07:45 -07:00
liyuqian
46dbf3a761 Disable shell benchmarks (flutter/engine#17038)
See https://github.com/flutter/flutter/issues/52263

TBR: @chinmaygarde
2020-03-09 14:12:04 -07:00
Jim Graham
5f527ac3b3 Fix bounds of image_filter_layer (flutter/engine#16960) 2020-03-09 13:58:44 -07:00
liyuqian
2d2facae58 Record fml and shell benchmarks (flutter/engine#16991) 2020-03-09 12:34:59 -07:00
skia-flutter-autoroll
201688bab9 Roll src/third_party/skia c56950442dd1..23899c64e3db (11 commits) (flutter/engine#17033) 2020-03-09 11:26:02 -07:00
Yegor
e5809b493a use commit date instead of author date (flutter/engine#17032) 2020-03-09 11:01:20 -07:00
skia-flutter-autoroll
c3abdb985c Roll fuchsia/sdk/core/mac-amd64 from 8Wp6x... to r_oCI... (flutter/engine#17027) 2020-03-09 11:01:03 -07:00
skia-flutter-autoroll
8ec8337c1d Roll fuchsia/sdk/core/linux-amd64 from Rhz2c... to v32mJ... (flutter/engine#17024) 2020-03-09 10:56:02 -07:00
Jonah Williams
d699a9382d [frontend_server] forward new module name flag (flutter/engine#17002) 2020-03-09 10:51:04 -07:00
skia-flutter-autoroll
be053774bd Roll src/third_party/skia 475b9d0fb796..c56950442dd1 (1 commits) (flutter/engine#17021) 2020-03-08 19:46:01 -07:00
skia-flutter-autoroll
efe1277a13 Roll src/third_party/skia b18390699ea2..475b9d0fb796 (1 commits) (flutter/engine#17019) 2020-03-08 18:26:01 -07:00
skia-flutter-autoroll
1688dd25d0 Roll fuchsia/sdk/core/mac-amd64 from t3S3W... to 8Wp6x... (flutter/engine#17018) 2020-03-08 15:51:02 -07:00
skia-flutter-autoroll
953acd34d8 Roll fuchsia/sdk/core/linux-amd64 from YcueJ... to Rhz2c... (flutter/engine#17016) 2020-03-08 11:36:01 -07:00