12942 Commits

Author SHA1 Message Date
skia-flutter-autoroll
82bdfffbd7 Roll Skia from 3469c0aec843 to e31b526f03ea (50 revisions) (flutter/engine#25195) 2021-03-23 11:36:01 -07:00
Wu Zhong
0fc1ff7bc1 [iOS] Fixes platform view clipped when FlutterView has non-zero offset (flutter/engine#24893) 2021-03-23 10:01:01 -07:00
xster
708d427d93 Make DartExecutor.isExecutingDart account for spawned engines (flutter/engine#25171) 2021-03-23 09:50:03 -07:00
stuartmorgan
c16e3a3e5b Update string_utils.h (flutter/engine#25188) 2021-03-23 12:38:15 -04:00
gaaclarke
58151aed7d Switched assert(x > 0) to assert(x != 0) to handle tagged pointers in java (flutter/engine#25174) 2021-03-23 18:19:56 +08:00
George Wright
0317a21159 Add AXPlatformNodeWin and AXFragmentRootWin (flutter/engine#25121)
* Remove IAccessible and IChromeAccessible from AXPlatformNodeWin

* Fixes to make AXPlatformNodeWin, AXFragmentRootWin and associated unit
tests work and pass in Flutter/Windows
2021-03-22 16:59:38 -07:00
skia-flutter-autoroll
f6593cdd30 Roll Skia from 12a75588e7bc to 3469c0aec843 (1 revision) (flutter/engine#25151) 2021-03-22 09:21:01 -07:00
skia-flutter-autoroll
14e9d7ad4c Roll Fuchsia Linux SDK from 4JTh8dWnT... to O1wNtYV6b... (flutter/engine#25160)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC chinmaygarde@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/+doc/master/autoroll/README.md
2021-03-22 08:15:10 -07:00
skia-flutter-autoroll
2691e928e1 Roll Fuchsia Linux SDK from isLe3MZ_H... to 4JTh8dWnT... (flutter/engine#25149) 2021-03-20 15:01:01 -07:00
skia-flutter-autoroll
8c7d902eae Roll Skia from 4b76265c6660 to 12a75588e7bc (3 revisions) (flutter/engine#25145) 2021-03-20 12:01:01 -07:00
skia-flutter-autoroll
f3cf2917c3 Roll Skia from 31798c279664 to 4b76265c6660 (21 revisions) (flutter/engine#25140) 2021-03-20 08:46:01 -07:00
George Wright
7d55add368 Remove duplicate and inconsistent kInvalidAXID definition (flutter/engine#25123) 2021-03-19 19:58:12 -07:00
Jason Simmons
77995f0b9a Do not return a Minikin font collection if the SkFontStyleSet is unable to create any typefaces (flutter/engine#24951) 2021-03-19 11:36:01 -07:00
Chris Bracken
3acbafcda1 Prefer C++ standard headers to their C counterpart (flutter/engine#25095)
We currently use a mix of C standard includes (e.g. limits.h) and their
C++ variants (e.g. climits) in //flutter/third_party/accessibility. This
migrates to a consistent style for all cases where the C++ variants are
acceptable. C equivalents remain in place only where they are required,
such as in the embedder API and other headers that may be used from C.

This commit is analogous to d03692449b014377b0a9f5aded075a9515a268db.
2021-03-19 09:30:29 -07:00
Chris Bracken
df1b762c86 Make internal BSTR private in ScopedBstr (flutter/engine#25096)
There are no subclasses of this class in our codebase that would
necessitate a protected member.
2021-03-19 09:28:41 -07:00
skia-flutter-autoroll
fb95805d09 Roll Skia from 333b938c958b to 31798c279664 (10 revisions) (flutter/engine#25101) 2021-03-19 06:51:02 -07:00
godofredoc
c7cf1b1126 Use new cirrus secrets for engine. (flutter/engine#25090)
Bug: https://github.com/flutter/flutter/issues/77624
2021-03-18 21:38:40 -07:00
Ferhat
3b6c8434cb [web] Fix handling of ClipOp.none (flutter/engine#25080) 2021-03-18 15:58:26 -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
78fbfda542 Roll Skia from a3c0f41371d4 to 8151337c41fb (1 revision) (flutter/engine#25067) 2021-03-18 02:16: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
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
e532ebf2c4 Roll Skia from 2558c468cc71 to b73f737aae8d (8 revisions) (flutter/engine#25045) 2021-03-17 12:10:02 -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
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
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