16531 Commits

Author SHA1 Message Date
skia-flutter-autoroll
74edeb176d Roll Dart SDK from 8c7f8aaa9c79 to 4832aa2f161a (1 revision) (flutter/engine#25084) 2021-03-18 15:06:03 -07:00
Chris Bracken
d2800926d1 Decode empty message to nil in standard codec (flutter/engine#25064)
This updates Flutter.*Codec `decode:` implementations to treat empty
messages as equivalent to nil or NSNull, which avoids a crash when we
subsequently otherwise try to read the type/value from the message. This
handles the case where the sender were to send `null` over the channel.
e.g.,

    final channel = BasicMessageChannel<Object?>('somechannel', StandardMessageCodec());
    channel.send(null);

It also updates the macOS embedder to send nil to the decoder when a
zero-length message is received in order to be consistent with the iOS
embedding.

Previously, the macOS embedder always encoded platform messages as
NSData regardless of length:
ca1a7760b4/shell/platform/darwin/macos/framework/Source/FlutterEngine.mm (L498-L500)

The iOS embedder did not have this issue since it special-cased
zero-length messages as nil:
ca1a7760b4/shell/platform/darwin/ios/framework/Source/platform_message_router.mm (L23-L26)

Bug: https://github.com/flutter/flutter/issues/78003
2021-03-18 14:09:37 -07:00
godofredoc
05cbbe048c Update docker image to match the LUCI and Framework images (flutter/engine#25009)
* Test docker image update.

Do not review.

* Test build in a VM.

* Add project name.

* Update image type.

* Add apt-get dependencies.

* Update dependencies.

* Update gcloud packages installation.

* Update dockerfile.

* Fix errors in dockerfile.

* Fix dockerfile.

* Organize docker file to make it more readable.
2021-03-18 13:55:26 -07:00
yusufm
2af2e5ec36 Add config for "Linux Fuchsia FEMU" try builder. (flutter/engine#25077)
Bug:78453

Co-authored-by: yusufm <mohsinally@google.com>
2021-03-18 13:22:28 -07:00
skia-flutter-autoroll
6327e32ac5 Roll Skia from adbaeaa3652c to 333b938c958b (5 revisions) (flutter/engine#25079) 2021-03-18 13:11:04 -07:00
George Wright
693da2d242 Modifications to imported a11y base classes to build in Flutter (flutter/engine#25028)
* Modifications to gtest_util.h to build in Flutter

* Modifications to Range to build in Flutter

* Modifications to UiaRegistrarWin to build in Flutter

* Modifications to EnumVariant to build in Flutter

* Modifications to AXActivePopup to build in Flutter

* Modifications to ScopedBstr to build in Flutter

* Modifications to atl.h/atl_module.h to build in Flutter

* Modifications to ScopedVariant to build in Flutter

* Modifications to VariantUtil to build in Flutter

* Modifications to ScopedSafearray to build in Flutter

* Modifications to VariantVector to build in Flutter

* Add BASE_UNLIKELY, BASE_LIKELY and BASE_FALLTHROUGH macros to compiler_specific.h

* Update BUILD files for Windows base/ and gfx/ unittests

Co-authored-by: Chris Bracken <chris@bracken.jp>
2021-03-18 12:21:13 -07:00
skia-flutter-autoroll
c8bbeb8bdf Roll Skia from 4dff68a1662a to adbaeaa3652c (2 revisions) (flutter/engine#25076) 2021-03-18 11:46:01 -07:00
Jason Simmons
cda084e0a3 Complete Picture.toImage futures with an exception if the image is null (flutter/engine#25058) 2021-03-18 10:56:01 -07:00
chunhtai
17e51505e7 fix numeric dependencies (flutter/engine#25053)
* fix numeric dependencies

* fix

* fix format
2021-03-18 10:22:35 -07:00
skia-flutter-autoroll
905275f760 Roll Skia from 7a20b5c9dee7 to 4dff68a1662a (5 revisions) (flutter/engine#25073) 2021-03-18 10:16:01 -07:00
skia-flutter-autoroll
a9d1b02c4a Roll Fuchsia Linux SDK from ObWWD9sx4... to isLe3MZ_H... (flutter/engine#25072) 2021-03-18 09:16:01 -07:00
skia-flutter-autoroll
7c7b183991 Roll Skia from 8151337c41fb to 7a20b5c9dee7 (1 revision) (flutter/engine#25071) 2021-03-18 08:46:01 -07:00
skia-flutter-autoroll
1898e30b31 Roll Dart SDK from 8affa8a9de76 to 8c7f8aaa9c79 (1 revision) (flutter/engine#25069) 2021-03-18 06:56:04 -07:00
skia-flutter-autoroll
78fbfda542 Roll Skia from a3c0f41371d4 to 8151337c41fb (1 revision) (flutter/engine#25067) 2021-03-18 02:16:01 -07:00
skia-flutter-autoroll
58bc4bbfce Roll Fuchsia Mac SDK from zBUVLK4bC... to im_i_FA0L... (flutter/engine#25066) 2021-03-18 01:36:01 -07:00
skia-flutter-autoroll
cf2db7c280 Roll Skia from fd708655ae4a to a3c0f41371d4 (4 revisions) (flutter/engine#25065) 2021-03-18 00:46:02 -07:00
Gary Qian
1d44011816 Sanitize textInRange inputs to prevent invalid argument exceptions (flutter/engine#25036) 2021-03-17 23:59:16 -07:00
skia-flutter-autoroll
ca1a7760b4 Roll Skia from 1c22e62b710f to fd708655ae4a (1 revision) (flutter/engine#25063) 2021-03-17 23:21:02 -07:00
George Wright
34ee06d973 Formatting for gtest_util.h and licence file update 2021-03-17 23:20:45 -07:00
George Wright
56d2c6f1c7 Initial import of DispatchStub and gtest_util.h from upstream Chromium 2021-03-17 23:20:45 -07:00
skia-flutter-autoroll
5a07cee872 Roll Skia from 22dd57b82ceb to 1c22e62b710f (1 revision) (flutter/engine#25059) 2021-03-17 19:46:01 -07:00
skia-flutter-autoroll
0eb2d9d31d Roll Skia from 8937cd43d339 to 22dd57b82ceb (4 revisions) (flutter/engine#25056) 2021-03-17 18:11:01 -07:00
skia-flutter-autoroll
74cecc3873 Roll Dart SDK from 004a35fab02e to 8affa8a9de76 (1 revision) (flutter/engine#25052) 2021-03-17 16:25:01 -07:00
George Wright
fcc1a07ccd Add some APIs to StringUtils (flutter/engine#25043)
* Add the following APIs to StringUtils:

- NumberToString16
- JoinString
- ReplaceChars
- WideToUTF16
- UTF16ToWide

Implement the following APIs for Windows:

- UTF8ToUTF16
- UTF16ToUTF8

* Review comments

Add a couple TODOs for decimal formatting and use std::u16string::npos
rather than std::string::npos.

* Update licences_flutter

Co-authored-by: Chris Bracken <chris@bracken.jp>
2021-03-17 15:44:47 -07:00
skia-flutter-autoroll
a596d5d3db Roll Skia from 579728eb1941 to 8937cd43d339 (4 revisions) (flutter/engine#25049) 2021-03-17 15:00:01 -07:00
skia-flutter-autoroll
effc96e82a Roll Skia from b73f737aae8d to 579728eb1941 (3 revisions) (flutter/engine#25047) 2021-03-17 13:35:01 -07:00
skia-flutter-autoroll
7593674a11 Roll Fuchsia Mac SDK from hta7phjBV... to zBUVLK4bC... (flutter/engine#25046) 2021-03-17 12:30:02 -07:00
skia-flutter-autoroll
e532ebf2c4 Roll Skia from 2558c468cc71 to b73f737aae8d (8 revisions) (flutter/engine#25045) 2021-03-17 12:10:02 -07:00
skia-flutter-autoroll
120e1f3e6a Roll Dart SDK from 959f46974552 to 004a35fab02e (1 revision) (flutter/engine#25044) 2021-03-17 11:55:01 -07:00
James Clarke
1ac67c93d8 Windows: Fix fml::GetFullHandlePath for WINUWP target (flutter/engine#24422)
Co-authored-by: Chris Bracken <chris@bracken.jp>
2021-03-17 11:52:44 -07:00
skia-flutter-autoroll
931bc9036b Roll Skia from 0d1cf35dae29 to 2558c468cc71 (1 revision) (flutter/engine#25041) 2021-03-17 09:15:01 -07:00
skia-flutter-autoroll
1918843e70 Roll Fuchsia Linux SDK from wCRD8AhIi... to ObWWD9sx4... (flutter/engine#25040) 2021-03-17 09:10:02 -07:00
skia-flutter-autoroll
9d6381245e Roll Skia from 4e94fd11cded to 0d1cf35dae29 (1 revision) (flutter/engine#25039) 2021-03-17 07:48:02 -07:00
skia-flutter-autoroll
9b7de7b7bf Roll Dart SDK from 21060985e0b6 to 959f46974552 (1 revision) (flutter/engine#25037) 2021-03-17 07:13:02 -07:00
skia-flutter-autoroll
da54046e04 Roll Dart SDK from 366b33929a85 to 21060985e0b6 (1 revision) (flutter/engine#25035) 2021-03-17 03:03:00 -07:00
skia-flutter-autoroll
e952c506a8 Roll Skia from fa8133347cbb to 4e94fd11cded (1 revision) (flutter/engine#25034) 2021-03-17 01:53:02 -07:00
skia-flutter-autoroll
49b3b87f1b Roll Skia from 13646a8900c3 to fa8133347cbb (16 revisions) (flutter/engine#25033) 2021-03-17 00:23:03 -07:00
skia-flutter-autoroll
7a174d86aa Roll Fuchsia Mac SDK from h6TPz98hI... to hta7phjBV... (flutter/engine#25031) 2021-03-16 23:23:01 -07:00
skia-flutter-autoroll
2a2ef9f557 Roll Dart SDK from 91d7c69ed7ea to 366b33929a85 (1 revision) (flutter/engine#25032) 2021-03-16 22:33:01 -07:00
skia-flutter-autoroll
7bc1ae9be4 Roll Fuchsia Linux SDK from PGa0Yn-JK... to wCRD8AhIi... (flutter/engine#25030) 2021-03-16 18:18:02 -07:00
Kaushik Iska
ca7c19d772 Revert "Reland "Remove pipeline in favor of layer tree holder" (#24947)" (flutter/engine#25027) 2021-03-16 16:43:01 -07:00
Alexander Aprelev
927937c593 Roll to dart 91d7c69ed7ea (flutter/engine#25022)
* Roll Dart SDK from b7e02a713eab to 91d7c69ed7ea

Update const_finder_test expectations to accommodate daae24b4880.

Changes since last roll:
```
91d7c69ed7e Version 2.13.0-143.0.dev
88c24ef66ac Roll benchmarks-internal 354c978979c5..076df10d9b77
b250a58d8e8 Implement `int.>>>` for DDC.
7e2cc73da8b Revert "[infra] Make worktrees work (again?)"
a531b78369e [infra] Make worktrees work (again?)
945ac84c16e Version 2.13.0-142.0.dev
e8f57b66058 [vm/aot] Handle FieldInitializer pointing to a Field's Reference which is reused for a getter
1cb203d8c9b Remove unused code and files from analysis_server:
3162957a786 (origin/base) [gardening] Add explicit type to ensure templated function applies.
7b35c1ecc2f (tag: 2.13.0-141.0.dev) Version 2.13.0-141.0.dev
829ef927789 [vm] Expand compressed heap to 4GB.
2472db00311 [vm] Inform the OS that it can reclaim free'd portions of the compressed heap.
e2baf16ebda Support ddc module format in expression compilation in ddc.
8e7c8c9d8b2 Roll icu dependency to 81d656878ec611cb0b42d52c82e9dae93920d9ba.
52fccfb392b Version 2.13.0-140.0.dev
6b575c72ec8 Prepare to publish analyzer 1.2.0 and _fe_analyzer_shared 18.0.0.
c0b800ceb51 Issue 45318. Check for dynamic bounded and Function bounded.
daae24b4880 [vm/aot] Retain fields used in constants
369c36e67c2 Issue 45299. Fix yield type check for function expressions.
c9e10c931cb [vm, compiler] Predicate boolean loads.
87bfe9ea276 (tag: 2.13.0-139.0.dev) Version 2.13.0-139.0.dev
cf3dcc4256c [analyzer] Prevent MOVE_FILE using absolute URIs when moving files out of lib
c9061339678 [cfe] Multi-call const function tests to existing behavior.
16beb348133 [vm/aot] Remove special cases of dynamic function lookups from precompiler
55522f9e90b Fix a bug in completion when a setter does not have a corresponding getter
d42de4ed062 [vm] Crash on impossible GDT null errors
69ec09825a3 [vm] On Android set abort message before aborting
b72e7b81ebd (tag: 2.13.0-138.0.dev) Version 2.13.0-138.0.dev
d6b79dab6c6 [cfe] Correct argument count in extension member errors
b5da327ed9a [parser] Parse and skip metadata according to spec
```

* Update const_finder_test expectations

* Update license

* Update expectations
2021-03-16 15:34:18 -07:00
Gary Qian
a203c370aa Call request on platform thread (flutter/engine#25004) 2021-03-16 14:48:01 -07:00
Kaushik Iska
40c0b51d5e [macos] [metal] Fix use after free in FlutterExternalTextureMetal (flutter/engine#24995)
* [macos] [metal] Fix use after free in FlutterExternalTextureMetal

This also adds a test for the said failure

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

* fix review comments
2021-03-16 13:55:28 -07:00
Alexander Markov
4758f75bc9 Fix const_finder to visit children of ConstructorInvocation (flutter/engine#25020) 2021-03-16 12:06:38 -07:00
James Clarke
82568f73ca Roll Angle to pick up UWP support (flutter/engine#25007)
* Roll Angle

* Update licence goldens for ANGLE

Co-authored-by: Chris Bracken <chris@bracken.jp>
2021-03-16 10:21:31 -07:00
George Wright
a219aacc41 Code formatting for imported Chromium code 2021-03-16 10:18:21 -07:00
George Wright
619b946ec4 Licence file updates 2021-03-16 10:18:21 -07:00
George Wright
7c3d796a83 Initial import from upstream Chromium of:
AXActivePopup
AXFragmentRootWin
AXPlatformRelationWin
AXPlatformNodeDelegateUtilsWin
AXPlatformNodeWin
Range
ScopedVariant
ScopedBstr
ScopedSafearray
EnumVariant
UiaRegistrarWin
VariantUtil
VariantVector
atl.h
atl_module.h
base_export.h
2021-03-16 10:18:21 -07:00
Harry Terkelsen
e8a33f1be4 Improve error message when CanvasKit is unable to parse a font (flutter/engine#24827) 2021-03-16 09:16:10 -07:00