stuartmorgan
3081844cb4
Make EncodableValue a thin std::variant wrapper ( #19983 )
...
Instead of a hand-rolled discriminated union (originally used to avoid a C++17
dependency, which is no longer an issue), implement EncodableValue as a
std::variant. Rather than simply changing the internals, this makes EncodableValue
a minimal std::variant subclass with only a handful of added methodS, replacing
the old IsFoo/FooValue APIs with the standard std::holds_alternative/std::get,
so that plugin code will use a standard-based API rather than a Flutter-specific
API for wrapped values.
This is a breaking change for Windows and GLFW plugins. In the short
term USE_LEGACY_ENCODABLE_VALUE can be set in builds to use the old
version, to separate rolling from updating.
Fixes https://github.com/flutter/flutter/issues/61970
2020-08-04 08:53:07 -07:00
skia-flutter-autoroll
4f8a2821c9
Roll Skia from 471235dba5ca to 3000d6b8c25c (3 revisions) ( #20226 )
2020-08-04 08:46:02 -07:00
skia-flutter-autoroll
460039e0e0
Roll Skia from fcfe541ee527 to 471235dba5ca (1 revision) ( #20220 )
2020-08-04 02:01:01 -07:00
skia-flutter-autoroll
6e52ec4a64
Roll Skia from 093de4eb2ca9 to fcfe541ee527 (3 revisions) ( #20219 )
2020-08-04 00:11:02 -07:00
skia-flutter-autoroll
43ab343796
Roll Skia from a52442ab76f8 to 093de4eb2ca9 (14 revisions) ( #20214 )
2020-08-03 22:46:02 -07:00
skia-flutter-autoroll
8d8ca51f77
Roll Dart SDK from 0f0e04ec3afa to 987c9e347ca4 (5 revisions) ( #20210 )
2020-08-03 22:41:02 -07:00
skia-flutter-autoroll
8a43183810
Roll Fuchsia Mac SDK from i0zTcQ8Qb... to R1zocs5zS... ( #20190 )
2020-08-03 22:36:02 -07:00
skia-flutter-autoroll
6e61de6e27
Roll Fuchsia Linux SDK from d_5wDVmBd... to XqPm_i5Wp... ( #20177 )
2020-08-03 22:31:02 -07:00
David Worsham
12a37478de
fuchsia: Remove dead code / break dependencies ( #19396 )
...
The fuchsia code around metrics and sizing was just sending this
information through a side-channel, when the engine already had the
information available. So, delete all of it to make future CLs simpler.
Additionally, the SceneUpdateContext has many unneccesary dependencies
re: metrics and PaintTasks. Break those to make future CLs simpler.
Tested: Ran all unittests and ran workstation on Fuchsia
BUG: 53062, 53063
2020-08-03 22:09:26 -07:00
David Worsham
033dd45607
Disable flaky fuchsia test ( #20217 )
2020-08-03 21:40:23 -07:00
Justin McCandless
11964ec300
Clipboard hasStrings method on iOS ( #19859 )
...
* Implement Clipboard hasStrings method on iOS
* Test call to hasStrings
* Formatting fixes
* Move test to its own file
* Alphabetical order
* Update licenses
* arguments nil instead of empty dictionary
* Guarantee hasStrings will be true when tested
* Formatting
2020-08-03 16:08:52 -07:00
Mouad Debbar
c6fba72b4f
[web] Include trailing spaces in text box measurements ( #20208 )
2020-08-03 12:38:42 -07:00
DongXu
fa16c3d0ba
iOS external texture supports rendering NV12 pixelbuffer ( #20082 )
2020-08-03 11:20:45 -07:00
Mehmet Fidanboylu
a765090dd8
Fix inconsistent import. ( #20206 )
2020-08-03 10:29:52 -07:00
skia-flutter-autoroll
3eb7adb151
Roll Skia from a6df9da28963 to a52442ab76f8 (5 revisions) ( #20205 )
2020-08-03 10:16:01 -07:00
Chris Yang
02d71d60ef
Use a single mask view to clip iOS platform view ( #20050 )
2020-08-03 10:07:19 -07:00
skia-flutter-autoroll
ea811fc779
Roll Dart SDK from ad9c73cb3270 to 0f0e04ec3afa (3 revisions) ( #20204 )
2020-08-03 09:21:02 -07:00
skia-flutter-autoroll
cb8dfdb294
Roll Skia from 8e77631a80f0 to a6df9da28963 (17 revisions) ( #20202 )
2020-08-03 07:21:02 -07:00
skia-flutter-autoroll
fc5b7779d3
Roll Skia from 7225788b9070 to 8e77631a80f0 (8 revisions) ( #20184 )
...
https://skia.googlesource.com/skia.git/+log/7225788b9070..8e77631a80f0
2020-07-31 borenet@google.com Remove some non-inclusive language in recipes
2020-07-31 scroggo@google.com Remove "sanity"/"insane" to comply with Android's inclusive language guidance
2020-07-31 scroggo@google.com Remove "dummy" to comply with Android's inclusive language guidance
2020-07-31 jdapena@igalia.com GCC: fix type passed to vcvt_f32_f16 to be a float16x4_t in SkVx.h
2020-07-31 scroggo@google.com Remove "Cripple" to comply with Android's inclusive language guidance
2020-07-31 fmalita@chromium.org Fix path builder initial gen ID
2020-07-31 ethannicholas@google.com Fixed nondeterminism in SkSL dehydration
2020-07-31 robertphillips@google.com Handle null GrDirectContext in DDL Fuzzer
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 borenet@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
2020-08-03 09:00:03 -04:00
skia-flutter-autoroll
0519052c8e
Roll Dart SDK from c59cdee365b9 to ad9c73cb3270 (1 revision) ( #20201 )
2020-08-03 04:46:02 -07:00
skia-flutter-autoroll
8a0e30b36c
Roll Dart SDK from 2d98d25e71c3 to c59cdee365b9 (1 revision) ( #20200 )
2020-08-02 23:21:02 -07:00
skia-flutter-autoroll
f86b83010d
Roll Dart SDK from 365525432a70 to 2d98d25e71c3 (1 revision) ( #20198 )
2020-08-02 19:11:03 -07:00
Robert Ancell
083282e33b
Fix Implments typo
2020-08-03 10:45:01 +12:00
Robert Ancell
8fbdd3f1bd
Fix parameter names
2020-08-03 10:44:20 +12:00
skia-flutter-autoroll
f1b3b6981d
Roll Dart SDK from 7e6c55e3aaf5 to 365525432a70 (2 revisions) ( #20197 )
2020-08-02 15:06:02 -07:00
Mehmet Fidanboylu
908fe012d9
Fix navigation message relay. ( #20193 )
2020-08-02 14:28:27 -07:00
skia-flutter-autoroll
4de0c048d5
Roll Dart SDK from d169af6f7d8f to 7e6c55e3aaf5 (1 revision) ( #20196 )
2020-08-02 10:56:01 -07:00
skia-flutter-autoroll
5ca8a2a0e9
Roll Dart SDK from ad5bcf16f1c8 to d169af6f7d8f (1 revision) ( #20192 )
2020-08-01 04:51:02 -07:00
skia-flutter-autoroll
3cc86ac13b
Roll Dart SDK from 033a81d924b9 to ad5bcf16f1c8 (9 revisions) ( #20191 )
2020-08-01 00:41:01 -07:00
Zachary Anderson
7dd092dd31
Enable more linting ( #20187 )
2020-07-31 21:30:58 -07:00
Zachary Anderson
d986b8d606
Enable linting in several files ( #20134 )
2020-07-31 21:28:36 -07:00
nturgut
cb4bb93d96
[web] increase number of shards. sync engine web tests same as flutter repo ( #20164 )
...
* increase number of shards. make engine web tests same as flutter repo tests
* remove golden arguments. tests failed
* adding comments
2020-07-31 17:45:59 -07:00
skia-flutter-autoroll
bcc43dfb61
Roll Dart SDK from ea6bde577d1c to 033a81d924b9 (23 revisions) ( #20186 )
2020-07-31 17:31:02 -07:00
Jim Graham
22fb58b774
update nullability of drawAtlas methods and flesh out docs ( #20176 )
2020-07-31 17:26:02 -07:00
Greg Spencer
98cfd1db78
Move platform specific information to PlatformConfiguration class ( #19652 )
2020-07-31 17:21:02 -07:00
Juyeong Lee
13e993ed1a
Fix Typos ( #19691 )
2020-07-31 16:32:58 -07:00
skia-flutter-autoroll
9c6837c2b6
Roll Skia from 2d01ed94605a to 7225788b9070 (6 revisions) ( #20183 )
2020-07-31 12:36:02 -07:00
Justin McCandless
fcc1eaf8ff
Fix iOS Keyboard stuck as UIKeyboardTypeNamePhonePad ( #20181 )
...
P0 bug fix
2020-07-31 11:57:48 -07:00
skia-flutter-autoroll
ed36b1aa25
Roll Skia from c3794dd52778 to 2d01ed94605a (10 revisions) ( #20179 )
2020-07-31 11:06:01 -07:00
skia-flutter-autoroll
cb1a374013
Roll Fuchsia Mac SDK from T2xc0OuiK... to i0zTcQ8Qb... ( #20175 )
2020-07-31 09:46:01 -07:00
skia-flutter-autoroll
3b0e697db6
Roll Skia from 8cc118dce813 to c3794dd52778 (27 revisions) ( #20173 )
2020-07-31 09:41:02 -07:00
skia-flutter-autoroll
1efdd9538f
Roll Dart SDK from bd528bfbd69d to ea6bde577d1c (19 revisions) ( #20172 )
2020-07-31 09:36:02 -07:00
Zachary Anderson
5513273d0f
Reland: Avoid a copy in EncodeImage ( #20003 )
2020-07-31 08:24:08 -07:00
Emmanuel Garcia
7f5d044f36
Wait before switching surfaces ( #20100 )
2020-07-30 20:36:01 -07:00
Greg Spencer
280bbfc763
This makes the lint script use multiprocessing to speed it up. ( #19987 )
...
I got tired of waiting for it to run, so I added some of the "worker" queue code that I wrote for the assets-for-api-docs generator.
I also tried out putting all the files in one call to clang-tidy with the -p argument, but that was still a lot slower because it runs them all on one core. This runs separate jobs for each file, simultaneously, and then reports the results at the end (associated with each file, of course).
2020-07-30 20:23:30 -07:00
Greg Spencer
a6cd3ebc61
Fix lint errors in lib/ui ( #19988 )
...
This fixes all of the lint errors in lib/ui, except for a few (three, I think) where it would have changed the API, converting non-const references to pointers. For those, I just did NOLINT on the particular line instead of ignoring the whole file.
2020-07-30 20:21:37 -07:00
skia-flutter-autoroll
357b155efa
Roll Fuchsia Linux SDK from d4pESQYnB... to d_5wDVmBd... ( #20161 )
2020-07-30 18:36:02 -07:00
Jason Simmons
ee4d50cd07
Revert "Enable lazy-async-stacks by-default in all modes (2) ( #19270 )" ( #20165 )
...
This reverts commit 06fef5e36360e61a557fed546d12048427eb2340.
2020-07-30 18:34:51 -07:00
nturgut
c134e1658d
add information collection for safari bots ( #20123 )
...
* add information collection for safari bots
* remove unused parts. add cast to fix analyze errors
* add more information. address reviwer comments
* address reviewr comments
* typo fix
2020-07-30 15:21:34 -07:00
David Worsham
e1c9673bbb
Fix targets in build_fuchsia_artifacts ( #19794 )
2020-07-30 14:35:33 -07:00