The new ui.Codec API is a superset of the implementation in
image_decoding.cc. While we are not using ui.decodeImageFromList in the
framework anymore, we keep the dart function for backward compatability, and
just make it a thin wrapper around the codec API.
* Roll garnet to b3ba6b6d6ab8ef658278cc43c9f839a8a8d1718e
Also includes a buildroot patch to pick up new dependency:
build/config/fuchsia/sdk.gni
This fixes a build breakage in
garnet/public/lib/fxl/strings/string_view_unittest.cc wherein a variable
'sw5' was declared but the test erroneously tested against 'sw4' from
the previous test.
* Update license script for garnet
Reflects structural changes in directories we do not depend on. This
filters out the following directories in addition to what was already
filtered:
garnet/drivers
garnet/packages
garnet/public/build/
garnet/public/rust/
* Update licenses
This is the first step to support animated GIFs: flutter/flutter#204
TBD in following CLs:
* Implement Codec.getNextFrame.
* Add Framework side support to run animations.
* Roll dart to pick up fix for diagnostic server
* Fix runUnaryGuarded, runBinaryGuarded calls
* Revert changes to runUnaryGuarded, runBinaryGuarded as they seem to be local-only, perhaps dependent on version of analyzer
* Update third_party license hash. No changes to licenses
* Revert "Pass option to reuse an existing runtime controller (#4253)"
This reverts commit 57f361dc6abcd8441c444882c5e8bb99519532f3.
* Revert "Document the Porter-Duff operators. (#4250)"
This reverts commit b15fa9c64e1028187ec9592289919d77a6843802.
* Revert "Move channel and codec related files to common (#4225)"
This reverts commit 674a3f5869d3ae0e7ea3583a2d0942e184817903.
This reverts commit a89f46696d4bc16d814f6697f46e9514b1193b0e.
Doing the synchronized roll of Dart into engine as well as into Fuchsia
to prevent Fuchsia breakage.
* Roll dart to pick up change where platform.dill was removed
* Fix flutter patch sdk generation
* Update license hash. No changes to license text.
* Roll dart to pick up a fix for zero-rebuild problem
* Update license hash
This reverts commit 0d2f0cb64819f7669b6134994a4ba6d7211480fa.
Attempting to roll into the framework causes analysis errors with
mock classes implementing HTTP-related classes previously in dart:io:
[error] Classes can only implement other classes. (packages/flutter_tools/test/base/net_test.dart, line 94, col 41)
[error] Classes can only implement other classes. (packages/flutter_tools/test/base/net_test.dart, line 62, col 33)
[error] Classes can only implement other classes. (packages/flutter_tools/test/base/net_test.dart, line 78, col 40)
[error] Classes can only implement other classes. (packages/flutter_tools/test/src/context.dart, line 249, col 46)
and dartdoc failures:
dartdoc:stdout: [error] Target of URI doesn't exist: 'dart:_http'. at /home/travis/build/flutter/flutter/bin/cache/pkg/sky_engine/lib/io/io.dart, line 206.